/* IPTV site — neon purple theme, mobile-first */
:root {
    --bg:         #07040d;
    --panel:      #110820;
    --panel-2:    #1a0d2e;
    --text:       #f0e9ff;
    --muted:      #9b8fb5;
    --accent:     #b026ff;
    --accent-2:   #ff2bd6;
    --accent-3:   #00f0ff;
    --ok:         #00ff9d;
    --danger:     #ff3366;
    --warning:    #ffb800;
    --border:     #2a1845;
    --border-2:   #3d2461;
    --radius:     12px;
    --shadow:     0 10px 40px rgba(0,0,0,.5);
    --glow:       0 0 22px rgba(176,38,255,.55), 0 0 4px rgba(176,38,255,.4);
    --glow-soft:  0 0 14px rgba(176,38,255,.30);
    --touch:      44px;            /* min touch target */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin:0; padding:0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, sans-serif;
    background:
      radial-gradient(circle at 15% 0%,  rgba(176,38,255,.18), transparent 50%),
      radial-gradient(circle at 85% 10%, rgba(255,43,214,.12), transparent 55%),
      var(--bg);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.55;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex; flex-direction: column;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; }

.container {
    max-width: 1180px; margin: 0 auto;
    padding: 0 clamp(14px, 4vw, 22px);
    width: 100%;
}
main.container { flex: 1; padding-top: clamp(20px, 4vw, 28px); padding-bottom: clamp(40px, 8vw, 60px); }

/* ====== topbar + hamburger ====== */
.topbar { background: rgba(17,8,32,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
          border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.topbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px clamp(14px, 4vw, 22px);
    flex-wrap: wrap; gap: 8px;
}
.brand {
    font-weight: 800; font-size: clamp(18px, 4.5vw, 22px); letter-spacing: .5px; text-decoration: none;
    background: linear-gradient(90deg, #fff 0%, var(--accent) 60%, var(--accent-2) 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.main-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.main-nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500;
              padding: 8px 4px; transition: color .15s; min-height: var(--touch); display: inline-flex; align-items: center; }
.main-nav a:hover { color: var(--text); }
.main-nav a.btn-sm, .main-nav a.btn { min-height: auto; }

/* Hamburger — hidden on desktop, shown on small screens */
.nav-toggle { display: none; }
.hamburger {
    display: none;
    width: 44px; height: 44px;
    cursor: pointer; align-items: center; justify-content: center;
    flex-direction: column; gap: 4px;
    border-radius: 10px;
}
.hamburger span {
    display: block; width: 22px; height: 2px; background: var(--text);
    border-radius: 2px; transition: transform .2s, opacity .2s;
}

/* ====== buttons ====== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: var(--touch);
    padding: 12px 22px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff; text-decoration: none; font-weight: 700;
    border: 0; cursor: pointer;
    font-size: 15px; letter-spacing: .3px;
    transition: transform .12s, box-shadow .12s;
    box-shadow: var(--glow);
    -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(0); }
@media (hover: hover) {
    .btn:hover { transform: translateY(-1px); box-shadow: 0 0 30px rgba(176,38,255,.75), 0 0 8px rgba(176,38,255,.6); }
}
.btn-ghost { background: transparent; border: 2px solid var(--accent); color: var(--text);
             box-shadow: 0 0 12px rgba(176,38,255,.2); padding: 10px 20px; }
@media (hover: hover) {
    .btn-ghost:hover { background: rgba(176,38,255,.12); box-shadow: var(--glow-soft); }
}
.btn-sm { min-height: 36px; padding: 7px 14px; font-size: 13px; box-shadow: none; }
.btn-block { display: flex; width: 100%; }

/* ====== hero ====== */
.hero { padding: clamp(36px, 8vw, 70px) 0 clamp(24px, 5vw, 40px); text-align: center; }
.hero .eyebrow {
    display: inline-block;
    color: var(--accent-2); font-weight: 600;
    font-size: clamp(10px, 2.5vw, 12px); letter-spacing: 3px; text-transform: uppercase;
    padding: 5px 14px; border-radius: 999px;
    background: rgba(255,43,214,.10); border: 1px solid rgba(255,43,214,.3);
    margin-bottom: 16px;
}
.hero h1 {
    font-size: clamp(28px, 7vw, 56px);
    margin: 0 0 16px; letter-spacing: -1px; font-weight: 800; line-height: 1.08;
    background: linear-gradient(90deg, #fff 0%, #fff 40%, var(--accent) 80%, var(--accent-2) 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero h1 .neon { color: var(--accent-2); -webkit-text-fill-color: var(--accent-2);
                 text-shadow: 0 0 18px rgba(255,43,214,.55); }
.hero p.sub {
    font-size: clamp(15px, 3.5vw, 19px); color: var(--muted);
    max-width: 640px; margin: 0 auto 24px; line-height: 1.6;
}
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .cta .btn { flex: 1 1 auto; max-width: 320px; }
.hero .badges { display: flex; gap: 14px; justify-content: center; margin-top: 22px;
                color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.hero .badges b { color: var(--text); font-weight: 700; }
.hero .badges .b { display: flex; align-items: center; gap: 7px; }
.hero .badges .dot { width: 6px; height: 6px; border-radius: 50%;
                     background: var(--ok); box-shadow: 0 0 8px var(--ok); }

/* payment methods strip under the hero */
.pay-methods {
    display: flex; gap: 10px; justify-content: center; align-items: center;
    flex-wrap: wrap; margin-top: 22px;
}
.pay-methods .pm-label { color: var(--muted); font-size: 11px;
                         text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; margin-right: 4px; }
.pay-methods .pm {
    background: rgba(255,255,255,.06);
    border: 1px solid var(--border-2);
    color: var(--text);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}
.pay-methods .pm-applepay { background: #fff; color: #000; }
.pay-methods .pm-googlepay { background: #fff; color: #1a1a1a; }
.pay-methods .pm-card { background: rgba(176,38,255,.12); color: var(--accent-2); }
.pay-methods .pm-crypto { background: rgba(255,184,0,.10); color: var(--warning); border-color: rgba(255,184,0,.3);
                          display: inline-flex; align-items: center; gap: 6px; }
.pay-methods .btc-mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; border-radius: 50%;
    background: #F7931A; color: #fff;
    font-weight: 900; font-size: 12px; line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ====== stat strip ====== */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
              margin: clamp(20px, 5vw, 28px) 0 0; }
.stat-strip .stat {
    text-align: center; padding: clamp(12px, 3vw, 18px) 8px;
    background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
    position: relative; overflow: hidden;
}
.stat-strip .stat::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .7;
}
.stat-strip .num {
    font-size: clamp(20px, 5vw, 30px); font-weight: 800; letter-spacing: -.5px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-strip .lbl { color: var(--muted); font-size: clamp(10px, 2.5vw, 12px);
                   text-transform: uppercase; letter-spacing: 1.2px; margin-top: 4px; }

/* ====== leagues ====== */
.leagues { margin: clamp(36px, 7vw, 48px) 0 clamp(20px, 5vw, 32px); }
.leagues .head { display: flex; align-items: center; gap: 10px; color: var(--muted); margin-bottom: 14px; }
.leagues .head h3 { margin: 0; font-size: clamp(11px, 2.5vw, 13px); letter-spacing: 2px;
                    text-transform: uppercase; color: var(--muted); font-weight: 600; }
.leagues .head .pulse {
    width: 8px; height: 8px; border-radius: 50%; background: var(--danger);
    box-shadow: 0 0 10px var(--danger); animation: pulse 1.6s infinite;
    flex-shrink: 0;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.league-strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.league-tile {
    aspect-ratio: 1/1; background: var(--panel); border: 1px solid var(--border);
    border-radius: 12px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; padding: 6px;
    transition: transform .15s, border-color .15s, box-shadow .15s;
    text-decoration: none; color: var(--text);
}
@media (hover: hover) {
    .league-tile:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--glow-soft); }
}
.league-tile .lg-mark {
    font-size: clamp(16px, 4vw, 22px); font-weight: 900; letter-spacing: -.5px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.league-tile .lg-name { font-size: clamp(8px, 2vw, 10px); color: var(--muted);
                        text-align: center; font-weight: 500; letter-spacing: .3px; line-height: 1.2; }

/* ====== streaming services strip ====== */
.streams-section { margin: clamp(36px, 7vw, 56px) 0; }
.streams-strip {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: clamp(8px, 1.5vw, 14px);
}
.stream-tile {
    aspect-ratio: 3 / 4;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    display: flex; align-items: flex-end; justify-content: center;
    padding: 14px 8px;
    box-shadow: 0 8px 28px rgba(0,0,0,.4);
    transition: transform .2s, box-shadow .2s;
    border: 1px solid rgba(255,255,255,.06);
}
@media (hover: hover) {
    .stream-tile:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 12px 36px rgba(176,38,255,.4);
    }
}
.stream-tile::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, transparent 35%, rgba(0,0,0,.4) 100%);
    pointer-events: none;
}
.stream-content {
    position: relative; z-index: 1;
    text-align: center; padding: 8px;
    width: 100%;
}
.stream-title-text {
    color: #fff;
    font-weight: 800;
    font-size: clamp(14px, 2.4vw, 20px);
    letter-spacing: -.3px;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0,0,0,.6);
    margin-bottom: 6px;
}
.stream-sub-text {
    color: rgba(255,255,255,.85);
    font-size: clamp(9px, 1.4vw, 11px);
    font-weight: 500;
    letter-spacing: .4px;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
    line-height: 1.3;
}
.stream-img {
    max-width: 80%; max-height: 70%; object-fit: contain;
    position: relative; z-index: 1;
}

@media (max-width: 900px) {
    .streams-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .streams-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .stream-tile { aspect-ratio: 1/1; border-radius: 10px; padding: 8px; }
}

/* ====== sections ====== */
.section { margin: clamp(36px, 8vw, 56px) 0; }
.section-title { text-align: center; margin: 0 0 8px;
                 font-size: clamp(22px, 5vw, 32px); font-weight: 800; letter-spacing: -.5px; }
.section-sub { text-align: center; color: var(--muted); margin: 0 auto clamp(20px, 5vw, 32px);
               max-width: 520px; font-size: clamp(13px, 3vw, 15px); padding: 0 12px; }

/* ====== grid ====== */
.grid { display: grid; gap: 14px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* ====== card ====== */
.card {
    background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
    padding: clamp(16px, 4vw, 24px); box-shadow: var(--shadow);
    transition: border-color .15s, transform .15s;
}
@media (hover: hover) {
    .card:hover { border-color: var(--border-2); transform: translateY(-2px); }
}
.card h3 { margin: 0 0 8px; font-size: clamp(16px, 4vw, 19px); font-weight: 700; }
.card .price {
    font-size: clamp(26px, 6vw, 36px); font-weight: 800; margin: 10px 0 14px; letter-spacing: -1px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.card ul { padding-left: 18px; color: var(--muted); margin: 6px 0 14px; font-size: 13px; }
.card ul li { margin-bottom: 4px; }
.card.featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), var(--glow);
    position: relative;
}
.card.featured::before {
    content: "★ POPULAR"; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #fff; font-size: 10px; font-weight: 800; padding: 4px 12px;
    border-radius: 999px; letter-spacing: 1.2px; white-space: nowrap;
}
.badge { display: inline-block; background: var(--accent); color: #fff; font-size: 11px;
         padding: 3px 8px; border-radius: 6px; margin-left: 6px; vertical-align: middle; }

/* ====== feature icons ====== */
.feat { text-align: center; }
.feat .ico {
    width: 56px; height: 56px; border-radius: 14px; display: inline-flex;
    align-items: center; justify-content: center;
    background: rgba(176,38,255,.12); border: 1px solid var(--border-2);
    font-size: 26px; margin-bottom: 14px; box-shadow: var(--glow-soft);
}
.feat h3 { font-size: 17px; margin: 0 0 6px; }
.feat p { color: var(--muted); margin: 0; font-size: 14px; }

/* ====== devices ====== */
.devices {
    display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
    padding: clamp(14px, 3vw, 22px);
    background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
}
.device {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    min-width: 70px; color: var(--muted); font-size: 12px; font-weight: 500;
    text-align: center;
}
.device .ico {
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--panel-2); border: 1px solid var(--border-2);
    display: flex; align-items: center; justify-content: center; font-size: 22px;
}

/* ====== CTA banner ====== */
.cta-banner {
    margin: clamp(40px, 8vw, 64px) 0 0;
    padding: clamp(24px, 6vw, 44px) clamp(16px, 4vw, 22px);
    text-align: center;
    background:
      radial-gradient(circle at 20% 30%, rgba(176,38,255,.22), transparent 60%),
      radial-gradient(circle at 80% 70%, rgba(255,43,214,.18), transparent 60%),
      var(--panel);
    border: 1px solid var(--accent); border-radius: 18px;
    box-shadow: var(--glow);
}
.cta-banner h2 { font-size: clamp(22px, 5vw, 30px); margin: 0 0 8px; letter-spacing: -.5px; }
.cta-banner p { color: var(--muted); margin: 0 0 22px; font-size: clamp(13px, 3vw, 16px); }

/* ====== forms ====== */
.form { max-width: 460px; margin: 0 auto; background: var(--panel);
        padding: clamp(20px, 5vw, 30px); border-radius: var(--radius);
        border: 1px solid var(--border); box-shadow: var(--shadow); }
.form h1 { margin: 0 0 16px; font-size: clamp(20px, 5vw, 26px); font-weight: 700; }
.form label { display: block; margin: 14px 0 6px; color: var(--muted); font-size: 13px; font-weight: 500; }
.form input, .form select, .form textarea {
    width: 100%;
    padding: 13px 14px;
    background: var(--panel-2); border: 1px solid var(--border);
    border-radius: 10px; color: var(--text);
    /* 16px on iOS prevents zoom-on-focus */
    font-size: 16px; font-family: inherit;
    transition: border-color .12s, box-shadow .12s;
    min-height: var(--touch);
    -webkit-appearance: none; appearance: none;
}
.form input:focus, .form select:focus, .form textarea:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(176,38,255,.18);
}
.form .btn { margin-top: 18px; width: 100%; }
.form .alt { color: var(--muted); font-size: 13px; margin-top: 16px; text-align: center; }
.form .alt a { color: var(--accent-2); }

/* ====== alerts ====== */
.alert { padding: 12px 14px; border-radius: 10px; margin: 0 0 18px; font-size: 14px; }
.alert-ok  { background: rgba(0,255,157,.08); color: var(--ok); border: 1px solid rgba(0,255,157,.3); }
.alert-err { background: rgba(255,51,102,.08); color: var(--danger); border: 1px solid rgba(255,51,102,.3); }

/* ====== tables ====== */
/* Wrap tables so they scroll horizontally instead of breaking layout on mobile. */
.table {
    width: 100%; border-collapse: collapse;
    background: var(--panel); border-radius: var(--radius);
    overflow: hidden; border: 1px solid var(--border);
}
.table th, .table td { padding: 11px 13px; text-align: left;
                       border-bottom: 1px solid var(--border); font-size: 14px;
                       white-space: nowrap; }
.table th { background: var(--panel-2); color: var(--muted); font-weight: 600;
            font-size: 11px; text-transform: uppercase; letter-spacing: .8px; }
.table tr:last-child td { border-bottom: 0; }
.status { padding: 3px 9px; border-radius: 6px; font-size: 11px; font-weight: 700;
          letter-spacing: .3px; text-transform: uppercase; }
.status-pending     { background: rgba(255,184,0,.14);   color: var(--warning); }
.status-paid        { background: rgba(0,240,255,.12);   color: var(--accent-3); }
.status-provisioned { background: rgba(0,255,157,.12);   color: var(--ok); }
.status-failed      { background: rgba(255,51,102,.14);  color: var(--danger); }

/* ====== credentials ====== */
.creds { background: var(--panel-2); border: 1px solid var(--accent);
         padding: clamp(14px, 4vw, 18px); border-radius: 10px;
         font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
         font-size: 13px; word-break: break-all;
         box-shadow: var(--glow-soft); overflow-wrap: anywhere; }
.creds-row { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 8px 0; }
.creds-row b { color: var(--accent-2); min-width: 80px;
               font-family: -apple-system, sans-serif; font-weight: 600; }

/* ====== testimonials ====== */
.testimonials .card p { font-style: italic; color: var(--text);
                        margin: 0 0 14px; font-size: 15px; line-height: 1.6; }
.testimonials .card .who { display: flex; align-items: center; gap: 12px;
                           color: var(--muted); font-size: 13px; }
.testimonials .card .who .av {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}
.testimonials .stars { color: var(--warning); margin-bottom: 8px;
                       font-size: 14px; letter-spacing: 2px; }

/* ====== setup guide — clean docs style ====== */
.docs {
    max-width: 720px; margin: 0 auto;
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
}
.docs h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 6vw, 36px);
    font-weight: 700; letter-spacing: -.5px;
    color: var(--text);
}
.docs .lede {
    color: var(--muted); font-size: 16px; line-height: 1.6;
    margin: 0 0 28px;
}
.docs .lede a { color: var(--accent-2); }

.docs .toc {
    display: flex; flex-direction: column; gap: 4px;
    margin: 0 0 8px;
    padding: 16px 0;
}
.docs .toc a {
    color: var(--accent-2); text-decoration: none;
    font-size: 15px; padding: 6px 0;
}
.docs .toc a:hover { text-decoration: underline; }

.docs hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 40px 0;
}

.docs section { scroll-margin-top: 80px; }
.docs h2 {
    font-size: clamp(20px, 4.5vw, 24px);
    font-weight: 700; letter-spacing: -.3px;
    margin: 0 0 16px;
    color: var(--text);
}
.docs h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 24px 0 10px;
    color: var(--text);
}

.docs ol { padding-left: 26px; margin: 0 0 16px; }
.docs ol > li { margin: 0 0 14px; padding-left: 4px; }
.docs ol > li::marker { color: var(--accent-2); font-weight: 600; }

.docs p { margin: 0 0 14px; }
.docs strong { color: var(--text); font-weight: 600; }
.docs .muted { color: var(--muted); font-size: 14px; }
.docs a { color: var(--accent-2); }

.docs code {
    background: var(--panel-2);
    padding: 2px 6px; border-radius: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 14px;
    color: var(--accent-2);
    word-break: break-all;
}

.docs .note {
    margin: 16px 0; padding: 12px 16px;
    background: var(--panel);
    border-left: 3px solid var(--border-2);
    border-radius: 0 6px 6px 0;
    color: var(--muted);
    font-size: 14px; line-height: 1.6;
}
.docs .note strong { color: var(--text); }
.docs .note.warn { border-left-color: var(--warning); }

.docs .contact { text-align: left; margin-top: 28px; }
.docs .contact h2 { margin-bottom: 8px; }
.docs .contact p { color: var(--muted); }

@media (max-width: 540px) {
    .docs { font-size: 15px; line-height: 1.65; }
    .docs ol { padding-left: 22px; }
    .docs .toc a { font-size: 14px; }
    .docs hr { margin: 32px 0; }
}

/* ====== footer ====== */
.footer { color: var(--muted); display: flex; justify-content: space-between;
          padding: 22px clamp(14px, 4vw, 22px);
          border-top: 1px solid var(--border); font-size: 13px;
          align-items: center; flex-wrap: wrap; gap: 14px; }
.footer a { color: var(--muted); margin-left: 14px; text-decoration: none; }
.footer .tg-link { color: var(--accent-2); font-weight: 600; }
.footer .tg-link:hover { color: #fff; }
@media (hover: hover) {
    .footer a:hover { color: var(--text); }
}

/* ====== misc ====== */
h1, h2 { letter-spacing: -.3px; }
a { color: var(--accent-2); }
hr { border: 0; border-top: 1px solid var(--border); margin: 22px 0; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */

/* Tablet — 900px and below */
@media (max-width: 900px) {
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .league-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phone — 720px and below */
@media (max-width: 720px) {
    /* Hamburger appears, nav collapses */
    .hamburger { display: flex; }
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0 4px;
        border-top: 1px solid var(--border);
        margin-top: 10px;
    }
    .nav-toggle:checked ~ .main-nav { display: flex; }
    .main-nav a {
        padding: 12px 8px;
        border-bottom: 1px solid var(--border);
        font-size: 15px; color: var(--text);
        min-height: var(--touch);
    }
    .main-nav a:last-child { border-bottom: 0; }
    .main-nav a.btn-sm { margin: 10px 4px 6px; justify-content: center; min-height: var(--touch); }
    .nav-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .nav-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
    .nav-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

    /* Make CTA buttons stack and stretch */
    .hero .cta { flex-direction: column; align-items: stretch; }
    .hero .cta .btn { width: 100%; max-width: none; }

    /* Devices: tighter */
    .device { min-width: 60px; font-size: 11px; }
    .device .ico { width: 40px; height: 40px; font-size: 20px; }

    /* Tables become horizontally scrollable */
    .table-scroll, table.table {
        display: block; overflow-x: auto; -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }
    table.table { border-radius: var(--radius); }
}

/* Small phone — 480px and below */
@media (max-width: 480px) {
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .league-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
    .league-tile { border-radius: 10px; }

    .hero { padding-top: 26px; padding-bottom: 18px; }
    .hero .badges { gap: 10px 16px; font-size: 12px; }

    .footer { flex-direction: column; align-items: flex-start; }
    .footer > div:last-child a:first-child { margin-left: 0; }
}

/* Tiny phone — 360px and below */
@media (max-width: 360px) {
    .stat-strip { grid-template-columns: 1fr; }
    .stat-strip .stat { padding: 10px; }
    .stat-strip .num { font-size: 22px; }
}

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