/* ============================================================
   BetMaster MX — Global Design System
   Domain: betmaster-mx.com.mx
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

/* ── CSS Custom Properties ── */
:root {
    --bg-deep: #060b1a;
    --bg-dark: #0c1428;
    --bg-card: #111d36;
    --bg-card-2: #162040;
    --border: rgba(255, 255, 255, 0.07);
    --border-glow: rgba(0, 168, 255, 0.3);

    --primary: #00a8ff;
    --primary-dim: #0077cc;
    --gold: #ffd700;
    --gold-dim: #cc9f00;
    --green: #00e676;
    --red-live: #ff3d3d;
    --purple: #7c4dff;

    --text-white: #ffffff;
    --text-primary: #e0eaff;
    --text-muted: #7a8eb8;
    --text-dim: #4a5a80;

    --glass: rgba(255, 255, 255, 0.04);
    --glass-strong: rgba(255, 255, 255, 0.08);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-blue: 0 0 40px rgba(0, 168, 255, 0.15);
    --shadow-gold: 0 0 40px rgba(255, 215, 0, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);

    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Skip link ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--primary);
    color: #000;
    padding: 10px 20px;
    z-index: 9999;
}

.skip-link:focus {
    top: 0;
}

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
}

h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: #fff;
}

.text-link {
    color: var(--primary);
    border-bottom: 1px dashed rgba(0, 168, 255, 0.4);
}

.text-link:hover {
    color: var(--gold);
    border-color: var(--gold);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ── Container ── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Utility ── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--gold);
}

.text-green {
    color: var(--green);
}

.text-red {
    color: var(--red-live);
}

.text-primary {
    color: var(--primary);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-live {
    background: rgba(255, 61, 61, 0.2);
    color: var(--red-live);
    border: 1px solid rgba(255, 61, 61, 0.4);
}

.badge-new {
    background: rgba(0, 230, 118, 0.15);
    color: var(--green);
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.badge-hot {
    background: rgba(255, 215, 0, 0.15);
    color: var(--gold);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.badge-live::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--red-live);
    border-radius: 50%;
    animation: pulse-dot 1s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dim));
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 168, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 168, 255, 0.5);
    color: #fff;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dim));
    color: #000;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.45);
    color: #000;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-glow);
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(0, 168, 255, 0.1);
    color: #fff;
    border-color: var(--primary);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* Ripple effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn .ripple {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: ripple-anim 0.5s ease-out forwards;
    transform: scale(0);
    pointer-events: none;
}

@keyframes ripple-anim {
    to {
        transform: scale(30);
        opacity: 0;
    }
}

/* ── Header / Nav ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 11, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(6, 11, 26, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 52px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: opacity var(--transition);
}

.logo:hover img {
    opacity: 0.85;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.logo-text span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a {
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: var(--glass);
}

.nav-links a.nav-live {
    color: var(--red-live);
}

.nav-links a.nav-live:hover {
    background: rgba(255, 61, 61, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition);
}

/* ── Mobile Nav ── */
.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-deep);
    z-index: 999;
    overflow-y: auto;
    padding: 24px;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {
    color: var(--text-primary);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav a:hover {
    background: var(--glass);
    color: #fff;
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 11, 26, 0.92) 40%, rgba(0, 168, 255, 0.08) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid rgba(0, 168, 255, 0.2);
    padding: 8px 18px;
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 24px;
    color: #fff;
    max-width: 700px;
}

.hero h1 .highlight {
    background: linear-gradient(90deg, var(--primary), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.hero-stat-num span {
    color: var(--gold);
}

.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Section ── */
.section {
    padding: 80px 0;
}

.section-sm {
    padding: 50px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-header h2 {
    color: #fff;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* ── Cards ── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
}

.card-body {
    padding: 28px;
}

.card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.card:hover .card-img img {
    transform: scale(1.05);
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

/* ── Grid ── */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ── Stats Bar ── */
.stats-bar {
    background: linear-gradient(90deg, var(--bg-card), var(--bg-card-2));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    flex-wrap: wrap;
    gap: 24px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ── Sport Card ── */
.sport-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
}

.sport-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
    background: var(--bg-card-2);
}

.sport-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
}

.sport-name {
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.sport-markets {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── Bonus Card ── */
.bonus-card {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-card-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
}

.bonus-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.bonus-amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold);
    margin: 12px 0;
}

.bonus-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.bonus-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 12px 0 24px;
}

.bonus-conditions {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.bonus-ribbon {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--gold);
    color: #000;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 5px 40px;
    transform: rotate(45deg);
    letter-spacing: 0.05em;
}

/* ── Table ── */
.data-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.data-table caption {
    text-align: left;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-bottom: 12px;
    font-style: italic;
}

.data-table thead th {
    background: var(--bg-card-2);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 18px;
    text-align: left;
    border-bottom: 2px solid var(--border);
}

.data-table thead th:first-child {
    border-radius: var(--radius-sm) 0 0 0;
}

.data-table tbody td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 0.95rem;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.data-table .highlight-row td {
    background: rgba(0, 168, 255, 0.05);
}

/* ── FAQ Accordion ── */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    gap: 16px;
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    transition: all var(--transition);
    color: var(--primary);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    border-color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 400px;
}

/* ── Live Ticker ── */
.live-ticker {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    overflow: hidden;
}

.ticker-inner {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: ticker-scroll 40s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.ticker-teams {
    color: var(--text-primary);
    font-weight: 500;
}

.ticker-score {
    background: var(--bg-card-2);
    border: 1px solid var(--border);
    padding: 3px 10px;
    border-radius: 6px;
    color: var(--gold);
    font-weight: 700;
}

.ticker-time {
    color: var(--text-muted);
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ── Odds Display ── */
.odds-card {
    background: var(--bg-card-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all var(--transition);
}

.odds-card:hover {
    border-color: var(--border-glow);
}

.odds-teams {
    flex: 1;
}

.odds-match {
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
}

.odds-league {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.odds-buttons {
    display: flex;
    gap: 8px;
}

.odds-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    min-width: 70px;
}

.odds-btn:hover {
    background: rgba(0, 168, 255, 0.1);
    border-color: var(--primary);
}

.odds-btn-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
}

.odds-btn-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

/* ── Payment Method ── */
.payment-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: all var(--transition);
}

.payment-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
}

.payment-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.payment-name {
    font-weight: 700;
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.payment-detail {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.payment-min {
    font-size: 0.8rem;
    color: var(--green);
    margin-top: 8px;
    font-weight: 600;
}

/* ── SEO Content Section ── */
.seo-content {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 64px 0;
}

.seo-article h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.seo-article h3 {
    color: var(--primary);
    margin: 28px 0 12px;
    font-size: 1.2rem;
}

.seo-article p {
    color: var(--text-muted);
    margin-bottom: 18px;
    max-width: 760px;
}

.seo-news-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0 24px;
}

.seo-news-links a {
    color: var(--text-primary);
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.seo-news-links a:hover {
    background: rgba(0, 168, 255, 0.08);
    border-color: var(--border-glow);
}

.related-sports {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.sport-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
}

.sport-link:hover {
    border-color: var(--border-glow);
    color: #fff;
    background: rgba(0, 168, 255, 0.06);
}

.sport-link span {
    font-weight: 700;
    color: var(--primary);
}

/* ── Footer ── */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 300px;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-legal {
    color: var(--text-dim);
    font-size: 0.78rem;
    max-width: 700px;
    line-height: 1.7;
}

.footer-license {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ── Breadcrumb ── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .sep {
    color: var(--text-dim);
}

.breadcrumb .current {
    color: var(--text-primary);
}

/* ── Page Hero (inner pages) ── */
.page-hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-card) 100%);
    border-bottom: 1px solid var(--border);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(0, 168, 255, 0.08) 0%, transparent 70%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: #fff;
    margin-bottom: 16px;
}

.page-hero p {
    color: var(--text-muted);
    max-width: 600px;
    font-size: 1.05rem;
}

/* ── Comparison Table ── */
.comparison-table {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.comparison-table .data-table thead th:nth-child(2) {
    background: rgba(0, 168, 255, 0.1);
    color: var(--primary);
}

.comparison-table .data-table tbody td:nth-child(2) {
    background: rgba(0, 168, 255, 0.04);
}

.check {
    color: var(--green);
    font-size: 1.1rem;
}

.cross {
    color: var(--red-live);
    font-size: 1.1rem;
}

.star {
    color: var(--gold);
}

/* ── Progress Bars ── */
.progress-bar-wrap {
    margin: 12px 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.progress-label span:first-child {
    color: var(--text-primary);
}

.progress-label span:last-child {
    color: var(--primary);
    font-weight: 700;
}

.progress-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--primary), var(--purple));
    width: 0%;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-fill.gold {
    background: linear-gradient(90deg, var(--gold), var(--gold-dim));
}

.progress-fill.green {
    background: linear-gradient(90deg, var(--green), #00b050);
}

/* ── Notification / Alert ── */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    border-radius: var(--radius-md);
    margin: 20px 0;
    font-size: 0.9rem;
    border-left: 4px solid;
}

.alert-info {
    background: rgba(0, 168, 255, 0.08);
    border-color: var(--primary);
    color: var(--text-primary);
}

.alert-warning {
    background: rgba(255, 215, 0, 0.08);
    border-color: var(--gold);
    color: var(--text-primary);
}

.alert-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── Register CTA Banner ── */
.cta-banner {
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.1), rgba(124, 77, 255, 0.1));
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 60px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.06), transparent 70%);
}

.cta-banner h2 {
    color: #fff;
    margin-bottom: 16px;
}

.cta-banner p {
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 32px;
}

/* ── Scroll animations ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions .btn {
        display: none;
    }

    .nav-actions {
        flex-shrink: 0;
        margin-left: auto;
    }

    .hamburger {
        display: flex;
        flex-shrink: 0;
    }

    .logo img {
        height: 44px !important;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stats-bar-inner {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .comparison-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Prevent horizontal scroll caused by tables */
    .data-table {
        min-width: 540px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .cta-banner {
        padding: 40px 24px;
    }

    /* App section phone grid -> single column */
    [style*="grid-template-columns:1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr"] {
        display: block !important;
    }
}

/* ── Global overflow guard ── */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Android banner — always relative paths */
#android-app-banner img {
    object-fit: contain;
    border-radius: 10px;
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 56px 0;
    }

    /* Compact tables on very small screens */
    .data-table th,
    .data-table td {
        padding: 10px 10px;
        font-size: 0.82rem;
    }

    /* Hide non-critical table columns on small phones */
    .data-table th:nth-child(4),
    .data-table td:nth-child(4) {
        display: none;
    }

    /* App section phone mockup — hide on very small */
    [style*="width:260px"] {
        width: 220px !important;
    }
}