/* ==========================================================
   Hello Millions US — style.css
   Brand: Red #E4002B · Yellow #FFE000 · Lime #8BC34A
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Inter:wght@400;500;600;700&display=swap');

/* ─── RESET & BASE ─────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    font-size: 16px;
    scroll-behavior: smooth
}

body {
    font-family: 'Inter', sans-serif;
    background: #0f0305;
    color: #f0e8e8;
    line-height: 1.6;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

a {
    color: #FFE000;
    text-decoration: none;
    transition: color .2s
}

a:hover {
    color: #fff
}

/* ─── CSS VARIABLES ──────────────────────────────────────── */
:root {
    --red: #E4002B;
    --red-dark: #a80020;
    --red-light: #ff2244;
    --yellow: #FFE000;
    --lime: #8BC34A;
    --dark: #0f0305;
    --dark2: #1c0610;
    --dark3: #2a0d1c;
    --card-bg: #1e0812;
    --border: #3d1428;
    --text: #f0e8e8;
    --text-muted: #b09090;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(228, 0, 43, .18);
    --shadow-lg: 0 8px 48px rgba(228, 0, 43, .28);
    --transition: .25s ease;
}

/* ─── SKIP LINK ──────────────────────────────────────────── */
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 9999;
    padding: 8px 16px;
    background: var(--red);
    color: #fff;
    border-radius: 0 0 8px 0;
    font-weight: 700;
}

.skip-link:focus {
    left: 0
}

/* ─── CONTAINER ──────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px
}

.section {
    padding: 64px 0
}

.section-sm {
    padding: 40px 0
}

/* ─── HEADER ────────────────────────────────────────────── */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #1a0008 0%, #2d000f 100%);
    border-bottom: 2px solid var(--red);
    box-shadow: 0 2px 24px rgba(228, 0, 43, .4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 16px;
    overflow: hidden;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    min-width: 0;
    overflow: hidden;
}

.site-logo img {
    height: 52px;
    width: auto
}

.logo-text {
    font-family: 'Fredoka One', cursive;
    font-size: 1.4rem;
    color: var(--yellow);
    text-shadow: 2px 2px 0 var(--red);
    letter-spacing: .5px;
}

/* Desktop Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px
}

.main-nav a {
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: .88rem;
    color: var(--text);
    transition: all var(--transition);
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(228, 0, 43, .2);
    color: var(--yellow);
}

/* CTA Tracker Button */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--yellow) 0%, #ffb800 100%);
    color: #1a0008;
    font-weight: 700;
    font-size: .9rem;
    box-shadow: 0 4px 16px rgba(255, 224, 0, .35);
    transition: all var(--transition);
    white-space: nowrap;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 224, 0, .5);
    color: #1a0008;
}

.cta-btn-red {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(228, 0, 43, .4);
}

.cta-btn-red:hover {
    color: #fff;
    box-shadow: 0 8px 28px rgba(228, 0, 43, .55)
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--yellow);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px)
}

.hamburger.open span:nth-child(2) {
    opacity: 0
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px)
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    background: #1a0008;
    border-top: 1px solid var(--border);
    padding: 12px 20px 20px;
}

.mobile-menu.open {
    display: flex
}

.mobile-menu a {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    font-weight: 600;
    color: var(--text);
    font-size: .95rem;
}

.mobile-menu a:last-child {
    border-bottom: none
}

.mobile-menu .cta-btn {
    margin-top: 12px;
    justify-content: center
}

/* ─── HERO SECTIONS ──────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
}

.hero-home {
    min-height: 520px
}

.hero-img-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 3, 5, .85) 0%, rgba(15, 3, 5, .3) 60%, rgba(15, 3, 5, .1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0
}

.hero-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    background: var(--yellow);
    color: #1a0008;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.hero h1 {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.2;
    color: #fff;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, .6);
    margin-bottom: 16px;
}

.hero h1 span {
    color: var(--yellow)
}

.hero p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .85);
    max-width: 540px;
    margin-bottom: 28px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap
}

.hero-stars {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: .85rem;
    color: var(--text-muted);
}

.stars {
    color: var(--yellow);
    font-size: 1rem;
    letter-spacing: 2px
}

/* ─── CARDS & GRIDS ─────────────────────────────────────── */
.cards-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cards-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr))
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--yellow), var(--lime));
    opacity: 0;
    transition: opacity var(--transition);
}

.card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg)
}

.card:hover::before {
    opacity: 1
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(228, 0, 43, .15);
    border: 1px solid rgba(228, 0, 43, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px
}

.card p {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.6
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 3px 10px;
    border-radius: 50px;
    background: var(--lime);
    color: #1a0008;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* ─── TABLES ─────────────────────────────────────────────── */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border)
}

table {
    width: 100%;
    border-collapse: collapse
}

table caption {
    caption-side: top;
    text-align: left;
    padding: 14px 20px;
    font-weight: 700;
    color: var(--yellow);
    font-size: 1rem;
    background: var(--dark2);
    border-radius: var(--radius) var(--radius) 0 0;
}

thead th {
    background: linear-gradient(135deg, var(--red-dark), var(--red));
    color: #fff;
    padding: 14px 20px;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-align: left;
    white-space: nowrap;
}

tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

tbody tr:last-child {
    border-bottom: none
}

tbody tr:hover {
    background: rgba(228, 0, 43, .06)
}

tbody td {
    padding: 14px 20px;
    font-size: .9rem;
    color: var(--text)
}

tbody td:first-child {
    font-weight: 600;
    color: #fff
}

.td-green {
    color: var(--lime);
    font-weight: 700
}

.td-red {
    color: var(--red);
    font-weight: 700
}

.td-yellow {
    color: var(--yellow);
    font-weight: 700
}

.td-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
}

.badge-gold {
    background: rgba(255, 224, 0, .15);
    color: var(--yellow);
    border: 1px solid rgba(255, 224, 0, .3)
}

.badge-green {
    background: rgba(139, 195, 74, .15);
    color: var(--lime);
    border: 1px solid rgba(139, 195, 74, .3)
}

.badge-red {
    background: rgba(228, 0, 43, .15);
    color: #ff6680;
    border: 1px solid rgba(228, 0, 43, .3)
}

/* ─── CHART CONTAINERS ───────────────────────────────────── */
.chart-section {
    background: var(--dark2);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border)
}

.chart-title {
    font-family: 'Fredoka One', cursive;
    font-size: 1.3rem;
    color: var(--yellow);
    margin-bottom: 4px
}

.chart-subtitle {
    font-size: .87rem;
    color: var(--text-muted);
    margin-bottom: 24px
}

.chart-wrap {
    position: relative;
    width: 100%;
    max-height: 380px
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px
}

/* ─── SECTION HEADERS ────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 48px
}

.section-header h2 {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    color: #fff;
    margin-bottom: 12px;
}

.section-header h2 span {
    color: var(--yellow)
}

.section-header p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    justify-content: center;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 2px;
    max-width: 60px;
    background: linear-gradient(90deg, transparent, var(--red));
}

.divider::after {
    background: linear-gradient(90deg, var(--red), transparent)
}

.divider-dot {
    font-size: .6rem;
    color: var(--yellow)
}

/* ─── HIGHLIGHT BOX ──────────────────────────────────────── */
.highlight-box {
    background: linear-gradient(135deg, rgba(228, 0, 43, .12) 0%, rgba(255, 224, 0, .06) 100%);
    border: 1px solid rgba(228, 0, 43, .3);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
}

.highlight-box::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 224, 0, .04);
}

/* ─── STAT BLOCKS ────────────────────────────────────────── */
.stats-row {
    display: flex;
    gap: 0;
    flex-wrap: wrap
}

.stat-item {
    flex: 1;
    min-width: 140px;
    padding: 24px 20px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: none
}

.stat-num {
    font-family: 'Fredoka One', cursive;
    font-size: 2.2rem;
    color: var(--yellow);
    line-height: 1;
}

.stat-label {
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: .5px
}

/* ─── BREADCRUMBS ────────────────────────────────────────── */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: .82rem;
    color: var(--text-muted);
    padding: 14px 0;
}

.breadcrumbs a {
    color: var(--text-muted)
}

.breadcrumbs a:hover {
    color: var(--yellow)
}

.breadcrumbs .sep {
    color: var(--border)
}

.breadcrumbs .current {
    color: var(--text)
}

/* ─── SEO CONTENT ────────────────────────────────────────── */
.seo-content {
    background: var(--dark2);
    padding: 64px 0
}

.seo-article h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.7rem;
    color: #fff;
    margin: 32px 0 14px;
}

.seo-article h3 {
    font-size: 1.1rem;
    color: var(--yellow);
    margin: 22px 0 10px;
    font-weight: 700
}

.seo-article p {
    font-size: .97rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8
}

.seo-article strong {
    color: var(--text)
}

.seo-article ul,
.seo-article ol {
    margin: 0 0 16px 20px
}

.seo-article li {
    font-size: .95rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    line-height: 1.7
}

.text-link {
    color: var(--yellow);
    text-decoration: underline dotted;
    text-underline-offset: 3px;
    font-weight: 600;
}

.text-link:hover {
    color: #fff
}

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-q {
    padding: 18px 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    background: var(--card-bg);
    transition: background var(--transition);
}

.faq-q:hover {
    background: rgba(228, 0, 43, .1)
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--yellow);
    transition: transform var(--transition)
}

.faq-a {
    display: none;
    padding: 16px 20px;
    font-size: .92rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    line-height: 1.7;
}

.faq-item.open .faq-a {
    display: block
}

.faq-item.open .faq-icon {
    transform: rotate(45deg)
}

/* ─── AUTHOR BOX ──────────────────────────────────────────── */
.author-box {
    display: flex;
    gap: 20px;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.author-box img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--red);
    flex-shrink: 0
}

.author-box .name {
    font-weight: 700;
    color: #fff;
    font-size: 1rem
}

.author-box .role {
    font-size: .8rem;
    color: var(--lime)
}

.author-box .bio {
    font-size: .87rem;
    color: var(--text-muted);
    margin-top: 4px
}

/* ─── FOOTER ──────────────────────────────────────────────── */
#site-footer {
    background: #0a0204;
    border-top: 2px solid var(--red);
    padding: 56px 0 28px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: 2fr 1fr 1fr 1fr;
}

.footer-brand img {
    height: 48px;
    width: auto;
    margin-bottom: 14px
}

.footer-brand p {
    font-size: .87rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px
}

.footer-col h4 {
    font-family: 'Fredoka One', cursive;
    font-size: 1rem;
    color: var(--yellow);
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    font-size: .87rem;
    color: var(--text-muted);
    padding: 4px 0;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--yellow)
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: .8rem;
    color: var(--text-muted);
}

.footer-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.footer-badge {
    padding: 4px 14px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    font-size: .75rem;
    color: var(--text-muted);
}

.footer-disclaimer {
    margin-top: 20px;
    padding: 16px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .04);
    font-size: .78rem;
    color: var(--text-muted);
    line-height: 1.6;
    border: 1px solid var(--border);
}

/* ─── PROMO BANNER ───────────────────────────────────────── */
.promo-banner {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 50%, #600010 100%);
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: 0 8px 40px rgba(228, 0, 43, .35);
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    right: -60px;
    top: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 224, 0, .08);
}

.promo-banner h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    color: #fff;
}

.promo-banner p {
    font-size: .95rem;
    color: rgba(255, 255, 255, .8);
    margin-top: 6px
}

.promo-coins {
    font-size: .85rem;
    color: var(--yellow);
    font-weight: 600;
    margin-top: 8px
}

/* ─── RATING STARS ───────────────────────────────────────── */
.rating-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.rating-bar .label {
    font-size: .87rem;
    color: var(--text-muted);
    width: 120px;
    flex-shrink: 0
}

.rating-track {
    flex: 1;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden
}

.rating-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--yellow)
}

.rating-score {
    font-size: .87rem;
    color: var(--text);
    width: 32px;
    text-align: right;
    font-weight: 700
}

/* ─── TIER CARDS ──────────────────────────────────────────── */
.tier-card {
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    border: 2px solid transparent;
    transition: all var(--transition);
    background: var(--card-bg);
}

.tier-card:hover {
    transform: translateY(-6px)
}

.tier-card.gold {
    border-color: #FFD700;
    box-shadow: 0 4px 24px rgba(255, 215, 0, .2)
}

.tier-card.platinum {
    border-color: #e5e5ea;
    box-shadow: 0 4px 24px rgba(229, 229, 234, .15)
}

.tier-card.diamond {
    border-color: #b9f2ff;
    box-shadow: 0 4px 24px rgba(185, 242, 255, .2)
}

.tier-icon {
    font-size: 2.8rem;
    margin-bottom: 12px
}

.tier-name {
    font-family: 'Fredoka One', cursive;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 8px
}

.tier-req {
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 16px
}

/* ─── FORM ELEMENTS ──────────────────────────────────────── */
.form-card {
    max-width: 440px;
    margin: 0 auto;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
}

.form-card h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.7rem;
    color: #fff;
    text-align: center;
    margin-bottom: 8px;
}

.form-card .sub {
    text-align: center;
    font-size: .87rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 18px
}

.form-label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: #fff;
    font-size: .95rem;
    font-family: inherit;
    transition: border var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--red)
}

.form-input::placeholder {
    color: var(--text-muted)
}

.form-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    font-size: .8rem;
    color: var(--text-muted);
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border)
}

.form-footer {
    text-align: center;
    margin-top: 16px;
    font-size: .85rem;
    color: var(--text-muted)
}

.form-btn {
    width: 100%;
    padding: 14px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}

.form-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg)
}

.form-btn-alt {
    background: linear-gradient(135deg, var(--yellow), #ffb800);
    color: #1a0008
}

.form-btn-alt:hover {
    box-shadow: 0 8px 28px rgba(255, 224, 0, .4)
}

/* ─── MOBILE APP MOCKUP ──────────────────────────────────── */
.app-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center
}

.app-phone-wrap {
    display: flex;
    justify-content: center
}

.app-phone {
    width: 220px;
    border-radius: 36px;
    border: 8px solid #333;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
    background: #111;
}

.app-phone img {
    width: 100%;
    height: auto
}

.app-badges {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap
}

.store-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all var(--transition);
}

.store-badge:hover {
    border-color: var(--yellow);
    transform: scale(1.03)
}

.store-badge .icon {
    font-size: 1.6rem
}

.store-badge .info .small {
    font-size: .68rem;
    color: var(--text-muted)
}

.store-badge .info .name {
    font-size: .9rem;
    font-weight: 700;
    color: #fff
}

/* ─── PAYMENT CARDS ──────────────────────────────────────── */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px
}

.payment-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 12px;
    text-align: center;
    transition: all var(--transition);
}

.payment-card:hover {
    border-color: var(--yellow);
    transform: scale(1.04)
}

.payment-card .icon {
    font-size: 2rem;
    margin-bottom: 8px
}

.payment-card .name {
    font-size: .8rem;
    color: var(--text-muted);
    font-weight: 600
}

.payment-card .speed {
    font-size: .72rem;
    color: var(--lime);
    margin-top: 4px
}

/* ─── PROGRESS STEPS ─────────────────────────────────────── */
.steps {
    counter-reset: step;
    display: flex;
    flex-direction: column;
    gap: 0
}

.step {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.step:last-child {
    border-bottom: none
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px
}

.step-content p {
    font-size: .87rem;
    color: var(--text-muted)
}

/* ─── ALERT / NOTICE ─────────────────────────────────────── */
.notice {
    padding: 16px 20px;
    border-radius: var(--radius);
    background: rgba(139, 195, 74, .1);
    border: 1px solid rgba(139, 195, 74, .3);
    font-size: .88rem;
    color: rgba(139, 195, 74, .9);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.notice-icon {
    font-size: 1.2rem;
    flex-shrink: 0
}

/* ─── TAGS ───────────────────────────────────────────────── */
.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.tag {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 600;
    background: rgba(228, 0, 43, .12);
    color: var(--red-light);
    border: 1px solid rgba(228, 0, 43, .2);
}

/* ─── UTILITIES ───────────────────────────────────────────── */
.text-yellow {
    color: var(--yellow)
}

.text-lime {
    color: var(--lime)
}

.text-red {
    color: var(--red)
}

.text-muted {
    color: var(--text-muted)
}

.text-center {
    text-align: center
}

.mt-4 {
    margin-top: 16px
}

.mt-6 {
    margin-top: 24px
}

.mt-8 {
    margin-top: 32px
}

.mb-4 {
    margin-bottom: 16px
}

.mb-6 {
    margin-bottom: 24px
}

.mb-8 {
    margin-bottom: 32px
}

.fw-700 {
    font-weight: 700
}

.d-flex {
    display: flex
}

.align-center {
    align-items: center
}

.gap-2 {
    gap: 8px
}

.gap-3 {
    gap: 12px
}

.bold-red {
    color: var(--red);
    font-weight: 700
}

/* ─── ANIMATIONS ──────────────────────────────────────────── */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(228, 0, 43, .4)
    }

    50% {
        box-shadow: 0 0 24px 8px rgba(228, 0, 43, .2)
    }
}

.pulse {
    animation: pulse-glow 2.5s infinite
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-8px)
    }
}

.float {
    animation: float 3s ease-in-out infinite
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.animate-in {
    animation: fadeInUp .6s ease forwards
}

.delay-1 {
    animation-delay: .1s
}

.delay-2 {
    animation-delay: .2s
}

.delay-3 {
    animation-delay: .3s
}

/* ─── OVERFLOW PROTECTION — prevents charts from breaking header ── */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Ensure header is always fully visible above any overflow content */
#site-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow: visible;
}

.header-inner {
    min-width: 0;
    overflow: visible;
}

/* All chart canvases: never exceed their container */
canvas {
    max-width: 100% !important;
    box-sizing: border-box;
}

.chart-wrap {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.chart-section {
    overflow: hidden;
    min-width: 0;
    width: 100%;
}

/* ─── MOBILE ──────────────────────────────────────────────── */
@media(max-width:900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .app-split {
        grid-template-columns: 1fr
    }

    .app-phone-wrap {
        order: -1
    }

    /* Collapse inline grids used in casino/vip pages */
    [style*="grid-template-columns:1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    [style*="grid-template-columns:repeat(3"],
    [style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media(max-width:768px) {

    /* ── HEADER MOBILE FIX ── */
    .header-inner {
        /* Hard structure: [logo | flex gap | cta | burger] */
        overflow: visible;
        flex-wrap: nowrap;
    }

    /* Logo: allow shrink, truncate text if needed */
    .site-logo {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 60%;
        overflow: hidden;
    }

    .logo-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* CTA in header: compact icon-size so hamburger always fits */
    #site-header .cta-btn {
        flex-shrink: 0;
        flex-grow: 0;
        width: auto !important;
        padding: 7px 10px;
        font-size: .72rem;
        white-space: nowrap;
        /* Hide leading emoji to save space */
        letter-spacing: 0;
    }

    /* Hide emoji before button text on mobile */
    #site-header .cta-btn::first-letter {
        display: none;
    }

    /* Hamburger: always right-end, never pushed off */
    .hamburger {
        flex-shrink: 0;
        display: flex;
        margin-left: 0;
    }

    .main-nav {
        display: none
    }

    .hero {
        min-height: 320px
    }

    .hero-home {
        min-height: 380px
    }

    .hero h1 {
        font-size: 1.8rem
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(15, 3, 5, .7) 0%, rgba(15, 3, 5, .5) 100%)
    }

    .promo-banner {
        padding: 28px 24px;
        flex-direction: column;
        text-align: center
    }

    .stats-row {
        flex-wrap: wrap
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
        flex-basis: 50%
    }

    .stat-item:nth-child(odd) {
        border-right: 1px solid var(--border)
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center
    }

    .charts-grid {
        grid-template-columns: 1fr
    }

    /* Charts: strict height limit on mobile to prevent canvas overflow */
    .chart-wrap {
        max-height: 280px !important;
    }

    /* Inline grids used on pages go single-column on mobile */
    [style*="grid-template-columns:1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    [style*="grid-template-columns:repeat(3"],
    [style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
    }

    /* Table: allow horizontal scroll rather than overflow parent */
    .table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Game cards (casino page asymmetric grid) */
    .card [style*="gap:20px"] {
        flex-direction: column
    }

    .section {
        padding: 40px 0
    }
}

@media(max-width:480px) {
    .hero-actions {
        flex-direction: column
    }

    .cta-btn {
        width: 100%;
        justify-content: center
    }

    /* Header button: always compact, never full-width */
    #site-header .cta-btn {
        width: auto !important;
        min-width: unset !important;
        justify-content: center;
    }

    .form-card {
        padding: 28px 20px
    }

    .chart-section {
        padding: 20px
    }

    .stat-item {
        flex-basis: 100%;
        border-right: none
    }
}