/* =============================================
   STAFF PAGE — stile coerente con cosplay-contest
   ============================================= */

.staff-page {
    background: #FFFFFF;
    padding-top: 0;
}

/* =====================
   HERO
   ===================== */
.staff-hero {
    box-sizing: border-box;
    position: relative;
    height: calc(100svh - 77px);
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.staff-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.staff-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26,26,26,0.55) 0%,
        rgba(26,26,26,0.35) 50%,
        rgba(26,26,26,0.72) 100%
    );
    z-index: 1;
}

.staff-hero-content {
    position: relative;
    z-index: 2;
    max-width: min(90vw, 52rem);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

.staff-hero-title {
    font-family: 'Popwave', sans-serif;
    font-size: clamp(2.8rem, 6.5vw, 5.8rem);
    color: #FFFFFF;
    letter-spacing: 0.05em;
    margin: 0 0 0.25rem;
    text-shadow: 4px 4px 0 #FFD600;
    line-height: 1.1;
}

.staff-hero-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 2.5rem;
    background: rgba(255,255,255,0.22);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.staff-hero-sub {
    font-family: 'Aloevera Display', sans-serif;
    font-size: clamp(1.2rem, 2.8vw, 1.75rem);
    color: #FFFFFF;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

.staff-hero-info {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.staff-hero-brand {
    font-family: 'Aloevera Display', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #FFD600;
    letter-spacing: 0.08em;
    margin: 0;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.staff-info-item {
    font-family: 'Aloevera Display', sans-serif;
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    font-weight: 600;
    color: rgba(255,255,255,0.88);
    text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

/* Scroll indicator */
.staff-scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #FFD600;
    text-decoration: none;
    font-family: 'Aloevera Display', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.95;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.staff-scroll-arrow {
    width: 22px;
    height: 22px;
    border-right: 2px solid #FFD600;
    border-bottom: 2px solid #FFD600;
    transform: rotate(45deg);
    animation: staff-scroll-bounce 1.6s ease-in-out infinite;
}

@keyframes staff-scroll-bounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); }
    50%       { transform: rotate(45deg) translate(6px, 6px); }
}

/* =====================
   SEZIONE TEAM
   ===================== */
.staff-section {
    padding: clamp(2.5rem, 4vw, 3.5rem) 0;
    background: #FFFFFF;
}

.staff-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.staff-section-title-wrap {
    text-align: center;
    margin-bottom: clamp(2rem, 3.5vw, 2.5rem);
}

.staff-section-title {
    font-family: 'Popwave', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    color: #1A1A1A;
    letter-spacing: 0.05em;
    margin: 0;
    display: inline-block;
    background: #FFFFFF;
    border: 4px solid #1A1A1A;
    border-radius: 25px;
    padding: 0.5rem 2rem;
    box-shadow: 6px 6px 0 #FFD200;
    position: relative;
}

.staff-section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border: 15px solid transparent;
    border-top-color: #1A1A1A;
}

/* Grid staff — 5 colonne: 5+5 = 10 membri perfetti */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2.5rem 1.5rem;
    align-items: start;
}

/* Card verticale */
.staff-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    background: transparent;
    transition: transform 0.25s ease;
}

.staff-card:hover {
    transform: translateY(-6px);
}

/* Foto circolare */
.staff-photo-wrap {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid #E2121E;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    transition: box-shadow 0.25s ease;
}

.staff-card:hover .staff-photo-wrap {
    box-shadow: 0 10px 32px rgba(0,0,0,0.2);
}

.staff-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.staff-name {
    font-family: 'Aloevera Display', sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    font-weight: 900;
    color: #1A1A1A;
    margin: 0;
    line-height: 1.3;
}

.staff-role-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.staff-email-icon {
    display: inline-flex;
    align-items: center;
    color: #7A7A7A;
    text-decoration: none;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.staff-email-icon:hover {
    color: #1A1A1A;
}

.staff-role {
    font-family: 'Aloevera Display', sans-serif;
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    font-weight: 600;
    color: #7A7A7A;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.4;
}

/* =====================
   DIVIDER
   ===================== */
.staff-divider {
    width: 100%;
    height: 10px;
    background: linear-gradient(180deg, #1A1A1A 0%, #1A1A1A 45%, #FFD600 45%, #FFD600 100%);
}

/* =====================
   FINAL CTA
   ===================== */
.staff-cta-section {
    background: #1A1A1A;
    padding: clamp(3rem, 7vw, 5rem) 0;
}

.staff-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.staff-cta-logo {
    width: clamp(140px, 20vw, 260px);
    height: auto;
    filter: drop-shadow(2px 2px 6px rgba(0,0,0,0.5));
}

.staff-cta-subtitle {
    font-family: 'Popwave', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    color: #FFFFFF;
    letter-spacing: 0.05em;
    text-shadow: 3px 3px 0 rgba(255,210,0,0.6);
}

.staff-cta-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 3rem;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    margin-top: 0.5rem;
}

.staff-cta-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.staff-cta-label {
    font-family: 'Aloevera Display', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.staff-cta-value {
    font-family: 'Aloevera Display', sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.5rem);
    color: #FFFFFF;
    letter-spacing: 0.04em;
}

.staff-cta-divider {
    width: 2px;
    height: 45px;
    background: linear-gradient(180deg, rgba(255,210,0,0) 0%, #FFD600 50%, rgba(255,210,0,0) 100%);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
    .staff-grid { grid-template-columns: repeat(5, 1fr); gap: 2rem 1rem; }
    .staff-photo-wrap { width: 130px; height: 130px; }
}

@media (max-width: 700px) {
    .staff-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; align-items: start; }
    .staff-photo-wrap { width: 110px; height: 110px; }
}

@media (max-width: 480px) {
    .staff-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 0.75rem; align-items: start; }
    .staff-photo-wrap { width: 95px; height: 95px; }
    .staff-hero-box { padding: 1rem 1.25rem; }
    .staff-cta-info {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
    }
    .staff-cta-divider { width: 40px; height: 2px; }
}
