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

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');

:root {
    --studio-brown: #8B6F47;
    --warm-orange: #E8956F;
    --neon-purple: #B794F6;
    --neon-pink: #F472B6;
    --deep-brown: #2D1F1A;
    --warm-cream: #F5E6D3;
    --monitor-cyan: #67E8F9;
}

body {
    font-family: 'Orbitron', sans-serif;
    background: url('orbital-station-bg.png') center center / cover no-repeat fixed;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    filter: contrast(1.1) saturate(1.2);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

#particles-container {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

header {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    text-align: right;
}

.logo {
    font-family: 'Audiowide', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--neon-purple);
    text-shadow:
        0 0 20px var(--neon-purple),
        0 0 40px var(--neon-purple),
        0 0 60px rgba(183, 148, 246, 0.5),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
    animation: neonFlicker 4s ease-in-out infinite;
}

@keyframes neonFlicker {

    0%,
    100% {
        opacity: 1;
    }

    94% {
        opacity: 1;
    }

    96% {
        opacity: 0.8;
    }

    98% {
        opacity: 1;
    }
}

.logo::before {
    content: '📡';
    position: absolute;
    left: -60px;
    color: var(--warm-orange);
    opacity: 0.6;
    font-size: 2rem;
    filter: drop-shadow(0 0 10px var(--warm-orange));
}

.logo::after {
    content: '🛸';
    position: absolute;
    right: -60px;
    color: var(--warm-orange);
    opacity: 0.6;
    font-size: 2rem;
    filter: drop-shadow(0 0 10px var(--warm-orange));
}

.tagline {
    font-size: 1.2rem;
    color: var(--warm-orange);
    letter-spacing: 3px;
    margin-top: 10px;
    text-shadow: 0 0 15px var(--warm-orange);
}

.sub-tagline {
    font-size: 0.9rem;
    color: rgba(103, 232, 249, 0.8);
    letter-spacing: 2px;
    margin-top: 8px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    opacity: 0.7;
    animation: subtlePulse 4s ease-in-out infinite;
}

@keyframes subtlePulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 0.9;
    }
}

.protocol-hint {
    margin-top: 15px;
    font-size: 0.75rem;
    color: rgba(103, 232, 249, 0.6);
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(103, 232, 249, 0.2);
    border-radius: 20px;
    cursor: help;
    transition: all 0.3s ease;
    position: relative;
}

.protocol-hint:hover {
    background: rgba(103, 232, 249, 0.1);
    border-color: rgba(103, 232, 249, 0.5);
    color: rgba(103, 232, 249, 0.9);
    box-shadow: 0 0 20px rgba(103, 232, 249, 0.3);
}

.protocol-icon {
    font-size: 0.9rem;
    opacity: 0.8;
}

.protocol-text {
    font-size: 0.7rem;
}

.protocol-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 22, 40, 0.98);
    border: 2px solid rgba(103, 232, 249, 0.5);
    border-radius: 12px;
    padding: 15px 20px;
    min-width: 200px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(103, 232, 249, 0.3);
}

.protocol-hint:hover .protocol-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.protocol-tooltip strong {
    color: rgba(103, 232, 249, 0.9);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.tooltip-line {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    padding: 3px 0;
    letter-spacing: 0.5px;
}

.tooltip-line:before {
    content: '• ';
    color: rgba(103, 232, 249, 0.6);
    margin-right: 5px;
}


main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 10;
}

.upload-section {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%),
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(79, 172, 254, 0.02) 10px, rgba(79, 172, 254, 0.02) 20px);
    border: 3px double rgba(79, 172, 254, 0.4);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 60px;
    backdrop-filter: blur(10px);
    text-align: center;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.upload-section::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, var(--lazy-blue), var(--aqua-teal));
    border-radius: 15px;
    z-index: -1;
    opacity: 0.1;
}

.upload-section h2 {
    color: var(--lazy-blue);
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 1.3rem;
}

.upload-btn {
    display: inline-block;
    padding: 20px 40px;
    background: linear-gradient(45deg, var(--lazy-blue), var(--aqua-teal));
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.upload-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(79, 172, 254, 0.6);
}

#streamTitle {
    width: 100%;
    max-width: 500px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    margin: 20px 0;
}

#streamTitle:focus {
    outline: none;
    border-color: var(--lazy-blue);
}

.btn-main {
    padding: 15px 40px;
    background: var(--lazy-blue);
    border: none;
    border-radius: 50px;
    color: black;
    font-family: 'Syncopate', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(79, 172, 254, 0.5);
}

.streams-feed h2 {
    color: var(--aqua-teal);
    margin-bottom: 30px;
    text-align: center;
}

.streams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.stream-card {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 2px solid rgba(79, 172, 254, 0.3);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.stream-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--lazy-blue), transparent);
    opacity: 0.5;
}

.stream-card::after {
    content: '♫';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    opacity: 0.1;
    color: var(--lazy-blue);
}

.stream-card:hover {
    border-color: var(--aqua-teal);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.3);
}

.stream-title {
    font-size: 1.2rem;
    color: var(--lazy-blue);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 1px;
}

.stream-player {
    width: 100%;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }

    .streams-grid {
        grid-template-columns: 1fr;
    }
}