"use strict";
/* Base reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: radial-gradient(circle at top, rgba(180, 0, 0, 0.20), transparent 30%), linear-gradient(180deg, #0a0a0a 0%, #111111 40%, #090909 100%);
    color: #f5f5f5;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout */
.container {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

    .main-nav a {
        color: #f0f0f0;
        font-weight: 600;
        transition: color 0.2s ease;
    }

        .main-nav a:hover {
            color: #d62828;
        }

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 3rem;
    background: rgba(0, 0, 0, 0.4);
}

.footer-inner {
    padding: 1.25rem 0;
    text-align: center;
    color: #cccccc;
    font-size: 0.95rem;
}

/* Hero */
.hero-section {
    padding: 3rem 0 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.hero-content {
    text-align: center;
}

.hero-logo {
    width: min(100%, 900px);
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 0 25px rgba(214, 40, 40, 0.6)) drop-shadow(0 0 60px rgba(255, 255, 255, 0.15));
    transform: scale(1.02);
}

.hero-content h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tagline {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    font-size: 1.1rem;
    color: #dddddd;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn,
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    .btn:hover,
    .social-btn:hover {
        transform: translateY(-2px);
    }

.btn-primary {
    background: linear-gradient(135deg, #b30000, #d62828);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(214, 40, 40, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.social-btn {
    background: #151515;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    min-width: 180px;
}

/* Sections */
.content-section {
    padding: 2rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

    .section-header h2 {
        margin: 0 0 0.5rem;
        font-size: clamp(1.6rem, 3vw, 2.4rem);
        color: #ffffff;
    }

    .section-header p {
        margin: 0;
        color: #cfcfcf;
    }

/* Widget area */
.widget-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.widget-card,
.info-card {
    background: linear-gradient(180deg, rgba(24, 24, 24, 0.95), rgba(10, 10, 10, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

    .widget-card h3 {
        margin-top: 0;
        margin-bottom: 1rem;
        color: #ffffff;
    }

.widget-embed {
    overflow: hidden;
    border-radius: 16px;
    background: #0b0b0b;
}

    .widget-embed iframe {
        width: 100%;
        max-width: 100%;
        display: block;
        border: 0;
    }

.live-player iframe {
    min-height: 316px;
}

.last-played iframe {
    min-height: 511px;
}

/* Social */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.sticky-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #000;
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 2000;
}

    .sticky-player iframe {
        width: 100%;
        height: 90px;
    }


/* Prevent content being hidden behind player */
body {
    padding-bottom: 100px;
}
@keyframes pulseGlow {
    0% {
        filter: drop-shadow(0 0 15px rgba(214,40,40,0.3));
    }

    50% {
        filter: drop-shadow(0 0 35px rgba(214,40,40,0.6));
    }

    100% {
        filter: drop-shadow(0 0 15px rgba(214,40,40,0.3));
    }
}

.hero-logo {
    animation: pulseGlow 4s infinite ease-in-out;
}
.widget-embed iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 11;
}



/* Responsive */
@media (max-width: 900px) {
    .widget-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        width: 100%;
        gap: 0.75rem;
    }

    .hero-section {
        padding-top: 2rem;
    }

    .hero-logo {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        width: min(100% - 1rem, 1200px);
    }

    .widget-card,
    .info-card {
        padding: 1rem;
        border-radius: 16px;
    }

    .btn,
    .social-btn {
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
    }
}
