/**
 * CrickNation Theme - Main Stylesheet
 * Responsive, dark-mode ready, performance optimized.
 * 100% Visual Fidelity + Dynamic Hero Content Slider & Moments Slider
 */

:root {
    --bg: #ffffff;
    --soft: #eef4ff;
    --card: #ffffff;
    --card-border: #dce6f7;
    --ink: #0b1f4d;
    --mut: #5a6b8c;
    --line: #dce6f7;
    --blue: #1d4ed8;
    --blue-dark: #1e40af;
    --navy: #08205c;
    --sky: #4f8dfa;
    --org: #ff7a1a;
    --org-glow: rgba(255, 122, 26, 0.35);
    --green: #10b981;
    --red: #ef4444;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 99px;
    --shadow-sm: 0 2px 6px rgba(11, 31, 77, 0.05);
    --shadow-md: 0 10px 25px rgba(8, 32, 92, 0.08);
    --shadow-lg: 0 24px 60px rgba(3, 12, 50, 0.5);
    --transition: 0.25s ease;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #071026;
        --soft: #0d1b44;
        --card: #0f2054;
        --card-border: #1e3573;
        --ink: #f2f6ff;
        --mut: #9fb2d9;
        --line: #1e3573;
        --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    }
}

:root[data-theme="dark"] {
    --bg: #071026;
    --soft: #0d1b44;
    --card: #0f2054;
    --card-border: #1e3573;
    --ink: #f2f6ff;
    --mut: #9fb2d9;
    --line: #1e3573;
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
}

html {
    scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 70px);
    scroll-behavior: smooth;
}

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

body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
    line-height: 1.45;
    overflow-x: hidden;
}

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

button {
    font-family: inherit;
    color: inherit;
    border: none;
    background: none;
}

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

.wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(18px, 3vw, 40px);
}

/* ----------------------------------------------------
   1. Live Ticker Bar (.mq)
---------------------------------------------------- */
.mq {
    background: var(--navy);
    color: #dbe7ff;
    overflow: hidden;
    white-space: nowrap;
    font-weight: 600;
    font-size: 13px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mq div, .mq-track {
    display: inline-block;
    padding: 8px 0;
    animation: m 34s linear infinite;
}

.mq:hover div, .mq:hover .mq-track {
    animation-play-state: paused;
}

.mq span {
    margin: 0 26px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mq i {
    color: var(--org);
    font-style: normal;
    display: inline-block;
}

@keyframes m {
    to { transform: translateX(-50%); }
}

/* ----------------------------------------------------
   2. Header (.header)
---------------------------------------------------- */
header {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 20;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    transition: background-color 0.3s;
}

header .wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
    position: relative;
}

.logo {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--blue);
    margin-right: 6px;
    display: inline-flex;
    align-items: center;
}

.logo b {
    color: var(--org);
}

nav {
    display: flex;
    gap: 18px;
    flex: 1;
    font-weight: 700;
    font-size: 14px;
}

nav a {
    color: var(--mut);
    white-space: nowrap;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.on,
nav .current-menu-item > a {
    color: var(--blue);
    border-color: var(--org);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-wrap {
    display: flex;
    align-items: center;
    position: relative;
}

#q {
    width: 0;
    opacity: 0;
    border: 1px solid var(--line);
    background: var(--soft);
    color: var(--ink);
    border-radius: 99px;
    padding: 9px 0;
    font-size: 14px;
    transition: 0.3s;
    outline: 0;
}

#q.open {
    width: 180px;
    opacity: 1;
    padding: 9px 14px;
    margin-right: 6px;
}

.ic {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--soft);
    color: var(--ink);
    cursor: pointer;
    font-size: 16px;
    display: grid;
    place-items: center;
    transition: 0.2s;
}

.ic:hover {
    border-color: var(--blue);
}

.btn {
    background: var(--blue);
    color: #fff;
    border: 0;
    border-radius: 99px;
    padding: 11px 22px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.35);
}

.btn.o {
    background: var(--org);
}

.btn.g {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
}

.btn.sm-btn {
    padding: 6px 14px;
    font-size: 12px;
}

.burger {
    display: none;
}

/* ----------------------------------------------------
   3. HERO CONTENT SLIDER (.hero, .hero-slider)
---------------------------------------------------- */
.hero {
    position: relative;
    color: #fff;
    overflow: hidden;
    background: var(--navy);
    min-height: min(650px, 82vh);
    display: flex;
    align-items: center;
}

.hero-slider-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    animation: z 24s ease-in-out infinite alternate;
}

@keyframes z {
    to { transform: scale(1.08); }
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 22, 66, 0.95) 0%, rgba(8, 32, 92, 0.8) 46%, rgba(8, 32, 92, 0.25) 100%);
    pointer-events: none;
    z-index: 2;
}

.hero .wrap {
    width: 100%;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 74px;
}

.hero-content-deck {
    position: relative;
    min-height: 280px;
}

.hero-text-slide {
    display: none;
    animation: fadeInText 0.5s ease-out forwards;
}

.hero-text-slide.active {
    display: block;
}

@keyframes fadeInText {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

.kick {
    color: #ffb680;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 12px;
    text-transform: uppercase;
    display: block;
}

h1 {
    font-size: clamp(38px, 6.2vw, 70px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -2px;
    margin: 12px 0 16px;
}

h1 em {
    font-style: normal;
    color: var(--org);
}

.hero p {
    color: #d3e0ff;
    font-size: 18px;
    max-width: 480px;
}

.cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* Hero Slider Controls */
.hero-slider-nav {
    position: absolute;
    left: clamp(18px, 3vw, 40px);
    bottom: 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-dots {
    display: flex;
    gap: 6px;
}

.h-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: 0.3s;
}

.h-dot.active {
    background: var(--org);
    width: 24px;
    border-radius: 99px;
}

.h-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    display: grid;
    place-items: center;
    transition: 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.h-nav-btn:hover {
    background: var(--org);
    border-color: var(--org);
}

/* ----------------------------------------------------
   Score Widget (.score)
---------------------------------------------------- */
.score {
    background: rgba(255, 255, 255, 0.97);
    color: #0b1f4d;
    border-radius: 22px;
    padding: 16px 20px 20px;
    box-shadow: 0 24px 60px rgba(3, 12, 50, 0.5);
    position: relative;
    z-index: 3;
}

.tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
    background: #eef4ff;
    padding: 4px;
    border-radius: 99px;
}

.tabs button {
    flex: 1;
    border: 0;
    background: none;
    padding: 8px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 13px;
    color: #5a6b8c;
    cursor: pointer;
    transition: 0.2s;
}

.tabs button.on {
    background: var(--blue);
    color: #fff;
}

.live, .live-badge {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    background: var(--org);
    color: #fff;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 800;
}

.live::before, .live-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: p 1s infinite;
}

@keyframes p {
    50% { opacity: 0.25; }
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.team {
    font-size: 19px;
    font-weight: 800;
}

.big {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -2px;
    color: var(--blue);
    transition: color 0.3s ease;
}

.bar {
    height: 9px;
    background: #e3ecff;
    border-radius: 9px;
    margin: 14px 0 8px;
    overflow: hidden;
}

.bar i {
    display: block;
    width: 68%;
    height: 100%;
    background: linear-gradient(90deg, var(--blue), var(--org));
    transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.sm {
    font-size: 13px;
    color: #5a6b8c;
}

.sim-controls {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #dce6f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.sim-btn {
    background: #eef4ff;
    color: var(--blue);
    border: 1px solid #dce6f7;
    padding: 5px 12px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.sim-btn:hover {
    background: var(--blue);
    color: #fff;
}

/* ----------------------------------------------------
   4. Chips & News Grid (.chips, .grid, .c)
---------------------------------------------------- */
.chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 22px 0 6px;
    scrollbar-width: none;
}

.chips::-webkit-scrollbar {
    display: none;
}

.chips button {
    white-space: nowrap;
    background: var(--soft);
    border: 1px solid var(--line);
    padding: 9px 18px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
    color: var(--ink);
}

.chips button:hover {
    border-color: var(--blue);
}

.chips button.on {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 26px;
    align-items: start;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(210px, 16vw, 250px);
    grid-auto-flow: dense;
    gap: 14px;
    padding: 12px 0;
}

.c {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    color: #fff;
    display: flex;
    align-items: flex-end;
    background: var(--navy);
    transition: 0.3s;
}

.c img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.c:hover img {
    transform: scale(1.08);
}

.c:hover {
    box-shadow: 0 18px 40px rgba(8, 32, 92, 0.35);
}

.c::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(5, 16, 50, 0.92));
    pointer-events: none;
}

.c div {
    position: relative;
    z-index: 2;
    padding: 16px;
    width: 100%;
}

.c b {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: var(--org);
    color: #fff;
    padding: 3px 9px;
    border-radius: 99px;
    display: inline-block;
}

.c b.format-test { background: #b91c1c; }
.c b.format-odi { background: #0284c7; }
.c b.format-t20 { background: var(--org); }
.c b.format-women { background: #8b5cf6; }

.c h3 {
    font-size: 17px;
    line-height: 1.2;
    margin: 8px 0 2px;
}

.c small {
    opacity: 0.8;
    font-size: 12px;
}

.c.big {
    grid-column: span 2;
    grid-row: span 2;
}

.c.big h3 {
    font-size: 28px;
    line-height: 1.1;
}

.c.wide {
    grid-column: span 2;
}

.none {
    display: none;
    text-align: center;
    color: var(--mut);
    padding: 30px;
}

/* ----------------------------------------------------
   5. Headings & Sidebars
---------------------------------------------------- */
h2 {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin: 36px 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

h2::before {
    content: "";
    width: 6px;
    height: 24px;
    background: var(--org);
    border-radius: 3px;
    flex-shrink: 0;
}

h2 span {
    flex: 1;
}

h2 a, h2 .nav2 {
    font-size: 13px;
    color: var(--blue);
    font-weight: 700;
}

.nav2 {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav2 button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--soft);
    color: var(--ink);
    cursor: pointer;
    font-size: 16px;
    display: grid;
    place-items: center;
    transition: 0.2s;
}

.nav2 button:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.slider-counter {
    font-size: 12px;
    font-weight: 700;
    color: var(--mut);
    padding: 0 4px;
}

.side {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 12px;
}

.panel {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
}

.panel h3 {
    font-size: 18px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel h3::before {
    content: '';
    width: 5px;
    height: 18px;
    background: var(--org);
    border-radius: 3px;
}

.panel .sm {
    color: var(--mut);
}

.ln {
    display: flex;
    gap: 12px;
    padding: 11px 0;
    border-top: 1px solid var(--line);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
}

.ln:first-of-type {
    border: 0;
}

.ln i {
    font-style: normal;
    color: var(--org);
    font-weight: 900;
    font-size: 20px;
    min-width: 22px;
}

.ln small {
    display: block;
    color: var(--mut);
    font-weight: 500;
    font-size: 12px;
    margin-top: 2px;
}

.ln:hover {
    color: var(--blue);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

td, th {
    padding: 8px 4px;
    text-align: left;
    border-top: 1px solid var(--line);
}

th {
    color: var(--mut);
    font-size: 11px;
    text-transform: uppercase;
    border: 0;
}

td:last-child, th:last-child {
    text-align: right;
    font-weight: 800;
    color: var(--blue);
}

/* ----------------------------------------------------
   6. TOP MOMENTS CONTENT SLIDER (.slider-container, .car-track)
---------------------------------------------------- */
.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 6px 0 14px;
}

.car-track {
    display: flex;
    gap: 16px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.sl {
    flex: 0 0 360px;
    max-width: 80vw;
    height: 440px;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    color: #fff;
    background: var(--navy);
    box-shadow: 0 10px 25px rgba(8, 32, 92, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    user-select: none;
}

.sl:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(8, 32, 92, 0.35);
}

.sl img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
    pointer-events: none;
}

.sl:hover img {
    transform: scale(1.06);
}

.sl::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(5, 16, 50, 0.9));
    pointer-events: none;
}

.sl span {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    font-weight: 800;
    font-size: 17px;
    right: 18px;
    pointer-events: none;
    line-height: 1.25;
}

/* Pagination Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--line);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--org);
    width: 28px;
    border-radius: 99px;
}

/* ----------------------------------------------------
   7. Fan Zone (.duo, .trio, .opt, .worm)
---------------------------------------------------- */
.duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.opt {
    position: relative;
    display: block;
    width: 100%;
    text-align: left;
    margin-top: 10px;
    border: 1.5px solid var(--line);
    background: var(--card);
    border-radius: 14px;
    padding: 13px 16px;
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s;
}

.opt i {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: rgba(29, 78, 216, 0.2);
    transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.opt span {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.opt:hover {
    border-color: var(--blue);
}

.opt.me {
    border-color: var(--org);
}

.opt.me i {
    background: rgba(255, 122, 26, 0.3);
}

/* Run-rate worm with tooltip */
.worm-wrap {
    position: relative;
}

.worm path.l {
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
}

.worm.go path.l {
    animation: d 2.4s forwards cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes d {
    to { stroke-dashoffset: 0; }
}

.worm-tooltip {
    position: absolute;
    background: var(--navy);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
    z-index: 10;
}

/* ----------------------------------------------------
   8. Videos (.vids, .v)
---------------------------------------------------- */
.vids {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.v {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    transition: 0.25s;
    cursor: pointer;
}

.v:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(29, 78, 216, 0.2);
}

.v .th {
    height: 170px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: var(--navy);
}

.v .th img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v .th::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(6, 22, 66, 0.35);
}

.pl {
    position: relative;
    z-index: 2;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--org);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 20px;
    transition: 0.25s;
    box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.6);
}

.v:hover .pl {
    transform: scale(1.15);
    box-shadow: 0 0 0 14px rgba(255, 122, 26, 0.25);
}

.dur {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 6px;
}

.v > div:last-child {
    padding: 14px;
    font-weight: 700;
}

.v small {
    display: block;
    color: var(--mut);
    font-weight: 500;
    margin-top: 2px;
}

/* Video Player Modal Container */
.video-player-modal {
    position: relative;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    max-width: 820px;
    width: 90vw;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
}

.video-screen {
    width: 100%;
    height: clamp(260px, 45vh, 460px);
    background: #050d21;
    position: relative;
    display: grid;
    place-items: center;
}

.video-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.video-hud {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 40%, rgba(0,0,0,0.8) 100%);
}

.video-title {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.video-play-big {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--org);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 24px;
    margin: auto;
    cursor: pointer;
    box-shadow: 0 0 30px var(--org-glow);
    transition: 0.2s;
}

.video-play-big:hover {
    transform: scale(1.12);
}

.video-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.video-track {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.video-track-fill {
    width: 45%;
    height: 100%;
    background: var(--org);
}

/* ----------------------------------------------------
   9. Numbers & Stats (.stats, .s)
---------------------------------------------------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.s {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
    border-bottom: 4px solid var(--org);
}

.s b {
    display: block;
    font-size: 42px;
    font-weight: 900;
    color: var(--blue);
    letter-spacing: -2px;
}

.s span {
    color: var(--mut);
    font-size: 13px;
}

.rv.in {
    animation: up 0.7s both cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes up {
    from {
        opacity: 0.2;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* ----------------------------------------------------
   10. Fan Store & Drawer Modal (.shop)
---------------------------------------------------- */
.shop {
    margin: 36px 0;
    border-radius: 18px;
    border: 1.5px dashed var(--org);
    padding: 14px 20px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    background: rgba(255, 122, 26, 0.03);
}

.shop span.i {
    background: var(--soft);
    border: 1px solid var(--line);
    padding: 7px 14px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}

.shop span.i:hover {
    background: var(--org);
    color: #fff;
    border-color: var(--org);
}

.shop b {
    margin-right: auto;
}

.store-modal {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(3, 10, 35, 0.85);
    display: none;
    place-items: center;
    padding: 20px;
    backdrop-filter: blur(6px);
}

.store-modal.open {
    display: grid;
}

.store-content {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    max-width: 680px;
    width: 95vw;
    padding: 28px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 18px;
}

.store-item {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    background: var(--soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.store-item h4 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
}

.store-item .price {
    font-weight: 900;
    color: var(--blue);
    font-size: 18px;
    margin: 8px 0;
}

/* ----------------------------------------------------
   11. Newsletter (.nl)
---------------------------------------------------- */
.nl {
    background: linear-gradient(120deg, var(--navy), var(--blue));
    border-radius: 26px;
    padding: 38px;
    text-align: center;
    color: #fff;
}

.nl h2 {
    justify-content: center;
    margin: 0 0 6px;
    font-size: 30px;
}

.nl h2::before {
    display: none;
}

.nl input {
    padding: 13px 18px;
    border-radius: 99px;
    border: 0;
    width: min(320px, 100%);
    margin: 14px 6px 0 0;
    font-size: 14px;
    outline: none;
}

.nl .btn {
    margin-top: 14px;
}

#msg {
    margin-top: 12px;
    font-weight: 700;
    min-height: 22px;
    color: #ffd2b0;
}

/* ----------------------------------------------------
   12. Footer (.footer)
---------------------------------------------------- */
footer {
    padding: 28px 0;
    color: var(--mut);
    font-size: 13px;
    border-top: 1px solid var(--line);
    margin-top: 40px;
}

/* ----------------------------------------------------
   13. Lightbox (#lb)
---------------------------------------------------- */
#lb {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(3, 10, 35, 0.92);
    display: none;
    place-items: center;
    padding: 20px;
    cursor: zoom-out;
}

#lb.open {
    display: grid;
}

.lb-content {
    position: relative;
    max-width: 90vw;
    text-align: center;
}

#lb img {
    max-height: 82vh;
    border-radius: 14px;
    box-shadow: 0 20px 60px #000;
    margin: 0 auto;
}

#lb p {
    color: #fff;
    text-align: center;
    margin-top: 12px;
    font-weight: 700;
}

.lb-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 24px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: 0.2s;
}

.lb-nav-btn:hover {
    background: var(--blue);
}

.lb-prev { left: -60px; }
.lb-next { right: -60px; }

/* ----------------------------------------------------
   14. Single Article & Post Styles
---------------------------------------------------- */
.single-article {
    max-width: 840px;
    margin: 40px auto;
    padding: 0 20px;
}

.article-header {
    margin-bottom: 24px;
}

.article-meta {
    display: flex;
    gap: 16px;
    color: var(--mut);
    font-size: 13.5px;
    margin: 12px 0 20px;
    flex-wrap: wrap;
    align-items: center;
}

.article-hero-img {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-body {
    font-size: 18px;
    line-height: 1.7;
    color: var(--ink);
}

.article-body p {
    margin-bottom: 1.4em;
}

.article-share {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 32px 0;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.share-btn {
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--line);
    background: var(--soft);
}

.share-btn:hover {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

/* ----------------------------------------------------
   15. Elementor Full Width Overrides & Compatibility
---------------------------------------------------- */
body.elementor-page .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1440px;
}

body.elementor-default {
    background: var(--bg);
}

/* ----------------------------------------------------
   16. Responsive Breakpoints
---------------------------------------------------- */
@media (max-width: 1100px) {
    .layout {
        grid-template-columns: 1fr;
    }
    .side {
        position: static;
    }
    .vids {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .hero .wrap, .duo, .trio {
        grid-template-columns: 1fr;
    }
    .grid {
        grid-template-columns: 1fr 1fr;
    }
    .vids {
        grid-template-columns: 1fr;
    }
    .stats {
        grid-template-columns: 1fr 1fr;
    }
    .burger {
        display: grid;
    }
    nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        padding: 6px 18px 14px;
        display: none;
    }
    nav.open {
        display: flex;
    }
    nav a {
        padding: 10px 0;
    }
    header .wrap {
        position: relative;
    }
    #q.open {
        width: 120px;
    }
    .hero::after {
        background: linear-gradient(180deg, rgba(6, 22, 66, 0.9), rgba(8, 32, 92, 0.7));
    }
    .lb-prev { left: 10px; }
    .lb-next { right: 10px; }
}

@media (max-width: 520px) {
    .grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
    .c.big {
        grid-row: span 2;
    }
    .c.big, .c.wide {
        grid-column: span 1;
    }
    .c.big h3 {
        font-size: 23px;
    }
    .logo {
        font-size: 21px;
    }
    .btn.sub {
        display: none;
    }
    .store-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    .rv {
        opacity: 1;
        transform: none;
    }
    .worm path.l {
        stroke-dashoffset: 0;
    }
}
