/* -------------------------------------------------------
   CROWN-COINS-SWEEPSTAKES.CA � Royal Guide 2026
   Design: Royal Gold + Deep Purple + Maple Red accent
   ------------------------------------------------------- */

:root {
    --gold: #f0b429;
    --gold-l: #ffd166;
    --gold-d: #c8880e;
    --purple: #5c1fad;
    --purple-d: #3d1275;
    --purple-l: #9b5de5;
    --maple: #d62828;
    --emerald: #06d6a0;
    --bg0: #05030d;
    --bg1: #0a081a;
    --bg2: #110e23;
    --bg3: #1a1630;
    --surface: #201b35;
    --border: rgba(92, 31, 173, 0.22);
    --border-gold: rgba(240, 180, 41, 0.22);
    --white: #ffffff;
    --text1: #ede9f8;
    --text2: #9b93be;
    --text3: #5e5780;
    --red: #ef4444;
    --green: #22c55e;
    --orange: #f97316;
    --grad-gold: linear-gradient(135deg, #f0b429, #ffd166, #c8880e);
    --grad-purple: linear-gradient(135deg, #5c1fad, #9b5de5, #3d1275);
    --grad-royal: linear-gradient(135deg, #f0b429 0%, #9b5de5 100%);
    --grad-card: linear-gradient(145deg, #1a1630, #110e23);
    --grad-hero: linear-gradient(180deg, #05030d, #0a081a);
    --shadow-gold: 0 0 40px rgba(240, 180, 41, 0.25);
    --shadow-purple: 0 0 40px rgba(92, 31, 173, 0.35);
    --r: 14px;
    --trans: 0.22s ease;
    --font: 'Inter', system-ui, sans-serif;
    --font-h: 'Oswald', 'Inter', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg0);
    color: var(--text1);
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* -- Skip link -- */
.skip-link {
    position: absolute;
    top: -99px;
    left: 16px;
    background: var(--gold);
    color: #000;
    padding: 8px 16px;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
    z-index: 9999;
}

.skip-link:focus {
    top: 0;
}

/* -- Container -- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-sm {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-lg {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* -- HEADER ---------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(5, 3, 13, 0.96);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s, border-color 0.3s;
}

.site-header.scrolled {
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.8);
    border-color: var(--border-gold);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 16px;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    justify-content: center;
}

.nav-menu a {
    position: relative;
    padding: 8px 11px;
    font-size: 0.81rem;
    font-weight: 500;
    color: var(--text2);
    transition: color var(--trans);
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    right: 50%;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: left 0.25s, right 0.25s;
}

.nav-menu a:hover {
    color: var(--white);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    left: 11px;
    right: 11px;
}

.nav-menu a.active {
    color: var(--white);
    font-weight: 600;
}

.nav-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
}

/* -- Burger -- */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(92, 31, 173, 0.15);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.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 nav -- */
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #080516;
    border-top: 1px solid var(--border);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
}

.mobile-nav.open {
    max-height: 760px;
    padding: 8px 0 16px;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--text1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background var(--trans), color var(--trans);
    min-height: 50px;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    background: rgba(92, 31, 173, 0.15);
    color: var(--gold);
}

.mobile-nav .mobile-cta {
    padding: 12px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 8px;
}

/* -- BUTTONS ---------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--trans);
    white-space: nowrap;
    line-height: 1;
}

.btn-gold {
    background: var(--grad-gold);
    color: #000;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-purple {
    background: var(--grad-purple);
    color: #fff;
}

.btn-purple:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

.btn-royal {
    background: var(--grad-royal);
    color: #fff;
}

.btn-royal:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(240, 180, 41, 0.3);
}

.btn-ghost {
    border-color: var(--border);
    color: var(--text1);
    background: transparent;
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-maple {
    background: linear-gradient(135deg, #d62828, #ff4444);
    color: #fff;
}

.btn-maple:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(214, 40, 40, 0.3);
}

.btn-sm {
    padding: 9px 20px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 16px 38px;
    font-size: 1.05rem;
}

/* -- HERO ------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 90px;
    background:
        radial-gradient(ellipse 70% 80% at 15% 50%, rgba(92, 31, 173, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 85% 30%, rgba(240, 180, 41, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 50% 70% at 50% 100%, rgba(6, 214, 160, 0.04) 0%, transparent 60%),
        linear-gradient(180deg, #05030d 0%, #0a081a 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(92, 31, 173, 0.09) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-orb1 {
    position: absolute;
    top: -120px;
    left: -80px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(92, 31, 173, 0.14) 0%, transparent 70%);
    pointer-events: none;
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb2 {
    position: absolute;
    bottom: -100px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 180, 41, 0.09) 0%, transparent 70%);
    pointer-events: none;
    animation: orbFloat 10s ease-in-out infinite reverse;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-30px)
    }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(92, 31, 173, 0.18);
    border: 1px solid rgba(92, 31, 173, 0.4);
    color: var(--purple-l);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-h);
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 22px;
}

.hero h1 .gold {
    color: var(--gold);
}

.hero h1 .purple {
    color: var(--purple-l);
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text2);
    margin-bottom: 30px;
    line-height: 1.7;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
}

.hero-stars {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.hero-rating-text {
    font-size: 0.82rem;
    color: var(--text2);
}

.hero-rating-score {
    font-family: var(--font-h);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
}

.hero-stats {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stat .val {
    display: block;
    font-family: var(--font-h);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.hero-stat .lbl {
    font-size: 0.74rem;
    color: var(--text3);
    margin-top: 3px;
}

.hero-visual {
    position: relative;
}

.hero-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(92, 31, 173, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 60px rgba(92, 31, 173, 0.15);
}

.hero-img-wrap img {
    width: 100%;
}

.hero-trust {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(6, 214, 160, 0.08);
    border: 1px solid rgba(6, 214, 160, 0.2);
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 0.7rem;
    color: var(--emerald);
    font-weight: 600;
}

/* -- PAGE HERO ------------------------------------------------ */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 60px 0 50px;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(92, 31, 173, 0.12) 0%, transparent 70%),
        linear-gradient(180deg, #05030d, #0a081a);
    border-bottom: 1px solid var(--border);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(92, 31, 173, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text3);
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--text3);
    transition: color var(--trans);
}

.breadcrumbs a:hover {
    color: var(--gold);
}

.breadcrumbs .sep {
    color: var(--border);
}

.breadcrumbs .current {
    color: var(--text2);
    font-weight: 500;
}

.page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(92, 31, 173, 0.12);
    border: 1px solid rgba(92, 31, 173, 0.3);
    color: var(--purple-l);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.page-hero h1 {
    font-family: var(--font-h);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 16px;
}

.page-hero h1 .gold {
    color: var(--gold);
}

.page-hero-desc {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: var(--text2);
    max-width: 700px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.page-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.page-hero-stat .val {
    display: block;
    font-family: var(--font-h);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.page-hero-stat .lbl {
    font-size: 0.73rem;
    color: var(--text3);
    margin-top: 4px;
    display: block;
}

/* -- SECTIONS --------------------------------------------------- */
.section {
    padding: 88px 0;
}

.section-sm {
    padding: 56px 0;
}

.section-alt {
    background: var(--bg1);
}

.section-dark {
    background: var(--bg2);
}

.section-royal {
    background: linear-gradient(135deg, rgba(92, 31, 173, 0.08) 0%, rgba(240, 180, 41, 0.04) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 52px;
}

.eyebrow {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--purple-l);
    margin-bottom: 12px;
}

.eyebrow.gold {
    color: var(--gold);
}

.section-title {
    font-family: var(--font-h);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
    line-height: 1.15;
}

.section-desc {
    font-size: 1rem;
    color: var(--text2);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* -- CARDS ------------------------------------------------------ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cards-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.card {
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
}

.card:hover {
    border-color: rgba(92, 31, 173, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.card.gold-border {
    border-color: rgba(240, 180, 41, 0.2);
}

.card.gold-border:hover {
    border-color: rgba(240, 180, 41, 0.5);
    box-shadow: 0 16px 40px rgba(240, 180, 41, 0.1);
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.card p {
    font-size: 0.875rem;
    color: var(--text2);
    line-height: 1.65;
}

.card-num {
    font-family: var(--font-h);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
}

/* -- Score card -- */
.score-card {
    text-align: center;
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px 20px;
}

.score-val {
    font-family: var(--font-h);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.score-max {
    font-size: 1rem;
    color: var(--text3);
}

.score-label {
    font-size: 0.78rem;
    color: var(--text2);
    margin-top: 8px;
}

.score-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    margin-top: 10px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: var(--grad-gold);
    border-radius: 3px;
}

/* -- STEPS ------------------------------------------------------ */
.steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.steps-row::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(12.5%);
    right: calc(12.5%);
    height: 2px;
    background: linear-gradient(90deg, var(--purple), var(--gold));
    z-index: 0;
}

.step-item {
    text-align: center;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--grad-gold);
    color: #000;
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 0 20px rgba(240, 180, 41, 0.3);
}

.step-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.step-item p {
    font-size: 0.82rem;
    color: var(--text2);
}

/* -- TABLES ---------------------------------------------------- */
.table-wrap {
    overflow-x: auto;
    border-radius: 16px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table caption {
    text-align: left;
    color: var(--text3);
    font-size: 0.78rem;
    margin-bottom: 12px;
    padding: 0 4px;
}

thead th {
    background: var(--bg2);
    padding: 14px 18px;
    font-size: 0.79rem;
    font-weight: 700;
    text-align: left;
    color: var(--text2);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

thead th:first-child {
    border-radius: 12px 0 0 0;
}

thead th:last-child {
    border-radius: 0 12px 0 0;
}

thead th.th-gold {
    background: rgba(240, 180, 41, 0.08);
    color: var(--gold);
}

thead th.th-purple {
    background: rgba(92, 31, 173, 0.14);
    color: var(--purple-l);
}

tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

tbody td {
    padding: 13px 18px;
    font-size: 0.875rem;
    color: var(--text1);
}

.td-gold {
    color: var(--gold);
    font-weight: 700;
}

.td-green {
    color: var(--green);
    font-weight: 600;
}

.td-red {
    color: var(--red);
    font-weight: 600;
}

.td-orange {
    color: var(--orange);
    font-weight: 600;
}

.td-muted {
    color: var(--text3);
}

/* -- DIAGRAM / INFOGRAPHIC BOXES ------------------------------ */
.diagram-box {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 36px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.diagram-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-gold);
    border-radius: 18px 18px 0 0;
}

.diagram-title {
    font-family: var(--font-h);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Flow diagram */
.flow-diagram {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
}

.flow-node {
    background: rgba(92, 31, 173, 0.15);
    border: 2px solid rgba(92, 31, 173, 0.35);
    border-radius: 14px;
    padding: 16px 20px;
    text-align: center;
    min-width: 130px;
}

.flow-node.gold {
    background: rgba(240, 180, 41, 0.1);
    border-color: rgba(240, 180, 41, 0.35);
}

.flow-node.green {
    background: rgba(6, 214, 160, 0.1);
    border-color: rgba(6, 214, 160, 0.3);
}

.flow-node .fn-icon {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.flow-node .fn-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
}

.flow-node .fn-sub {
    font-size: 0.7rem;
    color: var(--text3);
    margin-top: 2px;
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--gold);
    padding: 0 8px;
}

/* Coins diagram */
.coins-diagram {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: center;
}

.coin-col {
    text-align: center;
}

.coin-visual {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.coin-visual.gold-coin {
    background: var(--grad-gold);
    box-shadow: 0 0 30px rgba(240, 180, 41, 0.3);
}

.coin-visual.sweep-coin {
    background: var(--grad-purple);
    box-shadow: 0 0 30px rgba(92, 31, 173, 0.4);
}

.coin-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.coin-col p {
    font-size: 0.82rem;
    color: var(--text2);
}

.coin-list-mini {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 12px;
    text-align: left;
}

.coin-list-mini li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text2);
}

.coin-list-mini li::before {
    content: '\2713';
    color: var(--green);
    flex-shrink: 0;
    font-weight: 700;
}

.coin-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.coin-divider .vs {
    font-family: var(--font-h);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text3);
}

.coin-divider .arrow {
    font-size: 2rem;
    color: var(--gold);
}

/* -- BONUS HIGHLIGHT -------------------------------------------- */
.bonus-highlight {
    background: linear-gradient(135deg, rgba(240, 180, 41, 0.08) 0%, rgba(92, 31, 173, 0.08) 100%);
    border: 1px solid rgba(240, 180, 41, 0.25);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bonus-highlight::before {
    content: '\1F451';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 5rem;
    opacity: 0.08;
}

.bonus-amount {
    font-family: var(--font-h);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}

.bonus-desc {
    color: var(--text2);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.bonus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.bonus-tag {
    background: rgba(240, 180, 41, 0.1);
    border: 1px solid rgba(240, 180, 41, 0.2);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
}

/* -- RATING BAR ------------------------------------------------ */
.rating-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.rating-label {
    font-size: 0.83rem;
    color: var(--text2);
    min-width: 160px;
}

.rating-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: var(--grad-gold);
    border-radius: 4px;
    transition: width 0.8s ease;
}

.rating-score {
    font-family: var(--font-h);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold);
    min-width: 36px;
    text-align: right;
}

/* -- PROVINCE GRID --------------------------------------------- */
.province-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.province-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    transition: all var(--trans);
}

.province-card:hover {
    border-color: rgba(240, 180, 41, 0.3);
    transform: translateY(-3px);
}

.province-flag {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.province-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.province-status {
    font-size: 0.68rem;
    font-weight: 700;
}

.province-status.ok {
    color: var(--green);
}

.province-status.partial {
    color: var(--orange);
}

.province-status.no {
    color: var(--red);
}

/* -- STAT BOXES ------------------------------------------------ */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-box {
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.stat-box .val {
    font-family: var(--font-h);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-box .lbl {
    font-size: 0.8rem;
    color: var(--text2);
}

.stat-box .sub {
    font-size: 0.72rem;
    color: var(--text3);
    margin-top: 3px;
}

/* -- COUNTRY / FEATURE GRID ------------------------------------ */
.country-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.country-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.country-flag {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.country-name {
    font-weight: 600;
    color: var(--white);
    font-size: 0.88rem;
    margin-bottom: 2px;
}

.country-status {
    font-size: 0.73rem;
    font-weight: 700;
}

.country-status.legal {
    color: var(--green);
}

.country-status.partial {
    color: var(--orange);
}

.country-status.illegal {
    color: var(--red);
}

.country-note {
    font-size: 0.73rem;
    color: var(--text3);
    margin-top: 2px;
}

/* -- NOTICE BOX ------------------------------------------------ */
.notice {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border-radius: 12px;
    padding: 18px 20px;
    margin: 24px 0;
    font-size: 0.875rem;
    line-height: 1.6;
}

.notice.info {
    background: rgba(92, 31, 173, 0.1);
    border: 1px solid rgba(92, 31, 173, 0.3);
    color: var(--text1);
}

.notice.warning {
    background: rgba(240, 180, 41, 0.08);
    border: 1px solid rgba(240, 180, 41, 0.25);
    color: var(--text1);
}

.notice.success {
    background: rgba(6, 214, 160, 0.08);
    border: 1px solid rgba(6, 214, 160, 0.25);
    color: var(--text1);
}

.notice.danger {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: var(--text1);
}

.notice-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* -- FAQ -------------------------------------------------------- */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
    gap: 12px;
}

.faq-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(92, 31, 173, 0.2);
    color: var(--purple-l);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s, background 0.3s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--purple);
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
    max-height: 600px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text2);
    font-size: 0.9rem;
    line-height: 1.75;
}

.faq-answer li {
    padding: 0 24px 8px 48px;
    color: var(--text2);
    font-size: 0.88rem;
    list-style: disc;
}

/* -- SEO ARTICLE ------------------------------------------------ */
.seo-content {
    padding: 64px 0;
    background: var(--bg1);
}

.seo-article h2 {
    font-family: var(--font-h);
    font-size: 1.7rem;
    color: var(--white);
    margin: 0 0 16px;
}

.seo-article h3 {
    font-size: 1.1rem;
    color: var(--white);
    margin: 32px 0 12px;
    font-weight: 600;
}

.seo-article h4 {
    font-size: 0.95rem;
    color: var(--gold);
    margin: 20px 0 8px;
    font-weight: 600;
}

.seo-article p {
    color: var(--text2);
    margin-bottom: 16px;
    font-size: 0.93rem;
    line-height: 1.8;
}

.seo-article ul {
    margin: 0 0 16px 20px;
}

.seo-article ul li {
    color: var(--text2);
    font-size: 0.88rem;
    list-style: disc;
    margin-bottom: 6px;
    line-height: 1.6;
}

.seo-article a {
    color: var(--gold);
    border-bottom: 1px dashed rgba(240, 180, 41, 0.35);
    transition: border-color var(--trans);
}

.seo-article a:hover {
    border-bottom-color: var(--gold);
}

strong {
    color: var(--white);
}

/* -- TIMELINE --------------------------------------------------- */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--purple), var(--gold), var(--purple));
}

.timeline-item {
    position: relative;
    margin-bottom: 36px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 12px rgba(240, 180, 41, 0.5);
    border: 2px solid var(--bg0);
}

.timeline-year {
    font-family: var(--font-h);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 4px;
}

.timeline-title {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.timeline-text {
    font-size: 0.87rem;
    color: var(--text2);
    line-height: 1.65;
}

/* -- GLOSSARY --------------------------------------------------- */
.glossary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.glossary-item {
    background: var(--grad-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 20px;
    transition: border-color var(--trans);
}

.glossary-item:hover {
    border-color: rgba(240, 180, 41, 0.3);
}

.glossary-term {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--gold);
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.glossary-def {
    font-size: 0.83rem;
    color: var(--text2);
    line-height: 1.6;
}

/* -- FEATURE CHECK LIST ---------------------------------------- */
.check-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(6, 214, 160, 0.05);
    border: 1px solid rgba(6, 214, 160, 0.12);
    border-radius: 10px;
}

.check-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.check-text {
    font-size: 0.875rem;
    color: var(--text1);
    line-height: 1.5;
}

.cross-item {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.12);
}

/* -- FOOTER ---------------------------------------------------- */
.site-footer {
    background: linear-gradient(180deg, #080516, #05030d);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
}

.footer-author {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: rgba(92, 31, 173, 0.08);
    border: 1px solid rgba(92, 31, 173, 0.2);
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 48px;
}

.footer-author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--grad-purple);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-author-name {
    font-weight: 700;
    color: var(--white);
    font-size: 1rem;
}

.footer-author-role {
    font-size: 0.78rem;
    color: var(--purple-l);
    margin-bottom: 8px;
    margin-top: 2px;
}

.footer-author-bio {
    font-size: 0.82rem;
    color: var(--text2);
    line-height: 1.6;
    margin: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 14px;
}

.footer-logo-link img {
    height: 40px;
    width: auto;
}

.footer-brand p {
    color: var(--text2);
    font-size: 0.85rem;
    line-height: 1.65;
    margin-bottom: 16px;
}

.footer-col h4 {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col ul a {
    color: var(--text2);
    font-size: 0.845rem;
    transition: color var(--trans), padding-left var(--trans);
}

.footer-col ul a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(92, 31, 173, 0.12);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text2);
    transition: all var(--trans);
}

.social-btn:hover {
    background: var(--purple);
    color: #fff;
    border-color: var(--purple);
    transform: translateY(-2px);
}

.footer-warning {
    background: rgba(240, 180, 41, 0.05);
    border: 1px solid rgba(240, 180, 41, 0.15);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 0.79rem;
    color: var(--text2);
    line-height: 1.6;
}

.footer-warn-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(240, 180, 41, 0.2);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-warning a {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 18px 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text3);
}

.footer-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--text3);
    font-size: 0.68rem;
    padding: 4px 10px;
    border-radius: 5px;
    font-weight: 600;
}

/* -- UTILS ------------------------------------------------------ */
.text-gold {
    color: var(--gold);
}

.text-purple {
    color: var(--purple-l);
}

.text-green {
    color: var(--green);
}

.text-maple {
    color: var(--maple);
}

.text-center {
    text-align: center;
}

.text-link {
    color: var(--gold);
    border-bottom: 1px dashed rgba(240, 180, 41, 0.4);
    transition: border-color var(--trans);
}

.text-link:hover {
    border-bottom-color: var(--gold);
}

.mt-8 {
    margin-top: 8px
}

.mt-16 {
    margin-top: 16px
}

.mt-24 {
    margin-top: 24px
}

.mt-32 {
    margin-top: 32px
}

.mt-48 {
    margin-top: 48px
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: none;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 40px 0;
}

.gold-line {
    height: 2px;
    background: var(--grad-gold);
    border-radius: 2px;
    margin: 24px 0;
}

/* -- RESPONSIVE ------------------------------------------------ */
@media (max-width: 1100px) {
    .nav-menu a {
        padding: 8px 8px;
        font-size: 0.78rem;
    }

    .province-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero .hero-visual {
        display: none;
    }

    .cards-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .country-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps-row {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .steps-row::before {
        display: none;
    }

    .province-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 960px) {

    .nav-menu,
    .nav-actions {
        display: none !important;
    }

    .burger {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 56px 0;
    }

    .cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cards-grid-2 {
        grid-template-columns: 1fr;
    }

    .country-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .coins-diagram {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-author {
        flex-direction: column;
    }

    .page-hero h1 {
        font-size: clamp(1.6rem, 5vw, 2.4rem);
    }

    .btn {
        min-height: 48px;
    }

    .province-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .glossary-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .section {
        padding: 40px 0;
    }

    .cards-grid,
    .cards-grid-4 {
        grid-template-columns: 1fr;
    }

    .country-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-badges {
        justify-content: center;
    }

    .steps-row {
        grid-template-columns: 1fr;
    }

    .province-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* -- NEW PAGE UTILITIES --------------------------------------- */

/* Check list */
.check-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(6, 214, 160, 0.04);
    border: 1px solid rgba(6, 214, 160, 0.12);
    border-radius: 10px;
    padding: 12px 16px;
    transition: border-color var(--trans);
}

.check-item:hover {
    border-color: rgba(6, 214, 160, 0.25);
}

.check-item.cross-item {
    background: rgba(239, 68, 68, 0.04);
    border-color: rgba(239, 68, 68, 0.12);
}

.check-item.cross-item:hover {
    border-color: rgba(239, 68, 68, 0.25);
}

.check-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    line-height: 1.5;
}

.check-text {
    font-size: 0.88rem;
    color: var(--text2);
    line-height: 1.6;
}

.check-text strong {
    color: var(--text1);
}

/* Table cell � muted / red */
.td-muted {
    color: var(--text3);
}

.td-red {
    color: var(--red);
}

/* Footer author chip */
.footer-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grad-gold);
    color: #000;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-author-name {
    font-weight: 700;
    color: var(--white);
    font-size: 0.9rem;
}

.footer-author-role {
    font-size: 0.75rem;
    color: var(--text3);
}

/* SEO prose article */
.seo-article h2 {
    font-family: var(--font-h);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--gold);
    margin: 36px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-gold);
}

.seo-article h2:first-child {
    margin-top: 0;
}

.seo-article p {
    font-size: 0.925rem;
    color: var(--text2);
    line-height: 1.8;
    margin-bottom: 14px;
}

.seo-article strong {
    color: var(--text1);
}

.seo-article a {
    color: var(--gold);
    text-decoration: underline;
}

.seo-article a:hover {
    color: var(--gold-l);
}

.seo-article ul {
    list-style: disc;
    color: var(--text2);
    font-size: 0.925rem;
    line-height: 1.9;
}

/* Text utilities */
.text-gold {
    color: var(--gold);
}

.text-orange {
    color: var(--orange);
}

.text-link {
    color: var(--gold);
    text-decoration: underline;
}

.text-link:hover {
    color: var(--gold-l);
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-48 {
    margin-top: 48px;
}

.text-center {
    text-align: center;
}

/* App & vs pages */
.td-gold {
    color: var(--gold);
    font-weight: 600;
}