/* Variables et thèmes */
:root {
    /* Thème sombre (par défaut) */
    --bg-color: #0d0d1a;
    --bg-secondary: #151525;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --primary-color: #0066ff;
    --secondary-color: #ff6b00;
    --accent-color: #00ccff;
    --border-color: #2a2a3a;
    --card-bg: #1a1a2a;
    --header-bg: rgba(13, 13, 26, 0.9);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --footer-bg: #0a0a14;
    
    /* Polices */
    --font-family: 'Rajdhani', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --radius: 8px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 48px;
}

.light-theme {
    --bg-color: #fafafa;
    --bg-secondary: #f0f0f0;
    --text-color: #111111;
    --text-muted: #555555;
    --primary-color: #0055cc;
    --secondary-color: #e85d00;
    --accent-color: #009dcc;
    --border-color: #dddddd;
    --card-bg: #ffffff;
    --header-bg: rgba(250, 250, 250, 0.9);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --footer-bg: #eeeeee;
}

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.hidden {
    display: none !important;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--secondary-color);
}

button {
    cursor: pointer;
    font-family: var(--font-family);
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    font-size: 16px;
    letter-spacing: 1px;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: white;
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: var(--spacing-xl);
    position: relative;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-desc {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 18px;
    color: var(--text-muted);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: background-color 0.3s;
}

/* Header responsive */
@media (max-width: 768px) {
    header {
        height: auto;
        padding: 10px 0;
    }
    
    .header-content {
        padding: 10px 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    /* Ajout d'un bord décoratif en bas du header */
    header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    }
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.site-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 2px;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.3);
}

.site-title span {
    color: var(--secondary-color);
}

nav {
    margin-left: auto;
    margin-right: 20px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

nav a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 18px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width 0.3s;
    border-radius: 3px;
}

nav a:hover::after {
    width: 100%;
}

/* Menu mobile */
.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s;
}

.mobile-menu-toggle:hover {
    color: var(--secondary-color);
}

/* Thème Toggle */
.theme-toggle {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, color 0.3s;
    position: relative;
    width: 30px;
    height: 30px;
    overflow: hidden;
}

.theme-toggle:hover {
    transform: rotate(30deg);
}

.dark-theme .fa-sun {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
}

.dark-theme .fa-moon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.light-theme .fa-sun {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.light-theme .fa-moon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
}

/* Hero avec Parallax */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.3), rgba(255, 107, 0, 0.3)), 
                url('../IMAGES/logo.png') no-repeat center center;
    background-size: cover;
    transform: translateZ(-10px) scale(1.5);
    z-index: -3;
}

.parallax-switch {
    position: absolute;
    bottom: 50px;
    right: 50px;
    width: 400px;
    height: 400px;
    background: url('../IMAGES/switch.png') no-repeat;
    background-size: contain;
    transform: translateZ(-5px) scale(1.5) rotate(15deg);
    z-index: -2;
    animation: float 6s ease-in-out infinite;
}

.parallax-meta {
    position: absolute;
    top: 75px;
    left: 75px; 
    width: 300px;
    height: 300px;
    background: url('../IMAGES/quest.png') no-repeat;
    background-size: contain;
    transform: translateZ(-7px) scale(1.7) rotate(-10deg);
    z-index: -1;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translateZ(-5px) scale(1.5) translateY(0) rotate(15deg);
    }
    50% {
        transform: translateZ(-5px) scale(1.5) translateY(-20px) rotate(15deg);
    }
    100% {
        transform: translateZ(-5px) scale(1.5) translateY(0) rotate(15deg);
    }
}

.hero-content {
    text-align: center;
    padding: var(--spacing-xl);
    background-color: rgba(13, 13, 26, 0.7);
    backdrop-filter: blur(5px);
    border-radius: var(--radius);
    max-width: 800px;
    box-shadow: var(--shadow);
    transform: translateY(30px);
    margin-top: 60px;
}

.hero-content h1 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.5);
}

.hero-content h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--text-muted);
}

/* Styles pour le badge de prix */
.price-info {
    margin-bottom: 30px;
}

.price-badge {
    background: rgba(255, 107, 0, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 600;
    font-size: 18px;
    border: 2px solid var(--secondary-color);
}

.event-pricing {
    text-align: center;
    font-size: 20px;
    margin: 20px 0;
    padding: 15px;
    background-color: var(--card-bg);
    border-radius: var(--radius);
    border-left: 4px solid var(--secondary-color);
}

/* Section à propos et compteur */
.countdown {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    color: var(--text-color);
}

.countdown div {
    text-align: center;
    background: var(--card-bg);
    padding: var(--spacing-lg);
    border-radius: var(--radius);
    min-width: 100px;
    box-shadow: var(--shadow);
}

.countdown span {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.countdown p {
    font-size: 16px;
    margin-top: 5px;
    color: var(--secondary-color);
}

/* Section jeux */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.game-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 0;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 400px;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.game-icon {
    height: 50%;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.game-icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--card-bg));
}

.game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card h3, .game-card p {
    padding: 0 var(--spacing-md);
}

.game-card h3 {
    margin-top: var(--spacing-md);
}

.game-card .fab {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
}

.game-card h3 {
    color: var(--secondary-color);
    font-size: 24px;
    margin-bottom: var(--spacing-sm);
}

.vr-zone {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--radius);
    padding: var(--spacing-lg);
    text-align: center;
    color: white;
    box-shadow: var(--shadow);
    margin-top: var(--spacing-xl);
    position: relative;
    padding-top: 60px;
    overflow: visible;
}

.vr-zone * {
    position: relative;
    z-index: 2;
}

.vr-zone::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 10%;
    width: 500px;
    background-image: url('../IMAGES/quest.png');
    background-repeat: no-repeat;
    height: 320px;
    background-size: contain;
    z-index: 1;
    transform: rotate(-5deg);
}

.vr-zone h3 {
    font-size: 28px;
    margin-bottom: var(--spacing-sm);
}

/* Styles pour la section jeu VR */
.vr-game-fade,
.worldguessr-game-fade {
    margin: 30px auto;
    max-width: 800px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.5s;
}

.worldguessr-game-fade {
    animation-delay: 0.8s;
}

.vr-game {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
}

.vr-game img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vr-game:hover img {
    transform: scale(1.05);
}

.vr-game-info {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s;
}

.vr-game:hover .vr-game-info {
    background: rgba(0, 0, 0, 0.5);
}

.vr-game h4 {
    font-size: 22px;
    margin-bottom: 10px;
    color: white;
}

.vr-game p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.social-promo {
    margin-top: 30px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
    display: inline-block;
}

.social-promo p {
    margin-bottom: 10px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: white;
}

.social-link i {
    font-size: 20px;
    margin-right: 8px;
}

@media (min-width: 768px) {
    .vr-game {
        flex-direction: row;
        align-items: stretch;
        height: 250px;
        position: relative;
        overflow: hidden;
    }
    
    .vr-game img {
        width: 45%;
        height: 100%;
        position: relative;
        mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 80%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 80%, transparent 100%);
    }
    
    .vr-game::after {
        content: '';
        position: absolute;
        left: calc(45% - 70px);
        top: 0;
        height: 100%;
        width: 70px;
        background: linear-gradient(to right, transparent, rgba(21, 21, 37, 0.9));
        z-index: 2;
        pointer-events: none;
    }
    
    .vr-game-info {
        width: 55%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: left;
        position: relative;
        padding-left: 30px;
        background: rgba(0, 0, 0, 0.4);
    }
}

@media (max-width: 767px) {
    .vr-zone::before {
        width: 300px;
        height: 200px;
        left: 5%;
        top: -80px;
    }
    
    .social-promo {
        width: 100%;
    }
}

/* Planning et FAQ */
.schedule-table {
    overflow-x: auto;
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--card-bg);
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--bg-secondary);
    color: var(--primary-color);
    font-weight: 600;
}

tr:hover {
    background-color: rgba(0, 102, 255, 0.05);
}

.faq {
    margin-top: var(--spacing-xl);
}

.faq h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: var(--spacing-lg);
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow);
}

.faq-item h4 {
    color: var(--secondary-color);
    font-size: 20px;
    margin-bottom: 10px;
}

/* Styles pour les trophées */
.trophy-preview {
    max-width: 120px;
    margin: 15px auto 0;
    transition: transform 0.3s;
    filter: drop-shadow(0 5px 15px rgba(0, 102, 255, 0.3));
}

.prize-item:hover .trophy-preview {
    transform: translateY(-10px) rotate(5deg);
}

.prize-item:nth-child(1) .trophy-preview {
    filter: drop-shadow(0 5px 15px rgba(255, 215, 0, 0.5));
}

.prize-item:nth-child(2) .trophy-preview {
    filter: drop-shadow(0 5px 15px rgba(192, 192, 192, 0.5));
}

.prize-item:nth-child(3) .trophy-preview {
    filter: drop-shadow(0 5px 15px rgba(205, 127, 50, 0.5));
}

/* Section prix et sponsors */
.prizes-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.prize-item {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: var(--spacing-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.prize-item:hover {
    transform: translateY(-5px);
}

.prize-icon {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
}

.prize-item h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: var(--spacing-sm);
}

.sponsors {
    margin-top: var(--spacing-xl);
    text-align: center;
}

.sponsors h3 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: var(--spacing-lg);
}

.sponsor-item {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: var(--spacing-lg);
    display: inline-block;
    box-shadow: var(--shadow);
    margin: var(--spacing-md);
    transition: transform 0.3s;
}

.sponsor-item:hover {
    transform: translateY(-5px);
}

.sponsor-logo {
    max-height: 100px;
    margin-bottom: var(--spacing-md);
}

.main-sponsor {
    border: 2px solid var(--secondary-color);
    padding: var(--spacing-xl);
}

.metro-sponsor {
    border: 2px solid #00b4e5;
}

/* Styles pour le formulaire d'inscription */
.register-info {
    text-align: center;
    margin-bottom: 30px;
}

.register-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 20px 40px;
    border-radius: var(--radius);
    color: white;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.register-badge i {
    font-size: 36px;
    margin-bottom: 15px;
    display: block;
}

.register-badge p {
    margin: 5px 0;
    font-size: 18px;
}

.register-badge strong {
    font-size: 24px;
    font-weight: 700;
}

/* Formulaire d'inscription */
.register-section {
    background-color: var(--bg-secondary);
}

.registration-form {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: var(--spacing-xl);
    max-width: 800px;
    margin: 0 auto;
    margin-top: 3em;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

input[type="text"],
input[type="email"],
select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 16px;
    transition: border-color 0.3s;
    text-align: center;
}

input[type="text"]:focus,
input[type="email"]:focus,
select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.radio-group {
    display: flex;
    gap: var(--spacing-lg);
}

.radio-group input[type="radio"] {
    margin-right: 8px;
}

.confirmation-message {
    text-align: center;
    background-color: rgba(0, 200, 0, 0.1);
    border: 2px solid rgba(0, 200, 0, 0.5);
    border-radius: var(--radius);
    padding: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.confirmation-message i {
    font-size: 50px;
    color: #00c800;
    margin-bottom: var(--spacing-md);
}

.confirmation-message h3 {
    font-size: 24px;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xl);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.footer-logo p {
    font-weight: 700;
    font-size: 20px;
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-color);
    color: var(--text-color);
    border-radius: 50%;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-5px);
}

.footer-links {
    text-align: right;
}

/* Effet Parallax sur Scroll */
.parallax-scroll {
    transform: translateZ(-10px) scale(2);
    transition: transform 0.5s;
}

/* Responsive */
@media (max-width: 992px) {
    nav ul {
        gap: var(--spacing-md);
    }
    
    .hero-content h1 {
        font-size: 48px;
    }
    
    .countdown div {
        min-width: 80px;
    }
    
    .countdown span {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        gap: var(--spacing-md);
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        flex: 1;
        text-align: left;
    }
    
    .site-title {
        font-size: 28px;
    }
    
    .header-controls {
        display: flex;
        align-items: center;
        gap: var(--spacing-md);
    }
    
    nav ul {
        gap: var(--spacing-sm);
    }
    
    nav a {
        font-size: 16px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content {
        padding: var(--spacing-lg);
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .countdown {
        flex-wrap: wrap;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .parallax-switch,
    .parallax-meta {
        opacity: 0.2;
    }
}

@media (max-width: 576px) {
    .section {
        padding: var(--spacing-lg) 0;
    }
        
    .section-title {
        font-size: 28px;
    }
        
    .hero-content h1 {
        font-size: 32px;
    }
        
    .countdown span {
        font-size: 28px;
    }
        
    .form-group {
        margin-bottom: var(--spacing-md);
    }
        
    .registration-form {
        padding: var(--spacing-lg);
    }
        
    .radio-group {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
        
    .site-title {
        font-size: 24px;
    }
        
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--header-bg);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow);
        z-index: 1000;
    }
        
    nav.active ul {
        display: flex;
    }
        
    .parallax-switch,
    .parallax-meta {
        display: none;
    }
}

/* Animation de chargement */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader {
    width: 80px;
    height: 80px;
    position: relative;
}

.loader:before,
.loader:after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: pulseOut 1.8s ease-in-out infinite;
    filter: drop-shadow(0 0 1rem var(--secondary-color));
}

.loader:before {
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    animation-delay: 0.8s;
}

.loader:after {
    width: 75%;
    height: 75%;
    background-color: var(--secondary-color);
    top: 12.5%;
    left: 12.5%;
    animation-delay: 0s;
}

@keyframes pulseOut {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.loader-fade {
    opacity: 0;
    visibility: hidden;
}

/* Styles pour la sélection des jeux */
.games-selection {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    background-color: var(--bg-secondary);
    border-radius: var(--radius);
    padding: var(--spacing-md);
}

.game-choice {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    padding: var(--spacing-md);
    box-shadow: var(--shadow);
}

.game-choice-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.game-choice-header input[type="checkbox"] {
    margin-right: var(--spacing-md);
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.game-level {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-left: var(--spacing-lg);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-color);
}

.level-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.level-buttons input[type="radio"] {
    display: none;
}

.level-buttons label {
    padding: 8px 12px;
    background-color: var(--bg-secondary);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    color: var(--text-muted);
}

.level-buttons input[type="radio"]:checked + label {
    background-color: var(--primary-color);
    color: white;
}

/* Animation des éléments du formulaire */
.game-choice {
    transform: translateY(20px);
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    animation-delay: calc(var(--animation-order) * 0.1s);
}

.game-choice:nth-child(1) {
    --animation-order: 1;
}

.game-choice:nth-child(2) {
    --animation-order: 2;
}

.game-choice:nth-child(3) {
    --animation-order: 3;
}

.game-choice:nth-child(4) {
    --animation-order: 4;
}

.game-choice:nth-child(5) {
    --animation-order: 5;
}

.game-choice:nth-child(6) {
    --animation-order: 6;
}

.games-group-title {
    margin-top: 20px;
    margin-bottom: 10px;
    padding: 10px 15px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 204, 255, 0.1) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius);
    font-weight: 600;
    color: var(--primary-color);
    font-size: 18px;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles pour la page équipe */
.team-banner {
    background: linear-gradient(135deg, #0a0a14 0%, #151525 100%);
    padding: 120px 0 60px;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.team-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../IMAGES/logo.png') no-repeat center;
    background-size: 300px;
    opacity: 0.05;
    filter: blur(5px);
}

.team-banner h1 {
    font-size: 48px;
    margin-bottom: var(--spacing-md);
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: relative;
}

.team-banner p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.team-section {
    background-color: #0a0a14;
    padding-top: var(--spacing-xl);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: var(--spacing-xl);
}

.team-member {
    background: #151525;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.reveal-card {
    position: relative;
    z-index: 1;
}

.reveal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    opacity: 1;
    transition: height 0.3s ease;
    z-index: 2;
}

.reveal-card:hover::before {
    height: 100%;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.member-photo {
    height: 280px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, 
                rgba(0, 102, 255, 0.15), 
                rgba(255, 107, 0, 0.1) 60%, 
                transparent 80%);
    z-index: 2;
    pointer-events: none;
}

.member-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom, 
                rgba(21, 21, 37, 0.1), 
                rgba(21, 21, 37, 0) 10%, 
                rgba(21, 21, 37, 0) 60%,
                rgba(21, 21, 37, 0.7));
    z-index: 3;
    pointer-events: none;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
    transform-origin: top;
}

.team-member:hover .member-photo img {
    transform: scale(1.08);
}

.member-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    background-color: #151525;
}

.member-info h3 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 5px;
}

.member-role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.member-bio {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 15px;
    line-height: 1.5;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 50%;
    transition: all 0.3s;
    font-size: 18px;
}

.member-social a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-5px);
}

.etu-logo {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    color: white;
    transition: color 0.3s;
    filter: brightness(1.5);
}

.member-social a:hover .etu-logo {
    filter: brightness(2);
}

/* Styles responsive pour la page équipe */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .member-photo {
        height: 350px;
    }
    
    .team-banner h1 {
        font-size: 36px;
    }
    
    .team-contact {
        padding: var(--spacing-lg);
    }
}

@media (max-width: 576px) {
    .team-banner {
        padding: 100px 0 40px;
    }
    
    .team-banner h1 {
        font-size: 28px;
    }
    
    .member-photo {
        height: 380px;
    }
}

/* Styles pour la buvette */
.buvette-zone {
    background: linear-gradient(135deg, #00233e 0%, #711200 100%);
    border-radius: var(--radius);
    padding: var(--spacing-lg);
    text-align: center;
    color: white;
    box-shadow: var(--shadow);
    margin-top: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.buvette-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    z-index: 1;
}

.buvette-zone * {
    position: relative;
    z-index: 2;
}

.buvette-zone h3 {
    font-size: 28px;
    margin-bottom: var(--spacing-sm);
}

.buvette-content {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.buvette-item {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius);
    padding: 20px;
    width: 350px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.buvette-item:hover {
    transform: translateY(-5px);
}

.buvette-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.buvette-item h4 {
    font-size: 22px;
    margin-bottom: 10px;
    color: white;
}

.buvette-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.5;
}

/* Fix pour le thème clair sur equipe.html */
body.light-theme .team-section {
    background-color: #f5f5f5;
}

body.light-theme .team-member {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .member-info {
    background-color: #ffffff;
}

body.light-theme .member-info h3 {
    color: var(--primary-color);
}

body.light-theme .member-bio {
    color: #555555;
}

body.light-theme .team-banner {
    background: linear-gradient(135deg, #e0e0e0 0%, #f0f0f0 100%);
}

body.light-theme .team-banner h1,
body.light-theme .team-banner p {
    color: #333333;
}

body.light-theme .photo-overlay {
    background: radial-gradient(circle at top right, 
                rgba(0, 102, 255, 0.08), 
                rgba(255, 107, 0, 0.05) 60%, 
                transparent 80%);
}

body.light-theme .member-photo::before {
    background: linear-gradient(to bottom, 
                rgba(255, 255, 255, 0.1), 
                rgba(255, 255, 255, 0) 10%, 
                rgba(255, 255, 255, 0) 60%,
                rgba(255, 255, 255, 0.7));
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles pour les liens sociaux de la page équipe */
.team-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.team-social-links .social-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    color: white;
}

.team-social-links .social-link i {
    font-size: 20px;
    margin-right: 8px;
}

.team-social-links .social-link {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.team-social-links .discord-link {
    background: linear-gradient(135deg, #5865F2, #404EED);
}

.team-social-links .social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.light-theme .team-contact {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
}

body.light-theme .team-contact h3 {
    color: var(--primary-color);
}

body.light-theme .team-contact p {
    color: #555555;
}

.btn-container {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-lg);
}

/* Section GeoGuessr */
.worldguessr-zone {
    background: linear-gradient(135deg, #3f7cac 0%, #659b5e 100%);
    border-radius: var(--radius);
    padding: var(--spacing-lg);
    text-align: center;
    color: white;
    box-shadow: var(--shadow);
    margin-top: var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.worldguessr-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://placehold.co/200x200/3f7cac/659b5e?text=Map') no-repeat center center;
    background-size: cover;
    opacity: 0.05;
    z-index: 1;
}

.worldguessr-zone * {
    position: relative;
    z-index: 2;
}

.worldguessr-zone h3 {
    font-size: 28px;
    margin-bottom: var(--spacing-sm);
}

/* Styles pour le formulaire de paiement */
.payment-section {
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: var(--radius);
    margin: 30px 0;
    border: 1px solid var(--border-color);
}

.payment-section h3 {
    color: var(--secondary-color);
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background-color: var(--bg-secondary);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
}

.payment-method:hover {
    background-color: rgba(0, 102, 255, 0.1);
    border-color: var(--primary-color);
}

.payment-method input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-method input[type="radio"]:checked + .payment-icon {
    color: var(--primary-color);
}

.payment-method input[type="radio"]:checked ~ .payment-label {
    color: var(--primary-color);
    font-weight: 600;
}

.payment-method input[type="radio"]:checked ~ .payment-icon {
    transform: scale(1.2);
}

.payment-method input[type="radio"]:checked + span + span {
    color: var(--primary-color);
    font-weight: 600;
}

.payment-method:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background-color: rgba(0, 102, 255, 0.1);
}

.payment-icon {
    font-size: 22px;
    color: var(--text-muted);
    transition: all 0.2s;
}

.payment-label {
    font-size: 16px;
    color: var(--text-color);
    transition: all 0.2s;
}

/* Pour les écrans mobiles */
@media (max-width: 576px) {
    .payment-methods {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
}

/* Styles pour la page d'inscription - nouvelles classes */
.register-options {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow);
}

.register-desc {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.included-features {
    background-color: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 40px;
    display: inline-block;
    text-align: left;
    min-width: 300px;
}

.included-features h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
    text-align: center;
}

.included-features ul {
    list-style: none;
    padding: 0;
}

.included-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.included-features i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.btn-large {
    font-size: 18px;
    padding: 15px 35px;
    margin: 20px 0;
}

.register-note {
    color: var(--text-muted);
    margin-top: 30px;
    font-style: italic;
}

/* Styles pour les contrôles d'articles dans le panier */
.item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .item-controls {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 15px;
    }
}

/* Ajout pour la mise en page de la boîte d'inscription */
.registration-box {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.included-features {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
    min-width: 300px;
    max-width: 500px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
}

.included-features h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 22px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.included-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.included-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.included-features i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 18px;
}

.included-features .btn-primary {
    margin-top: auto;
    align-self: center;
    width: 100%;
    text-align: center;
}

/* Styles pour le formulaire de paiement */
.card-details, .paypal-details {
    max-width: 500px;
    margin: 0 auto;
}

.card-info-row {
    display: flex;
    gap: 15px;
}

.card-info-row .form-group {
    flex: 1;
}

input[type="text"]#card_number,
input[type="text"]#expiry_date,
input[type="text"]#cvv,
input[type="text"]#card_name {
    font-family: monospace;
    letter-spacing: 1px;
    text-align: left;
}

.paypal-info {
    text-align: center;
    padding: 20px;
}

.paypal-logo {
    margin-bottom: 15px;
}

.paypal-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    text-align: left;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background-color: var(--bg-secondary);
    border-radius: var(--radius);
}

.benefit i {
    color: #00457C;
    font-size: 18px;
}

/* Responsive adjustments for payment form */
@media (max-width: 576px) {
    .card-info-row {
        flex-direction: column;
    }
    
    .price-badge {
        font-size: 16px;
        padding: 8px 12px;
    }
}

/* Styles pour le bouton de confirmation */
.submit-button-container {
    display: flex;
    justify-content: center;
    margin: 40px 0 20px;
}

.btn-confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color), #ff9500);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 30px;
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.3);
    width: 100%;
    max-width: 400px;
}

.btn-confirm::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 2s infinite;
}

.btn-confirm:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(255, 107, 0, 0.4);
    background: linear-gradient(135deg, #ff7b00, #ff5500);
}

.btn-confirm:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.4);
}

.btn-confirm-icon {
    margin-right: 15px;
    font-size: 22px;
}

.btn-confirm-text {
    flex: 1;
    text-align: center;
}

.btn-confirm-arrow {
    margin-left: 15px;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-confirm:hover .btn-confirm-arrow {
    transform: translateX(5px);
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

@media (max-width: 576px) {
    .btn-confirm {
        font-size: 16px;
        padding: 14px 25px;
    }
} 