/* -------------------------------------------------
   VARIABLES
   ------------------------------------------------- */
:root {
    --primary-color: #ff0000;
    --primary-dark: #cc0000;
    --primary-light: #ff3333;
    --text-color: #fff;
    --text-secondary: #ccc;
    --bg-color: #000;
    --glow-color: rgba(255, 0, 0, 0.5);
    --accent-glow: rgba(255, 0, 0, 0.8);
}

/* -------------------------------------------------
   GLOBAL RESET & TYPOGRAPHY
   ------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    background: var(--bg-color);
    color: var(--text-color);
    font-family: 'Orbitron', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 90vh;
    position: relative;
}

/* -------------------------------------------------
   PARTICLES (ON TOP OF EVERYTHING)
   ------------------------------------------------- */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
}
.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff, var(--primary-color));
    box-shadow: 0 0 14px var(--accent-glow), 0 0 24px rgba(255,0,0,.7);
    animation: float 7s infinite linear;
    opacity: 0;
}
@keyframes float {
    0%   { transform: translateY(120vh) rotate(0deg); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateY(-20vh) rotate(360deg); opacity: 0; }
}

/* -------------------------------------------------
   LAYOUT
   ------------------------------------------------- */
.container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 2vh 1rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.top-section,
.bottom-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1vh 0;
}

/* -------------------------------------------------
   ETCH LINE
   ------------------------------------------------- */
.etch-line {
    width: 80%;
    max-width: 600px;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--primary-color) 30%,
        var(--primary-light) 50%,
        var(--primary-color) 70%,
        transparent 100%);
    box-shadow: 0 0 10px var(--glow-color);
    margin: 1vh 0;
    animation: etchPulse 2.5s ease-in-out infinite alternate;
}
@keyframes etchPulse {
    from { box-shadow: 0 0 10px var(--glow-color); }
    to   { box-shadow: 0 0 16px var(--glow-color), 0 0 24px rgba(255,0,0,.4); }
}

/* -------------------------------------------------
   POWERED BY
   ------------------------------------------------- */
.powered-line {
    margin: 0.4vh 0 1vh; /* REDUCED VERTICAL MARGINS */
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    font-weight: 600;
    letter-spacing: 2px;
}
.powered-text {
    color: var(--text-secondary);
    position: relative;
    display: inline-block;
    transition: color .3s ease;
}
.powered-text:hover { color: #fff; }
.powered-text::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--primary-light);
    box-shadow: 0 0 6px var(--primary-light);
    transition: width .4s ease;
}
.powered-text:hover::after { width: 100%; }

.highlight {
    color: var(--primary-light);
    font-weight: 800;
    text-shadow: 0 0 8px var(--accent-glow);
}

/* -------------------------------------------------
   LOGO & TAGLINE
   ------------------------------------------------- */
.logo {
    font-size: clamp(2.5rem, 12vw, 8rem);
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px var(--glow-color);
    animation: glow 2s ease-in-out infinite alternate;
    margin-bottom: 1vh;
    letter-spacing: .1em;
}
@keyframes glow {
    from { text-shadow: 0 0 20px var(--glow-color), 0 0 30px rgba(255,0,0,.3); }
    to   { text-shadow: 0 0 30px var(--glow-color), 0 0 40px rgba(255,0,0,.5), 0 0 50px rgba(255,0,0,.3); }
}
.tagline {
    font-size: clamp(.9rem, 3.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 1vh;
    opacity: .9;
    max-width: 600px;
    line-height: 1.4;
}

/* -------------------------------------------------
   COMING SOON + COUNTDOWN
   ------------------------------------------------- */
.coming-soon {
    font-size: clamp(1.25rem, 5vw, 2rem);
    color: var(--primary-color);
    margin-bottom: 1vh; /* REDUCED BOTTOM MARGIN */
    animation: pulse 1.5s infinite;
    font-weight: 700;
}
@keyframes pulse {
    0%,100% { transform: scale(1); }
    50%     { transform: scale(1.05); }
}
.countdown {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(.75rem, 2.5vw, 3vh);
    margin-bottom: 4vh;
    width: 100%;
    max-width: 600px;
}
.countdown-item {
    text-align: center;
    min-width: clamp(4rem, 20vw, 6rem);
    flex: 1;
}
.countdown-number {
    font-size: clamp(1.75rem, 8vw, 4rem);
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    line-height: 1;
    margin-bottom: .5vh;
    text-shadow: 0 0 12px rgba(255,0,0,.6);
}
.countdown-label {
    font-size: clamp(.6rem, 2vw, .8rem);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    opacity: .95;
}

/* -------------------------------------------------
   FOOTER
   ------------------------------------------------- */
.footer {
    font-size: clamp(.7rem, 2vw, .8rem);
    opacity: .5;
    text-align: center;
    width: 100%;
    padding: 1vh;
    margin-top: auto;
}
.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    font-weight: 600;
    transition: all .3s ease;
}
.footer-link:hover {
    color: var(--primary-light);
    text-shadow: 0 0 8px var(--accent-glow);
}
.footer-link::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-light);
    transition: width .3s ease;
}
.footer-link:hover::after { width: 100%; }

/* -------------------------------------------------
   RESPONSIVE
   ------------------------------------------------- */
@media (max-width: 400px) {
    .container { padding: 2vh .75rem; }
    .countdown { gap: .5rem; }
    .countdown-item { min-width: 3.5rem; }

    /* Mobile-specific reduction for powered-line margin */
    .powered-line {
        margin: 0.2vh 0 0.5vh;
    }
}
@media (min-width: 600px) {
    .container { padding: 3vh 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition: none !important;
    }
}