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

:root {
    --primary-red: #e63946;
    --dark-red: #9d0208;
    --bright-red: #ff2d2d;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --text-light: #ffffff;
    --text-gray: #888888;
    --accent-gray: #1a1a1a;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(230, 57, 70, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(230, 57, 70, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

.bg-scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 2;
    animation: scanlines 0.5s linear infinite;
}

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(2px); }
}

.bg-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150vw;
    height: 150vh;
    background: radial-gradient(ellipse at center, rgba(230, 57, 70, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-red), 0 0 20px var(--primary-red);
    animation: float 15s infinite;
    opacity: 0.6;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Binary Rain */
.binary-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.binary-column {
    position: absolute;
    top: -100%;
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    color: var(--primary-red);
    opacity: 0.15;
    animation: rain 20s linear infinite;
    text-shadow: 0 0 10px var(--primary-red);
}

@keyframes rain {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(200vh);
    }
}

/* Main Container */
.container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 30px;
}

/* Logo */
.logo-container {
    position: relative;
    margin-bottom: 10px;
}

.logo {
    width: 280px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(230, 57, 70, 0.5));
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(230, 57, 70, 0.5));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 50px rgba(230, 57, 70, 0.8));
        transform: scale(1.02);
    }
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.3) 0%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* Coming Soon Text */
.coming-soon-wrapper {
    text-align: center;
}

.glitch-container {
    position: relative;
}

.glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    position: relative;
    text-shadow: 
        0 0 10px var(--primary-red),
        0 0 20px var(--primary-red),
        0 0 40px var(--primary-red);
    animation: glitch 2s infinite;
}

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

.glitch::before {
    animation: glitch-1 0.3s infinite;
    color: var(--bright-red);
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.glitch::after {
    animation: glitch-2 0.3s infinite;
    color: #00ffff;
    z-index: -2;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitch {
    0%, 90%, 100% { transform: translate(0); }
    92% { transform: translate(-2px, 2px); }
    94% { transform: translate(2px, -2px); }
    96% { transform: translate(-2px, -2px); }
    98% { transform: translate(2px, 2px); }
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(-3px, -3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(3px, -3px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(3px, -3px); }
    40% { transform: translate(3px, 3px); }
    60% { transform: translate(-3px, -3px); }
    80% { transform: translate(-3px, 3px); }
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-gray);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 10px;
}

/* Countdown */
.countdown-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.countdown-item {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 10px;
    padding: 20px 25px;
    text-align: center;
    min-width: 90px;
    position: relative;
    overflow: hidden;
}

.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
}

.countdown-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 0 20px var(--primary-red);
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 5px;
}

.countdown-separator {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--primary-red);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Email Signup */
.signup-container {
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.signup-text {
    color: var(--text-gray);
    margin-bottom: 15px;
    font-size: 1rem;
    letter-spacing: 0.1em;
}

.signup-form {
    width: 100%;
}

.input-wrapper {
    display: flex;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--primary-red);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.3);
}

.input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 15px 25px;
    color: var(--text-light);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    outline: none;
}

.input-wrapper input::placeholder {
    color: var(--text-gray);
}

.input-wrapper button {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border: none;
    padding: 15px 30px;
    color: var(--text-light);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.input-wrapper button:hover {
    background: linear-gradient(135deg, var(--bright-red), var(--primary-red));
    transform: scale(1.02);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.input-wrapper button:hover .btn-icon {
    transform: translateX(5px);
}

.success-message {
    color: #4ade80;
    margin-top: 15px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.success-message.show {
    opacity: 1;
    transform: translateY(0);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 50%;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    color: var(--text-light);
    border-color: var(--primary-red);
    background: rgba(230, 57, 70, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

/* Terminal */
.terminal {
    width: 100%;
    max-width: 500px;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

.terminal-header {
    background: rgba(26, 26, 26, 0.9);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27ca40; }

.terminal-title {
    margin-left: 10px;
    font-size: 0.8rem;
    color: var(--text-gray);
    font-family: 'Orbitron', sans-serif;
}

.terminal-body {
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--primary-red);
    min-height: 80px;
}

.terminal-line {
    display: inline;
}

.cursor {
    animation: cursorBlink 0.8s infinite;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Corner Decorations */
.corner-decoration {
    position: fixed;
    width: 100px;
    height: 100px;
    pointer-events: none;
    z-index: 5;
}

.corner-decoration::before,
.corner-decoration::after {
    content: '';
    position: absolute;
    background: var(--primary-red);
}

.top-left {
    top: 20px;
    left: 20px;
}

.top-left::before {
    width: 30px;
    height: 2px;
    top: 0;
    left: 0;
}

.top-left::after {
    width: 2px;
    height: 30px;
    top: 0;
    left: 0;
}

.top-right {
    top: 20px;
    right: 20px;
}

.top-right::before {
    width: 30px;
    height: 2px;
    top: 0;
    right: 0;
}

.top-right::after {
    width: 2px;
    height: 30px;
    top: 0;
    right: 0;
}

.bottom-left {
    bottom: 20px;
    left: 20px;
}

.bottom-left::before {
    width: 30px;
    height: 2px;
    bottom: 0;
    left: 0;
}

.bottom-left::after {
    width: 2px;
    height: 30px;
    bottom: 0;
    left: 0;
}

.bottom-right {
    bottom: 20px;
    right: 20px;
}

.bottom-right::before {
    width: 30px;
    height: 2px;
    bottom: 0;
    right: 0;
}

.bottom-right::after {
    width: 2px;
    height: 30px;
    bottom: 0;
    right: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        width: 200px;
    }
    
    .countdown-item {
        padding: 15px 15px;
        min-width: 70px;
    }
    
    .countdown-value {
        font-size: 1.8rem;
    }
    
    .countdown-separator {
        font-size: 1.5rem;
    }
    
    .input-wrapper {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .input-wrapper input {
        text-align: center;
        padding: 15px;
    }
    
    .input-wrapper button {
        justify-content: center;
        border-radius: 0 0 15px 15px;
    }
    
    .terminal {
        max-width: 100%;
    }
    
    .tagline {
        font-size: 0.9rem;
        letter-spacing: 0.15em;
    }
}

@media (max-width: 480px) {
    .countdown-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .countdown-separator {
        display: none;
    }
    
    .countdown-item {
        min-width: 80px;
    }
}
