:root {
    --bg-color: #0b0f19;
    --card-bg: #131b2e;
    --border-color: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-cyan: #06b6d4;
    --accent-blue: #3b82f6;
    --live-red: #ef4444;
    --offline-gray: #64748b;
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-area img {
    height: 36px;
    width: auto;
}

.highlight {
    color: var(--accent-cyan);
}

/* Status Badges */
.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.status-badge.offline {
    background-color: rgba(100, 116, 139, 0.2);
    color: var(--offline-gray);
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.status-badge.live {
    background-color: rgba(239, 68, 68, 0.2);
    color: var(--live-red);
    border: 1px solid rgba(239, 68, 68, 0.4);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { boxShadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { boxShadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { boxShadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 40px 0;
}

.hero-section {
    text-align: center;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #f8fafc, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Stream Wrapper & Player */
.stream-wrapper {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.stream-info {
    padding: 24px;
}

.stream-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Offline View */
.offline-view {
    text-align: center;
    padding: 60px 20px;
}

.offline-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.offline-view h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.offline-view p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 30px auto;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Spinner */
.spinner-box {
    text-align: center;
    padding: 80px 20px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border-color);
    border-top-color: var(--accent-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    background-color: rgba(11, 15, 25, 0.9);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
	/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(19, 27, 46, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    z-index: 9999;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.5);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.cookie-link {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: underline;
}

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

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
}