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

:root {
    --bg: #0a0f1a;
    --bg-elevated: #111827;
    --text: #e0e7ef;
    --text-muted: #5a6a80;
    --accent: #00e5ff;
    --live: #ff3b3b;
    --border: rgba(255, 255, 255, 0.08);
    --content-width: 1000px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Header ── */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 60px;
    background: rgba(10, 15, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: var(--content-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    user-select: none;
}

.logo-bold {
    font-weight: 700;
}

.logo-light {
    font-weight: 300;
    color: var(--text-muted);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--live);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.social-nav {
    display: flex;
    gap: 20px;
}

.social-nav a {
    color: var(--text-muted);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

.social-nav a:hover {
    color: var(--accent);
}

/* ── Stream ── */

.stream-section {
    padding: 40px 24px 0;
}

.stream-container {
    max-width: var(--content-width);
    margin: 0 auto;
}

.stream-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border);
}

.stream-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stream-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 4px;
    font-size: 13px;
}

.stream-label {
    color: var(--text-muted);
}

.stream-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.stream-link:hover {
    color: var(--accent);
}

/* ── Conditions ── */

.conditions-section {
    padding: 32px 24px;
}

.conditions-bar {
    max-width: var(--content-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.condition-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 20px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.condition-icon {
    font-size: 20px;
    line-height: 1;
}

.condition-value {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.condition-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

/* ── CTA ── */

.cta-section {
    padding: 24px 24px 64px;
    text-align: center;
}

.cta-heading {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: background 0.2s ease, color 0.2s ease;
}

.cta-btn:hover {
    background: var(--accent);
    color: var(--bg);
}

.cta-btn svg {
    flex-shrink: 0;
}

/* ── Footer ── */

footer {
    padding: 24px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .stream-embed {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .stream-section {
        padding: 24px 0 0;
    }

    .stream-meta {
        padding: 12px 24px;
    }

    .conditions-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 220px;
        justify-content: center;
    }
}
