/* ─── Skip Link (Accessibility) ──────────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--brand-primary, #FFD700);
    color: #121212;
    padding: 0.5rem 1rem;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
    z-index: 9999;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ─── Focus Visible ──────────────────────────────────────────────────────── */
:focus-visible {
    outline: 3px solid #FFD700;
    outline-offset: 2px;
}

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

:root {
    --brand-primary: #FFD700;
    --brand-primary-hover: #FFC107;
    --brand-secondary: #008C51;
    --brand-secondary-hover: #006B3E;
    --brand-dark: #121212;
    --brand-darker: #0a0a0a;
    --brand-surface: #1E1E1E;
    --brand-surface-light: #2A2A2A;
    --text-main: #FFFFFF;
    --text-muted: #B3B3B3;
    --text-inverse: #121212;
    --max-width: 1200px;
    --header-h: 70px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s ease;
    --glow-green: 0 0 20px rgba(0, 210, 100, 0.35);
    --glow-yellow: 0 0 20px rgba(255, 215, 0, 0.35);
    --glow-blue: 0 0 20px rgba(0, 140, 255, 0.35);
    --glow-purple: 0 0 20px rgba(160, 80, 255, 0.35);
    --glow-orange: 0 0 20px rgba(255, 140, 0, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--brand-dark);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--brand-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--brand-primary-hover); text-decoration: underline; }
ul { list-style: none; }

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

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.2rem; }
p { margin-bottom: 1.4rem; color: var(--text-muted); line-height: 1.8; }

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

/* ─── LAYOUT ─── */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section { padding: 4.5rem 0; }
.section-bg { background-color: var(--brand-surface); }
.section-dark { background-color: var(--brand-darker); }

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-decoration: none;
}
.btn-primary { background-color: var(--brand-primary); color: var(--text-inverse); }
.btn-primary:hover { background-color: var(--brand-primary-hover); transform: translateY(-2px); color: var(--text-inverse); box-shadow: var(--glow-yellow); text-decoration: none; }
.btn-secondary { background-color: var(--brand-secondary); color: #fff; }
.btn-secondary:hover { background-color: var(--brand-secondary-hover); transform: translateY(-2px); color: #fff; box-shadow: var(--glow-green); text-decoration: none; }

/* ─── HEADER ─── */
header {
    background-color: var(--brand-darker);
    height: var(--header-h);
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo img { height: 55px; width: auto; }
.main-nav ul { display: flex; gap: 2rem; }
.main-nav a { color: var(--text-main); font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover { color: var(--brand-primary); text-decoration: none; }
.header-actions { display: flex; gap: 1rem; align-items: center; }
.hamburger { display: none; background: none; border: none; color: var(--text-main); font-size: 1.5rem; cursor: pointer; }

/* ─── MOBILE NAV ─── */
.mobile-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 300px; height: 100vh;
    background-color: var(--brand-surface);
    z-index: 1001;
    padding: 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.7);
}
.mobile-nav.open { right: 0; }
.mobile-nav-close { background: none; border: none; color: var(--text-main); font-size: 1.5rem; cursor: pointer; position: absolute; top: 1rem; right: 1rem; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 3rem; }
.mobile-nav a { color: var(--text-main); font-size: 1.1rem; font-weight: 600; }

/* ─── HERO ─── */
.hero {
    margin-top: var(--header-h);
    padding: 7rem 0 5rem;
    background-image: url('/images/hero_bg.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg,
        rgba(10, 10, 10, 0.82) 0%,
        rgba(18, 18, 8, 0.75) 50%,
        rgba(10, 10, 10, 0.80) 100%),
        radial-gradient(ellipse at 20% 50%, rgba(255, 215, 0, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 140, 81, 0.10) 0%, transparent 60%);
    pointer-events: none;
}
.hero-sm { padding: 5rem 0 3.5rem; }
.hero-content { position: relative; z-index: 2; max-width: 100%; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 1.2rem; color: var(--brand-primary); line-height: 1.1; }
.hero p { font-size: 1.1rem; color: #ccc; max-width: 700px; }
.hero-buttons { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

/* ─── METRICS GRID ─── */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.metric-card {
    background: var(--brand-surface);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.metric-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.metric-card:hover { transform: translateY(-5px); }
.metric-green { border-color: rgba(0, 210, 100, 0.3); box-shadow: var(--glow-green); }
.metric-green::before { background: linear-gradient(90deg, #00d264, #00ff7f); }
.metric-green .metric-value { color: #00d264; }
.metric-yellow { border-color: rgba(255, 215, 0, 0.3); box-shadow: var(--glow-yellow); }
.metric-yellow::before { background: linear-gradient(90deg, #FFD700, #FFA500); }
.metric-yellow .metric-value { color: #FFD700; }
.metric-blue { border-color: rgba(0, 140, 255, 0.3); box-shadow: var(--glow-blue); }
.metric-blue::before { background: linear-gradient(90deg, #008CFF, #00CFFF); }
.metric-blue .metric-value { color: #008CFF; }
.metric-purple { border-color: rgba(160, 80, 255, 0.3); box-shadow: var(--glow-purple); }
.metric-purple::before { background: linear-gradient(90deg, #a050ff, #d080ff); }
.metric-purple .metric-value { color: #a050ff; }
.metric-value { font-size: 2.2rem; font-weight: 800; margin-bottom: 0.5rem; }
.metric-label { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }

/* ─── FEATURE CARDS ─── */
.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.feature-card {
    background: var(--brand-surface-light);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    transition: var(--transition);
    text-align: center;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 { color: var(--brand-primary); margin-bottom: 0.8rem; }
.feature-card p { font-size: 0.9rem; margin-bottom: 0; }

/* ─── SPORT CARDS ─── */
.sport-card {
    background: var(--brand-surface-light);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: var(--transition);
}
.sport-card:hover {
    border-color: rgba(0, 140, 81, 0.5);
    box-shadow: var(--glow-green);
    transform: translateY(-4px);
}
.sport-emoji { font-size: 2.5rem; margin-bottom: 0.5rem; }
.sport-name { font-weight: 700; color: var(--brand-primary); margin-bottom: 0.3rem; }
.sport-count { font-size: 0.8rem; color: var(--text-muted); }

/* ─── STEPS GRID ─── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    position: relative;
}
.step-card {
    background: var(--brand-surface-light);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
}
.step-card:hover { border-color: rgba(0, 210, 100, 0.4); }
.step-number {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
    color: #000;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}
.step-card h3 { color: var(--brand-primary); }
.step-card p { font-size: 0.9rem; margin-bottom: 0; }

/* ─── BONUS CARDS ─── */
.bonus-card {
    background: var(--brand-surface-light);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: var(--transition);
}
.bonus-card:hover { transform: translateY(-6px); border-color: rgba(0, 210, 100, 0.4); box-shadow: var(--glow-green); }
.bonus-card-welcome {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: var(--glow-yellow);
    background: linear-gradient(145deg, #2a2600, #1e1e1e);
}
.bonus-badge {
    position: absolute;
    top: -12px; right: 20px;
    background: var(--brand-primary);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
}
.bonus-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.bonus-card h3 { color: var(--brand-primary); }
.bonus-amount { font-size: 1.6rem; font-weight: 800; color: #00d264; margin-bottom: 1rem; }

/* ─── TIPS GRID ─── */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.tip-card {
    background: var(--brand-surface-light);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}
.tip-card:hover { border-color: rgba(0, 140, 255, 0.4); box-shadow: var(--glow-blue); }
.tip-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.tip-card h3 { color: var(--brand-primary); font-size: 1rem; margin-bottom: 0.5rem; }
.tip-card p { font-size: 0.85rem; margin-bottom: 0; }

/* ─── TABLES ─── */
.table-responsive { overflow-x: auto; margin: 1.5rem 0 2rem; border-radius: var(--radius-lg); }
table { width: 100%; border-collapse: collapse; background: var(--brand-surface-light); border-radius: var(--radius-sm); overflow: hidden; }
th, td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.05); }
th { background: linear-gradient(90deg, var(--brand-secondary), #005f38); color: #fff; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }
td { color: var(--text-muted); font-size: 0.95rem; }
tr:hover td { background: rgba(255, 255, 255, 0.02); }
.td-highlight { color: #00d264; font-weight: 600; }

/* ─── BADGES ─── */
.badge-active { background: rgba(0, 210, 100, 0.15); color: #00d264; padding: 3px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; border: 1px solid rgba(0, 210, 100, 0.3); }
.badge-vip { background: rgba(255, 215, 0, 0.15); color: #FFD700; padding: 3px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; border: 1px solid rgba(255, 215, 0, 0.3); }
.badge-limited { background: rgba(255, 100, 0, 0.15); color: #FF8C00; padding: 3px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; border: 1px solid rgba(255, 140, 0, 0.3); }
.badge-danger { background: rgba(255, 50, 50, 0.15); color: #ff5050; padding: 3px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; border: 1px solid rgba(255, 50, 50, 0.3); }
.badge-warning { background: rgba(255, 170, 0, 0.15); color: #FFAA00; padding: 3px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.badge-good { background: rgba(0, 200, 100, 0.15); color: #00c864; padding: 3px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }

/* ─── BAR CHART ─── */
.chart-container {
    background: var(--brand-surface-light);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-top: 2rem;
}
.bar-chart { display: flex; flex-direction: column; gap: 1.2rem; }
.bar-item { display: flex; align-items: center; gap: 1.5rem; }
.bar-label { min-width: 130px; font-weight: 600; color: var(--text-muted); font-size: 0.9rem; text-align: right; }
.bar-track { flex: 1; background: rgba(255,255,255,0.06); height: 36px; border-radius: 8px; overflow: hidden; }
.bar-fill {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    border-radius: 8px;
    animation: growBar 1s ease forwards;
    transition: width 0.8s ease;
}
@keyframes growBar { from { width: 0 !important; } }
.bar-fill-green { background: linear-gradient(90deg, #008C51, #00d264); }
.bar-fill-yellow { background: linear-gradient(90deg, #FFD700, #FFA500); color: #000; }
.bar-fill-blue { background: linear-gradient(90deg, #0066FF, #00AAFF); }
.bar-fill-purple { background: linear-gradient(90deg, #7700ff, #aa55ff); }
.bar-fill-orange { background: linear-gradient(90deg, #FF6B00, #FF9500); }
.chart-note { text-align: center; color: var(--text-muted); font-size: 0.8rem; margin-top: 1.5rem; margin-bottom: 0; font-style: italic; }

/* ─── INFO BOX ─── */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 215, 0, 0.07);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.info-box-icon { font-size: 1.5rem; flex-shrink: 0; }
.info-box strong { color: var(--brand-primary); }

/* ─── FAQ ─── */
.faq-item { background: var(--brand-surface); border-radius: var(--radius-sm); margin-bottom: 0.8rem; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); }
.faq-q { padding: 1.2rem 1.5rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--brand-primary); transition: var(--transition); }
.faq-q:hover { background: rgba(255, 215, 0, 0.05); }
.faq-q::after { content: '+'; font-size: 1.4rem; flex-shrink: 0; margin-left: 1rem; }
.faq-item.active .faq-q::after { content: '−'; }
.faq-a { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--text-muted); }
.faq-item.active .faq-a { padding: 0.5rem 1.5rem 1.5rem; max-height: 400px; }

/* ─── AUTHOR ─── */
.author-block {
    background: var(--brand-surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 4rem 0;
    border-left: 4px solid var(--brand-primary);
    border: 1px solid rgba(255, 215, 0, 0.2);
}
.author-img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid var(--brand-primary); flex-shrink: 0; }
.author-info h4 { margin-bottom: 0.5rem; color: var(--brand-primary); }
.author-info p { margin-bottom: 0; }

/* ─── FLOATING BANNER ─── */
.floating-banner {
    position: fixed;
    bottom: 20px; right: 20px;
    width: 260px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0,0,0,0.8), 0 0 0 2px var(--brand-primary);
    z-index: 999;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.floating-banner.show { transform: translateY(0); }

/* Image wrapper with button overlay */
.banner-img-wrap {
    position: relative;
    display: block;
    line-height: 0;
}
.banner-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
}
/* CTA button sits at bottom-left, next to logo (logo is at bottom-right of the image) */
.banner-cta-btn {
    position: absolute;
    bottom: 14px;
    left: 10px;
    background: #FFD700;
    color: #000;
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 0 0 3px rgba(255,215,0,0.4), 0 6px 20px rgba(255,215,0,0.6);
    white-space: nowrap;
    z-index: 3;
    border: 2px solid rgba(0,0,0,0.15);
}
.banner-cta-btn:hover {
    transform: scale(1.08);
    background: #ffe84d;
    box-shadow: 0 0 0 4px rgba(255,215,0,0.6), 0 8px 28px rgba(255,215,0,0.8);
    text-decoration: none;
    color: #000;
}
.floating-banner-close {
    position: absolute;
    top: 8px; right: 8px;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    z-index: 10;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
    transition: background 0.2s;
}
.floating-banner-close:hover { background: rgba(200,0,0,0.8); }

/* ─── FOOTER ─── */
footer { background-color: var(--brand-darker); padding: 4rem 0 2rem; border-top: 1px solid rgba(255, 215, 0, 0.1); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.footer-col h4 { color: var(--brand-primary); margin-bottom: 1.2rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: var(--text-muted); font-size: 0.95rem; }
.footer-col a:hover { color: var(--brand-primary); text-decoration: none; }
.footer-col p { font-size: 0.9rem; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); color: var(--text-muted); font-size: 0.85rem; }

/* ─── ANIMATIONS ─── */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .tips-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .main-nav, .header-actions .btn-primary { display: none; }
    .header-actions .btn-secondary { display: inline-flex; padding: 0.6rem 1.1rem; font-size: 0.8rem; }
    .hamburger { display: block; }
    .hero { padding: 5rem 0 3rem; }
    .hero h1 { font-size: 2rem; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .cards-grid-3 { grid-template-columns: 1fr; }
    .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr 1fr; }
    .tips-grid { grid-template-columns: 1fr 1fr; }
    .author-block { flex-direction: column; text-align: center; }
    .floating-banner { width: calc(100% - 2rem); right: 1rem; bottom: 1rem; }
    .bar-label { min-width: 80px; font-size: 0.8rem; }
    .chart-container { padding: 1.5rem 1rem; }
    .bonus-card { margin-bottom: 1rem; }
}

@media (max-width: 480px) {
    .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
    .metric-card { padding: 1.2rem 1rem; }
    .metric-value { font-size: 1.6rem; }
    .cards-grid-4 { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .tips-grid { grid-template-columns: 1fr; }
    h2 { font-size: 1.4rem; }
}
