/* ============================================
   KEYBET - Live Score Piala Dunia 2026
   Theme: Neon Green + Black + White
   ============================================ */

/* ===== VARIABLES ===== */
:root {
    --bg: #060A0F;
    --bg2: #090E16;
    --bg3: #0D1520;
    --black: #0a0a0a;
    --black-2: #111111;
    --black-3: #1a1a1a;
    --black-4: #222222;
    --card: #0F1A28;
    --neon: #00E676;
    --neon-bright: #39ff14;
    --neon-dim: #00C853;
    --lime: #AEEA00;
    --neon-glow: rgba(0, 230, 118, 0.4);
    --neon-glow-strong: rgba(0, 230, 118, 0.7);
    --white: #EEF4FF;
    --gray: #b0b0b0;
    --gray-dim: #707070;
    --muted: #4A5F7A;
    --red-live: #FF3D57;
    --blue: #4080FF;
    --border: rgba(0,230,118,0.15);
    --font-main: 'Barlow', sans-serif;
    --font-cond: 'Barlow Condensed', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ===== UTILITIES ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.neon {
    color: var(--neon);
}

.neon-text {
    color: var(--neon);
    text-shadow: 0 0 20px var(--neon-glow), 0 0 40px var(--neon-glow);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-main);
    text-align: center;
}

.btn-primary {
    background: var(--neon);
    color: var(--black);
    box-shadow: 0 0 20px var(--neon-glow);
}

.btn-primary:hover {
    background: var(--neon-bright);
    box-shadow: 0 0 30px var(--neon-glow-strong), 0 0 60px var(--neon-glow);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--neon);
    color: var(--black);
    box-shadow: 0 0 20px var(--neon-glow);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 17px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

/* ===== BANNER IMAGE (in match-badge) ===== */
.match-badge .banner-image {
    display: block;
    width: 100%;
    max-width: 820px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 230, 118, 0.2);
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(6, 10, 15, 0.88);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 230, 118, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-cond);
    font-weight: 900;
    font-size: 1.7rem;
    letter-spacing: 0.04em;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

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

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--gray);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon);
    transition: width 0.3s;
    box-shadow: 0 0 10px var(--neon-glow);
}

.nav-link:hover {
    color: var(--neon);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-login-mobile {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.login-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.2s;
}

.nav-login-btn:hover .login-img,
.nav-login-mobile:hover .login-img {
    transform: scale(1.05);
}

/* ===== LIVE TICKER ===== */
.ticker {
    background: var(--black-2);
    border-top: 1px solid rgba(0, 255, 136, 0.2);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
    overflow: hidden;
    padding: 12px 0;
    white-space: nowrap;
}

.ticker-track {
    display: inline-flex;
    gap: 40px;
    animation: tickerScroll 40s linear infinite;
    will-change: transform;
}

.ticker:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
}

.ticker-item .ball {
    color: var(--neon);
}

.ticker-item .score {
    color: var(--white);
    font-weight: 700;
}

.ticker-item .minute {
    color: var(--neon);
    font-weight: 600;
}

/* ===== HERO (TEMPLATE) ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5vw 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.field-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 110%, rgba(0,230,118,0.14) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(0,200,83,0.08) 0%, transparent 50%),
        var(--bg);
}

.pitch-svg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    opacity: 0.06;
    pointer-events: none;
    max-width: 100%;
}

.spotlight {
    position: absolute;
    top: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(0,230,118,0.5) 0%, transparent 75%);
    transform-origin: top center;
    pointer-events: none;
}

.spotlight-1 { left: 25%; height: 70vh; animation: swing 10s ease-in-out infinite; }
.spotlight-2 { left: 75%; height: 60vh; animation: swing 10s ease-in-out infinite 3.5s; opacity: .6; }
.spotlight-3 { left: 50%; height: 55vh; animation: swing 10s ease-in-out infinite 6s; opacity: .4; }

@keyframes swing {
    0%, 100% { transform: rotate(-12deg); }
    50% { transform: rotate(12deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
}

.match-badge {
    display: block;
    margin-bottom: 30px;
    animation: fadeUp 0.5s 0.1s both;
}

.badge-live {
    font-family: var(--font-cond);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    background: var(--red-live);
    color: #fff;
    padding: 2px 8px;
    border-radius: 3px;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(238,244,255,0.75);
    letter-spacing: 0.04em;
}

.hero h1 {
    font-family: var(--font-cond);
    font-size: clamp(2.8rem, 7vw, 6.5rem);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin-bottom: 6px;
    animation: fadeUp 0.5s 0.25s both;
}

.h1-line2 {
    display: block;
    color: transparent;
    -webkit-text-stroke: 2px var(--neon);
    text-stroke: 2px var(--neon);
    font-size: clamp(2.2rem, 6vw, 5.5rem);
    margin-top: 5px;
}

.h1-accent {
    color: var(--neon);
    -webkit-text-stroke: 0;
}

.hero-sub {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    font-weight: 400;
    color: rgba(238,244,255,0.7);
    line-height: 1.65;
    max-width: 680px;
    margin: 20px auto 38px;
    animation: fadeUp 0.5s 0.4s both;
}

.btn-stadium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    background: var(--neon);
    color: #000;
    font-family: var(--font-cond);
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 18px 44px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0,230,118,0.4);
    transition: all 0.25s;
    animation: fadeUp 0.5s 0.55s both;
    position: relative;
    overflow: hidden;
}

.btn-stadium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.2s;
}

.btn-stadium:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 48px rgba(0,230,118,0.55);
}

.btn-stadium:hover::before {
    opacity: 1;
}

.btn-arrow {
    font-size: 1.4rem;
    transition: transform 0.2s;
}

.btn-stadium:hover .btn-arrow {
    transform: translateX(4px);
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid rgba(0,230,118,0.1);
    flex-wrap: wrap;
    animation: fadeUp 0.5s 0.7s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 500;
}

.trust-num {
    font-family: var(--font-cond);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--neon);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTION COMMON ===== */
.section {
    padding: 80px 5vw;
    position: relative;
}

.live-section {
    background: var(--bg2);
}

.live-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon), transparent);
}

.jadwal-section {
    background: var(--bg);
}

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

.section-tag {
    display: inline-block;
    color: var(--neon);
    font-family: var(--font-cond);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-cond);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    font-size: 15px;
}

.section-count {
    color: var(--gray);
    font-size: 14px;
}

.section-count span {
    color: var(--neon);
    font-weight: 700;
}

.live-pulse {
    display: inline-block;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* ===== MATCH GRID ===== */
.match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    justify-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.match-grid > .match-card {
    width: 100%;
}

.match-card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.match-card:hover {
    border-color: var(--neon);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.15);
}

.match-card:hover::before {
    transform: translateX(100%);
}

.match-card.live {
    border-color: rgba(0, 255, 136, 0.3);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.match-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
}

.match-status.live {
    background: rgba(255, 51, 51, 0.15);
    color: var(--red-live);
    border: 1px solid rgba(255, 51, 51, 0.4);
}

.match-status.live::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--red-live);
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

.match-status.ft {
    background: rgba(176, 176, 176, 0.15);
    color: var(--gray);
    border: 1px solid rgba(176, 176, 176, 0.3);
}

.match-status.upcoming {
    background: rgba(0, 255, 136, 0.1);
    color: var(--neon);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.match-viewers {
    font-size: 12px;
    color: var(--gray-dim);
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.team-flag {
    width: 48px;
    height: 32px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-name {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.match-score {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.score-number {
    font-size: 28px;
    font-weight: 900;
    color: var(--white);
    min-width: 24px;
    text-align: center;
}

.score-number.live-score {
    color: var(--neon);
    text-shadow: 0 0 15px var(--neon-glow);
}

.score-separator {
    color: var(--gray-dim);
    font-size: 20px;
    font-weight: 300;
}

.score-vs {
    color: var(--gray-dim);
    font-size: 14px;
    font-weight: 600;
}

.match-minute {
    text-align: center;
    font-size: 13px;
    color: var(--neon);
    font-weight: 600;
    margin-bottom: 16px;
}

.match-minute.ft {
    color: var(--gray);
}

.match-info {
    text-align: center;
    margin-bottom: 16px;
}

.match-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.match-venue {
    font-size: 12px;
    color: var(--gray-dim);
}

.match-date {
    font-size: 13px;
    color: var(--neon);
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
}

.match-time {
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.match-action {
    display: block;
    text-align: center;
    width: 100%;
    padding: 10px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--neon);
    border-radius: 8px;
    color: var(--neon);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    cursor: pointer;
}

.match-action:hover {
    background: var(--neon);
    color: var(--black);
    box-shadow: 0 0 20px var(--neon-glow);
}

/* ===== CTA TARUHAN ===== */
.cta-taruhan-section {
    background: var(--bg2);
}

.cta-taruhan-wrap {
    max-width: 820px;
    margin: 0 auto;
}

.cta-taruhan-btn {
    display: block;
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 230, 118, 0.3);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    cursor: pointer;
}

.cta-taruhan-btn:hover {
    transform: translateY(-4px);
    border-color: var(--neon);
    box-shadow: 0 16px 50px rgba(0, 230, 118, 0.25);
}

.cta-taruhan-bg {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.cta-taruhan-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(180deg, rgba(6,10,15,0.3) 0%, rgba(6,10,15,0.7) 100%);
    transition: background 0.3s;
}

.cta-taruhan-btn:hover .cta-taruhan-overlay {
    background: linear-gradient(180deg, rgba(0,230,118,0.1) 0%, rgba(6,10,15,0.8) 100%);
}

.cta-taruhan-text {
    font-family: var(--font-cond);
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neon);
    text-shadow: 0 2px 20px rgba(0, 230, 118, 0.6);
}

.cta-taruhan-arrow {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: var(--neon);
    transition: transform 0.3s;
}

.cta-taruhan-btn:hover .cta-taruhan-arrow {
    transform: translateX(6px);
}

/* ===== HASIL (FINISHED) ===== */
.hasil-section {
    background: var(--bg);
}

.match-card.finished {
    opacity: 0.92;
}

.match-card.finished:hover {
    opacity: 1;
}

.match-stage {
    font-size: 11px;
    color: var(--gray-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== STANDINGS GRUP ===== */
.grup-section {
    background: var(--bg2);
}

.grup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.grup-card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s;
    overflow-x: auto;
}

.grup-card:hover {
    border-color: var(--neon);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.12);
}

.grup-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--neon);
    margin-bottom: 16px;
    text-shadow: 0 0 15px var(--neon-glow);
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 280px;
}

.standings-table th {
    color: var(--gray-dim);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
    padding: 8px 6px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 255, 136, 0.15);
}

.standings-table th.col-team {
    text-align: left;
    padding-left: 8px;
}

.standings-table td {
    padding: 10px 6px;
    text-align: center;
    color: var(--gray);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.standings-table td.col-team {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 500;
}

.standings-table td.col-pts {
    color: var(--neon);
    font-weight: 700;
    font-size: 15px;
}

.standings-rank {
    color: var(--gray-dim);
    font-weight: 600;
    min-width: 14px;
    display: inline-block;
}

.standings-flag {
    width: 22px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.standings-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.standings-table tr.qualify td {
    color: var(--white);
}

.standings-table tr.qualify {
    position: relative;
}

.standings-table tr.qualify td:first-child::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--neon);
    box-shadow: 0 0 10px var(--neon-glow);
}

.standings-table tbody tr:hover td {
    background: rgba(0, 255, 136, 0.05);
}

/* ===== KEUNGGULAN KEYBET ===== */
.keunggulan-section {
    background: var(--bg);
}

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

.keunggulan-card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 28px 24px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.keunggulan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.keunggulan-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 230, 118, 0.3);
    box-shadow: 0 16px 50px rgba(0, 230, 118, 0.12);
}

.keunggulan-card:hover::before {
    transform: translateX(100%);
}

.keunggulan-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
    display: inline-block;
}

.keunggulan-card h3 {
    font-family: var(--font-cond);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--white);
}

.keunggulan-card p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.65;
}

/* ===== TESTIMONI BERGERAK ===== */
.testimoni-section {
    background: var(--bg2);
    overflow: hidden;
    padding-bottom: 60px;
}

.testimoni-marquee {
    overflow: hidden;
    padding: 10px 0;
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.testimoni-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marqueeLeft 50s linear infinite;
}

.marquee-reverse .testimoni-track {
    animation: marqueeRight 60s linear infinite;
}

.testimoni-marquee:hover .testimoni-track {
    animation-play-state: paused;
}

@keyframes marqueeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.testimoni-card {
    flex-shrink: 0;
    width: 320px;
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    transition: border-color 0.3s, transform 0.3s;
}

.testimoni-card:hover {
    border-color: rgba(0, 230, 118, 0.3);
    transform: scale(1.03);
}

.testimoni-stars {
    color: var(--neon);
    font-size: 0.95rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimoni-card .testi-text {
    color: rgba(238, 244, 255, 0.75);
    font-size: 0.85rem;
    line-height: 1.65;
    margin-bottom: 16px;
    font-style: italic;
}

.testimoni-card .testi-author {
    font-family: var(--font-cond);
    font-weight: 700;
    font-size: 1rem;
    color: var(--lime);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimoni-card .testi-author::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--neon);
}

/* ===== FAQ ===== */
.faq-section {
    background: var(--bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
    border-color: rgba(0, 230, 118, 0.2);
}

.faq-item.active {
    border-color: var(--neon);
    box-shadow: 0 0 25px rgba(0, 230, 118, 0.1);
}

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

.faq-question:hover {
    color: var(--neon);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--neon);
    transition: transform 0.3s;
    flex-shrink: 0;
    font-weight: 400;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--red-live);
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 50px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gray);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--neon);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-dim);
    font-size: 13px;
    margin-bottom: 12px;
}

.footer-seo {
    color: var(--gray-dim);
    font-size: 12px;
    line-height: 1.7;
    max-width: 800px;
    margin: 12px auto 0;
}

.footer-seo a {
    color: var(--neon);
}

.footer-seo strong {
    color: var(--gray);
}

/* ===== RESPONSIVE — MOBILE FIRST (PHONE UI FRIENDLY) ===== */

/* ===== TABLET & MOBILE (≤768px) ===== */
@media (max-width: 768px) {
    /* Navbar */
    .navbar {
        padding: 12px 0;
    }

    .nav-container {
        padding: 0 16px;
    }

    .nav-login-mobile {
        display: inline-flex !important;
    }

    .nav-login-btn {
        display: none;
    }

    .login-img {
        height: 30px;
    }

    .nav-logo {
        font-size: 1.4rem;
    }

    .logo-icon {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 30px;
    }

    .nav-menu {
        display: none;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 14px 16px;
        border-radius: 8px;
        display: block;
    }

    .nav-link:hover {
        background: rgba(0, 230, 118, 0.08);
    }

    /* Ticker */
    .ticker {
        padding: 8px 0;
    }

    .ticker-item {
        font-size: 12px;
    }

    /* Hero */
    .hero {
        padding: 70px 16px 50px;
        min-height: auto;
    }

    .pitch-svg {
        width: 100%;
        opacity: 0.04;
    }

    .spotlight-1 { height: 50vh; }
    .spotlight-2 { height: 45vh; }
    .spotlight-3 { height: 40vh; }

    .hero-content {
        max-width: 100%;
    }

    .match-badge {
        margin-bottom: 24px;
    }

    .match-badge .banner-image {
        max-width: 100%;
        border-radius: 6px;
    }

    .hero h1 {
        font-size: 2.8rem;
        line-height: 0.92;
    }

    .h1-line2 {
        font-size: 2.2rem;
        -webkit-text-stroke: 1.5px var(--neon);
    }

    .hero-sub {
        font-size: 0.95rem;
        margin: 16px auto 28px;
        line-height: 1.6;
    }

    .btn-stadium {
        display: flex;
        width: 100%;
        padding: 16px 24px;
        font-size: 1.05rem;
        justify-content: center;
    }

    .hero-trust {
        gap: 12px;
        margin-top: 36px;
        padding-top: 24px;
    }

    .trust-item {
        font-size: 0.72rem;
        gap: 6px;
    }

    .trust-num {
        font-size: 1.15rem;
    }

    /* Section */
    .section {
        padding: 50px 16px;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-tag {
        font-size: 0.68rem;
    }

    /* Match grid — 1 column on phone */
    .match-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .match-card {
        padding: 18px;
        border-radius: 10px;
    }

    .match-header {
        margin-bottom: 16px;
    }

    .match-status {
        font-size: 11px;
        padding: 3px 8px;
    }

    .match-stage {
        font-size: 10px;
    }

    .match-teams {
        gap: 8px;
        margin-bottom: 16px;
    }

    .team-flag {
        width: 44px;
        height: 30px;
    }

    .team-name {
        font-size: 12px;
    }

    .score-number {
        font-size: 26px;
        min-width: 20px;
    }

    .score-separator {
        font-size: 18px;
    }

    .match-minute {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .match-title {
        font-size: 13px;
    }

    .match-venue {
        font-size: 11px;
    }

    .match-time {
        font-size: 14px;
        margin-bottom: 12px;
    }

    /* Standings */
    .grup-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .grup-card {
        padding: 16px;
        border-radius: 10px;
    }

    .grup-title {
        font-size: 16px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .standings-table {
        font-size: 12px;
        min-width: 260px;
    }

    .standings-table th {
        font-size: 10px;
        padding: 6px 4px;
    }

    .standings-table td {
        padding: 8px 4px;
    }

    .standings-flag {
        width: 20px;
        height: 14px;
    }

    .standings-name {
        font-size: 12px;
    }

    .standings-table td.col-pts {
        font-size: 14px;
    }

    /* Footer */
    .footer {
        padding: 36px 16px 24px;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding-bottom: 24px;
    }

    .footer-links {
        gap: 16px;
        justify-content: center;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-bottom {
        padding-top: 20px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    .footer-seo {
        font-size: 11px;
        line-height: 1.7;
    }
}

/* ===== SMALL PHONE (≤480px) ===== */
@media (max-width: 480px) {
    /* Navbar */
    .nav-logo {
        font-size: 1.25rem;
    }

    .login-img {
        height: 26px;
    }

    /* CTA Taruhan */
    .cta-taruhan-btn {
        border-radius: 10px;
    }

    .cta-taruhan-overlay {
        padding: 12px;
    }

    .cta-taruhan-text {
        font-size: 0.95rem;
    }

    .cta-taruhan-arrow {
        font-size: 1.2rem;
    }

    .logo-icon {
        font-size: 1.1rem;
    }

    .logo-img {
        height: 26px;
    }

    /* Hero */
    .hero {
        padding: 60px 14px 40px;
    }

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

    .h1-line2 {
        font-size: 1.8rem;
        -webkit-text-stroke: 1px var(--neon);
    }

    .hero-sub {
        font-size: 0.88rem;
        margin: 14px auto 24px;
    }

    .btn-stadium {
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    .btn-arrow {
        font-size: 1.2rem;
    }

    .hero-trust {
        gap: 10px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .trust-item {
        font-size: 0.68rem;
    }

    .trust-num {
        font-size: 1rem;
    }

    /* Match card compact */
    .match-card {
        padding: 16px;
    }

    .match-teams {
        gap: 6px;
    }

    .team-flag {
        width: 38px;
        height: 26px;
    }

    .team-name {
        font-size: 11px;
    }

    .score-number {
        font-size: 22px;
    }

    /* Standings compact */
    .standings-table {
        font-size: 11px;
        min-width: 240px;
    }

    .standings-table th {
        font-size: 9px;
    }

    .standings-name {
        font-size: 11px;
    }

    /* Keunggulan */
    .keunggulan-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .keunggulan-card {
        padding: 22px 18px;
    }

    .keunggulan-card h3 {
        font-size: 1.05rem;
    }

    .keunggulan-card p {
        font-size: 0.82rem;
    }

    /* Testimoni */
    .testimoni-card {
        width: 260px;
        padding: 18px;
    }

    .testimoni-card .testi-text {
        font-size: 0.8rem;
    }

    /* FAQ */
    .faq-question {
        padding: 16px 18px;
        font-size: 0.88rem;
    }

    .faq-answer p {
        font-size: 0.82rem;
    }
}

/* ===== VERY SMALL PHONE (≤360px) ===== */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .h1-line2 {
        font-size: 1.5rem;
    }

    .hero-sub {
        font-size: 0.82rem;
    }

    .trust-item {
        font-size: 0.62rem;
    }

    .trust-num {
        font-size: 0.9rem;
    }

    .match-card {
        padding: 14px;
    }

    .team-flag {
        width: 34px;
        height: 23px;
    }

    .score-number {
        font-size: 20px;
    }
}

/* ===== TOUCH DEVICE OPTIMIZATION ===== */
@media (hover: none) and (pointer: coarse) {
    .match-card:hover,
    .grup-card:hover,
    .fitur-card:hover {
        transform: none;
        box-shadow: none;
    }

    .btn-stadium:hover {
        transform: none;
    }

    .nav-link:hover {
        background: rgba(0, 230, 118, 0.08);
    }

    /* Bigger touch targets */
    .btn,
    .btn-stadium,
    .nav-link,
    .match-action {
        min-height: 44px;
    }
}

/* ===== SAFE AREA (NOTCH PHONES) ===== */
@supports (padding: env(safe-area-inset-top)) {
    .navbar {
        padding-top: env(safe-area-inset-top);
    }

    .footer {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--bg3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-dim);
}

/* ===== SELECTION ===== */
::selection {
    background: var(--neon);
    color: var(--bg);
}

/* ===== TAP HIGHLIGHT ===== */
* {
    -webkit-tap-highlight-color: rgba(0, 230, 118, 0.2);
}

/* ===== FONT SMOOTHING ===== */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
