/* ═══════════════════════════════════════════════════
   PLAYDOIT ONLINE — style.css
   Brand: Purple #1A0533 + Gold #FFD700
   Font: Rajdhani + Nunito
═══════════════════════════════════════════════════ */

:root {
    --purple-deep: #1A0533;
    --purple-mid: #2D0A5A;
    --purple-main: #6B1FA2;
    --purple-light: #9B4ED8;
    --purple-glow: rgba(107, 31, 162, .35);
    --gold: #FFD700;
    --gold-dark: #C8A300;
    --gold-light: #FFF176;
    --gold-glow: rgba(255, 215, 0, .25);
    --white: #FFFFFF;
    --off-white: #F0E8FF;
    --muted: #A897C4;
    --muted-lt: #C9B8E8;
    --surface: rgba(45, 10, 90, .6);
    --surface-hov: rgba(107, 31, 162, .3);
    --border: rgba(255, 215, 0, .25);
    --border-s: rgba(255, 215, 0, .1);
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --shadow-gold: 0 0 20px rgba(255, 215, 0, .2);
    --shadow-purp: 0 0 30px rgba(107, 31, 162, .4);
    --trans: all .25s ease;
}

/* ── Reset & Base ─────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    font-size: 16px
}

body {
    background-color: var(--purple-deep);
    color: var(--off-white);
    font-family: 'Nunito', sans-serif;
    line-height: 1.65;
    min-height: 100vh;
    background-image:
        radial-gradient(ellipse 60% 40% at 80% 10%, rgba(107, 31, 162, .25) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 10% 90%, rgba(255, 215, 0, .06) 0%, transparent 50%);
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--trans)
}

a:hover {
    color: var(--gold-light)
}

/* ── Typography ───────────────────────────────────── */
h1,
h2,
h3,
h4,
h5 {
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.2;
    font-weight: 700
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem)
}

h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--white)
}

h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--gold)
}

h4 {
    font-size: 1rem;
    color: var(--gold)
}

/* ── Skip link ────────────────────────────────────── */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    background: var(--gold);
    color: var(--purple-deep);
    padding: 8px 16px;
    font-weight: 700
}

.skip-link:focus {
    left: 0
}

/* ── Layout ───────────────────────────────────────── */
.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px
}

.section {
    padding: 70px 0
}

.section-sm {
    padding: 40px 0
}

/* ── Header ───────────────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(26, 5, 51, .95);
    border-bottom: 2px solid var(--border);
    backdrop-filter: blur(16px);
}

.hdr {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 68px;
    padding: 0 20px;
    max-width: 1180px;
    margin: 0 auto;
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    flex-shrink: 0
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-main), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    box-shadow: 0 0 14px var(--gold-glow);
}

.logo-text {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--white);
    letter-spacing: .5px
}

.logo-text span {
    color: var(--gold)
}

/* Desktop nav */
.hdr-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1
}

.hdr-nav a {
    color: var(--muted-lt);
    font-size: .85rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: var(--r-sm);
    transition: var(--trans);
    white-space: nowrap;
}

.hdr-nav a:hover,
.hdr-nav a.active {
    color: var(--gold);
    background: var(--surface-hov)
}

/* CTA header */
.hdr-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--purple-deep);
    font-weight: 800;
    font-size: .85rem;
    padding: 9px 20px;
    border-radius: var(--r-lg);
    white-space: nowrap;
    transition: var(--trans);
    box-shadow: 0 4px 16px var(--gold-glow);
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: .5px;
}

.hdr-cta:hover {
    background: var(--gold-light);
    color: var(--purple-deep);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--gold-glow)
}

/* Mobile header CTA */
.btn-mob-hdr {
    display: none;
    background: var(--gold);
    color: var(--purple-deep);
    font-weight: 800;
    font-size: .82rem;
    padding: 7px 14px;
    border-radius: var(--r-md);
    font-family: 'Rajdhani', sans-serif;
}

/* Burger */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: var(--trans)
}

.burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

.burger.open span:nth-child(2) {
    opacity: 0
}

.burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

/* Mobile menu */
.mob-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: rgba(26, 5, 51, .98);
    border-top: 1px solid var(--border-s);
    padding: 16px 20px;
}

.mob-menu.open {
    display: flex
}

.mob-menu a {
    padding: 10px 14px;
    border-radius: var(--r-sm);
    color: var(--off-white);
    font-weight: 600;
    font-size: .9rem
}

.mob-menu a:hover {
    background: var(--surface-hov);
    color: var(--gold)
}

.mob-menu .mob-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--purple-deep);
    font-weight: 800;
    text-align: center;
    padding: 12px;
    border-radius: var(--r-md);
    margin-bottom: 8px;
}

/* ── Hero Section ─────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    padding: 0;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(26, 5, 51, .95) 40%, rgba(26, 5, 51, .5) 80%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
    max-width: 1180px;
    margin: 0 auto;
    width: 100%
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 215, 0, .12);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 6px 16px;
    font-size: .78rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    color: var(--white);
    max-width: 580px;
    margin-bottom: 16px;
    text-shadow: 0 0 40px rgba(107, 31, 162, .5)
}

.hero h1 span {
    color: var(--gold)
}

.hero-desc {
    color: var(--muted-lt);
    font-size: 1rem;
    max-width: 460px;
    margin-bottom: 30px
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--purple-deep);
    font-weight: 800;
    padding: 13px 28px;
    border-radius: var(--r-lg);
    font-size: .95rem;
    transition: var(--trans);
    box-shadow: 0 6px 24px var(--gold-glow);
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: .5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px var(--gold-glow);
    color: var(--purple-deep)
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 11px 24px;
    border-radius: var(--r-lg);
    font-size: .95rem;
    font-weight: 700;
    transition: var(--trans);
    font-family: 'Rajdhani', sans-serif;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--purple-deep)
}

/* ── Stats bar ────────────────────────────────────── */
.stats-bar {
    background: var(--surface);
    border-top: 1px solid var(--border-s);
    border-bottom: 1px solid var(--border-s);
}

.stats-bar-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 12px;
    border-right: 1px solid var(--border-s);
    text-align: center;
}

.stat-item:last-child {
    border-right: none
}

.stat-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1
}

.stat-lbl {
    font-size: .75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 4px
}

/* ── Section header ───────────────────────────────── */
.sec-header {
    text-align: center;
    margin-bottom: 50px
}

.sec-tag {
    display: inline-block;
    background: rgba(255, 215, 0, .1);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 4px 16px;
    font-size: .72rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.sec-header h2 {
    color: var(--white);
    margin-bottom: 10px
}

.sec-header p {
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto
}

/* ── Cards grid ───────────────────────────────────── */
.g2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px
}

.g3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.g4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

/* ── Card variants ────────────────────────────────── */
.card {
    background: var(--surface);
    border: 1px solid var(--border-s);
    border-radius: var(--r-lg);
    padding: 28px;
    transition: var(--trans);
}

.card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-purp)
}

.card-gold {
    background: linear-gradient(135deg, rgba(255, 215, 0, .08), rgba(107, 31, 162, .15));
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
    transition: var(--trans);
}

.card-gold:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-3px)
}

.card-feature {
    background: var(--surface);
    border: 1px solid var(--border-s);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: var(--trans);
}

.card-feature:hover {
    border-color: rgba(255, 215, 0, .4);
    transform: translateY(-4px);
    box-shadow: var(--shadow-purp)
}

.card-feature img {
    width: 100%;
    height: 200px;
    object-fit: cover
}

.card-feature-body {
    padding: 20px
}

.card-feature h3 {
    font-size: 1.1rem;
    margin-bottom: 8px
}

.card-feature p {
    font-size: .83rem;
    color: var(--muted-lt);
    line-height: 1.5
}

.card-icon {
    background: var(--surface);
    border: 1px solid var(--border-s);
    border-radius: var(--r-lg);
    padding: 24px;
    text-align: center;
    transition: var(--trans);
}

.card-icon:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold)
}

.card-icon .icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-main), var(--purple-mid));
    font-size: 1.6rem;
    box-shadow: 0 4px 16px var(--purple-glow);
}

.card-icon h3 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 6px
}

.card-icon p {
    font-size: .8rem;
    color: var(--muted);
    line-height: 1.4
}

/* ── Rating card ──────────────────────────────────── */
.rating-card {
    background: linear-gradient(135deg, var(--purple-mid), var(--purple-deep));
    border: 2px solid var(--gold);
    border-radius: var(--r-xl);
    padding: 32px;
    text-align: center;
}

.rating-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1
}

.rating-stars {
    font-size: 1.4rem;
    margin: 8px 0;
    color: var(--gold)
}

.rating-label {
    color: var(--muted-lt);
    font-size: .85rem
}

/* ── Tables ───────────────────────────────────────── */
.tbl-wrap {
    overflow-x: auto;
    border-radius: var(--r-md);
    border: 1px solid var(--border)
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem
}

caption {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--gold);
    text-align: left;
    padding: 14px 16px;
    background: rgba(107, 31, 162, .2);
    border-bottom: 1px solid var(--border-s);
}

thead tr {
    background: rgba(107, 31, 162, .3)
}

thead th {
    padding: 12px 16px;
    color: var(--gold);
    font-weight: 700;
    text-align: left;
    font-size: .8rem;
    letter-spacing: .5px;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

tbody tr {
    border-bottom: 1px solid var(--border-s);
    transition: background .2s
}

tbody tr:hover {
    background: rgba(107, 31, 162, .15)
}

tbody td {
    padding: 11px 16px;
    color: var(--off-white);
    vertical-align: middle
}

.td-green {
    color: #4CAF50;
    font-weight: 700
}

.td-gold {
    color: var(--gold);
    font-weight: 700
}

.td-red {
    color: #F44336;
    font-weight: 700
}

.td-muted {
    color: var(--muted)
}

/* ── Charts — Bar horizontal ──────────────────────── */
.chart-h {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.chart-h-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .84rem
}

.chart-h-label {
    width: 130px;
    flex-shrink: 0;
    color: var(--muted-lt);
    text-align: right;
    font-size: .8rem
}

.chart-h-bar {
    flex: 1;
    height: 22px;
    background: rgba(107, 31, 162, .15);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-s)
}

.chart-h-fill {
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(90deg, var(--purple-main), var(--gold));
    transition: width .8s ease;
    display: flex;
    align-items: center;
    padding-left: 10px;
    font-size: .72rem;
    font-weight: 700;
    color: var(--purple-deep);
    white-space: nowrap;
}

.chart-h-fill.gold {
    background: linear-gradient(90deg, var(--gold-dark), var(--gold))
}

.chart-h-fill.purp {
    background: linear-gradient(90deg, var(--purple-light), var(--purple-main))
}

.chart-h-val {
    width: 50px;
    flex-shrink: 0;
    color: var(--gold);
    font-weight: 700;
    font-size: .82rem
}

/* ── Donut chart (CSS) ────────────────────────────── */
.donut-wrap {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap
}

.donut {
    position: relative;
    width: 140px;
    height: 140px;
    flex-shrink: 0;
}

.donut svg {
    transform: rotate(-90deg)
}

.donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.donut-pct {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1
}

.donut-sub {
    font-size: .65rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .5px
}

.donut-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1
}

.donut-legend li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .83rem;
    list-style: none
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0
}

/* ── Gauge chart ──────────────────────────────────── */
.gauge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

.gauge-item {
    text-align: center
}

.gauge-ring {
    width: 90px;
    height: 90px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(var(--gold) calc(var(--pct)*1%), rgba(107, 31, 162, .2) 0);
    position: relative;
}

.gauge-inner {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: var(--purple-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    position: absolute;
}

.gauge-label {
    font-size: .75rem;
    color: var(--muted);
    line-height: 1.3
}

/* ── Steps / process ──────────────────────────────── */
.steps {
    display: flex;
    flex-direction: column;
    gap: 0
}

.step {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-s);
}

.step:last-child {
    border-bottom: none
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-main), var(--gold-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 16px var(--purple-glow);
}

.step-body h4 {
    color: var(--gold);
    margin-bottom: 5px
}

.step-body p {
    color: var(--muted-lt);
    font-size: .88rem
}

/* ── Bono / promo card ────────────────────────────── */
.bono-card {
    background: linear-gradient(135deg, rgba(107, 31, 162, .4), rgba(26, 5, 51, .8));
    border: 1px solid var(--gold);
    border-radius: var(--r-xl);
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.bono-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 215, 0, .15), transparent 70%);
}

.bono-amount {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 4px;
}

.bono-label {
    color: var(--muted-lt);
    font-size: .85rem;
    margin-bottom: 16px
}

.bono-reqs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px
}

.bono-reqs li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    color: var(--muted-lt);
    list-style: none
}

.bono-reqs li::before {
    content: '✓';
    color: var(--gold);
    font-weight: 700;
    flex-shrink: 0
}

/* ── Tag / badge ──────────────────────────────────── */
.tag {
    display: inline-block;
    border-radius: 40px;
    padding: 4px 12px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .5px
}

.tag-gold {
    background: rgba(255, 215, 0, .12);
    color: var(--gold);
    border: 1px solid var(--border)
}

.tag-purp {
    background: rgba(107, 31, 162, .3);
    color: var(--purple-light);
    border: 1px solid rgba(155, 78, 216, .3)
}

.tag-green {
    background: rgba(76, 175, 80, .15);
    color: #66BB6A;
    border: 1px solid rgba(76, 175, 80, .3)
}

.tag-red {
    background: rgba(244, 67, 54, .1);
    color: #EF5350;
    border: 1px solid rgba(244, 67, 54, .2)
}

/* ── Inner hero (subpages) ────────────────────────── */
.inner-hero {
    padding: 50px 0 36px;
    background: linear-gradient(180deg, rgba(107, 31, 162, .15) 0%, transparent 100%);
    border-bottom: 1px solid var(--border-s);
    position: relative;
    overflow: hidden;
}

.inner-hero::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40%;
    background: radial-gradient(ellipse at right, rgba(255, 215, 0, .05), transparent 70%);
}

/* ── Breadcrumb ───────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    color: var(--muted);
    margin-bottom: 14px;
    flex-wrap: wrap
}

.breadcrumb a {
    color: var(--gold)
}

.breadcrumb a:hover {
    color: var(--gold-light)
}

.bc-sep {
    color: var(--muted)
}

/* ── Sidebar layout ───────────────────────────────── */
.layout-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start
}

/* ── SEO text section ─────────────────────────────── */
.seo-block {
    padding: 60px 0;
    background: rgba(45, 10, 90, .15);
    border-top: 1px solid var(--border-s)
}

.seo-prose h2 {
    color: var(--gold);
    font-size: 1.5rem;
    margin: 32px 0 12px
}

.seo-prose h2:first-child {
    margin-top: 0
}

.seo-prose h3 {
    color: var(--purple-light);
    font-size: 1.15rem;
    margin: 22px 0 8px
}

.seo-prose p {
    color: var(--muted-lt);
    line-height: 1.85;
    margin-bottom: 14px;
    font-size: .92rem
}

.seo-prose ul,
.seo-prose ol {
    color: var(--muted-lt);
    padding-left: 1.4rem;
    margin-bottom: 14px;
    font-size: .92rem
}

.seo-prose li {
    margin-bottom: 6px;
    line-height: 1.6
}

.seo-prose a {
    color: var(--gold);
    border-bottom: 1px dashed rgba(255, 215, 0, .4)
}

.seo-prose a:hover {
    border-bottom-color: var(--gold)
}

.seo-prose strong {
    color: var(--white)
}

/* ── Author sidebar box ───────────────────────────── */
.author-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
    text-align: center;
    position: sticky;
    top: 90px;
}

.author-box img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    margin: 0 auto 12px;
    object-fit: cover
}

.author-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 2px
}

.author-role {
    font-size: .75rem;
    color: var(--gold);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: .5px
}

.author-facts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px
}

.author-facts li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .8rem;
    color: var(--muted-lt);
    list-style: none;
    text-align: left
}

/* ── Sidebar widget ───────────────────────────────── */
.widget {
    background: var(--surface);
    border: 1px solid var(--border-s);
    border-radius: var(--r-lg);
    padding: 22px;
}

.widget-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-s);
}

.widget-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-s);
    font-size: .82rem;
}

.widget-row:last-child {
    border-bottom: none
}

/* ── Score bar ────────────────────────────────────── */
.score-bar {
    margin-bottom: 12px
}

.score-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: .82rem;
    margin-bottom: 5px
}

.score-bar-track {
    height: 8px;
    background: rgba(107, 31, 162, .2);
    border-radius: 4px;
    overflow: hidden
}

.score-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--purple-main), var(--gold));
    transition: width 1s ease
}

/* ── FAQ ──────────────────────────────────────────── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.faq-item {
    border: 1px solid var(--border-s);
    border-radius: var(--r-md);
    overflow: hidden
}

.faq-q {
    width: 100%;
    text-align: left;
    background: var(--surface);
    border: none;
    cursor: pointer;
    padding: 16px 20px;
    color: var(--white);
    font-weight: 600;
    font-size: .92rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--trans);
}

.faq-q:hover {
    background: var(--surface-hov);
    color: var(--gold)
}

.faq-q .faq-arrow {
    color: var(--gold);
    font-size: 1.1rem;
    transition: transform .3s
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg)
}

.faq-a {
    display: none;
    padding: 14px 20px 18px;
    color: var(--muted-lt);
    font-size: .88rem;
    line-height: 1.7;
    background: rgba(107, 31, 162, .08);
    border-top: 1px solid var(--border-s);
}

.faq-item.open .faq-a {
    display: block
}

/* ── Comparison grid ──────────────────────────────── */
.compare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden
}

.compare-col {
    border-right: 1px solid var(--border-s)
}

.compare-col:last-child {
    border-right: none
}

.compare-col.featured {
    background: rgba(107, 31, 162, .2)
}

.compare-head {
    padding: 20px 16px;
    text-align: center;
    border-bottom: 1px solid var(--border-s);
    background: rgba(107, 31, 162, .15);
}

.compare-head.gold {
    background: rgba(255, 215, 0, .08);
    border-bottom: 2px solid var(--gold)
}

.compare-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px
}

.compare-score {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold)
}

.compare-row {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-s);
    font-size: .82rem;
    color: var(--muted-lt)
}

.compare-row:last-child {
    border-bottom: none
}

.compare-row .ok {
    color: #4CAF50
}

.compare-row .no {
    color: #F44336
}

/* ── Live table (ticker) ──────────────────────────── */
.live-table {
    border: 1px solid rgba(255, 215, 0, .2);
    border-radius: var(--r-md);
    overflow: hidden
}

.live-table-head {
    background: linear-gradient(90deg, rgba(107, 31, 162, .4), rgba(26, 5, 51, .6));
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    font-weight: 700;
    font-size: .82rem
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
    animation: blink 1.4s infinite
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .3
    }
}

/* ── Necaxa / Pachuca sponsor card ────────────────── */
.sponsor-band {
    background: linear-gradient(135deg, rgba(107, 31, 162, .2), rgba(26, 5, 51, .8));
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.sponsor-band h4 {
    color: var(--gold);
    margin-bottom: 4px
}

.sponsor-band p {
    font-size: .82rem;
    color: var(--muted-lt)
}

/* ── Footer ───────────────────────────────────────── */
footer {
    background: rgba(13, 3, 26, .95);
    border-top: 2px solid var(--border);
    margin-top: 60px;
}

.foot-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 56px 20px 40px;
    max-width: 1180px;
    margin: 0 auto;
}

.foot-brand .logo {
    margin-bottom: 14px
}

.foot-brand p {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.6;
    max-width: 240px;
    margin-bottom: 16px
}

.age-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(244, 67, 54, .12);
    border: 1px solid rgba(244, 67, 54, .3);
    border-radius: var(--r-sm);
    padding: 6px 12px;
    font-size: .78rem;
    color: #EF5350;
    font-weight: 700;
}

.foot-col h5 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.foot-col a {
    display: block;
    color: var(--muted);
    font-size: .82rem;
    margin-bottom: 8px;
    transition: var(--trans)
}

.foot-col a:hover {
    color: var(--gold);
    transform: translateX(4px)
}

.foot-legal {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 20px;
    border-top: 1px solid var(--border-s);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.foot-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap
}

.foot-links a {
    color: var(--muted);
    font-size: .75rem
}

.foot-links a:hover {
    color: var(--gold)
}

.foot-disc {
    font-size: .72rem;
    color: var(--muted);
    max-width: 680px;
    line-height: 1.5
}

.foot-bottom {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid var(--border-s);
}

.foot-copy {
    font-size: .75rem;
    color: var(--muted)
}

.foot-lic {
    font-size: .72rem;
    color: rgba(165, 143, 196, .6)
}

/* ── Responsive ───────────────────────────────────── */
@media(max-width:900px) {
    .g4 {
        grid-template-columns: repeat(2, 1fr)
    }

    .stats-bar-inner {
        grid-template-columns: repeat(2, 1fr)
    }

    .stats-bar-inner .stat-item:nth-child(2) {
        border-right: none
    }

    .foot-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px
    }

    .compare-grid {
        grid-template-columns: 1fr
    }

    .layout-sidebar {
        grid-template-columns: 1fr
    }

    .gauge-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:720px) {

    .hdr-nav,
    .hdr-cta {
        display: none
    }

    .btn-mob-hdr {
        display: block
    }

    .burger {
        display: flex
    }

    .g2,
    .g3 {
        grid-template-columns: 1fr
    }

    .hero {
        min-height: 420px
    }

    .hero-content {
        padding: 40px 20px
    }

    .foot-top {
        grid-template-columns: 1fr
    }

    .foot-legal {
        flex-direction: column;
        align-items: flex-start
    }

    .gauge-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .stats-bar-inner {
        grid-template-columns: repeat(2, 1fr)
    }

    .donut-wrap {
        flex-direction: column
    }
}

@media(max-width:480px) {
    .gauge-grid {
        grid-template-columns: 1fr 1fr
    }

    .hero-btns {
        flex-direction: column
    }

    .g4 {
        grid-template-columns: 1fr
    }
}