/*
Theme Name: 8868体育 - SportsMaster Pro
Theme URI: https://8868sports.com
Author: 8868Sports Team
Author URI: https://8868sports.com
Description: 8868体育官方网站专用WordPress主题 - 专业体育赛事直播、比分、新闻资讯平台。高端深色设计，完整SEO优化，支持体育直播、比分、新闻、APP下载等功能模块。
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: Commercial
Text Domain: 8868sports
Tags: sports, dark, seo-optimized, live-scores, betting, responsive
*/

/* ================================================================
   CSS DESIGN SYSTEM - 8868体育
   Color Philosophy: Deep Black + Electric Gold
   ================================================================ */

:root {
  /* Primary Palette */
  --color-bg-primary:    #0a0c10;
  --color-bg-secondary:  #0f1117;
  --color-bg-card:       #151821;
  --color-bg-elevated:   #1c2030;
  --color-border:        #252a38;
  --color-border-bright: #2e3548;

  /* Brand Colors */
  --color-gold:          #f5a623;
  --color-gold-bright:   #ffbf47;
  --color-gold-dark:     #c4841c;
  --color-gold-glow:     rgba(245,166,35,0.15);
  --color-red-live:      #e63946;
  --color-green-win:     #2ec27e;
  --color-blue-accent:   #3b82f6;

  /* Typography */
  --color-text-primary:  #f0f2f7;
  --color-text-secondary:#a0a8bc;
  --color-text-muted:    #636a7f;

  /* Fonts */
  --font-display:  'Rajdhani', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body:     'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-gold:  0 0 20px rgba(245,166,35,0.25);
  --shadow-glow:  0 0 40px rgba(245,166,35,0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-med:  300ms cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 500ms cubic-bezier(0.4,0,0.2,1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

a { color: var(--color-gold); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--color-gold-bright); }
img { max-width: 100%; height: auto; display: block; }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--color-text-primary);
}

h1 { font-size: clamp(28px, 5vw, 52px); }
h2 { font-size: clamp(22px, 3.5vw, 38px); }
h3 { font-size: clamp(18px, 2.5vw, 26px); }
h4 { font-size: 20px; }

.gold-text {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ================================================================
   LAYOUT CONTAINERS
   ================================================================ */
.container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow { max-width: 960px; }
.container--wide   { max-width: 1600px; }

.grid-2  { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.grid-3  { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-4  { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,12,16,0.95);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(245,166,35,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: var(--space-lg);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo__icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: #000;
  font-family: var(--font-display);
  box-shadow: var(--shadow-gold);
}

.site-logo__text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
}

/* Live Ticker */
.live-ticker {
  flex: 1;
  overflow: hidden;
  padding: var(--space-xs) var(--space-md);
  background: var(--color-bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 13px;
  min-width: 0;
}

.live-ticker__label {
  color: var(--color-red-live);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.live-ticker__label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-red-live);
  animation: pulse-dot 1.5s infinite;
}

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

.live-ticker__scroll {
  overflow: hidden;
  flex: 1;
}

.live-ticker__text {
  color: var(--color-text-secondary);
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
  display: inline-block;
}

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

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Navigation */
.main-nav { display: flex; }
.main-nav ul { display: flex; list-style: none; gap: 4px; }
.main-nav a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav .current-menu-item a {
  color: var(--color-gold);
  background: var(--color-gold-glow);
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: all var(--transition-med);
  white-space: nowrap;
  text-decoration: none;
}

.btn--gold {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: #000;
  box-shadow: 0 4px 15px rgba(245,166,35,0.3);
}
.btn--gold:hover {
  box-shadow: 0 6px 25px rgba(245,166,35,0.5);
  transform: translateY(-1px);
  color: #000;
}

.btn--outline {
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}
.btn--outline:hover {
  background: var(--color-gold-glow);
  color: var(--color-gold-bright);
}

.btn--ghost {
  background: var(--color-bg-card);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}
.btn--ghost:hover { border-color: var(--color-gold); color: var(--color-gold); }

.btn--lg { padding: 14px 32px; font-size: 16px; border-radius: var(--radius-md); }
.btn--sm { padding: 7px 14px; font-size: 12px; }

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg-secondary);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 50%, rgba(245,166,35,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(59,130,246,0.05) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.01'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 6px 14px;
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
}

.hero__title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.01em;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 500px;
  line-height: 1.7;
}

.hero__actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }

.hero__stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-gold);
  display: block;
}

.hero__stat-label {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ================================================================
   LIVE SCORES SECTION
   ================================================================ */
.section { padding: var(--space-2xl) 0; }
.section--dark { background: var(--color-bg-secondary); }
.section--elevated { background: var(--color-bg-elevated); }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.section-title {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
}

.section-title__accent {
  width: 4px;
  height: 28px;
  background: linear-gradient(180deg, var(--color-gold), var(--color-gold-dark));
  border-radius: 2px;
  flex-shrink: 0;
}

.score-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.score-tab {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--color-text-muted);
  border: none;
  background: none;
}
.score-tab.active {
  background: var(--color-gold);
  color: #000;
  box-shadow: 0 2px 8px rgba(245,166,35,0.3);
}

.match-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-med);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.match-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-gold);
  transform: scaleY(0);
  transition: transform var(--transition-med);
}

.match-card:hover {
  border-color: var(--color-border-bright);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.match-card:hover::before { transform: scaleY(1); }

.match-card__league {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.match-card__league-name {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

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

.match-card__status--live {
  background: rgba(230,57,70,0.15);
  color: var(--color-red-live);
  border: 1px solid rgba(230,57,70,0.3);
}

.match-card__status--upcoming {
  background: rgba(59,130,246,0.1);
  color: var(--color-blue-accent);
  border: 1px solid rgba(59,130,246,0.2);
}

.match-card__status--finished {
  background: rgba(160,168,188,0.08);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.match-card__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-md);
}

.match-card__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  text-align: center;
}

.match-card__team-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg-elevated);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.match-card__team-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-primary);
}

.match-card__score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.match-card__score-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  color: var(--color-text-primary);
  min-width: 28px;
  text-align: center;
}

.match-card__score-sep {
  color: var(--color-text-muted);
  font-size: 22px;
  font-weight: 300;
}

.match-card__time {
  font-size: 12px;
  color: var(--color-red-live);
  font-weight: 600;
  margin-top: var(--space-sm);
  text-align: center;
}

/* ================================================================
   NEWS SECTION
   ================================================================ */
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-lg);
}

.news-featured {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  cursor: pointer;
}

.news-featured__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-featured:hover .news-featured__image { transform: scale(1.05); }

.news-featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.9) 100%);
}

.news-featured__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-xl);
}

.news-featured__category {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-gold);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
  margin-bottom: var(--space-sm);
}

.news-featured__title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}

.news-featured__meta {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.news-list { display: flex; flex-direction: column; gap: var(--space-md); }

.news-item {
  display: flex;
  gap: var(--space-md);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.news-item:hover { border-color: var(--color-gold); background: var(--color-bg-elevated); }

.news-item__thumb {
  width: 90px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-bg-elevated);
}

.news-item__content { flex: 1; min-width: 0; }

.news-item__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item__meta {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ================================================================
   APP DOWNLOAD SECTION
   ================================================================ */
.app-section {
  background: linear-gradient(135deg, #0f1117 0%, #151821 100%);
  position: relative;
  overflow: hidden;
}

.app-section::before {
  content: '';
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.app-download {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.app-download__tagline {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: var(--space-md);
}

.app-download__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  margin-bottom: var(--space-md);
  line-height: 1.15;
}

.app-download__desc {
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.app-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.app-feature {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 15px;
  color: var(--color-text-secondary);
}

.app-feature::before {
  content: '✓';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(46,194,126,0.15);
  color: var(--color-green-win);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-download__buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.app-store-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 22px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-bright);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-med);
}

.app-store-btn:hover {
  border-color: var(--color-gold);
  background: var(--color-gold-glow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.app-store-btn__icon { font-size: 28px; }

.app-store-btn__text { display: flex; flex-direction: column; }

.app-store-btn__sub {
  font-size: 10px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.app-store-btn__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
  font-family: var(--font-display);
}

.app-download__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.app-mockup {
  width: 240px;
  height: 480px;
  background: var(--color-bg-elevated);
  border: 2px solid var(--color-border-bright);
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 60px rgba(245,166,35,0.1);
}

.app-mockup__screen {
  position: absolute;
  inset: 8px;
  background: var(--color-bg-card);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  gap: var(--space-sm);
}

.app-mockup__score-row {
  background: var(--color-bg-elevated);
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.app-mockup__score-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-gold);
}

/* ================================================================
   REGISTRATION SECTION
   ================================================================ */
.register-banner {
  background: linear-gradient(135deg, rgba(245,166,35,0.08) 0%, rgba(196,132,28,0.08) 100%);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.register-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(245,166,35,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.register-banner__title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  margin-bottom: var(--space-md);
}

.register-banner__desc {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.register-banner__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: var(--space-2xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand__logo {
  margin-bottom: var(--space-lg);
}

.footer-brand__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer-col__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: var(--space-sm); }

.footer-links a {
  font-size: 14px;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom__copy {
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer-badges { display: flex; gap: var(--space-sm); }

.footer-badge {
  padding: 5px 12px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

/* ================================================================
   WIDGETS & SIDEBAR
   ================================================================ */
.sidebar { display: flex; flex-direction: column; gap: var(--space-lg); }

.widget {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.widget__header {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

.widget__body { padding: var(--space-lg); }

/* ================================================================
   SINGLE POST / ARTICLE
   ================================================================ */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-2xl);
  align-items: start;
}

.article-header {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.article-category {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(245,166,35,0.1);
  color: var(--color-gold);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}

.article-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--color-text-muted);
}

.article-meta__item { display: flex; align-items: center; gap: 5px; }

.article-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.article-content h2 {
  font-size: 24px;
  color: var(--color-text-primary);
  margin: var(--space-xl) 0 var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.article-content h3 {
  font-size: 20px;
  color: var(--color-text-primary);
  margin: var(--space-lg) 0 var(--space-sm);
}

.article-content p { margin-bottom: var(--space-lg); }

.article-content img {
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
}

.article-content blockquote {
  border-left: 4px solid var(--color-gold);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg-card);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-lg) 0;
  font-style: italic;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .content-layout { grid-template-columns: 1fr; }
  .app-download { grid-template-columns: 1fr; }
  .app-download__visual { display: none; }
}

@media (max-width: 768px) {
  .site-header .live-ticker { display: none; }
  .main-nav { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: column; gap: var(--space-lg); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { min-height: auto; padding: var(--space-2xl) 0; }
}

/* ================================================================
   UTILITY CLASSES
   ================================================================ */
.text-gold   { color: var(--color-gold); }
.text-muted  { color: var(--color-text-muted); }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.sr-only     { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.divider { border: none; border-top: 1px solid var(--color-border); margin: var(--space-lg) 0; }

/* Loading spinner */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-bright);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  font-size: 14px;
  z-index: 9999;
  box-shadow: var(--shadow-card);
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-med);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 13px;
  color: var(--color-text-muted);
  padding: var(--space-md) 0;
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-gold); }
.breadcrumb__sep { color: var(--color-border-bright); }
.breadcrumb__current { color: var(--color-text-secondary); }
