/*
Theme Name: Bolakita WC 2026
Theme URI: https://bolakita.com
Author: Bolakita Media
Author URI: https://bolakita.com
Description: Theme WordPress khusus untuk portal berita Piala Dunia FIFA 2026. Dilengkapi dengan Custom Post Types untuk Berita, Jadwal, Video, dan Prediksi. Design modern dengan warna cerah hijau, biru, dan emas yang mencerminkan euforia Piala Dunia di Amerika Serikat, Kanada, dan Meksiko.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bolakita-wc2026
Domain Path: /languages
Tags: sports, football, world-cup, news, responsive, rtl-language-support
*/

/* ========================================
   GOOGLE FONTS
======================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ========================================
   CSS VARIABLES
======================================== */
:root {
  --wc-primary: #0B8A3C;
  --wc-primary-dark: #076B2F;
  --wc-secondary: #0A2463;
  --wc-gold: #D4A017;
  --wc-red: #C8102E;
  --wc-bg: #F0F9F4;
  --wc-surface: #FFFFFF;
  --wc-surface-alt: #E8F5EE;
  --wc-text: #0F172A;
  --wc-text-secondary: #475569;
  --wc-muted: #94A3B8;
  --wc-border: #E2E8F0;
  --wc-usa: #1E40AF;
  --wc-canada: #DC2626;
  --wc-mexico: #16A34A;
  --max-width: 1280px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-card-hover: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-button: 0 4px 16px rgba(11,138,60,0.3);
  --shadow-nav: 0 2px 16px rgba(0,0,0,0.06);
}

/* ========================================
   RESET & BASE
======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--wc-bg);
  color: var(--wc-text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

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

/* ========================================
   LAYOUT UTILITIES
======================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 640px) {
  .container { padding: 0 24px; }
}

@media (min-width: 1024px) {
  .container { padding: 0 40px; }
}

/* ========================================
   SCROLLBAR
======================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--wc-bg); }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--wc-muted); }

/* ========================================
   WORDPRESS DEFAULT ALIGNMENTS
======================================== */
.alignleft { float: left; margin-right: 20px; }
.alignright { float: right; margin-left: 20px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 14px; color: var(--wc-muted); }

/* ========================================
   SECTION STYLES
======================================== */
.section-padding {
  padding: 60px 0;
}

@media (min-width: 768px) {
  .section-padding { padding: 80px 0; }
}

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

.section-header--center {
  text-align: center;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.section-header--center .section-eyebrow {
  justify-content: center;
}

.section-eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wc-primary);
  flex-shrink: 0;
}

.section-eyebrow__text {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--wc-primary);
}

.section-heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--wc-text);
  letter-spacing: -0.84px;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .section-heading { font-size: 40px; }
}

@media (min-width: 1024px) {
  .section-heading { font-size: 48px; letter-spacing: -1.44px; }
}

.section-subtitle {
  font-size: 16px;
  color: var(--wc-text-secondary);
  margin-top: 12px;
  line-height: 1.75;
}

@media (min-width: 640px) {
  .section-subtitle { font-size: 18px; }
}

/* ========================================
   CARD STYLES
======================================== */
.card {
  background: #fff;
  border: 1px solid var(--wc-border);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

/* ========================================
   NAVIGATION
======================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wc-border);
  transition: box-shadow 0.3s ease;
}

.site-nav--scrolled {
  box-shadow: var(--shadow-nav);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-nav__logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* Desktop Menu */
.site-nav__menu {
  display: none;
  align-items: center;
  gap: 4px;
  list-style: none;
}

@media (min-width: 1024px) {
  .site-nav__menu { display: flex; }
}

.site-nav__menu a {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--wc-text-secondary);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.site-nav__menu a:hover,
.site-nav__menu a.active {
  color: var(--wc-primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: block;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  color: var(--wc-text);
}

/* Mobile Menu */
.site-nav__mobile {
  display: none;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wc-border);
  padding: 16px 20px;
}

.site-nav__mobile--open {
  display: block;
}

.site-nav__mobile a {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--wc-text-secondary);
  border-radius: 8px;
  transition: all 0.2s;
}

.site-nav__mobile a:hover {
  color: var(--wc-primary);
  background: var(--wc-bg);
}

/* CTA Button */
.nav-cta {
  display: none;
  padding: 8px 20px;
  background: var(--wc-red);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  animation: pulse 2s ease infinite;
}

@media (min-width: 640px) {
  .nav-cta { display: inline-flex; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,36,99,0.9) 0%,
    rgba(10,36,99,0.7) 40%,
    rgba(11,138,60,0.7) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 20px 60px;
  max-width: 900px;
  margin: 0 auto;
}

/* Countdown */
.countdown__label {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

@media (min-width: 640px) {
  .countdown__label { font-size: 28px; margin-bottom: 24px; }
}

.countdown__boxes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@media (min-width: 640px) {
  .countdown__boxes { gap: 16px; }
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
}

@media (min-width: 640px) {
  .countdown__item { width: 100px; height: 100px; }
}

.countdown__number {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

@media (min-width: 640px) {
  .countdown__number { font-size: 56px; }
}

@media (min-width: 1024px) {
  .countdown__number { font-size: 64px; }
}

.countdown__unit {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

@media (min-width: 640px) {
  .countdown__unit { font-size: 14px; }
}

.countdown__separator {
  color: rgba(255,255,255,0.5);
  font-size: 24px;
  display: none;
}

@media (min-width: 640px) {
  .countdown__separator { display: block; }
}

/* Hero Title */
.hero__title {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  letter-spacing: -1.2px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .hero__title { font-size: 56px; }
}

@media (min-width: 1024px) {
  .hero__title { font-size: 72px; letter-spacing: -2.16px; }
}

.hero__subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin-top: 12px;
}

@media (min-width: 640px) {
  .hero__subtitle { font-size: 18px; }
}

/* Trophy */
.hero__trophy {
  margin: 24px auto;
  animation: float 3s ease-in-out infinite;
}

.hero__trophy img {
  height: 128px;
  width: auto;
}

@media (min-width: 640px) {
  .hero__trophy img { height: 192px; }
}

@media (min-width: 1024px) {
  .hero__trophy img { height: 224px; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Hero Stats */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 16px 20px;
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .hero__stats { gap: 0; padding: 20px 0; }
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .hero__stat { padding: 0 32px; }
}

.hero__stat:not(:last-child) {
  border-right: none;
}

@media (min-width: 640px) {
  .hero__stat:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.2); }
}

.hero__stat-value {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

@media (min-width: 640px) {
  .hero__stat-value { font-size: 24px; }
}

.hero__stat-value svg {
  width: 16px;
  height: 16px;
  color: var(--wc-gold);
}

.hero__stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

@media (min-width: 640px) {
  .hero__stat-label { font-size: 14px; }
}

/* Hero CTA */
.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 640px) {
  .hero__cta { flex-direction: row; justify-content: center; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  gap: 8px;
}

.btn--primary {
  background: var(--wc-primary);
  color: #fff;
  box-shadow: var(--shadow-button);
}

.btn--primary:hover {
  background: var(--wc-primary-dark);
}

.btn--secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

.btn--secondary:hover {
  background: rgba(255,255,255,0.25);
}

/* ========================================
   LIVE TICKER
======================================== */
.ticker {
  width: 100%;
  height: 48px;
  background: var(--wc-secondary);
  overflow: hidden;
  position: relative;
}

.ticker__track {
  display: flex;
  animation: ticker 40s linear infinite;
  white-space: nowrap;
  align-items: center;
  height: 100%;
}

.ticker__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  flex-shrink: 0;
  height: 100%;
}

.ticker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ticker__dot--live {
  background: var(--wc-red);
  animation: live-pulse 1s infinite;
}

.ticker__dot--upcoming {
  background: var(--wc-gold);
}

.ticker__text {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.ticker__text--upcoming {
  color: rgba(255,255,255,0.8);
}

.ticker__sep {
  color: rgba(255,255,255,0.3);
  margin-left: 12px;
}

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

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ========================================
   BERITA SECTION
======================================== */
.berita-section {
  background: var(--wc-bg);
}

.berita-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .berita-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .berita-grid { grid-template-columns: repeat(3, 1fr); }
}

.berita-card--featured {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .berita-card--featured { grid-column: span 2; }
}

@media (min-width: 1024px) {
  .berita-card--featured { grid-column: span 2; }
}

.berita-card__image {
  position: relative;
  overflow: hidden;
}

.berita-card__image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.berita-card:hover .berita-card__image img {
  transform: scale(1.05);
}

.berita-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
}

.berita-card__badge--populer { background: var(--wc-gold); }
.berita-card__badge--bintang { background: var(--wc-primary); }
.berita-card__badge--stadium { background: var(--wc-secondary); }
.berita-card__badge--terbaru { background: var(--wc-red); }

.berita-card__content {
  padding: 20px;
}

@media (min-width: 640px) {
  .berita-card__content { padding: 24px; }
}

.berita-card__title {
  font-weight: 700;
  color: var(--wc-text);
  transition: color 0.2s;
  line-height: 1.3;
}

.berita-card:hover .berita-card__title {
  color: var(--wc-primary);
}

.berita-card__title--large {
  font-size: 20px;
}

@media (min-width: 640px) {
  .berita-card__title--large { font-size: 24px; }
}

.berita-card__title--normal {
  font-size: 16px;
}

@media (min-width: 640px) {
  .berita-card__title--normal { font-size: 18px; }
}

.berita-card__excerpt {
  font-size: 14px;
  color: var(--wc-text-secondary);
  margin-top: 10px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .berita-card__excerpt { font-size: 16px; }
}

.berita-card__meta {
  font-size: 12px;
  color: var(--wc-muted);
  margin-top: 14px;
}

/* ========================================
   JADWAL SECTION
======================================== */
.jadwal-section {
  background: #fff;
}

.jadwal-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-top: 32px;
  scrollbar-width: none;
}

.jadwal-tabs::-webkit-scrollbar { display: none; }

.jadwal-tab {
  flex-shrink: 0;
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  background: #F1F5F9;
  color: var(--wc-text-secondary);
}

.jadwal-tab:hover {
  background: #E2E8F0;
}

.jadwal-tab--active {
  background: var(--wc-primary);
  color: #fff;
}

.jadwal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

@media (min-width: 1024px) {
  .jadwal-grid { grid-template-columns: repeat(2, 1fr); }
}

.match-card {
  background: #fff;
  border: 1px solid var(--wc-border);
  border-radius: 8px;
  padding: 20px;
  transition: box-shadow 0.3s ease;
}

.match-card:hover {
  box-shadow: var(--shadow-card-hover);
}

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

.match-card__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

.match-card__status--live {
  background: var(--wc-red);
  color: #fff;
}

.match-card__status--live-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: live-blink 1.5s infinite;
}

.match-card__status--upcoming {
  background: #F1F5F9;
  color: var(--wc-text-secondary);
}

@keyframes live-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.match-card__date {
  font-size: 12px;
  color: var(--wc-muted);
}

.match-card__teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.match-card__team {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.match-card__team--right {
  justify-content: flex-end;
}

.match-card__team-flag {
  font-size: 28px;
  line-height: 1;
}

.match-card__team-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--wc-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 640px) {
  .match-card__team-name { font-size: 16px; }
}

.match-card__score {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}

.match-card__score-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--wc-text);
}

@media (min-width: 640px) {
  .match-card__score-value { font-size: 28px; }
}

.match-card__score-sep {
  font-size: 16px;
  color: var(--wc-muted);
}

.match-card__score-vs {
  font-size: 18px;
  color: var(--wc-muted);
  font-weight: 300;
}

.match-card__venue {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--wc-muted);
}

.match-card__venue svg {
  width: 14px;
  height: 14px;
}

.jadwal-cta {
  text-align: center;
  margin-top: 32px;
}

.jadwal-cta a {
  color: var(--wc-primary);
  font-weight: 600;
  transition: all 0.2s;
}

.jadwal-cta a:hover {
  color: var(--wc-primary-dark);
  text-decoration: underline;
}

/* ========================================
   VIDEO HIGHLIGHT SECTION
======================================== */
.video-section {
  background: linear-gradient(135deg, var(--wc-secondary) 0%, var(--wc-primary) 100%);
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

@media (min-width: 640px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}

.video-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.video-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover .video-card__thumb img {
  transform: scale(1.05);
}

.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card__play-btn {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

@media (min-width: 640px) {
  .video-card__play-btn { width: 64px; height: 64px; }
}

.video-card:hover .video-card__play-btn {
  transform: scale(1.1);
}

.video-card__play-btn svg {
  width: 20px;
  height: 20px;
  color: var(--wc-primary);
  margin-left: 4px;
}

.video-card__duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
}

.video-card__content {
  padding: 16px;
}

.video-card__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--wc-text);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

@media (min-width: 640px) {
  .video-card__title { font-size: 16px; }
}

.video-card:hover .video-card__title {
  color: var(--wc-primary);
}

.video-card__meta {
  font-size: 12px;
  color: var(--wc-muted);
  margin-top: 8px;
}

/* ========================================
   PREDIKSI & KLASEMEN SECTION
======================================== */
.prediksi-section {
  background: var(--wc-bg);
}

.prediksi-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
}

@media (min-width: 1024px) {
  .prediksi-layout { grid-template-columns: 3fr 2fr; }
}

/* Standings Table */
.standings__label {
  font-size: 20px;
  font-weight: 700;
  color: var(--wc-text);
  margin-bottom: 20px;
}

.standings-table-wrap {
  background: #fff;
  border: 1px solid var(--wc-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

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

@media (min-width: 640px) {
  .standings-table { font-size: 14px; }
}

.standings-table th {
  background: var(--wc-secondary);
  color: #fff;
  font-weight: 600;
  padding: 10px 6px;
  text-align: center;
  font-size: 11px;
}

@media (min-width: 640px) {
  .standings-table th { padding: 12px 8px; font-size: 12px; }
}

.standings-table th:first-child {
  padding-left: 12px;
  text-align: left;
}

.standings-table th:nth-child(2) {
  text-align: left;
}

.standings-table td {
  padding: 10px 6px;
  text-align: center;
  color: var(--wc-text);
  border-bottom: 1px solid #F1F5F9;
}

@media (min-width: 640px) {
  .standings-table td { padding: 14px 8px; }
}

.standings-table td:first-child {
  padding-left: 12px;
  font-weight: 500;
}

.standings-table td:nth-child(2) {
  text-align: left;
}

.standings-table tbody tr:nth-child(even) {
  background: #F8FAFC;
}

.standings-table tbody tr:hover {
  background: var(--wc-bg);
}

.standings-team {
  display: flex;
  align-items: center;
  gap: 8px;
}

.standings-team__flag {
  font-size: 20px;
  line-height: 1;
}

.standings-team__name {
  font-weight: 600;
}

.standings-points {
  font-weight: 700;
  color: var(--wc-primary);
}

/* Prediction Cards */
.predictions__label {
  font-size: 20px;
  font-weight: 700;
  color: var(--wc-text);
  margin-bottom: 20px;
}

.prediction-card {
  background: #fff;
  border: 1px solid var(--wc-border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}

.prediction-card__match {
  font-size: 14px;
  font-weight: 600;
  color: var(--wc-text);
}

.prediction-card__date {
  font-size: 12px;
  color: var(--wc-muted);
  margin-bottom: 16px;
}

.prediction-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.prediction-bar__label {
  font-size: 12px;
  color: var(--wc-text-secondary);
  width: 100px;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prediction-bar__track {
  flex-grow: 1;
  height: 8px;
  background: #F1F5F9;
  border-radius: 4px;
  overflow: hidden;
}

.prediction-bar__fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease-out;
  width: 0;
}

.prediction-bar__fill--primary { background: var(--wc-primary); }
.prediction-bar__fill--muted { background: var(--wc-muted); }
.prediction-bar__fill--red { background: var(--wc-red); }

.prediction-bar__pct {
  font-size: 12px;
  font-weight: 600;
  color: var(--wc-text);
  width: 36px;
  text-align: right;
  flex-shrink: 0;
}

/* ========================================
   NEWSLETTER SECTION
======================================== */
.newsletter-section {
  background: #fff;
  padding: 48px 0;
}

.newsletter-box {
  background: linear-gradient(135deg, var(--wc-primary) 0%, var(--wc-secondary) 100%);
  border-radius: 24px;
  padding: 40px 24px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 640px) {
  .newsletter-box { padding: 48px; }
}

.newsletter-box__title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

@media (min-width: 640px) {
  .newsletter-box__title { font-size: 28px; }
}

@media (min-width: 1024px) {
  .newsletter-box__title { font-size: 32px; }
}

.newsletter-box__subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin-top: 12px;
}

@media (min-width: 640px) {
  .newsletter-box__subtitle { font-size: 16px; }
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
  margin: 24px auto 0;
}

@media (min-width: 640px) {
  .newsletter-form { flex-direction: row; }
}

.newsletter-form__input {
  flex-grow: 1;
  padding: 14px 20px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.newsletter-form__input::placeholder {
  color: rgba(255,255,255,0.5);
}

.newsletter-form__input:focus {
  border-color: rgba(255,255,255,0.6);
}

.newsletter-form__btn {
  padding: 14px 28px;
  background: var(--wc-gold);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
  width: 100%;
}

@media (min-width: 640px) {
  .newsletter-form__btn { width: auto; }
}

.newsletter-form__btn:hover {
  background: #B88A14;
}

/* ========================================
   SOCIAL LINKS
======================================== */
.social-section {
  text-align: center;
  margin-top: 40px;
}

.social-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--wc-text);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wc-text-secondary);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--wc-primary);
  color: #fff;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
  background: linear-gradient(135deg, var(--wc-secondary) 0%, var(--wc-primary) 100%);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 48px 0;
}

@media (min-width: 640px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: repeat(4, 1fr); gap: 48px; }
}

.footer__logo img {
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__tagline {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.7;
}

.footer__title {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: #fff;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  transition: all 0.3s ease;
}

.footer__social a:hover {
  background: #fff;
  color: var(--wc-primary);
}

.footer__bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
}

.footer__copyright {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
======================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   SINGLE POST PAGE
======================================== */
.single-post {
  background: #fff;
  padding: 40px 0;
}

@media (min-width: 768px) {
  .single-post { padding: 60px 0; }
}

.single-post__header {
  margin-bottom: 32px;
}

.single-post__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.single-post__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--wc-text);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

@media (min-width: 640px) {
  .single-post__title { font-size: 36px; }
}

@media (min-width: 1024px) {
  .single-post__title { font-size: 42px; }
}

.single-post__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.single-post__author,
.single-post__date,
.single-post__readtime {
  font-size: 13px;
  color: var(--wc-muted);
}

.single-post__featured-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 32px;
}

.single-post__content {
  max-width: 800px;
}

.single-post__content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--wc-text-secondary);
  margin-bottom: 20px;
}

.single-post__content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--wc-text);
  margin: 32px 0 16px;
}

.single-post__content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--wc-text);
  margin: 24px 0 12px;
}

.single-post__content img {
  border-radius: 8px;
  margin: 24px 0;
}

/* ========================================
   ARCHIVE PAGE
======================================== */
.archive-header {
  background: linear-gradient(135deg, var(--wc-secondary) 0%, var(--wc-primary) 100%);
  padding: 80px 0 48px;
  text-align: center;
}

.archive-header__title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}

.archive-header__desc {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-top: 8px;
}

.archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .archive-grid { grid-template-columns: repeat(3, 1fr); }
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--wc-border);
  transition: all 0.2s;
}

.pagination a {
  color: var(--wc-text-secondary);
  background: #fff;
}

.pagination a:hover {
  background: var(--wc-bg);
  color: var(--wc-primary);
  border-color: var(--wc-primary);
}

.pagination .current {
  background: var(--wc-primary);
  color: #fff;
  border-color: var(--wc-primary);
}

/* ========================================
   ADMIN BAR FIX
======================================== */
body.admin-bar .site-nav {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-nav { top: 46px; }
}

/* ========================================
   RESPONSIVE FIXES
======================================== */
@media (max-width: 639px) {
  .hide-mobile { display: none !important; }
}

@media (min-width: 640px) {
  .show-mobile { display: none !important; }
}
