/*
Theme Name: Today Game Prediction
Theme URI: https://todaygameprediction.com.ng
Author: Today Game Prediction
Description: A fast, responsive football-prediction theme with native WordPress blogging and prediction management.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: today-game-prediction
*/

:root {
  --tgp-bg: #07110d;
  --tgp-panel: #0d1b16;
  --tgp-panel-2: #091510;
  --tgp-primary: #b9ff48;
  --tgp-primary-soft: rgba(185,255,72,.1);
  --tgp-text: #f4f8f5;
  --tgp-muted: rgba(255,255,255,.52);
  --tgp-border: rgba(255,255,255,.1);
  --tgp-danger: #ff8b8d;
  --tgp-width: 1240px;
  --tgp-radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--tgp-bg); color: var(--tgp-text); font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.tgp-container { width: min(100% - 40px, var(--tgp-width)); margin-inline: auto; }
.tgp-narrow { width: min(100% - 40px, 900px); margin-inline: auto; }
.tgp-site { min-height: 100vh; overflow: hidden; }
.tgp-glow { position: absolute; top: 0; right: 4%; width: 46vw; height: 500px; pointer-events: none; background: radial-gradient(circle at 50% 0%, rgba(185,255,72,.12), transparent 67%); }
.tgp-eyebrow { margin: 0; color: var(--tgp-primary); font-size: .72rem; font-weight: 900; letter-spacing: .18em; line-height: 1; text-transform: uppercase; }
.tgp-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 12px; padding: 11px 22px; background: var(--tgp-primary); color: var(--tgp-bg); font-size: .92rem; font-weight: 900; cursor: pointer; }
.tgp-button:hover { background: #d0ff7c; transform: translateY(-1px); }
.tgp-button--ghost { border-color: var(--tgp-border); background: rgba(255,255,255,.04); color: var(--tgp-text); }
.tgp-button--ghost:hover { background: rgba(255,255,255,.09); }

/* Header */
.tgp-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--tgp-border); background: rgba(7,17,13,.92); backdrop-filter: blur(16px); }
.admin-bar .tgp-header { top: 32px; }
.tgp-header__inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 24px; }
.tgp-brand { display: inline-flex; align-items: center; gap: 12px; }
.tgp-brand__mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: var(--tgp-primary); color: var(--tgp-bg); box-shadow: 0 0 28px rgba(185,255,72,.14); }
.tgp-brand__copy { line-height: 1; }
.tgp-brand__copy strong { display: block; font-size: 15px; letter-spacing: -.02em; }
.tgp-brand__copy span { display: block; margin-top: 5px; color: var(--tgp-primary); font-size: 10px; font-weight: 800; letter-spacing: .24em; }
.tgp-nav { display: flex; align-items: center; gap: 28px; color: rgba(255,255,255,.67); font-size: .9rem; font-weight: 700; }
.tgp-nav a:hover, .tgp-footer a:hover { color: var(--tgp-primary); }
.tgp-nav ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.tgp-menu-toggle { display: none; border: 1px solid var(--tgp-border); border-radius: 9px; padding: 8px; background: transparent; color: #fff; cursor: pointer; }

/* Hero */
.tgp-hero { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; gap: 42px; padding-block: 64px 80px; }
.tgp-hero__copy { display: flex; flex-direction: column; justify-content: center; }
.tgp-pill { display: inline-flex; width: fit-content; align-items: center; gap: 8px; border: 1px solid rgba(185,255,72,.28); border-radius: 999px; padding: 7px 12px; background: var(--tgp-primary-soft); color: #cfff83; font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.tgp-pill::before { width: 6px; height: 6px; border-radius: 50%; background: var(--tgp-primary); content: ""; }
.tgp-hero h1 { margin: 25px 0 0; font-size: clamp(2.8rem, 7vw, 5.45rem); font-weight: 900; letter-spacing: -.065em; line-height: .94; }
.tgp-accent { color: var(--tgp-primary); }
.tgp-hero__intro { max-width: 580px; margin: 24px 0 0; color: rgba(255,255,255,.63); font-size: 1.06rem; line-height: 1.75; }
.tgp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.tgp-assurances { display: flex; flex-wrap: wrap; gap: 15px 25px; margin-top: 28px; color: rgba(255,255,255,.45); font-size: .78rem; font-weight: 700; }
.tgp-assurances span { display: inline-flex; align-items: center; gap: 8px; }
.tgp-board { position: relative; align-self: center; overflow: hidden; border: 1px solid var(--tgp-border); border-radius: 28px; background: var(--tgp-panel); box-shadow: 0 26px 60px rgba(0,0,0,.28); }
.tgp-board::before { position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, transparent, var(--tgp-primary), transparent); content: ""; }
.tgp-board__head, .tgp-board__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 24px; }
.tgp-board__head { border-bottom: 1px solid var(--tgp-border); }
.tgp-board__foot { background: rgba(255,255,255,.035); color: rgba(255,255,255,.48); font-size: .76rem; }
.tgp-board__head small { color: var(--tgp-muted); }
.tgp-board__count { text-align: right; }
.tgp-board__count strong { display: block; font-size: 1.5rem; line-height: 1; }
.tgp-board__count span { color: var(--tgp-muted); font-size: .74rem; }
.tgp-preview { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 13px; padding: 19px 24px; border-bottom: 1px solid rgba(255,255,255,.075); }
.tgp-preview:last-child { border-bottom: 0; }
.tgp-preview__time { color: rgba(255,255,255,.47); font-size: .86rem; font-weight: 800; }
.tgp-preview small { display: block; color: rgba(255,255,255,.36); font-size: .67rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tgp-preview b { display: block; margin-top: 3px; }
.tgp-preview__pick { color: var(--tgp-primary); font-size: .86rem; text-align: right; }
.tgp-preview__pick span { display: block; margin-top: 4px; color: rgba(255,255,255,.4); font-size: .73rem; font-weight: 400; }

/* Sections and cards */
.tgp-section { padding-block: 64px; }
.tgp-section--alt { border-block: 1px solid rgba(255,255,255,.075); background: var(--tgp-panel-2); }
.tgp-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.tgp-section-heading h2 { margin: 12px 0 0; font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 900; letter-spacing: -.045em; line-height: 1; }
.tgp-section-heading p:not(.tgp-eyebrow) { max-width: 640px; margin: 14px 0 0; color: rgba(255,255,255,.46); line-height: 1.7; }
.tgp-date-chip { border: 1px solid var(--tgp-border); border-radius: 12px; padding: 10px 13px; background: rgba(255,255,255,.04); font-size: .84rem; white-space: nowrap; }
.tgp-table { overflow: hidden; margin-top: 30px; border: 1px solid var(--tgp-border); border-radius: var(--tgp-radius); background: var(--tgp-panel); }
.tgp-table__head, .tgp-prediction { display: grid; grid-template-columns: 90px 1.5fr .7fr .7fr .7fr; align-items: center; gap: 16px; padding: 15px 24px; }
.tgp-table__head { border-bottom: 1px solid var(--tgp-border); background: rgba(255,255,255,.035); color: rgba(255,255,255,.36); font-size: .68rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.tgp-prediction { padding-block: 18px; border-bottom: 1px solid rgba(255,255,255,.075); }
.tgp-prediction:last-child { border-bottom: 0; }
.tgp-prediction:hover { background: rgba(255,255,255,.024); }
.tgp-prediction__time { color: rgba(255,255,255,.63); font-weight: 800; }
.tgp-prediction small { display: block; color: rgba(255,255,255,.36); font-size: .67rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.tgp-prediction h3 { margin: 3px 0 0; font-size: 1rem; }
.tgp-tag { display: inline-flex; width: fit-content; border: 1px solid var(--tgp-border); border-radius: 999px; padding: 4px 9px; background: rgba(255,255,255,.045); color: rgba(255,255,255,.66); font-size: .73rem; font-weight: 800; }
.tgp-prediction__pick { color: var(--tgp-primary); font-weight: 900; }
.tgp-prediction__pick span { margin-left: 7px; color: rgba(255,255,255,.36); font-size: .73rem; font-weight: 400; }
.tgp-confidence__label { display: flex; justify-content: flex-end; margin-bottom: 6px; font-size: .74rem; font-weight: 900; }
.tgp-confidence__track { height: 6px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.1); }
.tgp-confidence__fill { display: block; height: 100%; border-radius: inherit; background: var(--tgp-primary); }
.tgp-empty { margin-top: 28px; border: 1px dashed rgba(255,255,255,.15); border-radius: var(--tgp-radius); padding: 48px 24px; background: rgba(255,255,255,.02); color: var(--tgp-muted); text-align: center; }
.tgp-empty h3 { margin: 0 0 7px; color: #fff; }
.tgp-results-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 34px; }
.tgp-results-copy h2 { margin: 14px 0 0; font-size: clamp(2.4rem,5vw,3.2rem); font-weight: 900; letter-spacing: -.045em; line-height: 1.05; }
.tgp-results-copy > p:not(.tgp-eyebrow) { max-width: 440px; color: var(--tgp-muted); line-height: 1.75; }
.tgp-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 28px; }
.tgp-metric { border: 1px solid var(--tgp-border); border-radius: 13px; padding: 15px; background: rgba(255,255,255,.03); }
.tgp-metric strong { display: block; color: var(--tgp-primary); font-size: 1.45rem; }
.tgp-metric span { color: rgba(255,255,255,.38); font-size: .73rem; }
.tgp-result-list { overflow: hidden; border: 1px solid var(--tgp-border); border-radius: var(--tgp-radius); background: var(--tgp-panel); }
.tgp-result-list__head { padding: 17px 20px; border-bottom: 1px solid var(--tgp-border); font-weight: 900; }
.tgp-result { display: grid; grid-template-columns: 1.3fr .8fr .45fr auto; align-items: center; gap: 14px; padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,.075); font-size: .86rem; }
.tgp-result:last-child { border-bottom: 0; }
.tgp-result span { color: var(--tgp-muted); }
.tgp-result__status { border-radius: 999px; padding: 4px 9px; font-size: .72rem; font-weight: 900; }
.tgp-result__status--won { background: var(--tgp-primary-soft); color: var(--tgp-primary) !important; }
.tgp-result__status--lost { background: rgba(255,100,103,.1); color: #ff9b9d !important; }
.tgp-result__status--void, .tgp-result__status--postponed { background: rgba(255,255,255,.08); color: rgba(255,255,255,.65) !important; }
.tgp-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 34px; }
.tgp-step { border: 1px solid var(--tgp-border); border-radius: var(--tgp-radius); padding: 24px; background: var(--tgp-panel); }
.tgp-step__top { display: flex; justify-content: space-between; }
.tgp-step__icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; background: var(--tgp-primary-soft); color: var(--tgp-primary); font-size: 1.2rem; font-weight: 900; }
.tgp-step__number { color: rgba(255,255,255,.1); font-size: 1.5rem; font-weight: 900; }
.tgp-step h3 { margin: 28px 0 0; font-size: 1.22rem; }
.tgp-step p { margin: 10px 0 0; color: rgba(255,255,255,.46); font-size: .9rem; }

/* Blog and pages */
.tgp-page-hero { border-bottom: 1px solid rgba(255,255,255,.075); background: var(--tgp-panel-2); }
.tgp-page-hero__inner { padding-block: 66px 78px; }
.tgp-page-hero h1 { max-width: 980px; margin: 17px 0 0; font-size: clamp(2.7rem,7vw,5.2rem); font-weight: 900; letter-spacing: -.06em; line-height: .97; }
.tgp-page-hero__intro { max-width: 720px; margin: 22px 0 0; color: rgba(255,255,255,.56); font-size: 1.05rem; line-height: 1.8; }
.tgp-post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.tgp-post-card { display: flex; min-height: 330px; flex-direction: column; overflow: hidden; border: 1px solid var(--tgp-border); border-radius: var(--tgp-radius); background: var(--tgp-panel); }
.tgp-post-card:hover { border-color: rgba(185,255,72,.3); transform: translateY(-4px); }
.tgp-post-card__image { aspect-ratio: 16/9; overflow: hidden; background: var(--tgp-panel-2); }
.tgp-post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tgp-post-card:hover img { transform: scale(1.035); }
.tgp-post-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.tgp-post-meta { display: flex; flex-wrap: wrap; gap: 14px; color: rgba(255,255,255,.38); font-size: .75rem; font-weight: 700; }
.tgp-post-card h2 { margin: 17px 0 0; font-size: 1.45rem; letter-spacing: -.025em; line-height: 1.18; }
.tgp-post-card p { margin: 12px 0 0; color: rgba(255,255,255,.48); font-size: .9rem; line-height: 1.75; }
.tgp-read-more { margin-top: auto; padding-top: 24px; color: var(--tgp-primary); font-size: .86rem; font-weight: 900; }
.tgp-article-header { border-bottom: 1px solid rgba(255,255,255,.075); background: var(--tgp-panel-2); }
.tgp-article-header__inner { width: min(100% - 40px, 860px); margin-inline: auto; padding-block: 58px 72px; }
.tgp-back { color: var(--tgp-primary); font-size: .86rem; font-weight: 900; }
.tgp-article-header h1 { margin: 24px 0 0; font-size: clamp(2.5rem,7vw,4.7rem); font-weight: 900; letter-spacing: -.055em; line-height: 1.01; }
.tgp-article-header__excerpt { margin: 22px 0 0; color: rgba(255,255,255,.56); font-size: 1.1rem; line-height: 1.8; }
.tgp-article { width: min(100% - 40px, 780px); margin-inline: auto; padding-block: 56px 70px; color: rgba(255,255,255,.7); font-size: 1.06rem; line-height: 1.9; }
.tgp-article > p:first-of-type::first-letter { float: left; margin: .1em .14em 0 0; color: var(--tgp-primary); font-size: 4.2rem; font-weight: 900; line-height: .8; }
.tgp-article h2, .tgp-article h3, .tgp-page-content h2, .tgp-page-content h3 { color: #fff; letter-spacing: -.025em; line-height: 1.25; }
.tgp-article a, .tgp-page-content a { color: var(--tgp-primary); text-decoration: underline; }
.tgp-article blockquote { margin: 30px 0; border-left: 3px solid var(--tgp-primary); padding: 8px 0 8px 22px; color: #fff; font-size: 1.2rem; }
.tgp-notice { margin-top: 42px; border: 1px solid rgba(185,255,72,.18); border-radius: var(--tgp-radius); padding: 22px; background: rgba(185,255,72,.055); color: rgba(255,255,255,.57); font-size: .88rem; line-height: 1.75; }
.tgp-notice strong { display: block; color: #fff; }
.tgp-page-content { padding-block: 54px 68px; color: rgba(255,255,255,.64); font-size: 1rem; line-height: 1.85; }
.tgp-page-content h2 { margin-top: 34px; }
.tgp-page-content details { margin-bottom: 12px; border: 1px solid var(--tgp-border); border-radius: 14px; padding: 18px 20px; background: var(--tgp-panel); }
.tgp-page-content summary { color: #fff; font-weight: 900; cursor: pointer; }
.tgp-page-content details p { margin-bottom: 0; }
.navigation.pagination { margin-top: 36px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: grid; min-width: 40px; height: 40px; place-items: center; border: 1px solid var(--tgp-border); border-radius: 9px; }
.page-numbers.current { border-color: var(--tgp-primary); background: var(--tgp-primary); color: var(--tgp-bg); font-weight: 900; }

/* Footer */
.tgp-footer { border-top: 1px solid var(--tgp-border); background: #050c09; }
.tgp-footer__grid { display: grid; grid-template-columns: 1.35fr .7fr .7fr; gap: 40px; padding-block: 48px; }
.tgp-footer__intro { max-width: 450px; margin: 15px 0 0; color: rgba(255,255,255,.43); font-size: .87rem; }
.tgp-footer h2 { margin: 0; font-size: .73rem; letter-spacing: .16em; text-transform: uppercase; }
.tgp-footer ul { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; color: rgba(255,255,255,.5); font-size: .87rem; list-style: none; }
.tgp-footer__bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.075); padding-block: 18px; color: rgba(255,255,255,.29); font-size: .73rem; }

/* WordPress essentials */
.alignwide { width: min(1100px, calc(100vw - 40px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.wp-caption, .gallery-caption { color: var(--tgp-muted); font-size: .8rem; }
.sticky { border-color: rgba(185,255,72,.3); }
.bypostauthor { outline: 0; }

@media (max-width: 980px) {
  .tgp-header .tgp-button { display: none; }
  .tgp-hero, .tgp-results-layout { grid-template-columns: 1fr; }
  .tgp-hero { padding-top: 48px; }
  .tgp-board { width: 100%; }
  .tgp-post-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 782px) {
  .admin-bar .tgp-header { top: 46px; }
  .tgp-menu-toggle { display: inline-grid; place-items: center; }
  .tgp-nav { position: absolute; inset: 72px 0 auto; display: none; border-bottom: 1px solid var(--tgp-border); padding: 22px 20px; background: #0a1712; }
  .tgp-nav.is-open { display: block; }
  .tgp-nav ul { align-items: flex-start; flex-direction: column; gap: 16px; }
  .tgp-section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .tgp-table__head { display: none; }
  .tgp-prediction { grid-template-columns: 1fr auto; gap: 12px; padding: 18px; }
  .tgp-prediction > :nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
  .tgp-prediction > :nth-child(1) { grid-column: 1; grid-row: 2; }
  .tgp-prediction > :nth-child(3) { grid-column: 2; grid-row: 2; }
  .tgp-result { grid-template-columns: 1fr auto; }
  .tgp-result > :nth-child(2), .tgp-result > :nth-child(3) { display: none; }
  .tgp-steps, .tgp-footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .tgp-container, .tgp-narrow, .tgp-article, .tgp-article-header__inner { width: min(100% - 30px, var(--tgp-width)); }
  .tgp-hero { padding-block: 38px 56px; }
  .tgp-hero h1 { font-size: clamp(2.7rem, 15vw, 4rem); }
  .tgp-preview { grid-template-columns: 46px 1fr; padding-inline: 17px; }
  .tgp-preview__pick { grid-column: 2; text-align: left; }
  .tgp-board__head, .tgp-board__foot { padding-inline: 17px; }
  .tgp-metrics { grid-template-columns: 1fr; }
  .tgp-post-grid { grid-template-columns: 1fr; }
  .tgp-footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}
