:root {
    --background-color: #f1f1f1;
    --text-color: #000000;
    --titre-color: grey;
    --primary-color: #ab9ff2;
    --border-color: #dcdcdc;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --input-background: #f9f9f9;
    --secondary-color: #2575fc;
    --success-color: #60d394;
    --error-color: #ee6055;
    --jaune-color: #ffd97d;
}

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

body {
    overflow: hidden;
    background: #000;
    font-family: 'Arial', sans-serif;
    color: white;
}

#container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 20px;
}

#menu-panel {
    position: fixed;
    top: 0;
    left: -400px;
    width: 350px;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 80px 30px 30px;
    z-index: 999;
    transition: left 0.3s ease;
    overflow-y: auto;
}

#menu-panel.active {
    left: 0;
}

.menu-section {
    margin-bottom: 30px;
}

.menu-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 16px;
}

.btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    text-align: center;
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
    margin: 5px 0;
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

#hud {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 25px;
    z-index: 100;
    display: flex;
    gap: 30px;
    align-items: center;
}

.hud-item {
    text-align: center;
}

.hud-label {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 5px;
}

.hud-value {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-color);
}

.hidden {
    display: none !important;
}

iframe {
    display: flex;
    width: 100%;
    border-radius: 8px;
    border: none;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease;
    width: 80px;
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: background 0.3s ease;
    animation: bounce 2s infinite;
}

.social-link:hover .social-icon {
    background: rgba(255, 255, 255, 0.2);
}

.social-link svg {
    color: white;
    
}
.social-icon:first-child {
    animation-delay: 0.2s;
}
.social-icon:nth-child(2) {
    animation-delay: 0.3s;
}
.social-icon:last-child {
    animation-delay: 0.4s;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.social-link span {
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
}

.intro-img {
    display: flex;
    width: 100%;
    border-radius: 8px;
    margin: 0 auto;
}

.intro-logo {
    display: flex;
    width: 140px;
    border-radius: 50px;
    margin: 0 auto;
}

.info-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border: 2px solid #ffffff;
    border-radius: 15px;
    padding: 30px;
    max-width: 550px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 900;
    display: none;
}
.gallery-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border: 2px solid #ffffff;
    border-radius: 15px;
    padding: 30px;
    max-width: 900px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 900;
    display: none;
}

.close-card {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 20px;
    cursor: pointer;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.gallery-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    color: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--primary-color);
}

/* Styles pour éviter la capture des touches dans les formulaires */
.form-control-active {
    pointer-events: auto !important;
}

.form-control-active * {
    pointer-events: auto !important;
}

.review-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    margin: 10px 0;
    border-radius: 10px;
}

.stars {
    color: #ffd700;
    font-size: 20px;
    margin-bottom: 10px;
}

a {
    color: white;
    text-decoration: none;
}

#mini-map {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 150px;
    height: 150px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    z-index: 100;
    overflow: hidden;
}

#radar-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.radar-sweep {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(transparent 90%, rgba(171, 159, 242, 0.3) 90%);
    border-radius: 50%;
    animation: radarSweep 4s linear infinite;
}

.player-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #00ff00;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.poi-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    z-index: 1;
}

@keyframes radarSweep {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* POPUP FIN DE QUÊTE */
#quest-complete {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border: 3px solid var(--success-color);
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    z-index: 1000;
    display: none;
    text-align: center;
}

#quest-complete h2 {
    color: var(--success-color);
    margin-bottom: 20px;
}

.quest-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
}

/* VIDEO GALLERY */
.video-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20px 0;
}

.video-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.video-item iframe {
    width: 100%;
    height: 200px;
    border-radius: 5px;
    margin-bottom: 10px;
}

/*fin de mission */
.smart-cta {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
}

.cta-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    margin-top: 10px;
    cursor: pointer;
    font-weight: bold;
}

.progress-dashboard {
    background: rgba(30,30,40,0.9);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
}

.special-offer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.5s ease;
}

.special-offer-content {
    background: #f1f1f1;
    color: grey;
    border-radius: 20px;
    padding: 40px 30px 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.offer-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.offer-header h3 {
    margin: 0;
    font-size: 1.4em;
    background: linear-gradient(45deg, #222, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.confetti {
    font-size: 1.8em;
    animation: bounce 2s infinite;
}

.offer-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--success-color);
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    animation: pulse 2s infinite;
}

.offer-subtitle {
    font-size: 1.1em;
    margin-bottom: 25px;
    opacity: 0.9;
}

.offer-features {
    text-align: left;
    margin: 25px 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    font-size: 1.5em;
    flex-shrink: 0;
}

.offer-highlight {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 25px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
}

.discount-badge {
    background: var(--jaune-color);
    color: #333;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.3em;
    animation: pulse-gold 1.5s infinite;
}

.offer-code {
    font-family: 'Courier New', monospace;
    background: rgba(60, 52, 52, 0.3);
    padding: 8px 15px;
    border-radius: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.3);
}

.offer-btn {
    background: #f1f1f1;
    color: #444;
    border: 1px solid #333;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin: 20px 0;
   
}

.offer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(90, 82, 82, 0.4);
}

.offer-footer {
    margin-top: 15px;
    opacity: 0.7;
}

.close-offer {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.close-offer:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes pulse-gold {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    50% { 
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .special-offer-content {
        padding: 30px 20px 20px;
        margin: 20px;
    }
    
    .offer-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .offer-highlight {
        flex-direction: column;
        gap: 10px;
    }
}

/* Ajouter dans ton CSS existant */
@media (max-width: 768px) {
    #menu-panel {
        width: 90vw;
        max-width: 400px;
    }
    
    .card {
        width: 95vw;
        max-width: 500px;
        padding: 20px;
    }
    
    #points-hud {
        top: 10px;
        right: 10px;
        padding: 8px 15px;
        font-size: 1em;
    }
    
    #target-display, #speed-display, #altitude-display {
        font-size: 0.9em;
        padding: 8px 12px;
    }
}

/* Empêcher le zoom sur les boutons */
button {
    touch-action: manipulation;
}

/* Améliorer l'expérience tactile */
@media (hover: none) and (pointer: coarse) {
    .card, #menu-panel {
        -webkit-overflow-scrolling: touch;
    }
}