/* =============================================
   IPL 2026 Scores — Black / Neon Green
   ESPN-style dense sports layout
   ============================================= */

:root {
    --black:      #080c0a;
    --black-mid:  #0d1410;
    --black-card: #111a13;
    --black-light:#172018;
    --neon:       #00e676;
    --neon-dark:  #00b359;
    --neon-dim:   #00e67622;
    --white:      #ffffff;
    --bg:         #0a0f0b;
    --text:       #e8f5e9;
    --text-muted: #5a7a5f;
    --border:     #1a2e1c;
    --red:        #ff1744;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Arial Narrow', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    padding-bottom: 64px;
}
@media (min-width: 768px) { body { padding-bottom: 0; } }

a { color: var(--neon); text-decoration: none; }
a:hover { color: var(--neon-dark); }
img { max-width: 100%; height: auto; }

/* ── TICKER ── */
.top-bar {
    background: #000;
    padding: 5px 0;
    border-bottom: 1px solid var(--border);
}
.top-bar-inner { display: flex; align-items: center; gap: 12px; }
.top-bar-label {
    background: var(--red);
    color: #fff;
    font-weight: 900;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 2px;
    letter-spacing: 2px;
    white-space: nowrap;
    animation: blink 1.5s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.4} }
.top-bar-text { color: #3a5c3e; font-size: 12px; }
.top-bar-text a { color: var(--neon); font-weight: 700; }

/* ── NAVBAR ── */
.navbar {
    background: var(--black-mid) !important;
    border-bottom: 2px solid var(--neon);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1040;
    box-shadow: 0 0 20px rgba(0,230,118,.15);
}
.site-logo {
    font-size: 22px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -1px;
    line-height: 1;
    padding: 12px 0;
    display: block;
}
.site-logo span { color: var(--neon); }
.navbar-nav .nav-link {
    color: #4a7a4e !important;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 16px 14px !important;
    border-bottom: 2px solid transparent;
    transition: all .2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--neon) !important;
    border-bottom-color: var(--neon);
}
.navbar-toggler { border-color: var(--neon); padding: 6px 10px; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,230,118,1)' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.dropdown-menu {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-top: 2px solid var(--neon);
    border-radius: 0 0 6px 6px;
}
.dropdown-menu li a {
    color: #4a7a4e;
    padding: 9px 16px;
    display: block;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    transition: all .15s;
}
.dropdown-menu li a:hover { color: var(--neon); background: var(--neon-dim); padding-left: 20px; }

/* ── BUTTONS ── */
.btn-primary-cta {
    background: var(--neon);
    color: #000;
    font-weight: 900;
    border: none;
    border-radius: 3px;
    padding: 11px 26px;
    font-size: 14px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all .2s;
    box-shadow: 0 0 16px rgba(0,230,118,.3);
}
.btn-primary-cta:hover {
    background: var(--neon-dark);
    color: #000;
    box-shadow: 0 0 24px rgba(0,230,118,.5);
    transform: translateY(-1px);
}
.btn-secondary-cta {
    background: transparent;
    color: var(--neon);
    font-weight: 900;
    border: 2px solid var(--neon);
    border-radius: 3px;
    padding: 9px 24px;
    font-size: 14px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all .2s;
}
.btn-secondary-cta:hover {
    background: var(--neon-dim);
    color: var(--neon);
}
.btn-accent {
    background: var(--neon);
    color: #000;
    font-weight: 900;
    border: none;
    border-radius: 3px;
    padding: 8px 20px;
    font-size: 13px;
    display: inline-block;
    text-transform: uppercase;
    transition: all .2s;
}
.btn-accent:hover { background: var(--neon-dark); color: #000; }

/* ── HERO ── */
.hero-wrap {
    background: var(--black);
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--neon);
}
.hero-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/wp-content/themes/ipl2026scores/img/hero-bg.jpg') center/cover no-repeat;
    opacity: .08;
}
.hero-wrap::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--black), transparent);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0 52px;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--neon);
    color: var(--neon);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 5px 14px;
    border-radius: 2px;
    margin-bottom: 24px;
    box-shadow: 0 0 12px rgba(0,230,118,.2);
}
.hero-dot {
    width: 7px; height: 7px;
    background: var(--neon);
    border-radius: 50%;
    animation: blink 1.2s infinite;
    box-shadow: 0 0 8px var(--neon);
}
.hero-title {
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 900;
    color: var(--white);
    line-height: .95;
    margin-bottom: 20px;
    letter-spacing: -3px;
}
.hero-title em { font-style: normal; color: var(--neon); text-shadow: 0 0 30px rgba(0,230,118,.4); }
.hero-sub {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.6;
    margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--border);
    padding-top: 32px;
    flex-wrap: wrap;
}
.hero-stat {
    padding: 0 36px 0 0;
    border-right: 1px solid var(--border);
    margin-right: 36px;
}
.hero-stat:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.hs-num {
    font-size: 44px;
    font-weight: 900;
    color: var(--neon);
    line-height: 1;
    letter-spacing: -2px;
    text-shadow: 0 0 20px rgba(0,230,118,.3);
}
.hs-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ── TEAMS BAR ── */
.teams-bar {
    background: var(--black-mid);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.teams-bar-label {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #2a4a2e;
    margin-bottom: 10px;
}
.teams-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.team-pill {
    padding: 5px 14px;
    border-radius: 2px;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all .2s;
    color: #fff;
    border: 1px solid transparent;
}
.team-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(0,230,118,.25);
    border-color: var(--neon);
    color: #fff;
}
.team-pill.csk  { background: #1a1600; color: #F9CD05; border-color: #d4a000; }
.team-pill.mi   { background: #00174a; }
.team-pill.rcb  { background: #3a0008; }
.team-pill.kkr  { background: #1a0a2e; }
.team-pill.dc   { background: #001c3a; }
.team-pill.srh  { background: #3a1500; }
.team-pill.rr   { background: #3a0030; }
.team-pill.pbks { background: #3a0008; }
.team-pill.lsg  { background: #0a1f00; color: #a4c639; border-color: #5a8a00; }
.team-pill.gt   { background: #001030; }

/* ── MAIN LAYOUT ── */
.main-wrap { padding: 24px 0 48px; }

/* ── SECTION HEADERS ── */
.sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.sec-head-left { display: flex; align-items: center; gap: 10px; }
.sec-head-bar { width: 3px; height: 20px; background: var(--neon); border-radius: 2px; box-shadow: 0 0 8px var(--neon); }
.sec-title {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
}
.sec-more { font-size: 12px; font-weight: 700; color: var(--neon); text-transform: uppercase; letter-spacing: .5px; }
.sec-more:hover { color: var(--neon-dark); }

/* ── SCORE TABLE ── */
.score-table {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.st-head {
    background: var(--black);
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    padding: 10px 16px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.st-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    align-items: center;
    transition: background .15s;
}
.st-row:last-of-type { border-bottom: none; }
.st-row:hover { background: var(--neon-dim); }
.st-match { font-weight: 800; font-size: 14px; color: var(--white); }
.st-date  { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.st-venue { font-size: 12px; color: var(--text-muted); }
.st-result { font-weight: 900; font-size: 13px; color: var(--neon); }
.st-more {
    padding: 11px 16px;
    text-align: center;
    border-top: 1px solid var(--border);
    background: var(--black);
}
.st-more a { font-size: 13px; font-weight: 900; color: var(--neon); text-transform: uppercase; letter-spacing: 1px; }

/* ── CATEGORY CARDS ── */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 767px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--border);
    border-radius: 4px;
    padding: 20px 16px;
    display: block;
    color: var(--text);
    transition: all .2s;
}
.cat-card:hover {
    border-top-color: var(--neon);
    box-shadow: 0 0 20px rgba(0,230,118,.1);
    color: var(--text);
}
.cat-icon { font-size: 24px; margin-bottom: 10px; }
.cat-name { font-size: 14px; font-weight: 900; color: var(--white); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .5px; }
.cat-desc { font-size: 12px; color: var(--text-muted); }
.cat-arrow { font-size: 14px; color: var(--neon); margin-top: 10px; display: block; }

/* ── PAGE LAYOUT ── */
.page-banner {
    background: var(--black);
    border-bottom: 2px solid var(--neon);
    padding: 36px 0 28px;
    box-shadow: 0 4px 20px rgba(0,230,118,.08);
}
.pb-eyebrow {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--neon);
    margin-bottom: 8px;
}
.page-banner h1 {
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 900;
    color: var(--white);
    margin: 0 0 6px;
    letter-spacing: -1px;
}
.page-banner .pb-sub { font-size: 14px; color: var(--text-muted); margin: 0; }

.subpage-wrap { padding: 28px 0 60px; }
.content-block {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 28px 28px 0;
}
.content-block h2 {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--white);
    border-bottom: 2px solid var(--border);
    padding-bottom: 8px;
    margin-top: 1.8rem;
}
.content-block h3 { font-size: 1.1rem; font-weight: 800; color: var(--text); margin-top: 1.4rem; }
.content-block p  { color: var(--text-muted); line-height: 1.8; }
.content-block ul, .content-block ol { color: var(--text-muted); padding-left: 1.5rem; line-height: 1.8; }
.content-block table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.content-block table th {
    background: var(--black);
    color: var(--neon);
    padding: 10px 14px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
    font-weight: 900;
}
.content-block table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text);
}
.content-block table tr:hover td { background: var(--neon-dim); }
.cta-block {
    background: var(--black);
    border-top: 1px solid var(--border);
    margin: 28px -28px 0;
    padding: 20px 28px;
    border-radius: 0 0 4px 4px;
    text-align: center;
}

/* ── SIDEBAR ── */
.sidebar-block { display: flex; flex-direction: column; gap: 14px; }
.sb-card {
    background: var(--black-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.sb-title {
    background: var(--black);
    color: var(--neon);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
}
.sb-links { list-style: none; padding: 0; margin: 0; }
.sb-links li a {
    display: block;
    padding: 9px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    transition: all .15s;
}
.sb-links li:last-child a { border-bottom: none; }
.sb-links li a:hover { color: var(--neon); background: var(--neon-dim); padding-left: 20px; }
.teams-sidebar { padding: 4px 0; }
.tsb-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    transition: all .15s;
}
.tsb-item:last-child { border-bottom: none; }
.tsb-item:hover { color: var(--neon); background: var(--neon-dim); }
.tsb-tag {
    font-size: 11px;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 2px;
    color: #fff;
    min-width: 40px;
    text-align: center;
}
.tsb-tag.mi   { background: #004BA0; }
.tsb-tag.csk  { background: #d4a000; color: #000; }
.tsb-tag.rcb  { background: #c41230; }
.tsb-tag.kkr  { background: #3A225D; }
.tsb-tag.dc   { background: #004C93; }
.tsb-tag.srh  { background: #e8470a; }
.tsb-tag.rr   { background: #c4007a; }
.tsb-tag.pbks { background: #c41230; }
.tsb-tag.lsg  { background: #5a8a00; }
.tsb-tag.gt   { background: #1C4494; }

/* ── SEO SECTION ── */
.seo-section {
    background: var(--black-card);
    padding: 40px 0 56px;
    border-top: 1px solid var(--border);
}
.seo-content h2 { font-size: 1.3rem; font-weight: 900; color: var(--white); border-bottom: 1px solid var(--border); padding-bottom: 6px; margin-top: 2rem; }
.seo-content h3 { font-size: 1.1rem; font-weight: 800; color: var(--text); margin-top: 1.4rem; }
.seo-content p  { line-height: 1.8; color: var(--text-muted); margin-bottom: 1rem; }
.seo-content ul, .seo-content ol { padding-left: 1.5rem; color: var(--text-muted); line-height: 1.8; }

/* ── FOOTER ── */
.footer {
    background: var(--black);
    border-top: 2px solid var(--neon);
    padding: 48px 0 24px;
    box-shadow: 0 -4px 20px rgba(0,230,118,.08);
}
.footer-logo { font-size: 20px; font-weight: 900; color: var(--white); letter-spacing: -1px; margin-bottom: 10px; }
.footer-logo span { color: var(--neon); }
.footer-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; max-width: 260px; }
.footer-title {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--neon);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links li a { color: var(--text-muted); font-size: 13px; transition: color .2s; }
.footer-links li a:hover { color: var(--neon); }
.footer-divider { border: none; border-top: 1px solid var(--border); margin: 32px 0 20px; }
.footer-copy { color: #2a4a2e; font-size: 12px; }
.footer select {
    background: var(--black-card);
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 7px 12px;
    font-size: 13px;
    width: 100%;
}

/* ── MOBILE STICKY ── */
.sticky-bottom-panel {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 1050;
    background: linear-gradient(180deg, transparent 0%, var(--black) 30%);
    padding: 10px 16px 14px;
    display: flex;
    gap: 8px;
}
@media (min-width: 768px) { .sticky-bottom-panel { display: none !important; } body { padding-bottom: 0; } }

/* ── SEO ONLY ── */
.seo-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }