/* ============================================================
   Crown Coins Casino US — Global Design System
   Colors: Gold #F5C518, Green #00C896, Dark #0D0D0D, #141414
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@600;700;800&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
    --gold: #F5C518;
    --gold-light: #FFD740;
    --gold-dark: #D4A017;
    --green: #00C896;
    --green-light: #00E5A8;
    --green-dark: #009E78;
    --dark: #0D0D0D;
    --dark-2: #141414;
    --dark-3: #1C1C1C;
    --dark-4: #242424;
    --dark-card: #181818;
    --white: #FFFFFF;
    --text: #E8E8E8;
    --text-muted: #9A9A9A;
    --border: rgba(245, 197, 24, 0.15);
    --border-green: rgba(0, 200, 150, 0.2);

    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-gold: 0 0 30px rgba(245, 197, 24, 0.2);
    --shadow-green: 0 0 30px rgba(0, 200, 150, 0.2);

    --font-main: 'Inter', sans-serif;
    --font-display: 'Poppins', sans-serif;
    --transition: 0.25s ease;
    --max-w: 1200px;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--dark);
    color: var(--text);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}

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

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: var(--font-main);
}

/* ── Skip Link (Accessibility) ─────────────────────────────── */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--gold);
    color: var(--dark);
    padding: 8px 16px;
    font-weight: 700;
    z-index: 9999;
    border-radius: 0 0 8px 0;
    transition: top var(--transition);
}

.skip-link:focus {
    top: 0;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

/* ── HEADER ────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.logo-tag {
    font-size: 0.65rem;
    color: var(--green);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--white);
    background: var(--dark-4);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(245, 197, 24, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 197, 24, 0.5);
    color: var(--dark);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-green {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(0, 200, 150, 0.35);
}

.btn-green:hover {
    background: linear-gradient(135deg, var(--green-light), var(--green));
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 200, 150, 0.5);
    color: var(--dark);
}

.btn-lg {
    padding: 14px 30px;
    font-size: 1rem;
    border-radius: 12px;
}

.btn-sm {
    padding: 7px 14px;
    font-size: 0.8rem;
}

/* ── Mobile Nav ─────────────────────────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--dark-2);
    border-top: 1px solid var(--border);
    padding: 12px 20px 16px;
}

.mobile-nav a {
    display: block;
    color: var(--text);
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid var(--dark-4);
    font-size: 0.95rem;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav .btn {
    margin-top: 12px;
    justify-content: center;
    width: 100%;
}

.mobile-nav.open {
    display: flex;
}

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
    padding: 12px 0;
    border-bottom: 1px solid var(--dark-4);
    margin-bottom: 32px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.breadcrumb li::after {
    content: '/';
    color: var(--dark-4);
}

.breadcrumb li:last-child::after {
    display: none;
}

.breadcrumb a {
    color: var(--text-muted);
}

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

.breadcrumb [aria-current="page"] {
    color: var(--gold);
}

/* ── Hero Section ───────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    padding: 0;
    min-height: 380px;
    display: flex;
    align-items: stretch;
}

.hero-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 13, 13, 0.92) 0%, rgba(13, 13, 13, 0.6) 60%, rgba(13, 13, 13, 0.2) 100%);
    display: flex;
    align-items: center;
}

.hero-content {
    padding: 0 48px;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 197, 24, 0.15);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 14px;
}

.hero h1 span {
    color: var(--gold);
}

.hero p {
    color: rgba(232, 232, 232, 0.85);
    font-size: 1rem;
    margin-bottom: 24px;
    max-width: 480px;
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 24px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-val {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
}

.hero-stat-lbl {
    font-size: 0.73rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Section Base ───────────────────────────────────────────── */
section {
    padding: 64px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.section-header h2 span {
    color: var(--gold);
}

.section-header p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
    background: var(--dark-card);
    border: 1px solid var(--dark-4);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.card-icon.gold {
    background: rgba(245, 197, 24, 0.12);
}

.card-icon.green {
    background: rgba(0, 200, 150, 0.12);
}

.card h3 {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ── Grid Layouts ───────────────────────────────────────────── */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

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

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* ── Stats Bar ──────────────────────────────────────────────── */
.stats-bar {
    background: var(--dark-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 40px;
    display: flex;
    gap: 0;
    justify-content: space-around;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 12px 20px;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ── Bonus Card (special) ───────────────────────────────────── */
.bonus-card {
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.08) 0%, rgba(0, 200, 150, 0.08) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    position: relative;
    overflow: hidden;
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(245, 197, 24, 0.06);
    border: 1px solid rgba(245, 197, 24, 0.1);
}

.bonus-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold);
    color: var(--dark);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.bonus-amount {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}

.bonus-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* ── Game Cards ─────────────────────────────────────────────── */
.game-card {
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--dark-4);
    overflow: hidden;
    transition: all var(--transition);
    position: relative;
}

.game-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.game-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.game-info {
    padding: 14px 16px;
}

.game-name {
    font-weight: 700;
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.game-provider {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.game-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--green);
    color: var(--dark);
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

/* ── Tables ─────────────────────────────────────────────────── */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
}

caption {
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    color: var(--gold);
    font-size: 0.9rem;
    background: var(--dark-3);
}

th {
    background: var(--dark-3);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px;
    text-align: left;
}

td {
    padding: 13px 16px;
    font-size: 0.9rem;
    border-top: 1px solid var(--dark-4);
}

tr:hover td {
    background: rgba(245, 197, 24, 0.03);
}

.td-green {
    color: var(--green);
    font-weight: 600;
}

.td-gold {
    color: var(--gold);
    font-weight: 600;
}

.td-check::before {
    content: '✓';
    color: var(--green);
    margin-right: 4px;
    font-weight: 800;
}

.td-cross::before {
    content: '✗';
    color: #666;
    margin-right: 4px;
}

/* ── Charts Container ───────────────────────────────────────── */
.charts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0;
}

.chart-box {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.chart-box h3 {
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-box canvas {
    max-width: 100%;
}

/* ── Rating Stars ───────────────────────────────────────────── */
.rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.star {
    color: var(--gold);
    font-size: 1.1rem;
}

.rating-score {
    font-weight: 700;
    color: var(--white);
    margin-left: 6px;
}

.rating-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 4px;
}

/* ── Feature List ───────────────────────────────────────────── */
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--dark-4);
    font-size: 0.9rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list .check {
    color: var(--green);
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-list .cross {
    color: #555;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── FAQ Accordion ──────────────────────────────────────────── */
.faq-item {
    border: 1px solid var(--dark-4);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: var(--dark-card);
    border: none;
    text-align: left;
    padding: 16px 20px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition);
}

.faq-question:hover {
    background: var(--dark-3);
}

.faq-question::after {
    content: '+';
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: 300;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 20px 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ── Review Score Block ─────────────────────────────────────── */
.score-block {
    background: var(--dark-card);
    border: 2px solid var(--gold);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-gold);
}

.score-num {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.score-max {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.score-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 6px;
}

/* ── Steps (How-to) ─────────────────────────────────────────── */
.steps {
    counter-reset: step-counter;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--dark-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--dark-4);
    counter-increment: step-counter;
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
}

.step-body h3 {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.step-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ── Affiliate Disclosure ───────────────────────────────────── */
.disclosure {
    background: rgba(245, 197, 24, 0.06);
    border: 1px solid rgba(245, 197, 24, 0.2);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.disclosure-icon {
    color: var(--gold);
    flex-shrink: 0;
}

/* ── Responsible Gambling Bar ───────────────────────────────── */
.rg-bar {
    background: var(--dark-2);
    border-top: 1px solid var(--dark-4);
    padding: 10px 0;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.rg-bar a {
    color: var(--text-muted);
    text-decoration: underline;
}

.rg-bar span {
    margin: 0 8px;
    opacity: 0.4;
}

/* ── Author Card ────────────────────────────────────────────── */
.author-card {
    display: flex;
    gap: 24px;
    align-items: center;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
}

.author-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    flex-shrink: 0;
}

.author-name {
    font-weight: 700;
    color: var(--white);
    font-size: 1.1rem;
}

.author-role {
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.author-bio {
    color: var(--text-muted);
    font-size: 0.87rem;
}

/* ── SEO Content Section ────────────────────────────────────── */
.seo-content {
    background: var(--dark-2);
    padding: 64px 0;
    border-top: 1px solid var(--dark-4);
}

.seo-article h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    margin: 0 0 16px;
}

.seo-article h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    margin: 28px 0 10px;
}

.seo-article p {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.seo-article strong {
    color: var(--text);
}

.seo-article a.text-link {
    color: var(--green);
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 3px;
}

.seo-article a.text-link:hover {
    color: var(--green-light);
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
    background: var(--dark-2);
    border-top: 1px solid var(--dark-4);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 14px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.87rem;
    line-height: 1.7;
}

.footer-col h4 {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 4px 0;
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid var(--dark-4);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-legal {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.8rem;
}

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

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--dark-4);
    border: 2px solid #555;
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 800;
}

/* ── Highlight Box ──────────────────────────────────────────── */
.highlight-box {
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.06), rgba(0, 200, 150, 0.06));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin: 24px 0;
}

.highlight-box h3 {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 8px;
}

.highlight-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ── Green Gradient CTA ─────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 200, 150, 0.08), rgba(245, 197, 24, 0.08));
    border: 1px solid var(--border-green);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    margin: 32px 0;
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 10px;
}

.cta-section p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ── Tag/Pill ───────────────────────────────────────────────── */
.tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.tag-gold {
    background: rgba(245, 197, 24, 0.12);
    color: var(--gold);
    border: 1px solid rgba(245, 197, 24, 0.25);
}

.tag-green {
    background: rgba(0, 200, 150, 0.12);
    color: var(--green);
    border: 1px solid rgba(0, 200, 150, 0.25);
}

.tag-gray {
    background: var(--dark-4);
    color: var(--text-muted);
}

/* ── Progress Bars (for ratings) ───────────────────────────── */
.progress-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.progress-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    min-width: 100px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: var(--dark-4);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--gold), var(--green));
    transition: width 1s ease;
}

.progress-val {
    font-size: 0.82rem;
    color: var(--gold);
    font-weight: 700;
    min-width: 36px;
    text-align: right;
}

/* ── Login / Register Forms ─────────────────────────────────── */
.form-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
}

.form-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: var(--dark-3);
    border: 1.5px solid var(--dark-4);
    border-radius: 10px;
    color: var(--white);
    font-size: 0.95rem;
    font-family: var(--font-main);
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus {
    border-color: var(--gold);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-divider {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 16px 0;
    position: relative;
}

.form-divider::before,
.form-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: var(--dark-4);
}

.form-divider::before {
    left: 0;
}

.form-divider::after {
    right: 0;
}

.form-link {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 18px;
}

.form-link a {
    color: var(--gold);
    font-weight: 600;
}

.form-submit {
    width: 100%;
    padding: 13px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .footer-grid> :first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {

    .main-nav,
    .header-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-content {
        padding: 0 24px;
    }

    .hero-img {
        height: 320px;
    }

    .hero-stats {
        gap: 16px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

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

    .stats-bar {
        flex-direction: column;
        padding: 20px;
    }

    .stat-item {
        padding: 10px;
        border-bottom: 1px solid var(--dark-4);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .charts-row {
        grid-template-columns: 1fr;
    }

    .chart-box canvas {
        max-height: 240px !important;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    section {
        padding: 40px 0;
    }

    .cta-section {
        padding: 32px 20px;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
    }

    .form-card {
        padding: 28px 20px;
    }

    .bonus-amount {
        font-size: 2rem;
    }

    .score-num {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.35rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .stat-num {
        font-size: 1.7rem;
    }

    .header-inner {
        padding: 0 16px;
    }

    .btn-lg {
        padding: 12px 22px;
        font-size: 0.95rem;
    }
}

/* ── Utilities ──────────────────────────────────────────────── */
.text-gold {
    color: var(--gold);
}

.text-green {
    color: var(--green);
}

.text-muted {
    color: var(--text-muted);
}

.text-white {
    color: var(--white);
}

.text-center {
    text-align: center;
}

.mt-8 {
    margin-top: 8px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.mt-32 {
    margin-top: 32px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-32 {
    margin-bottom: 32px;
}

.font-bold {
    font-weight: 700;
}

.font-display {
    font-family: var(--font-display);
}

/* Print styles */
@media print {

    .site-header,
    .site-footer,
    .btn,
    .hamburger {
        display: none !important;
    }
}

/* ── Focus Visible (Accessibility / WCAG 2.1 AA) ────────────── */
*:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Remove default outline only when focus-visible is supported */
*:focus:not(:focus-visible) {
    outline: none;
}

/* ── Chart Overflow Guard ───────────────────────────────────── */
.chart-box {
    overflow: hidden;
    min-width: 0;
}

.chart-box canvas {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
}

/* ── Reduced Motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ── High Contrast Mode Support ─────────────────────────────── */
@media (forced-colors: active) {
    .btn-primary,
    .btn-green {
        border: 2px solid ButtonText;
    }
    .hero-overlay {
        background: rgba(0, 0, 0, 0.8);
    }
}

/* ── Mobile Chart Height Fix ────────────────────────────────── */
@media (max-width: 768px) {
    .chart-box canvas {
        max-height: 220px !important;
    }
    .steps {
        gap: 12px;
    }
    .step {
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .chart-box canvas {
        max-height: 180px !important;
    }
    .table-wrap {
        font-size: 0.82rem;
    }
    td, th {
        padding: 10px 10px;
    }
    .hero-img {
        height: 280px;
    }
    .bonus-card {
        padding: 24px 18px;
    }
}