/* === Styles spécifiques à la page jouer.php === */
.join-hero-section {
    text-align: center;
    padding: 110px 20px 60px 20px; /* Ajoute un espace pour la navbar/logo */
    background: linear-gradient(120deg, #181c24 60%, #1e1e1e 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px #00aaff11;
    animation: fadeInDown 1.2s;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px);}
    to { opacity: 1; transform: translateY(0);}
}

.join-hero-section h1 {
    font-size: 2.8rem;
    color: #00aaff;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 4px 24px #00aaff33, 0 1px 0 #000;
}

.join-intro {
    font-size: 1.2rem;
    color: #b9dfff;
    margin-bottom: 32px;
    text-shadow: 0 2px 8px #000a;
}

.join-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
    margin-top: 24px;
}

.join-buttons .hero-button {
    box-shadow: 0 2px 16px #00aaff33;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: transform 0.18s, box-shadow 0.18s;
    outline: none;
}
.join-buttons .hero-button:focus {
    outline: 2px solid #00aaff;
    outline-offset: 2px;
}
.join-buttons .hero-button.primary {
    background: linear-gradient(90deg, #00aaff 60%, #0077cc 100%);
    color: #fff;
    border: none;
}
.join-buttons .hero-button.primary:hover,
.join-buttons .hero-button.primary:focus {
    background: linear-gradient(90deg, #0077cc 60%, #00aaff 100%);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 24px #00aaff66;
}
.join-buttons .hero-button.secondary {
    background: transparent;
    color: #00aaff;
    border: 2.5px solid #00aaff;
}
.join-buttons .hero-button.secondary:hover,
.join-buttons .hero-button.secondary:focus {
    background: #00aaff;
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 24px #00aaff66;
}

.join-steps-section {
    max-width: 900px;
    margin: 0 auto 60px auto;
    padding: 40px 20px 0 20px;
    animation: fadeInUp 1.2s;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px);}
    to { opacity: 1; transform: translateY(0);}
}

.join-steps-section h2 {
    color: #00aaff;
    font-size: 2rem;
    margin-bottom: 32px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px #00aaff22;
}

.join-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    justify-content: center;
}

.join-step {
    background: #1e1e1e;
    border-radius: 15px;
    padding: 28px 22px 22px 22px;
    min-width: 220px;
    max-width: 260px;
    flex: 1 1 220px;
    box-shadow: 0 4px 24px #00aaff22, 0 1.5px 0 #0077cc22;
    border: 1.5px solid #00aaff55;
    transition: transform 0.18s, box-shadow 0.18s;
    cursor: pointer;
}
.join-step:hover, .join-step:focus-within {
    transform: translateY(-6px) scale(1.025);
    box-shadow: 0 8px 32px #00aaff44;
    border-color: #00aaff;
    z-index: 2;
}

.join-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00aaff 60%, #0077cc 100%);
    color: #fff;
    font-weight: bold;
    font-size: 1.4rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    margin-bottom: 14px;
    box-shadow: 0 0 16px #00aaff77;
    border: 2.5px solid #fff2;
    transition: all 0.2s;
}

.join-step h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 8px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 1px;
}

.join-step p {
    color: #b9dfff;
    font-size: 1.05rem;
    text-align: center;
    line-height: 1.7;
}

.join-step a {
    color: #00aaff;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.2s;
}
.join-step a:hover, .join-step a:focus {
    color: #fff;
    font-weight: bold;
}

/* --- Zone aide style sobre et moderne --- */
.join-help-section {
    max-width: 700px;
    margin: 0 auto 60px auto;
    padding: 40px 20px 60px 20px;
    text-align: center;
    background: rgba(24,28,36,0.7);
    border-radius: 16px;
    box-shadow: 0 2px 16px #00aaff11;
}

.join-help-section h2 {
    color: #00aaff;
    font-size: 2rem;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px #00aaff22;
}

.join-help-section p {
    color: #b9dfff;
    font-size: 1.13rem;
    line-height: 1.7;
}

.join-help-section a {
    color: #00aaff;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.2s;
}
.join-help-section a:hover, .join-help-section a:focus {
    color: #fff;
    font-weight: bold;
}

/* === Frise chronologique verticale pour les étapes === */
.join-timeline {
    position: relative;
    margin: 0 auto 60px auto;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 32px;
}

.join-timeline::before {
    content: '';
    position: absolute;
    left: 32px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #00aaff 0%, #0077cc 100%);
    border-radius: 2px;
    z-index: 0;
}

.timeline-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 48px;
    width: 100%;
    min-height: 90px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    min-width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-dot span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00aaff 60%, #0077cc 100%);
    color: #fff;
    font-weight: bold;
    font-size: 1.3rem;
    box-shadow: 0 0 16px #00aaff77;
    border: 2.5px solid #fff2;
    transition: all 0.2s;
    margin-left: 10px;
}

.timeline-content {
    background: #1e1e1e;
    border-radius: 15px;
    padding: 22px 24px;
    margin-left: 18px;
    box-shadow: 0 4px 24px #00aaff22, 0 1.5px 0 #0077cc22;
    border: 1.5px solid #00aaff33;
    flex: 1;
    min-width: 0;
    transition: transform 0.18s, box-shadow 0.18s;
}

.timeline-content h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 8px;
    text-align: left;
    font-weight: 700;
    letter-spacing: 1px;
}

.timeline-content p {
    color: #b9dfff;
    font-size: 1.05rem;
    text-align: left;
    line-height: 1.7;
    margin: 0;
}

.timeline-content a {
    color: #00aaff;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.2s;
}
.timeline-content a:hover,
.timeline-content a:focus {
    color: #fff;
    text-decoration: underline; /* underline simple, plus de wavy */
}

@media (max-width: 600px) {
    .join-hero-section {
        padding: 90px 4vw 30px 4vw; /* Plus d'espace sous la navbar/logo sur mobile */
        min-height: 340px;
    }
    .join-hero-section h1 {
        font-size: 1.5rem;
        margin-top: 30px;
        margin-bottom: 12px;
        letter-spacing: 1.5px;
    }
    .join-intro {
        font-size: 1rem;
        margin-bottom: 18px;
    }
    .join-buttons {
        flex-direction: column;
        gap: 0.7rem;
        margin-top: 14px;
    }
    .join-buttons .hero-button {
        font-size: 1rem;
        min-width: 0;
        width: 100%;
        padding: 0.9rem 0.5rem;
    }

    .join-steps-section {
        padding: 10vw 0 0 0;
        margin: 0 auto 30px auto;
        max-width: 98vw;
    }
    .join-steps-section h2 {
        font-size: 1.1rem;
        margin-bottom: 18px;
        letter-spacing: 1px;
    }

    .join-timeline {
        padding-left: 8px;
        max-width: 100vw;
        margin-bottom: 30px;
    }
    .join-timeline::before {
        left: 8px;
        width: 2px;
    }
    .timeline-dot {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }
    .timeline-dot span {
        width: 18px;
        height: 18px;
        font-size: 0.8rem;
        margin-left: 0;
    }
    .timeline-content {
        padding: 8px 6px;
        margin-left: 8px;
        font-size: 0.93rem;
        border-radius: 10px;
    }
    .timeline-content h3 {
        font-size: 0.98rem;
        margin-bottom: 5px;
    }
    .timeline-content p {
        font-size: 0.93rem;
    }

    .join-prereq-section {
        padding: 18px 2vw 12px 2vw;
        max-width: 99vw;
        border-radius: 14px;
    }
    .join-prereq-section h2 {
        font-size: 1.1rem;
        margin-bottom: 18px;
        letter-spacing: 1px;
    }
    .join-prereq-list {
        max-width: 100vw;
        gap: 10px;
    }
    .join-prereq-list li {
        padding: 8px 6px;
        font-size: 0.98rem;
        border-radius: 9px;
        gap: 8px;
    }
    .join-prereq-list i {
        font-size: 1em;
        min-width: 18px;
        margin-right: 6px;
    }
    .join-prereq-list a {
        padding: 1px 4px;
        font-size: 0.97em;
    }

    .join-help-section {
        padding: 18px 2vw 18px 2vw;
        max-width: 99vw;
        border-radius: 14px;
        margin-bottom: 30px;
    }
    .join-help-section h2 {
        font-size: 1.1rem;
        margin-bottom: 10px;
        letter-spacing: 1px;
    }
    .join-help-section p {
        font-size: 0.98rem;
    }
}

/* --- Amélioration mobile pour la FAQ et staff --- */
@media (max-width: 600px) {
    .faq-section {
        padding: 10vw 2vw;
        margin: 30px auto;
    }
    .faq-section h2 {
        font-size: 1.1rem;
        padding-left: 0;
        border-left: none;
        margin-bottom: 18px;
    }
    .faq-question h3 {
        font-size: 0.98rem;
        padding-left: 8px;
    }
    .faq-answer p {
        font-size: 0.95rem;
    }
    .staff-section {
        padding: 10vw 2vw;
        margin: 30px auto;
    }
    .staff-section h2 {
        font-size: 1.1rem;
        padding-left: 0;
        border-left: none;
        margin-bottom: 18px;
    }
    .staff-section h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    .staff-card {
        width: 120px;
        padding: 8px 4px;
    }
    .staff-avatar {
        width: 50px;
        height: 50px;
    }
    .staff-card h3 {
        font-size: 0.95rem;
    }
    .staff-discord {
        font-size: 0.8rem;
    }
    .staff-role {
        font-size: 0.8rem;
    }
    .postuler-btn {
        font-size: 0.9rem;
        padding: 8px 0;
        width: 100%;
        max-width: 180px;
    }
    .staff-separator {
        margin: 10px auto;
    }
}

/* Responsive amélioré */
@media (max-width: 900px) {
    .join-steps {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }
    .join-step {
        max-width: 100%;
        min-width: 0;
        width: 100%;
        margin-bottom: 10px;
    }
    .join-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .join-hero-section {
        padding: 70px 4vw 30px 4vw;
    }
    .join-steps-section,
    .join-prereq-section,
    .join-help-section {
        padding: 20px 4vw 0 4vw;
    }
    .join-steps-section h2,
    .join-prereq-section h2,
    .join-help-section h2 {
        font-size: 1.3rem;
    }
    .join-step {
        padding: 18px 8px 12px 8px;
        margin-bottom: 8px;
    }
    .join-prereq-list li {
        padding: 10px 10px;
        font-size: 1rem;
    }
}

/* Accessibilité : focus visible */
.join-step:focus-within,
.join-buttons .hero-button:focus,
.join-prereq-list li:focus-within,
.join-prereq-list a:focus,
.join-help-section a:focus {
    outline: 2px solid #00aaff;
    outline-offset: 2px;
}
.join-help-section a:focus {
    outline: 2px solid #00aaff;
    outline-offset: 2px;
}
