html, body {
    background-image: none;
}

html { scroll-behavior: smooth; }

#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-header { margin-top: 40px; text-align: center; z-index: 10; }
.loader-title {
    font-size: 14px; font-weight: 800; letter-spacing: 5px; text-transform: uppercase;
    color: #ffffff;
}
.loader-sub {
    font-size: 9px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6); margin-top: 6px;
}

.loader-stage {
    position: relative; width: 100%; flex: 1; display: flex;
    justify-content: center; align-items: flex-start; padding-top: 15px; overflow: hidden;
}

.stream-line {
    position: absolute; width: 2px;
    background: linear-gradient(0deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 2px; animation: streamVertical linear infinite;
}

.stream-line:nth-child(1) { left: 30%; width: 1.5px; height: 120px; animation-duration: 1.1s; animation-delay: 0s; }
.stream-line:nth-child(2) { left: 45%; width: 2px; height: 180px; animation-duration: 0.85s; animation-delay: 0.2s; }
.stream-line:nth-child(3) { left: 50%; width: 3px; height: 220px; animation-duration: 0.7s; animation-delay: 0.1s; }
.stream-line:nth-child(4) { left: 55%; width: 2px; height: 160px; animation-duration: 0.9s; animation-delay: 0.3s; }
.stream-line:nth-child(5) { left: 70%; width: 1.5px; height: 140px; animation-duration: 1.2s; animation-delay: 0.15s; }

@keyframes streamVertical {
    0% { transform: translateY(100vh); opacity: 0; }
    30% { opacity: 0.9; }
    100% { transform: translateY(-100%); opacity: 0; }
}

.star-wrapper {
    position: relative; z-index: 5; display: flex; flex-direction: column-reverse; align-items: center;
    animation: starSkyLoop 0.7s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.star-wrapper.falling-drop { animation: starFallToGround 1.0s cubic-bezier(0.34, 1.15, 0.64, 1) forwards !important; }
.star-wrapper.falling-drop.slow-net { animation: starFallToGround 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards !important; }

.hd-star {
    width: 54px; height: 54px; fill: #ffffff;
    animation: starWiggle 0.12s ease-in-out infinite;
}

.star-trail {
    width: 3px; height: 100px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.9), #ffffff);
    margin-bottom: -6px; border-radius: 2px;
}

@keyframes starSkyLoop {
    0% { transform: translateY(-60px); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(32vh); opacity: 0.1; }
}

@keyframes starFallToGround {
    0% { transform: translateY(32vh) rotate(0deg); opacity: 1; }
    50% { transform: translateY(calc(50vh - 100px)) rotate(-8deg); }
    80% { transform: translateY(calc(100vh - 230px)) rotate(6deg); }
    100% { transform: translateY(calc(100vh - 210px)) rotate(0deg); opacity: 1; }
}

@keyframes starWiggle {
    0%, 100% { transform: rotate(-6deg) scale(0.95); }
    50% { transform: rotate(6deg) scale(1.05); }
}

.pixel-explosion {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    width: 1px; height: 1px; z-index: 20; pointer-events: none;
}
.pixel-p {
    position: absolute; width: 6px; height: 6px; background-color: #ffffff;
    animation: pixelBurst 0.6s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes pixelBurst {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}

.pixel-ground-container { width: 100%; height: 50px; position: relative; background: transparent; z-index: 10; }
.pixel-line { position: absolute; top: 20px; left: 0; width: 100%; height: 3px; background-color: #ffffff; }
.pixel-tree-art { position: absolute; top: 0; width: 100%; height: 20px; display: flex; justify-content: space-around; align-items: flex-end; padding: 0 2%; overflow: hidden; }
.pixel-shape { shape-rendering: crispEdges; fill: #ffffff; }

.sticky-nav-container {
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1; transform: translateY(0);
}

.sticky-nav-container.nav-hidden {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

nav a {
    touch-action: manipulation;
}

.glass-panel {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-star-track {
    position: relative;
    height: 95vh;
    width: 100%;
    background-color: #000000;
}

.hero-star-sticky {
    position: sticky;
    top: 44px;
    width: 100%;
    height: calc(100vh - 44px);
    background-color: #000000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#halftoneCanvas {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #000000;
}

.star-scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.star-scroll-cue span {
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.star-scroll-line {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.45);
    animation: pulseLine 1.8s ease-in-out infinite;
}

@keyframes pulseLine {
    0%, 100% { transform: scaleY(0.4); opacity: 0.25; }
    50% { transform: scaleY(1); opacity: 0.85; }
}

.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.25s cubic-bezier(0.1, 0.9, 0.2, 1), transform 0.25s cubic-bezier(0.1, 0.9, 0.2, 1); will-change: opacity, transform; }
.reveal.visible { opacity: 1; transform: translateY(0); }

main { flex: 1; background-color: #000000; }
section { padding: 50px 6%; max-width: 1200px; margin: 0 auto; background-color: #000000; }

.roster-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.roster-card { 
    border: 1px solid rgba(255, 255, 255, 0.16); padding: 25px; text-align: center; display: block; 
    text-decoration: none; color: #ffffff; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    cursor: pointer; border-radius: 12px;
    background: #000000;
}
.roster-card:hover { 
    border-color: rgba(255, 255, 255, 0.55); background: #0a0a0a; transform: translateY(-6px);
}
.roster-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; margin-bottom: 20px; background: #000000; border-radius: 8px; border: 1px solid rgba(255,255,255,0.12); }

.contact-box { 
    text-align: center; padding: 50px 30px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px;
    background: #000000;
}
