/*
Theme Name: Prima Fixed Matches
Theme URI: https://example.com/prima-fixed-matches
Author: Codex
Author URI: https://example.com
Description: A professional WordPress theme for football predictions, premium tips, and sports-focused landing pages.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: prima-fixed-matches
*/

:root {
  --bg: #08111b;
  --bg-soft: #0f1b2b;
  --panel: rgba(13, 23, 37, 0.84);
  --panel-strong: #111f30;
  --surface: #15253a;
  --surface-alt: #1a2f48;
  --text: #edf3f8;
  --muted: #96a8bb;
  --line: rgba(255, 255, 255, 0.08);
  --gold: #f5b942;
  --gold-soft: #ffd77b;
  --green: #37d996;
  --green-soft: #8dffd0;
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(55, 217, 150, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(245, 185, 66, 0.14), transparent 24%),
    linear-gradient(180deg, #07111c 0%, #09131e 55%, #07111a 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 80%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.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;
}
.site-shell {
  width: calc(100% - 32px);
  max-width: 100%;
  margin: 24px auto 48px;
}
.topbar,
.hero,
.strip,
.content-grid,
.pricing-section,
.faq-section,
.content-card,
.archive-card { backdrop-filter: blur(16px); }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(8, 16, 28, 0.86);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 5;
}
.brand-lockup { display: flex; flex-direction: column; gap: 4px; }
.brand-kicker,
.section-kicker,
.eyebrow,
.plan-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}
.brand-kicker,
.section-kicker,
.plan-label { color: var(--gold-soft); }
.brand-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  max-width: 920px;
}
.brand-keywords a {
  color: var(--gold-soft);
  transition: color 0.2s ease, opacity 0.2s ease;
}
.brand-keywords a:hover,
.brand-keywords a:focus-visible {
  color: #ffe5a6;
  opacity: 1;
}
.brand {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 700;
}
.brand .custom-logo {
  max-height: 56px;
  width: auto;
}
.brand .custom-logo-link,
.brand img {
  display: block;
}
.nav,
.nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav { color: var(--muted); }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { transition: color 0.2s ease, transform 0.2s ease; }
.nav a:hover,
.nav a:focus-visible { color: var(--text); transform: translateY(-1px); }
.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 28px;
  margin-top: 26px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(55, 217, 150, 0.14), transparent 42%),
    linear-gradient(145deg, rgba(245, 185, 66, 0.12), transparent 50%),
    rgba(9, 18, 30, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -60px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 185, 66, 0.32), transparent 64%);
  filter: blur(8px);
}
.hero-copy,
.hero-card { position: relative; z-index: 1; }
.hero-copy {
  max-width: 760px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-soft);
  font-weight: 700;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(55, 217, 150, 0.18);
}
body.home .site-shell .hero .hero-copy .hero-title,
.hero .hero-title,
.hero h1,
.section-heading h2,
.entry-title {
  margin: 14px 0 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.02;
}
body.home .site-shell .hero .hero-copy .hero-title,
.hero .hero-title {
  max-width: 11ch;
  font-size: 40px !important;
  line-height: 1.1 !important;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--text);
}
.hero h1 {
  max-width: 11ch;
  font-size: 42px !important;
  line-height: 1.1 !important;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.hero p,
.plan-copy,
.faq-item p,
.benefit-card p,
.sidebar-card p,
.entry-content,
.entry-summary {
  color: var(--muted);
  line-height: 1.75;
}
.hero p {
  max-width: 52ch;
  margin: 16px 0 0;
  font-size: 0.98rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.button,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.button:hover,
.button:focus-visible,
button:hover,
button:focus-visible { transform: translateY(-2px); }
.button-primary,
input[type="submit"] {
  background: linear-gradient(135deg, var(--gold) 0%, #f39b27 100%);
  color: #09121d;
  box-shadow: 0 12px 30px rgba(245, 185, 66, 0.28);
}
.button-secondary {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.button.full { width: 100%; }
.hero-metrics,
.link-list { list-style: none; padding: 0; margin: 0; }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.hero-metrics li,
.ticket-stat,
.mini-stats div,
.benefit-card,
.fixture-card,
.price-card,
.faq-item,
.sidebar-card,
.content-card,
.archive-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.hero-metrics li { padding: 18px; border-radius: var(--radius-md); }
.hero-metrics strong,
.price { display: block; font-size: 1.5rem; font-weight: 800; }
.hero-metrics span,
.ticket-stat span,
.fixture-meta,
.mini-stats span,
.post-meta { color: var(--muted); }
.hero-card,
.sidebar-card,
.price-card,
.faq-item,
.feature-panel,
.content-card,
.archive-card { border-radius: var(--radius-lg); }
.hero-card {
  align-self: end;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 100%),
    rgba(8, 16, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-card-header,
.fixture-meta,
.mini-stats,
.strip,
.content-grid,
.cards-grid,
.benefits-grid,
.pricing-grid,
.faq-list,
.archive-grid { display: grid; }
.hero-card-header {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--muted);
}
.badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(55, 217, 150, 0.12);
  color: var(--green-soft);
  font-size: 0.85rem;
  font-weight: 700;
}
.fixture-card,
.content-card,
.archive-card { padding: 22px; border-radius: var(--radius-md); }
.fixture-card-highlight {
  background:
    linear-gradient(135deg, rgba(55, 217, 150, 0.14), transparent 40%),
    linear-gradient(135deg, rgba(245, 185, 66, 0.08), transparent 70%),
    rgba(255, 255, 255, 0.04);
}
.fixture-league {
  margin: 0;
  color: var(--green-soft);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.fixture-card h2,
.fixture-card h3,
.price-card h3,
.faq-item h3,
.benefit-card h3,
.sidebar-card h2 {
  margin: 10px 0 0;
  font-family: "Space Grotesk", sans-serif;
}
.fixture-card h2,
.fixture-card h3 { font-size: 1.35rem; }
.fixture-odds {
  margin-top: 18px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-soft);
}
.ticket-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.ticket-stat,
.mini-stats div { padding: 16px; border-radius: 14px; }
.ticket-stat strong,
.mini-stats strong { display: block; margin-top: 8px; }
.strip,
.pricing-section,
.faq-section { margin-top: 24px; }
.strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(11, 20, 32, 0.88);
}
.strip-item {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}
.strip-item span { display: block; color: var(--muted); margin-bottom: 6px; }
.content-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.7fr);
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}
.content-grid-single {
  grid-template-columns: 1fr;
  width: 100%;
}
.predictions-full {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 24px;
}
.predictions-full .main-content {
  display: block;
  width: 100% !important;
  max-width: none !important;
}
.predictions-full .section-heading,
.predictions-full .post-stream,
.predictions-full .post-stream-card {
  width: 100% !important;
  max-width: none !important;
}
.reviews-section {
  margin-bottom: 28px;
}
.reviews-heading h2 {
  max-width: none;
  font-size: 2.15rem;
  margin-bottom: 24px;
}
.reviews-slider {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  gap: 18px;
  align-items: center;
}
.reviews-track-wrap {
  overflow: hidden;
}
.reviews-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding: 2px 0 8px;
}
.reviews-track::-webkit-scrollbar {
  display: none;
}
.reviews-nav {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(81, 116, 151, 0.32);
  background: #1a2736;
  color: #eef5fb;
  cursor: pointer;
  font-size: 1.15rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.reviews-nav:hover,
.reviews-nav:focus-visible {
  border-color: rgba(245, 185, 66, 0.45);
}
.review-card {
  flex: 0 0 calc(50% - 9px);
  min-width: calc(50% - 9px);
  padding: 28px 26px 24px;
  border-radius: 24px;
  border: 1px solid rgba(81, 116, 151, 0.32);
  background: #1a2736;
  min-height: 222px;
  scroll-snap-align: start;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.review-person {
  display: flex;
  align-items: center;
  gap: 16px;
}
.review-person strong,
.review-person div span,
.review-stars {
  display: block;
}
.review-person strong {
  font-size: 1.15rem;
  color: #f2f7fc;
}
.review-person div span {
  margin-top: 8px;
  color: #dbe9f7;
  font-size: 0.95rem;
}
.review-avatar {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  font-weight: 800;
  color: #f6fbff;
  font-size: 1.4rem;
  text-align: center;
  line-height: 1;
  margin: 0;
  padding: 0;
  flex: 0 0 58px;
  font-family: "Space Grotesk", sans-serif;
}
.review-avatar.green {
  background: rgba(19, 102, 77, 0.34);
  border: 1px solid rgba(31, 201, 138, 0.5);
}
.review-avatar.gold {
  background: rgba(114, 92, 14, 0.24);
  border: 1px solid rgba(212, 164, 18, 0.58);
}
.review-avatar.blue {
  background: rgba(34, 86, 149, 0.24);
  border: 1px solid rgba(109, 170, 255, 0.42);
}
.review-stars {
  color: #ffbf1f;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  line-height: 1;
}
.review-card p {
  margin: 26px 0 0;
  color: #f0f6fc;
  line-height: 1.7;
  font-size: 1rem;
}
.main-content,
.sidebar,
.pricing-grid,
.faq-list,
.cards-grid,
.benefits-grid,
.archive-grid { gap: 20px; }
.main-content {
  display: grid;
  align-content: start;
  width: 100%;
}
.section-heading h2,
.entry-title {
  font-size: clamp(2rem, 3vw, 3rem);
  max-width: 14ch;
}
.section-heading-stream h2 {
  max-width: 9ch;
  margin-bottom: 6px;
}
.section-heading-stream {
  margin-bottom: 4px;
}
.section-heading.compact h2 { font-size: 1.4rem; max-width: none; }
.cards-grid,
.benefits-grid,
.pricing-grid,
.faq-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.archive-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}
.fixture-tip {
  color: var(--text);
  margin-top: 14px;
  font-size: 1.05rem;
  line-height: 1.6;
}
.fixture-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  font-size: 0.95rem;
}
.post-stream {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  width: 100%;
}
.post-stream-card {
  padding: 28px;
  width: 100%;
  max-width: 100%;
}
.post-stream-card:first-child {
  margin-top: 0;
}
.post-stream-card h3 {
  font-size: clamp(1.7rem, 2.2vw, 2.2rem);
  line-height: 1.15;
  margin-top: 0;
}
.post-stream-content {
  margin-top: 18px;
  color: var(--text);
  line-height: 1.8;
}
.post-stream-content p:first-child {
  margin-top: 0;
}
.post-stream-content p:last-child {
  margin-bottom: 0;
}
.post-stream-content .more-link,
.post-stream-content a.more-link {
  display: none;
}
.feature-panel,
.pricing-section,
.faq-section,
.content-card {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(11, 20, 32, 0.85);
}
.sidebar { display: grid; align-content: start; }
.sidebar-card { padding: 24px; }
.content-grid > .main-content:only-child {
  max-width: 100%;
  width: 100%;
}
.mini-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.link-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.link-list a {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.link-list a:hover,
.link-list a:focus-visible {
  color: var(--text);
  transform: translateX(3px);
  border-color: rgba(245, 185, 66, 0.4);
}
.accent-card {
  background:
    linear-gradient(135deg, rgba(245, 185, 66, 0.16), transparent 45%),
    rgba(255, 255, 255, 0.04);
}
.price-card { padding: 24px; }
.price-card.featured {
  position: relative;
  background:
    linear-gradient(180deg, rgba(245, 185, 66, 0.2), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  transform: translateY(-6px);
}
.price {
  margin: 18px 0 10px;
  font-size: 2.6rem;
  color: var(--gold-soft);
}
.faq-list { margin-top: 20px; }
.faq-item { padding: 24px; }
.entry-content a,
.entry-summary a,
.archive-card a.more-link { color: var(--gold-soft); }
.site-footer {
  margin-top: 28px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(8, 16, 28, 0.86);
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}
.footer-note { margin: 10px 0 0; }
.footer-widget,
.site-footer .widget {
  color: var(--muted);
}
.site-footer .widget-title {
  margin: 0 0 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  color: var(--gold-soft);
}
.site-footer .widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer .widget li + li {
  margin-top: 8px;
}
.site-footer .widget a {
  color: var(--text);
}
@media (max-width: 1080px) {
  .hero,
  .content-grid,
  .cards-grid,
  .benefits-grid,
  .pricing-grid,
  .faq-list,
  .archive-grid,
  .footer-grid { grid-template-columns: 1fr; }
  body.home .site-shell .hero .hero-copy .hero-title,
  .hero .hero-title,
  body.home .site-shell .hero .hero-copy h1,
  .hero h1,
  .section-heading h2,
  .entry-title { max-width: none; }
  body.home .site-shell .hero .hero-copy .hero-title,
  .hero .hero-title { font-size: 34px !important; }
  body.home .site-shell .hero .hero-copy h1,
  .hero h1 { font-size: 34px !important; }
  .review-card {
    flex-basis: 100%;
    min-width: 100%;
  }
}
@media (max-width: 820px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
    margin-top: 10px;
  }
  .topbar {
    padding: 12px 14px;
    flex-wrap: wrap;
    border-radius: 18px;
    gap: 12px;
  }
  .brand-keywords {
    display: none;
  }
  .menu-toggle { display: inline-block; }
  .nav {
    display: none;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
  .nav ul {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .nav.is-open { display: block; }
  .hero,
  .feature-panel,
  .pricing-section,
  .faq-section,
  .sidebar-card,
  .content-card { padding: 22px; }
  .hero {
    gap: 18px;
    padding: 22px 18px;
    border-radius: 24px;
  }
  .hero-copy {
    max-width: none;
  }
  .eyebrow {
    font-size: 0.68rem;
    gap: 8px;
  }
  .hero p {
    max-width: none;
    font-size: 0.94rem;
    line-height: 1.65;
    margin-top: 12px;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
  }
  .hero-actions .button,
  .hero-actions .button.full {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    font-size: 0.95rem;
  }
  .hero-card {
    padding: 18px;
    border-radius: 20px;
  }
  .hero-card-header {
    margin-bottom: 14px;
  }
  .fixture-card-highlight {
    padding: 18px;
  }
  .ticket-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ticket-stat {
    padding: 14px;
  }
  .hero-metrics,
  .strip,
  .ticket-grid,
  .mini-stats { grid-template-columns: 1fr; }
  .hero-metrics {
    display: none;
  }
  .review-card {
    padding: 24px 20px;
  }
  .reviews-slider {
    grid-template-columns: 1fr;
  }
  .reviews-nav {
    display: none;
  }
}
@media (max-width: 560px) {
  body.home .site-shell .hero .hero-copy .hero-title,
  .hero .hero-title { font-size: 28px !important; }
  body.home .site-shell .hero .hero-copy h1,
  .hero h1 { font-size: 26px !important; }
  .hero-actions {
    grid-template-columns: 1fr 1fr;
  }
  .hero-actions .button,
  .hero-actions .button.full,
  button,
  input[type="submit"] { width: 100%; }
  .brand {
    font-size: 1.15rem;
  }
  .menu-toggle {
    width: 46px;
    height: 46px;
  }
  .hero {
    padding: 20px 16px;
  }
  .hero-card {
    padding: 16px;
  }
  .review-card {
    min-height: auto;
  }
}
