/* Founding Angels Section */
.founding-angels {
    padding: 2rem 20px !important; /* Rimosso spazio in alto e forzato padding */
    background-color: var(--background) !important;
    text-align: center;
}

.founding-angels h2 {
    margin-bottom: 1.5rem !important;
    font-size: 2.25rem !important;
    color: var(--text-dark) !important;
}

.founding-angels p {
    max-width: 800px;
    margin: 0 auto 3rem auto !important;
    color: #4B5563 !important;
    font-size: 1.125rem !important;
    line-height: 1.7 !important;
}

.angels-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 0; /* Manteniamo 0 */
    max-width: 1000px;
    margin: 0 auto;
    border: none; /* Assicuriamoci che non ci siano bordi sulla griglia */
}

.angel-slot {
    aspect-ratio: 1 / 1;
    background: white;
    border: none; /* Rimuoviamo il bordo da qui */
    margin: 0;    /* Rimuoviamo il margine negativo */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Quando l'immagine è presente, eliminiamo il bordo dello slot per farla toccare perfettamente */
.angel-slot:has(img) {
    border: none;
    z-index: 2;
}

.angel-slot img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Cambio da cover a contain per non tagliare le immagini */
    display: block;
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.placeholder-text {
    font-size: clamp(0.4rem, 0.8vw, 0.6rem);
    color: #9ca3af;
    text-align: center;
}

.angel-slot-coords {
    font-size: clamp(0.5rem, 1vw, 0.7rem);
    font-weight: bold;
    color: #667eea;
}

.startup-btn {
    display: block;
    width: 1000px;
    max-width: 100%;
    margin: 2rem auto 0 auto;
    padding: 1.5rem;
    background-color: #10b981;
    color: white;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.startup-btn:hover {
    background-color: #059669;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-overlay.active { display: flex; }
.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    max-width: 500px;
    text-align: center;
}
.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 1.5rem;
}
