/* --- Premium Minimalist Design --- */
:root {
    --bg-black: #000000;
    --text-white: #ffffff;
    --text-muted: #444444;
    --text-dimmed: #888888;
    
    --font-heading: 'Syne', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --font-sans: 'Space Grotesk', sans-serif;
    
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}



/* --- Main Layout --- */
.coming-soon-container {
    text-align: center;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4.5rem;
    padding: 2rem;
    max-width: 1000px;
    width: 100%;
}

/* --- Laser Text Printer System --- */
.text-printer-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 240px; /* Precise height to fit elements without jumping */
}

.printer-mask {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.top-mask {
    height: 170px;
    align-items: flex-end; /* Align bottom to the laser line */
}

.bottom-mask {
    height: 60px;
    align-items: flex-start; /* Align top to the laser line */
    padding-top: 12px;
}

/* Typography styles inside the masks */
.brand-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    font-weight: 800;
    letter-spacing: 12px;
    margin-right: -12px; /* Perfect center alignment offset */
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--text-white);
    
    /* Initially hidden inside the top mask */
    transform: translateY(105%);
    transition: transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.conquer-text {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 6px;
    margin-right: -6px; /* Perfect center alignment offset */
    text-transform: uppercase;
    color: var(--text-dimmed);
    line-height: 1;
}

/* The Printer Laser line */
.printer-laser {
    position: absolute;
    top: 170px; /* Junction between top and bottom mask */
    left: 50%;
    transform: translate(-50%, -50%);
    height: 2px;
    width: 0;
    background-color: var(--text-white);
    box-shadow: 0 0 10px #fff, 0 0 20px #fff;
    z-index: 2;
    opacity: 0;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

/* Laser States */
.printer-laser.expanded {
    width: 80%;
    max-width: 600px;
    opacity: 1;
}

.printer-laser.printing {
    box-shadow: 0 0 15px #fff, 0 0 30px #fff;
}

.printer-laser.finished {
    width: 30%;
    max-width: 200px;
    opacity: 0.15;
    box-shadow: none;
    background-color: var(--text-dimmed);
    transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.5s ease;
}

/* Active Printing Reveal States */
.start-slide .brand-title {
    transform: translateY(0);
}



/* --- Countdown Panel (Seconds Only Layout) --- */
.countdown-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease, transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.countdown-panel.visible {
    opacity: 1;
    transform: translateY(0);
}

.countdown-item.seconds-only {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.num {
    display: flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 5rem;
    font-weight: 400;
    color: var(--text-white);
    line-height: 1;
    height: 1.1em;
    overflow: hidden;
}

/* Sliding Digit Reel Elements */
.digit-wrapper {
    display: inline-block;
    position: relative;
    height: 1em;
    width: 0.6em; /* Snug width for monospace digits */
    overflow: hidden;
}

.digit-inner {
    display: flex;
    flex-direction: column;
    height: 2em;
    transform: translateY(0);
}

.digit-inner.sliding {
    transform: translateY(-50%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.digit-current, .digit-next {
    display: block;
    height: 1em;
    line-height: 1;
    text-align: center;
}

.symbol-wrapper {
    display: inline-block;
    height: 1em;
    line-height: 1;
    width: 0.35em;
    text-align: center;
    color: var(--text-muted);
}

.label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* --- Media Queries --- */
@media (max-width: 768px) {
    .text-printer-container {
        height: 130px;
    }
    
    .top-mask {
        height: 85px;
    }
    
    .bottom-mask {
        height: 45px;
        padding-top: 8px;
    }
    
    .printer-laser {
        top: 85px;
    }
    
    .brand-title {
        font-size: 3.5rem;
        letter-spacing: 8px;
    }
    
    .conquer-text {
        font-size: 0.9rem;
        letter-spacing: 4px;
    }
    
    .num {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .text-printer-container {
        height: 100px;
    }
    
    .top-mask {
        height: 65px;
    }
    
    .bottom-mask {
        height: 35px;
        padding-top: 6px;
    }
    
    .printer-laser {
        top: 65px;
    }
    
    .brand-title {
        font-size: 2.5rem;
        letter-spacing: 6px;
    }
    
    .conquer-text {
        font-size: 0.8rem;
        letter-spacing: 3px;
    }
    
    .num {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .label {
        font-size: 0.6rem;
        letter-spacing: 2px;
    }
}
