:root {
    --background: #100c15;
    --background-light: #18121f;
    --surface: #211927;
    --surface-hover: #2c2134;
    --text: #ffffff;
    --muted: #aaa2b1;
    --accent: #ed0068;
    --accent-hover: #ff197c;
    --border: rgba(255, 255, 255, 0.1);
    --header-height: 74px;
    --container: 1500px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behaviour: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--background);
    color: var(--text);
    font-family: "Inter", Arial, sans-serif;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: rgba(16, 12, 21, 0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 42px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    white-space: nowrap;
}

.logo strong {
    color: var(--accent);
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    background: linear-gradient(135deg, #8520d5, var(--accent));
    box-shadow: 0 0 24px rgba(237, 0, 104, 0.28);
}

.logo-icon i {
    margin-left: 3px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.main-nav a {
    position: relative;
    padding: 28px 0;
    color: #ded9e2;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 17px;
    left: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: centre;
    transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-button,
.menu-toggle {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: transparent;
    color: white;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.icon-button:hover,
.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
}

.menu-toggle {
    display: none;
}

.sign-in-button {
    min-height: 42px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border-radius: 7px;
    background: var(--accent);
    font-size: 14px;
    font-weight: 800;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.sign-in-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 545px;
    position: relative;
    display: flex;
    align-items: centre;
    background:
        linear-gradient(
            90deg,
            rgba(10, 7, 14, 0.98) 0%,
            rgba(10, 7, 14, 0.88) 36%,
            rgba(10, 7, 14, 0.45) 66%,
            rgba(10, 7, 14, 0.12) 100%
        ),
        url("https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&w=2000&q=85")
        centre / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            0deg,
            var(--background) 0%,
            rgba(16, 12, 21, 0.4) 22%,
            transparent 42%
        );
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 70% 40%,
            transparent,
            rgba(16, 12, 21, 0.17) 45%,
            rgba(16, 12, 21, 0.5)
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: calc(var(--header-height) + 36px);
    padding-bottom: 54px;
}

.hero-label,
.eyebrow {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid rgba(237, 0, 104, 0.45);
    border-radius: 999px;
    background: rgba(237, 0, 104, 0.11);
}

.live-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background: #ff2f69;
    box-shadow: 0 0 0 5px rgba(255, 47, 105, 0.16);
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 47, 105, 0.5);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 9px rgba(255, 47, 105, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 47, 105, 0);
    }
}

.hero h1 {
    max-width: 760px;
    margin: 24px 0 17px;
    font-size: clamp(48px, 5.4vw, 80px);
    line-height: 0.98;
    letter-spacing: -4px;
}

.hero p {
    max-width: 620px;
    margin: 0;
    color: #e0dae5;
    font-size: 18px;
    line-height: 1.65;
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.primary-button,
.secondary-button {
    min-height: 50px;
    padding: 0 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 900;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.primary-button {
    background: var(--accent);
}

.primary-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.secondary-button:hover {
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* =========================================================
   SECTIONS
========================================================= */

.content-section {
    padding: 35px 0 58px;
}

.alternate-section {
    background: var(--background-light);
}

.section-heading {
    margin-bottom: 22px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.section-heading h2,
.cta-inner h2 {
    margin: 7px 0 0;
    font-size: clamp(26px, 3vw, 38px);
    letter-spacing: -1.5px;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #ded8e2;
    font-size: 13px;
    font-weight: 800;
    transition:
        color 0.2s ease,
        gap 0.2s ease;
}

.view-all:hover {
    gap: 13px;
    color: var(--accent);
}

/* =========================================================
   OTT HORIZONTAL ROWS
========================================================= */

.card-grid {
    display: flex;
    gap: 23px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 3px 20px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.card-grid::-webkit-scrollbar {
    height: 7px;
}

.card-grid::-webkit-scrollbar-track {
    background: transparent;
}

.card-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.card-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.media-card {
    width: clamp(280px, 22vw, 355px);
    min-width: clamp(280px, 22vw, 355px);
    padding: 0;
    border: 0;
    background: transparent;
    color: white;
    text-align: left;
    cursor: pointer;
    scroll-snap-align: start;
    transition:
        transform 0.28s ease,
        filter 0.28s ease;
}

.media-card:hover {
    z-index: 5;
    transform: translateY(-8px);
}

.media-image {
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background:
        linear-gradient(135deg, #2c2333, #18131d);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    transition:
        box-shadow 0.28s ease,
        transform 0.28s ease;
}

.media-card:hover .media-image {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.46);
}

.media-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            0deg,
            rgba(10, 7, 14, 0.7),
            transparent 48%
        );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-card:hover .media-image::after {
    opacity: 1;
}

.media-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.media-card:hover .media-image img {
    transform: scale(1.08);
    filter: brightness(0.72);
}

.media-card h3 {
    margin: 13px 0 5px;
    overflow: hidden;
    font-size: 16px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.card-play {
    width: 58px;
    height: 58px;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.78);
    border-radius: 50%;
    background: rgba(13, 9, 17, 0.82);
    opacity: 0;
    transform: translate(-50%, -36%) scale(0.88);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease;
}

.card-play i {
    margin-left: 4px;
}

.media-card:hover .card-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.card-play:hover {
    background: var(--accent);
}

.live-badge,
.duration {
    position: absolute;
    z-index: 5;
    color: white;
    font-size: 11px;
    font-weight: 900;
}

.live-badge {
    top: 12px;
    left: 12px;
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 5px;
    background: var(--accent);
    box-shadow: 0 5px 16px rgba(237, 0, 104, 0.35);
}

.live-badge .live-dot {
    width: 6px;
    height: 6px;
    background: white;
    box-shadow: none;
}

.duration {
    right: 10px;
    bottom: 10px;
    padding: 5px 7px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.8);
}

/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 44px 0 82px;
}

.cta-inner {
    padding: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: 1px solid rgba(237, 0, 104, 0.3);
    border-radius: 16px;
    background:
        radial-gradient(
            circle at 88% 50%,
            rgba(237, 0, 104, 0.25),
            transparent 36%
        ),
        linear-gradient(135deg, #211927, #18121f);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.cta-inner p {
    max-width: 700px;
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 45px 0 100px;
    border-top: 1px solid var(--border);
    background: #0c0910;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.3fr auto;
    align-items: start;
    gap: 30px;
}

.footer-inner > div:first-child p {
    max-width: 430px;
    color: var(--muted);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    color: var(--muted);
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    grid-column: 1 / -1;
    margin: 15px 0 0;
    color: #766e7c;
    font-size: 13px;
}

/* =========================================================
   RADIO PLAYER
========================================================= */

.radio-player {
    min-height: 76px;
    position: fixed;
    right: 24px;
    bottom: 24px;
    left: 24px;
    z-index: 1100;
    padding: 14px 20px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 13px;
    background: rgba(31, 24, 38, 0.96);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(15px);
}

.radio-player.visible {
    display: flex;
}

.playing-label {
    display: block;
    margin-bottom: 4px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.player-controls {
    display: flex;
    gap: 10px;
}

.player-controls button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.player-controls button:hover {
    transform: scale(1.06);
    background: var(--accent-hover);
}

.player-controls button:last-child {
    background: rgba(255, 255, 255, 0.09);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {
    .main-nav {
        gap: 20px;
    }

    .media-card {
        width: 320px;
        min-width: 320px;
    }
}

@media (max-width: 820px) {
    .container {
        width: min(100% - 30px, var(--container));
    }

    .header-inner {
        min-height: 70px;
        gap: 15px;
    }

    .menu-toggle {
        display: grid;
        margin-left: auto;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        right: 0;
        bottom: 0;
        left: 0;
        padding: 25px 30px;
        display: none;
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
        background: rgba(16, 12, 21, 0.99);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 18px 0;
        border-bottom: 1px solid var(--border);
        font-size: 17px;
    }

    .main-nav a::after {
        display: none;
    }

    .header-actions {
        margin-left: 0;
    }

    .header-actions .icon-button,
    .sign-in-button {
        display: none;
    }

    .hero {
        min-height: 540px;
        background-position: 60% centre;
    }

    .hero-content {
        padding-top: 115px;
    }

    .hero h1 {
        max-width: 620px;
        letter-spacing: -2.5px;
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 580px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .logo {
        font-size: 18px;
    }

    .logo-icon {
        width: 37px;
        height: 37px;
    }

    .hero {
        min-height: 555px;
        background-position: 68% centre;
    }

    .hero-content {
        padding-top: 110px;
        padding-bottom: 40px;
    }

    .hero h1 {
        margin-top: 20px;
        font-size: 46px;
        line-height: 1;
        letter-spacing: -2px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .content-section {
        padding: 31px 0 48px;
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .view-all {
        font-size: 12px;
    }

    .card-grid {
        gap: 16px;
        margin-right: -12px;
        padding-right: 12px;
    }

    .media-card {
        width: 82vw;
        min-width: 82vw;
    }

    .cta-inner {
        padding: 30px 22px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .copyright {
        grid-column: auto;
    }

    .radio-player {
        right: 10px;
        bottom: 10px;
        left: 10px;
    }
}


/* =========================================================
   SEARCH OVERLAY
========================================================= */

body.search-open {
    overflow: hidden;
}

.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    justify-content: center;
    padding: 90px 24px 24px;
    background: rgba(7, 5, 10, 0.86);
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(14px);
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}

.search-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.search-panel {
    width: min(900px, 100%);
    max-height: calc(100vh - 120px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: #17121d;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
    transform: translateY(-18px);
    transition: transform 0.25s ease;
}

.search-overlay.visible .search-panel {
    transform: translateY(0);
}

.search-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-input-wrapper {
    min-height: 54px;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 10px;
    background: #211927;
}

.search-input-wrapper i {
    color: #aaa2b1;
}

.search-input-wrapper input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: white;
    font-size: 16px;
}

.search-input-wrapper input::placeholder {
    color: #7d7484;
}

.close-search {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    cursor: pointer;
}

.close-search:hover {
    background: var(--accent);
}

.search-content {
    max-height: calc(100vh - 220px);
    overflow-y: auto;
    padding: 20px;
}

.search-message {
    margin: 10px 0;
    color: var(--muted);
    text-align: center;
}

.search-results {
    display: grid;
    gap: 12px;
}

.search-result-card {
    min-height: 90px;
    padding: 10px;
    display: grid;
    grid-template-columns: 130px 1fr auto;
    align-items: center;
    gap: 17px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: #211927;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

.search-result-card:hover {
    border-color: rgba(237, 0, 104, 0.45);
    background: #2a2031;
    transform: translateX(5px);
}

.search-result-card img {
    width: 130px;
    height: 73px;
    object-fit: cover;
    border-radius: 8px;
}

.search-result-card span {
    color: var(--accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.search-result-card h3 {
    margin: 5px 0 0;
    font-size: 16px;
}

.search-result-card > i {
    margin-right: 12px;
    color: #8d8494;
}

@media (max-width: 580px) {
    .search-overlay {
        padding: 75px 10px 10px;
    }

    .search-panel {
        max-height: calc(100vh - 85px);
    }

    .search-header {
        padding: 12px;
    }

    .search-content {
        max-height: calc(100vh - 180px);
        padding: 12px;
    }

    .search-result-card {
        grid-template-columns: 95px 1fr;
        gap: 12px;
    }

    .search-result-card img {
        width: 95px;
        height: 60px;
    }

    .search-result-card > i {
        display: none;
    }
}
