/* Variables et reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    animation: preloaderPulse 2s ease-in-out infinite;
}

.preloader-logo {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    color: #ff6b35;
    text-shadow: 0 0 20px #ff6b35, 0 0 40px #ff6b35, 0 0 60px #ff6b35;
    margin-bottom: 30px;
    animation: logoGlow 2s ease-in-out infinite alternate;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 20px auto;
    overflow: hidden;
    border: 1px solid #ff6b35;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #ff6b35, #f7931e, #ff6b35);
    background-size: 200% 100%;
    border-radius: 2px;
    animation: loadingProgress 3s ease-out forwards, loadingShimmer 1.5s ease-in-out infinite;
    width: 0%;
}

.loading-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 3px;
    margin-top: 20px;
    animation: textPulse 1.5s ease-in-out infinite;
}

/* Preloader Animations */
@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes logoGlow {
    0% {
        text-shadow: 0 0 20px #ff6b35, 0 0 40px #ff6b35, 0 0 60px #ff6b35;
        filter: brightness(1);
    }
    100% {
        text-shadow: 0 0 30px #ff6b35, 0 0 60px #ff6b35, 0 0 90px #ff6b35;
        filter: brightness(1.2);
    }
}

@keyframes loadingProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes loadingShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes textPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Responsive Preloader */
@media (max-width: 768px) {
    .preloader-logo {
        font-size: 2.5rem;
    }
    
    .loading-bar {
        width: 250px;
    }
    
    .loading-text {
        font-size: 1rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .preloader-logo {
        font-size: 2rem;
    }
    
    .loading-bar {
        width: 200px;
        height: 3px;
    }
    
    .loading-text {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #2c5530;
    --accent-color: #ffd23f;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --border-color: #333333;
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* Container principal */
.coming-soon-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Vidéo d'arrière-plan */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(0.6) contrast(1.2);
    transform: scale(1.1);
    animation: subtle-zoom 20s infinite alternate ease-in-out;
}

@keyframes subtle-zoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1.2); }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%);
    z-index: -1;
}

/* Logo */
.logo-container {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.logo {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.7));
    animation: pulse 2s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.7)); }
    100% { transform: scale(1.05); filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.9)); }
}

/* Contenu principal */
.content {
    text-align: center;
    z-index: 5;
    padding: 0 20px;
    max-width: 800px;
    width: 100%;
}

/* Titre avec effet glitch */
.glitch-title {
    font-family: 'Orbitron', monospace;
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

.glitch-title::before,
.glitch-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-title::before {
    color: var(--primary-color);
    z-index: -1;
    animation: glitch-anim-1 5s infinite linear alternate-reverse;
}

.glitch-title::after {
    color: var(--accent-color);
    z-index: -2;
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% { transform: translate(0); }
    10% { transform: translate(-2px, -2px); }
    20% { transform: translate(2px, 2px); }
    30% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
    50% { transform: translate(-2px, 2px); }
    60% { transform: translate(2px, 2px); }
    70% { transform: translate(-2px, -2px); }
    80% { transform: translate(2px, -2px); }
    90% { transform: translate(-2px, 2px); }
    100% { transform: translate(0); }
}

@keyframes glitch-anim-2 {
    0% { transform: translate(0); }
    10% { transform: translate(2px, 2px); }
    20% { transform: translate(-2px, -2px); }
    30% { transform: translate(2px, -2px); }
    40% { transform: translate(-2px, 2px); }
    50% { transform: translate(2px, -2px); }
    60% { transform: translate(-2px, -2px); }
    70% { transform: translate(2px, 2px); }
    80% { transform: translate(-2px, 2px); }
    90% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(255, 107, 53, 0.5); }
    to { text-shadow: 0 0 30px rgba(255, 107, 53, 0.8), 0 0 40px rgba(255, 107, 53, 0.3); }
}

/* Tagline */
.tagline-container {
    margin-bottom: 40px;
    overflow: hidden;
    position: relative;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 3px;
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in 1s forwards 0.5s;
}

@keyframes fade-in {
    to { opacity: 1; transform: translateY(0); }
}

/* Compteur */
.countdown-container {
    margin-bottom: 50px;
    position: relative;
    padding: 30px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 10px;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(10px);
    animation: border-pulse 3s infinite alternate;
}

@keyframes border-pulse {
    0% { box-shadow: 0 0 10px rgba(255, 107, 53, 0.3); }
    100% { box-shadow: 0 0 20px rgba(255, 107, 53, 0.6); }
}

.countdown-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.countdown-number {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 10px;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.countdown-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    animation: scan-line 2s linear infinite;
}

@keyframes scan-line {
    0% { transform: translateY(0); }
    100% { transform: translateY(100px); }
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 10px;
    letter-spacing: 1px;
}

/* Formulaire d'inscription */
.signup-container {
    margin-bottom: 40px;
    width: 100%;
    max-width: 500px;
}

.signup-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-align: center;
}

.signup-form {
    display: flex;
    gap: 10px;
    width: 100%;
}

.signup-form input {
    flex: 1;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.signup-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.btn-signup {
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    background: var(--gradient-primary);
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Réseaux sociaux */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.social-link:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: var(--text-secondary);
    transition: fill 0.3s ease;
}

.social-link:hover .social-icon {
    fill: var(--primary-color);
}

.social-link[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-primary);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.social-link[data-tooltip]:hover::after {
    opacity: 1;
}

/* Particules */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Éléments tactiques décoratifs */
.tactical-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.tactical-corner {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-color);
    opacity: 0.6;
}

.top-left {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
    animation: pulse-corner 3s infinite alternate;
}

.top-right {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
    animation: pulse-corner 3s infinite alternate 0.5s;
}

.bottom-left {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
    animation: pulse-corner 3s infinite alternate 1s;
}

.bottom-right {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
    animation: pulse-corner 3s infinite alternate 1.5s;
}

@keyframes pulse-corner {
    0% { opacity: 0.3; }
    100% { opacity: 0.8; }
}

.tactical-line {
    position: absolute;
    background: var(--primary-color);
    opacity: 0.3;
}

.horizontal {
    height: 1px;
    width: 100%;
    left: 0;
}

.vertical {
    width: 1px;
    height: 100%;
    top: 0;
}

.top {
    top: 50px;
    animation: line-pulse 4s infinite alternate;
}

.bottom {
    bottom: 50px;
    animation: line-pulse 4s infinite alternate 0.5s;
}

.left {
    left: 50px;
    animation: line-pulse 4s infinite alternate 1s;
}

.right {
    right: 50px;
    animation: line-pulse 4s infinite alternate 1.5s;
}

@keyframes line-pulse {
    0% { opacity: 0.1; }
    100% { opacity: 0.4; }
}

.tactical-target {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    pointer-events: none;
    animation: target-pulse 5s infinite alternate;
}

.tactical-target::before,
.tactical-target::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tactical-target::before {
    width: 150px;
    height: 150px;
    animation: target-pulse 5s infinite alternate 0.5s;
}

.tactical-target::after {
    width: 100px;
    height: 100px;
    animation: target-pulse 5s infinite alternate 1s;
}

@keyframes target-pulse {
    0% { opacity: 0.1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1.1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .glitch-title {
        font-size: 3rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .countdown {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 60px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .signup-form {
        flex-direction: column;
    }
    
    .btn-signup {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .glitch-title {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .countdown-item {
        min-width: 50px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
        padding: 8px;
    }
    
    .logo {
        width: 60px;
        height: 60px;
    }
    
    .tactical-corner {
        width: 30px;
        height: 30px;
    }
}