/*
  style.css
  - Defines the look and feel of the website.
  - Uses CSS variables for consistent colors and theme values.
  - Includes responsive behavior for desktop, tablet, and mobile.
*/

:root {
    --bg: #0B0F19;
    --navy: #0A2342;
    --red: #D62828;
    --white: #FFFFFF;
    --gold: #FFD166;
    --muted: #8fa0bd;
    --glass: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.14);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    background: radial-gradient(circle at top left, rgba(214, 40, 40, 0.12), transparent 30%), var(--bg);
    color: var(--white);
    overflow-x: hidden;
}

body::before,
body::after {
    content: '';
    position: fixed;
    inset: auto;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.18;
    pointer-events: none;
    animation: floatShape 10s ease-in-out infinite;
}

body::before {
    top: -80px;
    left: -100px;
    background: var(--red);
}

body::after {
    bottom: -120px;
    right: -100px;
    background: var(--gold);
    animation-delay: -3s;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(20px, 30px, 0) scale(1.05);
    }
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.glass {
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: var(--shadow);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 600;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    border: 1px solid transparent;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--red), #ff5d5d);
    color: white;
    box-shadow: 0 0 30px rgba(214, 40, 40, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: var(--white);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), #ffde7a);
    color: #07111d;
    box-shadow: 0 0 24px rgba(255, 209, 102, 0.3);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: .84rem;
    font-weight: 600;
    color: #f6e1bd;
    margin-bottom: 16px;
    letter-spacing: .02em;
}

/* Header and navigation styling */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 16px;
    position: relative;
}

.nav-toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    cursor: pointer;
    padding: 10px;
    margin-left: auto;
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.nav-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.7));
    border-radius: 999px;
    position: absolute;
    left: 10px;
    transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}

.nav-toggle .bar:nth-child(1) {
    top: 12px;
}

.nav-toggle .bar:nth-child(2) {
    top: 19px;
}

.nav-toggle .bar:nth-child(3) {
    top: 26px;
}

.nav-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg);
    top: 19px;
}

.nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg);
    top: 19px;
}

.logo {
    order: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--white);
    transition: transform 0.25s ease, filter 0.25s ease;
}

.logo:hover {
    transform: translateY(-1px) scale(1.02);
    filter: drop-shadow(0 0 18px rgba(255, 214, 102, 0.42));
}

.logo img {
    display: block;
    max-height: 44px;
    width: auto;
    object-fit: contain;
    transform: scale(1.5);
    opacity: 0.98;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.logo:hover img {
    transform: scale(1.6);
    opacity: 0.99;

}

/* Desktop navigation links. Collapsible dropdown is handled in responsive rules below. */
.btn-header {
    order: 3;
    /* trial button stays last on desktop (as before), after nav-links */
}

.nav-links {
    order: 2;
    /* keep links between logo and trial button on desktop,
                 since the button now sits after them in the HTML source */
    display: flex;
    gap: 28px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.96rem;
    letter-spacing: 0.02em;
}

.nav-links a {
    position: relative;
    padding: 4px 0;
    transition: color 0.25s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), #ffdd7d);
    transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hero {
    display: grid;
    align-items: center;
    position: relative;
    padding: 70px 0 60px;
    background: linear-gradient(130deg, rgba(4, 7, 14, 0.95), rgba(10, 35, 66, 0.55)), url('assets/imgs/logos/flag.webp') bottom/cover;
}

.guides-page .hero {
    padding: 56px 0 26px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.98) 0%, rgba(11, 15, 25, 1) 100%);
}

.guides-page .hero::before,
.guides-page .hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    pointer-events: none;
}

.guides-page .hero::before {
    width: 240px;
    height: 240px;
    background: rgba(214, 40, 40, 0.7);
    top: -40px;
    left: -60px;
}

.guides-page .hero::after {
    width: 260px;
    height: 260px;
    background: rgba(255, 209, 102, 0.36);
    right: -60px;
    top: 30px;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 15, 25, 0.9), rgba(11, 15, 25, 0.35));
    pointer-events: none;
}

.guides-page .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.12), rgba(11, 15, 25, 0.06));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center;
}

.guides-page .hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 34px;
    align-items: center;
}

.guides-page .hero-media {
    position: relative;
    padding: 14px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(214, 40, 40, 0.16), rgba(10, 35, 66, 0.46));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    transform: rotate(1.5deg);
    overflow: hidden;
}

.guides-page .hero-media::before {
    content: "";
    position: absolute;
    inset: -10px 14px auto auto;
    width: 90px;
    height: 90px;
    background: rgba(255, 209, 102, 0.18);
    border-radius: 50%;
    filter: blur(14px);
}

.guides-page .hero-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
    object-fit: cover;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    line-height: 1.02;
    margin: 0 0 16px;
    font-weight: 800;
}

.guides-page .hero h1 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    max-width: 620px;
}

.hero p {
    color: #d7e1f3;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0 0 24px;
    max-width: 620px;
}

.guides-page .hero p {
    margin: 18px 0 0;
    color: #c8d2eb;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.guides-page .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
    margin-bottom: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.stat-card {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gold);
}

.stat-label {
    font-size: .85rem;
    color: var(--muted);
    margin-top: 6px;
}

.hero-card {
    padding: 24px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    min-height: 460px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(10, 35, 66, 0.28));
}

.guides-page .hero-card {
    position: relative;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 30px;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(10, 35, 66, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    transform: rotate(1.5deg);
}

.guides-page .hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(214, 40, 40, 0.35), transparent 25%), radial-gradient(circle at 80% 10%, rgba(255, 209, 102, 0.25), transparent 28%);
    pointer-events: none;
}

.hero-card .pill {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: .82rem;
    color: #f6e1bd;
    margin-bottom: 16px;
}

.guides-page .hero .pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f6dd9d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-card h3 {
    font-size: 1.3rem;
    margin: 0 0 8px;
}

.hero-card ul {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
    color: #d9e5f7;
    display: grid;
    gap: 10px;
}

.hero-card li::before {
    content: '•';
    color: var(--gold);
    margin-right: 8px;
}

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-logo img {
    width: 100%;
    max-width: 220px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(255, 209, 102, 0.25));
}

.floating-orb {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 209, 102, 0.35), transparent 70%);
    filter: blur(8px);
    animation: pulse 4s ease-in-out infinite;
}

.floating-orb.one {
    top: 20px;
    right: 20px;
}

.floating-orb.two {
    bottom: 30px;
    left: 30px;
    animation-delay: -2s;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: .8;
    }

    50% {
        transform: scale(1.12);
        opacity: 1;
    }
}

section {
    padding: 84px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 24px;
}

.section-head h2 {
    font-size: 1.9rem;
    margin: 0;
}

.section-head p {
    color: var(--muted);
    margin: 6px 0 0;
}

.swiper {
    padding: 8px 0 36px;
}

/* ---- Swiper controls: dots + arrows in a row below the slider ---- */
.swiper .swiper-pagination {
    position: static;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
    width: 100%;
}

.swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0;
    background: var(--border);
    opacity: 1;
    border-radius: 999px;
    transition: width .3s ease, background .3s ease;
}

.swiper .swiper-pagination-bullet-active {
    width: 26px;
    background: var(--gold);
}

.swiper .swiper-button-next,
.swiper .swiper-button-prev {
    top: auto;
    bottom: 18px;
    margin-top: 0;
    left: auto;
    right: auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(16px);
    color: var(--white);
    box-shadow: none;
    transition: background .25s ease, transform .25s ease, border-color .25s ease;
}

.swiper .swiper-button-next::after,
.swiper .swiper-button-prev::after {
    font-size: 16px;
    font-weight: 700;
}

.swiper .swiper-button-prev {
    left: calc(50% - 96px);
}

.swiper .swiper-button-next {
    left: calc(50% + 54px);
}

.swiper .swiper-button-next:hover,
.swiper .swiper-button-prev:hover {
    background: var(--red);
    border-color: transparent;
    transform: scale(1.08);
}

.swiper .swiper-button-next:active,
.swiper .swiper-button-prev:active {
    transform: scale(.94);
}

.swiper-wrapper {
    align-items: stretch;
}

.swiper-slide {
    height: auto;
    display: flex;
    padding: 12px;
}

.swiper-slide>* {
    width: 100%;
}

.movie-card,
.sports-card,
.plan-card,
.feature-card,
.device-card,
.app-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.movie-card:hover,
.sports-card:hover,
.plan-card:hover,
.feature-card:hover,
.device-card:hover,
.app-card:hover {
    transform: translateY(-5px);
}

.movie-card {
    min-height: 390px;
}

.movie-card .thumb {
    height: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.movie-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.movie-card .thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(5, 10, 20, 0.92));
}

.movie-card .content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 22px;
    z-index: 1;
}

.movie-card .badge {
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(214, 40, 40, 0.9);
    font-size: .72rem;
    letter-spacing: .06em;
    margin-bottom: 8px;
}

.sports-card {
    padding: 24px;
    min-height: 220px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(10, 35, 66, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border-color: rgba(214, 40, 40, 0.7);
    box-shadow: 0 0 22px rgba(214, 40, 40, 0.18);
}


.sports-card h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.sports-card p {
    color: var(--muted);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    flex: 1;
}

.sport-icon,
.channel-logo {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    overflow: hidden;
}

.sport-icon {
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.channel-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.badge-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 16px;
}

.pill-small {
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    font-size: .72rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.step-card {
    padding: 28px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(10, 35, 66, 0.25));
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(214, 40, 40, 0.7);
    box-shadow: 0 0 22px rgba(214, 40, 40, 0.18);
}

.step-card .icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold), rgba(255, 255, 255, 0.15));
    display: grid;
    place-items: center;
    color: #08121f;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.step-card h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.step-card p {
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

.step-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 2.6rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    pointer-events: none;
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.included-grid .feature-card {
    min-height: 180px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.feature-card {
    padding: 24px;
    min-height: 220px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(10, 35, 66, 0.25));
}

.feature-card .icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold), rgba(147, 109, 109, 0.42));
    display: grid;
    place-items: center;
    color: #08121f;
    font-size: 2rem;
    margin-bottom: 16px;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.app-card {
    min-height: 430px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(10, 35, 66, 0.25));
}

.app-image {
    position: relative;
    height: 170px;
    background: rgba(255, 255, 255, 0.06);
}

.app-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 18, 31, 0.04), rgba(8, 18, 31, 0.58));
    pointer-events: none;
}

.app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-label {
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 1;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(8, 18, 31, 0.58);
    color: var(--white);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.app-content {
    padding: 22px;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
}

.app-content h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

.app-content p {
    color: var(--muted);
    margin: 0 0 20px;
    line-height: 1.6;
}

.app-content .btn {
    margin-top: auto;
}

.device-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.device-card {
    padding: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.device-card .device-icon {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-card .device-icon img {
    width: clamp(44px, 8vw, 64px);
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
    transition: transform 0.25s ease;
}

.device-card:hover .device-icon img {
    transform: scale(1.08);
}

/* About Page & Layout Grid Helpers */
.story-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: stretch;
}

.story-card {
    padding: 36px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(10, 35, 66, 0.25));
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.story-card h3 {
    font-size: 1.45rem;
    margin: 0 0 16px;
    color: var(--white);
}

.story-card p {
    color: #d7e1f3;
    line-height: 1.75;
    margin: 0 0 18px;
    font-size: 1.02rem;
}

.story-card p:last-child {
    margin-bottom: 0;
}

.story-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.highlight-item {
    padding: 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 209, 102, 0.4);
    box-shadow: 0 0 20px rgba(255, 209, 102, 0.15);
}

.highlight-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.highlight-icon {
    font-size: 1.4rem;
}

.highlight-item h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--white);
}

.highlight-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
    align-items: start;
}

.contact-form-card {
    padding: 28px;
    border-radius: 24px;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.form-field {
    display: grid;
    gap: 7px;
}

.form-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #d7e1f3;
    letter-spacing: 0.02em;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    backdrop-filter: blur(16px);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23FFD166' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.form-field option {
    background: #0B0F19;
    color: var(--white);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(139, 158, 189, 0.7);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: rgba(255, 209, 102, 0.6);
    box-shadow: 0 0 24px rgba(255, 209, 102, 0.22);
    background: rgba(255, 255, 255, 0.12);
}

.contact-info {
    display: grid;
    gap: 16px;
}

.contact-form .btn {
    width: 100%;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.mission-card {
    padding: 32px 28px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(10, 35, 66, 0.28));
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    border-color: rgba(214, 40, 40, 0.6);
    box-shadow: 0 0 24px rgba(214, 40, 40, 0.18);
}

.mission-card .icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gold), rgba(255, 255, 255, 0.15));
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #08121f;
}

.mission-card h3 {
    margin: 0 0 12px;
    font-size: 1.3rem;
}

.mission-card p {
    color: var(--muted);
    margin: 0;
    line-height: 1.65;
    font-size: 0.96rem;
}

.stats-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.tech-card {
    padding: 26px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(10, 35, 66, 0.22));
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform .3s ease, border-color .3s ease;
}

.tech-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 209, 102, 0.5);
}

.tech-card .tech-icon {
    font-size: 2rem;
    margin-bottom: 14px;
    display: inline-block;
}

.tech-card h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.tech-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* Sports Page & Match Search Styles */
.search-input-box {
    position: relative;
    max-width: 680px;
    margin: 0 auto 24px;
}

.search-input-box input {
    width: 100%;
    padding: 16px 20px 16px 52px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    backdrop-filter: blur(16px);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.search-input-box input:focus {
    border-color: rgba(255, 209, 102, 0.6);
    box-shadow: 0 0 24px rgba(255, 209, 102, 0.22);
    background: rgba(255, 255, 255, 0.12);
}

.search-input-box .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.15rem;
    color: var(--gold);
    pointer-events: none;
}

.search-input-box .search-clear {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.2s ease;
}

.search-input-box .search-clear:hover {
    background: rgba(214, 40, 40, 0.6);
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
}

.filter-pill {
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #d7e1f3;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    transform: translateY(-2px);
}

.filter-pill.active {
    background: linear-gradient(135deg, var(--red), #ff5d5d);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 0 20px rgba(214, 40, 40, 0.4);
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.match-card {
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(10, 35, 66, 0.28));
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.match-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 209, 102, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.match-card.is-live {
    border-color: rgba(214, 40, 40, 0.7);
    box-shadow: 0 0 24px rgba(214, 40, 40, 0.22);
}

.match-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.league-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.status-badge.live {
    background: rgba(214, 40, 40, 0.9);
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    animation: pulseLive 2s infinite;
}

.status-badge.upcoming {
    background: rgba(255, 255, 255, 0.1);
    color: #d7e1f3;
}

.status-badge.today {
    background: rgba(255, 209, 102, 0.2);
    color: var(--gold);
    border: 1px solid rgba(255, 209, 102, 0.35);
}

@keyframes pulseLive {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.75;
    }
}

.live-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: white;
    display: inline-block;
}

.teams-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 12px 0 18px;
}

.team-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    gap: 8px;
}

.team-crest {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    font-weight: 800;
}

.team-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
}

.match-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 60px;
}

.vs-badge {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 8px;
    border-radius: 6px;
}

.live-score {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.08em;
}

.match-time {
    font-size: 0.78rem;
    color: var(--muted);
}

.match-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 10px;
}

.channel-badge {
    font-size: 0.76rem;
    color: #cbd7ea;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    padding: 5px 10px;
    border-radius: 999px;
}

.no-matches-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
}

.no-matches-found.visible {
    display: block;
}

.no-matches-found h3 {
    font-size: 1.4rem;
    margin: 0 0 8px;
}

.no-matches-found p {
    color: var(--muted);
    margin: 0 0 18px;
}

.channels-static-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.device-cta {
    text-align: center;
    margin-top: 28px;
}

.device-cta p {
    color: var(--muted);
    margin: 0 0 14px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.plan-card {
    padding: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(10, 35, 66, 0.25));
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
}

.plan-card.popular {
    border-color: rgba(255, 209, 102, 0.45);
    box-shadow: 0 0 25px rgba(255, 209, 102, 0.18);
}

.popular-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 209, 102, 0.2);
    color: var(--gold);
    font-size: .75rem;
    font-weight: 700;
}

.price {
    font-size: 2.3rem;
    font-weight: 800;
    margin: 14px 0 10px;
}

.plan-card ul {
    list-style: none;
    padding: 0;
    color: #dce6f3;
    display: grid;
    gap: 10px;
    margin: 16px 0 24px;
}

.plan-card li::before {
    content: '✓';
    color: var(--gold);
    margin-right: 8px;
}

.pricing-note {
    text-align: center;
    color: var(--muted);
    margin-top: 24px;
    font-size: .95rem;
}

.cta-box {
    padding: 56px 32px;
    border-radius: 30px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(10, 35, 66, 0.28));
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(214, 40, 40, 0.35), transparent 25%), radial-gradient(circle at 80% 10%, rgba(255, 209, 102, 0.25), transparent 28%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 0 0 12px;
    position: relative;
}

.cta-box p {
    color: #d7e1f3;
    max-width: 520px;
    margin: 0 auto 24px;
    line-height: 1.7;
    position: relative;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    position: relative;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-category {
    color: var(--gold);
    font-size: 1.05rem;
    margin: 20px 0 4px;
    letter-spacing: .04em;
}

.faq-category:first-child {
    margin-top: 0;
}

.faq-item {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 20px;
    background: transparent;
    color: white;
    border: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    padding: 0 20px;
    color: var(--muted);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px 18px;
}

footer {
    padding: 40px 0 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 26px;
}

.socials {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/*
  ============================================================
  RESPONSIVE BREAKPOINTS
  ------------------------------------------------------------
  980px  -> "tablet range" (681px - 980px): nav collapses into
            a hamburger menu here too (previously only kicked in
            at 680px, which left a broken hybrid layout when a
            phone's browser reports a ~980px CSS viewport, e.g.
            Chrome's "Desktop site" toggle). Multi-column grids
            drop to 2 columns, but hero-content stays side-by-side
            (1fr 1fr) instead of stacking — stacking is reserved
            for true phone widths below.
  680px  -> phone range: hero-content stacks to 1 column, hero
            padding/heights shrink further, nav dropdown styling
            is inherited from the 980px block above.
  ============================================================
*/

@media (max-width: 980px) {

    nav {
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: inline-block;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        display: flex;
        width: 100%;
        flex-direction: column;
        gap: 12px;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
        order: 4;
        background: rgba(9, 13, 26, 0.98);
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
        z-index: 100;
        backdrop-filter: blur(18px);
    }

    .nav-links.open {
        max-height: 480px;
        opacity: 1;
        padding: 18px 0 14px;
    }

    .nav-links a {
        padding: 12px 20px;
        color: rgba(255, 255, 255, 0.92);
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.04);
        transition: background 0.25s ease, color 0.25s ease;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(255, 255, 255, 0.10);
        color: var(--white);
    }

    .nav-toggle {
        order: 2;
        /* hamburger sits between logo and trial button on mobile */
        margin-left: auto;
        margin-right: auto;
    }

    .btn-header {
        order: 3;
        margin-left: 0;
        margin-right: 0;
        padding: 9px 14px;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .logo {
        order: 1;
    }

    .nav-links {
        order: 4;
    }

    /* Softer, tablet-appropriate hero sizing instead of jumping
       straight from full desktop values to the phone values below. */
    .hero {
        padding: 55px 0;
    }

    .hero-card {
        min-height: 400px;
    }

    /* NOTE: .hero-content is intentionally left at 1.1fr .9fr (its
       base rule) through this range, so text and card sit side by
       side like a tablet. It only stacks to 1 column at 680px. */
    .features-grid,
    .apps-grid,
    .pricing-grid,
    .footer-grid,
    .story-grid,
    .mission-grid,
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid-4,
    .tech-grid,
    .matches-grid,
    .channels-static-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .included-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .device-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Guides page hero: .guides-page .hero-content has higher
       specificity than the generic .hero-content overrides above,
       so it needs its own rule to actually shrink on tablets. */
    .guides-page .hero {
        padding: 44px 0 20px;
    }

    .guides-page .hero-content {
        gap: 26px;
    }

    .guides-page .hero h1 {
        font-size: clamp(1.9rem, 5vw, 2.8rem);
    }

    .guides-page .hero p {
        font-size: 0.98rem;
        margin-top: 14px;
    }

    .guides-page .hero-media {
        padding: 10px;
        border-radius: 20px;
        transform: rotate(0.8deg);
    }

    .guides-page .hero-media img {
        border-radius: 14px;
    }
}

@media (max-width: 680px) {

    .features-grid,
    .apps-grid,
    .pricing-grid,
    .footer-grid,
    .steps-grid,
    .included-grid,
    .story-grid,
    .mission-grid,
    .tech-grid,
    .matches-grid,
    .contact-grid,
    .hero-content {
        grid-template-columns: 1fr;
    }

    /* Stat cards and compact card grids stay 2-up on phone instead of stacking to 1 column */
    .stats-grid,
    .stats-grid-4,
    .device-grid,
    .channels-static-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .stat-card {
        padding: 14px 12px;
    }

    .stat-number {
        font-size: 1.05rem;
    }

    .stat-label {
        font-size: .78rem;
    }

    .sports-card {
        padding: 16px 12px;
        min-height: auto;
        border-radius: 18px;
    }

    .sports-card h3 {
        font-size: 0.98rem;
        margin-bottom: 6px;
    }

    .sports-card p {
        font-size: 0.8rem;
        line-height: 1.45;
    }

    .sport-icon,
    .channel-logo {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .sport-icon {
        font-size: 1.4rem;
    }

    .badge-row {
        gap: 6px;
        padding-top: 10px;
    }

    .pill-small {
        padding: 4px 8px;
        font-size: 0.65rem;
    }

    .device-card {
        padding: 16px 10px;
        border-radius: 18px;
    }

    .device-card .device-icon {
        margin-bottom: 8px;
    }

    .device-card .device-icon img {
        width: 40px;
        border-radius: 10px;
        margin-bottom: 6px;
    }

    .device-card h3 {
        font-size: 0.92rem;
        margin: 0 0 4px;
    }

    .device-card p {
        font-size: 0.78rem;
        line-height: 1.35;
        margin: 0;
    }

    .hero {
        min-height: auto;
        padding-top: 50px;
    }

    .hero-card {
        min-height: 360px;
    }

    .hero-logo img {
        max-width: 160px;
    }

    .section-head {
        flex-direction: column;
        align-items: start;
    }

    /* Guides page hero on phones: these must override the
       higher-specificity .guides-page rules, which the generic
       .hero-content stacking rule above can't beat. */
    .guides-page .hero {
        padding: 36px 0 16px;
    }

    .guides-page .hero-content {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .guides-page .hero h1 {
        font-size: clamp(1.7rem, 8vw, 2.2rem);
        letter-spacing: -0.02em;
    }

    .guides-page .hero p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .guides-page .hero-actions {
        margin-top: 18px;
        gap: 10px;
    }

    .guides-page .hero-actions .btn {
        flex: 1 1 100%;
        justify-content: center;
        text-align: center;
    }

    .guides-page .hero-media {
        padding: 8px;
        border-radius: 18px;
        transform: none;
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    }

    .guides-page .hero-media img {
        border-radius: 12px;
    }

    /* Shrink the decorative blur circles so they don't dominate
       the small hero or force horizontal overflow. */
    .guides-page .hero::before {
        width: 140px;
        height: 140px;
        top: -50px;
        left: -70px;
    }

    .guides-page .hero::after {
        width: 150px;
        height: 150px;
        right: -70px;
        top: 10px;
    }
}

/* Movies & TV Series Grid and Genre Badges */
.movies-catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.genre-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.genre-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.13);
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 600;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.genre-chip:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 209, 102, 0.5);
    box-shadow: 0 0 16px rgba(255, 209, 102, 0.15);
}

.genre-chip .genre-icon {
    font-size: 1.15rem;
}

.movie-card .desc {
    font-size: 0.84rem;
    color: #cbd7ea;
    line-height: 1.45;
    margin: 6px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-card .meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
}

.movie-card .meta-row .genre-text {
    font-size: 0.82rem;
    color: var(--muted);
}

.movie-card .meta-row .year-text {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
}

@media (max-width: 980px) {
    .movies-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .movies-catalog-grid {
        grid-template-columns: 1fr;
    }
}


/* ----- Guide Header (distinct from .hero) ----- */
.guide-header {
    padding: 72px 0 48px;
    position: relative;
}

.downloader-page .guide-header {
    padding: 56px 0 26px;
    position: relative;
    overflow: hidden;
}

.downloader-page .guide-header::before,
.downloader-page .guide-header::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    pointer-events: none;
}

.downloader-page .guide-header::before {
    width: 240px;
    height: 240px;
    background: rgba(214, 40, 40, 0.7);
    top: -40px;
    left: -60px;
}

.downloader-page .guide-header::after {
    width: 260px;
    height: 260px;
    background: rgba(255, 209, 102, 0.36);
    right: -60px;
    top: 30px;
}

.guide-header-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center;
}

.downloader-page .guide-header-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 34px;
    align-items: center;
}

.guide-header h1 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1.15;
    margin: 0 0 16px;
}

.downloader-page .guide-header h1 {
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    max-width: 620px;
}

.guide-header .lead {
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0 0 24px;
    max-width: 560px;
}

.downloader-page .guide-header .lead {
    margin: 18px 0 0;
    color: #c8d2eb;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 600px;
}

.guide-header-media {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, rgba(214, 40, 40, 0.15), rgba(10, 35, 66, 0.3));
}

.downloader-page .guide-header-media {
    position: relative;
    padding: 14px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(214, 40, 40, 0.16), rgba(10, 35, 66, 0.46));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
    transform: rotate(1.5deg);
}

.downloader-page .guide-header-media::before {
    content: "";
    position: absolute;
    inset: -10px 14px auto auto;
    width: 90px;
    height: 90px;
    background: rgba(255, 209, 102, 0.18);
    border-radius: 50%;
    filter: blur(14px);
}

.guide-header-media img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.downloader-page .guide-header-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
    object-fit: cover;
}

.guide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.downloader-page .guide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.downloader-page .guide-header .pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f6dd9d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.downloader-page .breadcrumbs {
    margin-bottom: 18px;
    color: #b8c7e8;
}

.downloader-page .breadcrumbs a {
    color: #dfe8fa;
}

/* ----- Breadcrumbs ----- */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: 18px;
}

.breadcrumbs a {
    color: var(--muted);
    transition: color .25s ease;
}

.breadcrumbs a:hover {
    color: var(--gold);
}

.breadcrumbs .current {
    color: var(--white);
    font-weight: 600;
}

/* ----- Guide Steps (ordered list with numbered items) ----- */
.guide-step {
    scroll-margin-top: 90px;
}

.guide-list {
    list-style: none;
    counter-reset: guideItem;
    padding: 0;
    margin: 8px 0 0;
    display: grid;
    gap: 26px;
}

.guide-list-item {
    counter-increment: guideItem;
    display: grid;
    gap: 14px;
    position: relative;
    padding: 20px 24px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(10, 35, 66, 0.22));
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform .3s ease, border-color .3s ease;
}

.guide-list-item:hover {
    transform: translateY(-4px);
    border-color: rgba(214, 40, 40, 0.6);
}

.guide-list-item::before {
    content: counter(guideItem);
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(255, 209, 102, 0.16);
    line-height: 1;
    pointer-events: none;
}

.guide-list-content h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}

.guide-list-content p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

.guide-list-content p + p {
    margin-top: 10px;
}

/* ----- Screenshot placeholders ----- */
.image-placeholder {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ----- Device settings block (Step 2) ----- */
.device-block {
    margin-top: 10px;
    padding: clamp(20px, 4vw, 34px);
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(10, 35, 66, 0.25));
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.device-block>h3 {
    font-size: 1.3rem;
    margin: 0 0 8px;
}

.device-block>p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0 0 4px;
}

/* ----- Success message ----- */
.guide-success {
    margin-top: 22px;
    padding: 18px 22px;
    border-radius: 18px;
    background: rgba(255, 209, 102, 0.12);
    border: 1px solid rgba(255, 209, 102, 0.35);
    color: #f6e1bd;
}

.guide-success p {
    margin: 0;
    font-weight: 600;
}

/* On laptops and desktops, each step becomes a compact two-column card:
   text on the left, screenshot on the right. Nested screenshots (e.g. the
   "Enable Installation" step with two images) stay single-column and are
   capped in width so the card stays compact. */
@media (min-width: 981px) {
    .guide-list-item {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
        gap: 28px;
        align-items: center;
        padding: 20px 26px;
    }

    .guide-list-item:not(:has(> .image-placeholder)) {
        grid-template-columns: minmax(0, 1fr);
    }

    .guide-list-content .image-placeholder {
        max-width: 640px;
        margin-inline: auto;
    }
}

/* Device compatibility cards inside the Downloader guide */
.guide-device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.guide-device-grid .device-card .btn {
    width: 100%;
}

@media (max-width: 680px) {
    .guide-device-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .guide-header-grid {
        grid-template-columns: 1fr;
    }

    .guide-header-media {
        order: -1;
        max-width: 560px;
    }

    .downloader-page .guide-header-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .guide-header {
        padding: 48px 0 32px;
    }

    .downloader-page .guide-header {
        padding-top: 42px;
    }

    .downloader-page .guide-header-media {
        transform: none;
    }

    .guide-list-item {
        padding: 18px;
    }

    .guide-list-item::before {
        font-size: 1.8rem;
    }
}