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

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=Orbitron:wght@400;700;900&display=swap');

body {
    font-family: 'Rajdhani', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    position: relative;
    -webkit-tap-highlight-color: rgba(255, 107, 0, 0.3);
    touch-action: manipulation;
}

/* Background effects */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 107, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 150, 0, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(255, 107, 0, 0.1) 0%, transparent 40%),
        linear-gradient(135deg,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(20, 10, 0, 0.9) 50%,
            rgba(0, 0, 0, 0.95) 100%);
    z-index: 1;
    animation: bg-pulse 8s ease-in-out infinite;
}

@keyframes bg-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.95;
    }
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    z-index: 2;
    pointer-events: none;
    animation: scanline-animation 8s linear infinite;
    opacity: 0.8;
}

@keyframes scanline-animation {
    0% { transform: translateY(0); }
    100% { transform: translateY(10px); }
}

/* Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 120, 0, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(255, 120, 0, 0.8);
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(var(--drift)) scale(1);
        opacity: 0;
    }
}

/* Main container */
.container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Logo and title */
.logo-section {
    text-align: center;
    margin-bottom: 60px;
    animation: fade-in-down 1s ease-out;
}

@keyframes fade-in-down {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-section h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 7rem);
    font-weight: 900;
    letter-spacing: 8px;
    background: linear-gradient(135deg, #ff6b00, #ff9500, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 107, 0, 0.5);
    margin-bottom: 20px;
    animation: glow-pulse 2s ease-in-out infinite;
    -webkit-user-select: none;
    user-select: none;
}

@keyframes glow-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255, 107, 0, 0.8))
                drop-shadow(0 0 20px rgba(255, 107, 0, 0.6))
                drop-shadow(0 0 30px rgba(255, 107, 0, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255, 107, 0, 1))
                drop-shadow(0 0 40px rgba(255, 107, 0, 0.8))
                drop-shadow(0 0 60px rgba(255, 107, 0, 0.6));
    }
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    letter-spacing: 12px;
    color: #aaa;
    text-transform: uppercase;
    animation: fade-in 1.5s ease-out 0.5s both;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Countdown */
.countdown-section {
    animation: fade-in-up 1s ease-out 0.8s both;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.countdown {
    display: flex;
    gap: clamp(20px, 5vw, 60px);
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.time-unit {
    position: relative;
    text-align: center;
    min-width: clamp(80px, 15vw, 150px);
}

.time-value {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 107, 0, 0.6),
        0 0 30px rgba(255, 107, 0, 0.4);
    position: relative;
    display: inline-block;
    background: linear-gradient(180deg, #fff 0%, #ff8c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-user-select: none;
    user-select: none;
}

.time-value::before {
    content: attr(data-value);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    color: rgba(255, 107, 0, 0.2);
    filter: blur(8px);
}

.time-label {
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    letter-spacing: 4px;
    color: #888;
    text-transform: uppercase;
    margin-top: 10px;
    font-weight: 600;
}

/* Separator */
.time-separator {
    font-size: clamp(3rem, 10vw, 6rem);
    color: #ff6b00;
    align-self: center;
    animation: blink 1.5s ease-in-out infinite;
    line-height: 0.7;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Call to action */
.cta {
    text-align: center;
    margin-top: 60px;
    animation: fade-in 2s ease-out 1.2s both;
}

.mission-briefing {
    max-width: 600px;
    margin: 0 auto 40px;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
    border-left: 4px solid #ff6b00;
    border-right: 4px solid #ff6b00;
    position: relative;
    backdrop-filter: blur(5px);
}

.mission-briefing::before,
.mission-briefing::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6b00, transparent);
}

.mission-briefing::before {
    top: 0;
}

.mission-briefing::after {
    bottom: 0;
}

.briefing-header {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    color: #ff6b00;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
}

.briefing-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #fff;
    letter-spacing: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
}

.briefing-text {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #aaa;
    line-height: 1.6;
    letter-spacing: 1px;
}

.objective-list {
    list-style: none;
    margin-top: 20px;
    padding: 0;
}

.objective-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    color: #ccc;
    letter-spacing: 1px;
}

.objective-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #ff6b00;
    font-size: 1.2em;
    animation: pulse-arrow 2s ease-in-out infinite;
}

@keyframes pulse-arrow {
    0%, 100% {
        opacity: 1;
        transform: translateX(0);
    }
    50% {
        opacity: 0.6;
        transform: translateX(3px);
    }
}

.alert-box {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid #ff6b00;
    background: rgba(255, 107, 0, 0.1);
    box-shadow:
        0 0 20px rgba(255, 107, 0, 0.3),
        inset 0 0 20px rgba(255, 107, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin-top: 20px;
}

.alert-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 107, 0, 0.1),
        transparent
    );
    animation: alert-shine 3s linear infinite;
}

@keyframes alert-shine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.alert-text {
    position: relative;
    z-index: 1;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    letter-spacing: 4px;
    color: #ff6b00;
    font-weight: 700;
    text-transform: uppercase;
}

/* Release section (hidden initially) */
.release-section {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.2) 0%, rgba(0, 0, 0, 0.95) 70%);
    animation: release-fade-in 2s ease-out;
    overflow-y: auto;
}

@keyframes release-fade-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.release-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 1200px;
}

.release-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: 10px;
    background: linear-gradient(135deg, #ff6b00, #ff0000, #ff6b00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation:
        gradient-shift 3s linear infinite,
        release-title-appear 1.5s ease-out,
        shake 0.5s ease-in-out 1s;
    margin-bottom: 40px;
    text-transform: uppercase;
}

@keyframes gradient-shift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes release-title-appear {
    from {
        opacity: 0;
        transform: scale(0.5) rotateX(90deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotateX(0deg);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.release-message {
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: #fff;
    letter-spacing: 6px;
    margin-bottom: 30px;
    animation: release-message-appear 2s ease-out 0.5s both;
    text-shadow: 0 0 20px rgba(255, 107, 0, 0.8);
    text-transform: uppercase;
    font-weight: 700;
}

@keyframes release-message-appear {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.release-subtext {
    font-size: clamp(1rem, 2.5vw, 2rem);
    color: #aaa;
    letter-spacing: 8px;
    animation: release-subtext-appear 2.5s ease-out 1s both;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 50px;
}

@keyframes release-subtext-appear {
    from {
        opacity: 0;
        filter: blur(10px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

/* Glitch effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.glitch::before {
    animation: glitch-1 2s infinite;
    color: #ff0000;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 2s infinite;
    color: #00ffff;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% {
        transform: translate(0);
        opacity: 0;
    }
    33% {
        transform: translate(-2px, 2px);
        opacity: 0.8;
    }
}

@keyframes glitch-2 {
    0%, 100% {
        transform: translate(0);
        opacity: 0;
    }
    66% {
        transform: translate(2px, -2px);
        opacity: 0.8;
    }
}

/* Explosion effect */
.explosion {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.8) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: explode 2s ease-out;
    pointer-events: none;
    z-index: 99;
    display: none;
}

@keyframes explode {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    50% {
        width: 300vw;
        height: 300vw;
        opacity: 0.6;
    }
    100% {
        width: 400vw;
        height: 400vw;
        opacity: 0;
    }
}

/* Corner decorations */
.corner-decoration {
    position: fixed;
    width: 150px;
    height: 150px;
    border: 2px solid rgba(255, 107, 0, 0.3);
    z-index: 5;
    pointer-events: none;
}

.corner-decoration.top-left {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
    animation: corner-glow 3s ease-in-out infinite;
}

.corner-decoration.top-right {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
    animation: corner-glow 3s ease-in-out infinite 0.5s;
}

.corner-decoration.bottom-left {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
    animation: corner-glow 3s ease-in-out infinite 1s;
}

.corner-decoration.bottom-right {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
    animation: corner-glow 3s ease-in-out infinite 1.5s;
}

@keyframes corner-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 107, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 107, 0, 0.8);
    }
}

/* Audio visualizer bars */
.visualizer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 0 20px;
    z-index: 3;
    opacity: 0.5;
}

.bar {
    width: 4px;
    background: linear-gradient(to top, #ff6b00, #ff9500);
    margin: 0 2px;
    animation: bar-wave 1s ease-in-out infinite;
}

@keyframes bar-wave {
    0%, 100% {
        height: 10px;
    }
    50% {
        height: var(--bar-height);
    }
}

/* Streamer section */
.streamer-section {
    margin-top: 60px;
    animation: fade-in 2.5s ease-out 1.5s both;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.comms-header {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    color: #ff6b00;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
    text-align: center;
}

.streamers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    width: 100%;
}

.streamer-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.08) 0%, rgba(0, 0, 0, 0.4) 100%);
    border: 2px solid rgba(255, 107, 0, 0.5);
    border-left: 4px solid #ff6b00;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 48px;
    cursor: pointer;
    backdrop-filter: blur(5px);
}

.streamer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6b00, transparent);
}

.streamer-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6b00, transparent);
}

.streamer-card:hover {
    border-color: rgba(255, 107, 0, 0.9);
    box-shadow: 0 0 40px rgba(255, 107, 0, 0.4);
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.12) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.streamer-avatar-container {
    position: relative;
    flex-shrink: 0;
}

.streamer-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #ff6b00;
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
    transition: all 0.3s ease;
    display: block;
}

.streamer-card:hover .streamer-avatar {
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.9);
    transform: scale(1.05);
}

.avatar-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.3) 0%, transparent 70%);
    animation: avatar-pulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes avatar-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.streamer-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.streamer-label {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.streamer-label::before {
    content: '◆';
    color: #ff6b00;
    font-size: 0.6em;
}

.streamer-name {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.streamer-platform {
    font-size: 0.75rem;
    color: #9146ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.twitch-icon {
    width: 14px;
    height: 14px;
    fill: #9146ff;
}

.live-indicator {
    display: none;
    padding: 3px 8px;
    background: #ff0000;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    animation: pulse-live 1.5s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
    text-transform: uppercase;
}

@keyframes pulse-live {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.6);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.9);
    }
}

.cta-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    color: #ff6b00;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.streamer-card:hover .cta-arrow {
    opacity: 1;
    transform: translateY(-50%) translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .time-unit {
        min-width: 70px;
    }

    .countdown {
        gap: 15px;
    }

    .corner-decoration {
        display: none;
    }

    .visualizer {
        height: 60px;
        opacity: 0.2;
    }

    .logo-section {
        margin-bottom: 40px;
    }

    .subtitle {
        letter-spacing: 6px;
    }

    .cta {
        margin-top: 40px;
    }

    .streamer-section {
        margin-top: 50px;
    }

    .alert-box {
        padding: 12px 30px;
    }

    .mission-briefing {
        padding: 20px 25px;
    }

    .release-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .streamer-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }

    .streamer-info {
        text-align: center;
    }

    .streamer-label,
    .streamer-name,
    .streamer-platform {
        justify-content: center;
    }

    .cta-arrow {
        position: static;
        transform: none;
        margin-top: 10px;
    }

    .streamer-card:hover .cta-arrow {
        transform: translateY(3px);
    }

    .visualizer {
        display: none;
    }

    .time-separator {
        margin: 0 5px;
    }

    .countdown {
        gap: 10px;
    }

    .logo-section h1 {
        letter-spacing: 4px;
    }

    .subtitle {
        letter-spacing: 4px;
    }

    .mission-briefing {
        padding: 18px 20px;
        border-left-width: 3px;
        border-right-width: 3px;
    }

    .briefing-header {
        letter-spacing: 2px;
    }

    .briefing-title {
        letter-spacing: 2px;
    }

    .objective-list li {
        padding-left: 20px;
    }

    .alert-box {
        padding: 10px 20px;
    }

    .alert-text {
        letter-spacing: 2px;
    }

    .streamer-section {
        margin-top: 40px;
    }

    .streamer-avatar {
        width: 60px;
        height: 60px;
    }

    .streamer-label {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .streamer-name {
        font-size: 1.1rem;
    }

    .streamer-platform {
        font-size: 0.7rem;
    }

    .release-title {
        letter-spacing: 6px;
    }

    .release-message {
        letter-spacing: 3px;
    }

    .release-subtext {
        letter-spacing: 4px;
    }
}

@media (max-width: 360px) {
    .countdown {
        gap: 8px;
    }

    .time-unit {
        min-width: 60px;
    }

    .logo-section h1 {
        letter-spacing: 2px;
    }

    .subtitle {
        letter-spacing: 2px;
    }
}

/* Landscape mobile orientation */
@media (max-width: 896px) and (max-height: 414px) and (orientation: landscape) {
    .container {
        padding: 10px;
    }

    .logo-section {
        margin-bottom: 20px;
    }

    .countdown-section {
        margin-bottom: 10px;
    }

    .cta {
        margin-top: 20px;
    }

    .streamer-section {
        margin-top: 30px;
    }

    .visualizer {
        height: 40px;
    }

    .release-content {
        padding: 10px;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .particle,
    .bar,
    .scanlines {
        display: none;
    }
}
