/* ==== Variables & Reset ==== */
:root {
    --primary: #FF2A54; /* Neon Red/Pink */
    --primary-glow: rgba(255, 42, 84, 0.6);
    --primary-hover: #ff4d70;
    --secondary: #00F0FF; /* Neon Cyan */
    --dark-bg: #000000;
    --text-main: #FFFFFF;
    --text-muted: #8A8D99;
    --glass-bg: rgba(15, 15, 20, 0.5);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body, html {
    width: 100%;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--dark-bg);
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* ==== Background & Overlays ==== */
.background-wrapper {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    background-color: #000000;
}

/* Large Background Moto */
.moto-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    mix-blend-mode: screen; 
    opacity: 0.45; /* Darkened to prevent clashing with text while staying imposing */
    animation: motoPulse 4s ease-in-out infinite alternate;
    pointer-events: none;
}

@media (max-width: 768px) {
    .moto-bg {
        object-position: center 30%;
        opacity: 0.35;
    }
}

@keyframes motoPulse {
    from { filter: brightness(0.9) contrast(1.1); }
    to { filter: brightness(1.3) contrast(1.2); }
}

.background-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Dark radial gradient to put focus on center */
    background: radial-gradient(circle at center, rgba(10, 10, 14, 0.3) 0%, rgba(10, 10, 14, 0.95) 100%);
}

.noise-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03; /* Subtle grain/noise for texture */
    pointer-events: none;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

/* ==== Main Layout ==== */
.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    animation: slideDown 1s ease forwards;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-glow {
    font-size: 2rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.brand-text {
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--secondary);
    background: rgba(0, 240, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--secondary);
    animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(0, 240, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

/* ==== Hero Content ==== */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    gap: 2rem;
    animation: fadeIn 1.5s ease forwards 0.5s;
    opacity: 0;
}

/* Glitch Effect for Title */
.glitch-wrapper {
    position: relative;
    margin-bottom: 0.5rem;
}

.glitch {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: transparent;
}
.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--primary);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}
.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--secondary);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(32px, 9999px, 83px, 0); }
    20% { clip: rect(11px, 9999px, 16px, 0); }
    40% { clip: rect(72px, 9999px, 80px, 0); }
    60% { clip: rect(4px, 9999px, 95px, 0); }
    80% { clip: rect(65px, 9999px, 2px, 0); }
    100% { clip: rect(21px, 9999px, 46px, 0); }
}
@keyframes glitch-anim2 {
    0% { clip: rect(21px, 9999px, 93px, 0); }
    20% { clip: rect(41px, 9999px, 16px, 0); }
    40% { clip: rect(22px, 9999px, 60px, 0); }
    60% { clip: rect(4px, 9999px, 15px, 0); }
    80% { clip: rect(95px, 9999px, 32px, 0); }
    100% { clip: rect(51px, 9999px, 66px, 0); }
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 600px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 auto;
}

/* ==== Countdown ==== */
.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    margin: 2rem 0;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-value {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-main);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.time-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--primary);
    margin-top: 5px;
}

.time-divider {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

/* ==== Subscription Form / Glass Panel ==== */
.glass-panel {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 25px 40px -10px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.1);
}

.notify-box h3 {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.notify-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.notify-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
}

.notify-form input {
    width: 100%;
    padding: 14px 16px 14px 45px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.notify-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 42, 84, 0.3);
}

.btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(90deg, var(--primary) 0%, #D80032 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
}

.btn-primary:hover {
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-primary:hover::after {
    left: 100%;
}

.success-message {
    color: #00FF88;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.2);
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.hidden {
    display: none;
}

/* ==== Footer ==== */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    animation: slideUp 1s ease forwards;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    text-decoration: none;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: translateY(-3px);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ==== Motorcycle Assembly Animation ==== */
.moto-assembly-container {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 1rem auto;
    animation: floatMoto 4s ease-in-out infinite 3.5s; /* floating starts after assembly */
}

.moto-assembly {
    width: 100%;
    height: auto;
    overflow: visible;
}

.neon-stroke {
    fill: none;
    stroke: var(--primary);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 6px var(--primary-glow));
}

.neon-stroke-thin {
    fill: none;
    stroke: var(--secondary);
    stroke-width: 2;
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.6));
}

.neon-stroke-thick {
    fill: none;
    stroke: var(--text-main);
    stroke-width: 5;
    stroke-linecap: round;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

.moto-part {
    opacity: 0;
    transform-origin: center;
    animation: assembleMoto 2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Individual parts starting transformations */
.wheel-back { transform: translate(-150px, 50px) rotate(-360deg) scale(0.5); animation-delay: 0.2s; }
.wheel-front { transform: translate(150px, 50px) rotate(360deg) scale(0.5); animation-delay: 0.4s; }
.frame { transform: translateY(-150px) scale(0.3) rotate(-30deg); animation-delay: 0.6s; }
.engine { transform: translate(0, 150px) scale(0.5); animation-delay: 0.8s; }
.fork { transform: translate(150px, -150px) rotate(90deg); animation-delay: 1.0s; }
.bodywork { transform: translate(-100px, -100px) scale(0.5); animation-delay: 1.2s; }

@keyframes assembleMoto {
    100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes floatMoto {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); filter: drop-shadow(0 15px 15px rgba(0,0,0,0.4));}
}

/* ==== Animations Base ==== */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Responsive Overrides */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 1rem;
    }
    .footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .glitch {
        font-size: 2.5rem;
    }
    .time-value {
        font-size: 2.5rem;
    }
    .time-divider {
        font-size: 2.5rem;
    }
}
