/* Industrial Metal Launch Theme - Atmospheric Concert Vibe */

:root {
    --site-accent: #455a64; /* Muted Dark Slate */
    --industrial-gray: #1a1a1a;
    --dark-void: #0a0a0a;
    --ember-color: rgba(120, 40, 0, 0.25); /* Muted cinders */
}

html, body {
    overflow: hidden !important;
    background-color: #050505 !important;
}

#launchContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    padding: 20px;
    text-align: center;
    overflow: hidden;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#launchContainer > .launchContent {
    margin: auto 0;
}

/* Atmospheric Background Layer */
#launchBackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/imgs/metal_stage_hero_1771358892651.webp') no-repeat center center;
    background-size: cover;
    filter: brightness(0.15) contrast(1.1) grayscale(0.5); /* Muted and darker */
    z-index: -2;
    animation: atmosphericPulse 15s infinite alternate ease-in-out;
}

/* Gritty Texture Overlay */
#launchNoise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJuIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC42NSIgbnVtT2N0YXZlcz0iMyIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNuKSIgb3BhY2l0eT0iMC4wNSIvPjwvc3ZnPg==');
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

/* Fog Layer */
.fogLayer {
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 60%);
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

#fog1 {
    animation: drift 60s infinite linear;
}

#fog2 {
    animation: drift 90s infinite linear reverse;
    opacity: 0.15;
}

/* Ember Particle Layer */
#emberContainer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ember {
    position: absolute;
    bottom: -10px;
    background: var(--ember-color);
    border-radius: 50%;
    filter: blur(1px);
    box-shadow: 0 0 10px var(--ember-color);
    animation: rise linear forwards;
}

/* Deepened Vignette / Stage Lighting Overlay */
#launchContainer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top, rgba(96, 125, 139, 0.08) 0%, transparent 50%),
                radial-gradient(circle at bottom, rgba(10, 10, 10, 0.95) 10%, transparent 90%);
    pointer-events: none;
    z-index: -1;
}

/* Hide navigation components */
#siteHeader, #siteFooter, #announcementBanner, #backToTop, .mobileMenuTrigger {
    display: none !important;
}

.launchContent {
    max-width: 900px;
    width: 100%;
}

.launchLogo {
    max-width: 350px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.1)) contrast(1.1);
}

.launchTitle {
    font-size: 2.22rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #999;
    text-shadow: 2px 2px 4px rgba(0,0,0,1), 0 0 20px rgba(96, 125, 139, 0.15);
    line-height: 1.2;
}

.launchTitle.mystery {
    animation: mysteryGlow 6s infinite alternate ease-in-out, glitch 10s infinite step-end;
}

.launchSubtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 550px;
    margin-bottom: 50px;
    line-height: 1.6;
    letter-spacing: 1.5px;
}

/* Spectral Ghostly Countdown */
#countdown {
    background: transparent;
    border: none;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: none;
    gap: 15px;
    position: relative;
    z-index: 10;
}

.timeBox {
    min-width: 110px;
}

.timeValue {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem; /* Slightly larger once box is gone */
    font-weight: 700;
    display: block;
    line-height: 1.1;
    color: rgba(204, 204, 204, 0.9);
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 20px rgba(96, 125, 139, 0.6), 0 0 40px rgba(96, 125, 139, 0.2);
    animation: tubeFlicker 4s infinite alternate, spectralWaver 8s infinite alternate ease-in-out;
}

.timeValue.timerGlitch {
    animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.timeLabel {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--site-accent);
    margin-top: 15px;
    font-weight: 900;
    opacity: 0.4;
}

.timeSeparator {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--site-accent);
    opacity: 0.15;
    padding-bottom: 25px;
}

/* Shrouded Teaser Grid */
.teaserGrid {
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.teaserItem {
    flex: 1;
    max-width: 250px;
    opacity: 0.6; /* Consistently muted but visible */
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.teaserItem:hover {
    opacity: 1;
    transform: scale(1.05);
}

.teaserIcon {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.03);
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.teaserItem h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #777;
    text-shadow: 0 0 10px rgba(96, 125, 139, 0.2);
    white-space: nowrap; /* Prevent word wrap */
}

.teaserItem p {
    font-size: 0.8rem;
    color: #444;
    line-height: 1.5;
}

/* Social Links */
.launchSocials {
    gap: 25px;
}

.launchSocialIcon {
    opacity: 0.2;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: rgba(255,255,255,0.03);
    padding: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.05);
}

.launchSocialIcon:hover {
    opacity: 0.8;
    transform: scale(1.1);
    border-color: var(--site-accent);
    background: rgba(96, 125, 139, 0.1);
}

.launchSocialIcon img {
    filter: brightness(0) invert(1);
}

.launchFooter {
    margin-top: 40px;
    padding-bottom: 10px;
    opacity: 0.2;
}

.launchFooter p {
    font-size: 0.7rem;
    color: #333;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

/* Animations */
@keyframes atmosphericPulse {
    from { transform: scale(1); filter: brightness(0.15) contrast(1.1) grayscale(0.5); }
    to { transform: scale(1.05); filter: brightness(0.22) contrast(1.2) grayscale(0.4); }
}

@keyframes rise {
    from { opacity: 0; transform: translateY(0) scale(1); }
    20% { opacity: 1; }
    to { opacity: 0; transform: translateY(-100vh) scale(0.5); }
}

@keyframes drift {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes spectralWaver {
    0% { transform: scale(1) translateX(0); filter: blur(0px); opacity: 0.9; }
    50% { transform: scale(1.02) translateX(1px); filter: blur(0.5px); opacity: 1; }
    100% { transform: scale(0.98) translateX(-1px); filter: blur(0px); opacity: 0.9; }
}

@keyframes tubeFlicker {
  0%, 100% { opacity: 1; text-shadow: 0 0 15px var(--site-accent), 0 1px 2px #000; }
  92% { opacity: 0.95; text-shadow: 0 0 12px var(--site-accent), 0 1px 2px #000; }
  94% { opacity: 1; text-shadow: 0 0 20px var(--site-accent), 0 1px 2px #000; }
  96% { opacity: 0.98; text-shadow: 0 0 15px var(--site-accent), 0 1px 2px #000; }
}

@keyframes mysteryGlow {
    0% { color: #888; text-shadow: 0 0 10px rgba(96, 125, 139, 0.2); filter: brightness(1); }
    50% { color: #aaa; text-shadow: 0 0 30px rgba(96, 125, 139, 0.4); filter: brightness(1.1); }
    100% { color: #888; text-shadow: 0 0 10px rgba(96, 125, 139, 0.2); filter: brightness(1); }
}

@keyframes glitch {
  0%, 98% { transform: translate(0); text-shadow: none; }
  99% { transform: translate(2px, -2px); text-shadow: 2px 0 var(--site-accent), -2px 0 #000; }
  100% { transform: translate(-2px, 2px); text-shadow: -2px 0 var(--site-accent), 2px 0 #000; }
}

/* Utils */
.row { display: flex; flex-direction: row; }
.column { display: flex; flex-direction: column; }
.center-center { justify-content: center; align-items: center; }

@media (max-width: 768px) {
    .launchTitle { font-size: 1.4rem; padding: 0 10px; }
    .launchSubtitle { font-size: 0.8rem; margin-bottom: 30px; }
    #countdown { 
        padding: 40px 10px; 
        gap: 5px;
        margin: 0 10px 30px;
    }
    .timeBox { min-width: 60px; }
    .timeValue { font-size: 1.8rem; }
    .timeSeparator { font-size: 1rem; }
    .launchLogo { max-width: 240px; }
    .teaserGrid { 
        flex-direction: column; 
        align-items: center;
        gap: 20px;
    }
    .teaserItem { opacity: 0.8; filter: none; }
}
