/*
Theme Name: بکس بت BaxBet
Theme URI: https://xn----0mcbi6b92c.com/
Author: BaxBet Team
Author URI: https://xn----0mcbi6b92c.com/
Description: قالب اختصاصی بکس بت - بهترین سایت شرط‌بندی و کازینو آنلاین ایران با طراحی تاریک و طلایی، سئوی کامل، اسکیماهای JSON-LD و رسپانسیو کامل
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: baxbet
Tags: rtl-language, dark, custom-colors, full-width-template, custom-logo, entertainment, sports
*/

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

:root {
  --gold:        #F4C430;
  --gold-dark:   #D4A017;
  --gold-light:  #FFD700;
  --bg:          #0D0D0D;
  --bg2:         #141414;
  --bg3:         #1A1A1A;
  --card:        #181818;
  --border:      #2A2A2A;
  --text:        #E0E0E0;
  --muted:       #888888;
  --green:       #22C55E;
  --red:         #EF4444;
  --blue:        #3B82F6;
  --grad:        linear-gradient(135deg, #F4C430 0%, #D4A017 100%);
  --shadow:      0 4px 20px rgba(244,196,48,.15);
  --shadow-lg:   0 8px 40px rgba(244,196,48,.2);
  --radius:      10px;
  --radius-lg:   16px;
  --font:        'Vazirmatn', Tahoma, Arial, sans-serif;
  --transition:  all .3s ease;
}

html { direction: rtl; scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }
ul, ol { list-style: none; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font);
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text); line-height: 1.8; margin-bottom: 1rem; }

/* =============================================
   SCROLLBAR
============================================= */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
::selection { background: rgba(244,196,48,.3); color:#fff; }

/* =============================================
   CONTAINER
============================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-wide { max-width: 1400px; }
.container-narrow { max-width: 860px; }

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-family: var(--font); font-weight: 700;
  border: none; cursor: pointer; transition: var(--transition);
  border-radius: var(--radius); text-decoration: none; font-size: 1rem;
  padding: 12px 28px; white-space: nowrap;
}
.btn-primary {
  background: var(--grad); color: #000 !important;
}
.btn-primary:hover {
  background: linear-gradient(135deg,#FFD700,#F4C430);
  transform: translateY(-2px); box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent; color: var(--gold) !important;
  border: 1.5px solid var(--gold);
}
.btn-outline:hover {
  background: rgba(244,196,48,.1); transform: translateY(-2px);
}
.btn-sm { padding: 8px 18px; font-size: .9rem; }
.btn-lg { padding: 15px 36px; font-size: 1.1rem; }

/* =============================================
   NOTICE BAR
============================================= */
#notice-bar {
  background: var(--grad); color: #000;
  padding: 9px 0; text-align: center;
  font-size: .82rem; font-weight: 600;
  overflow: hidden; position: relative;
}
#notice-bar .marquee {
  display: inline-block;
  animation: marquee-rtl 30s linear infinite;
  white-space: nowrap;
  padding: 0 40px;
}
@keyframes marquee-rtl {
  from { transform: translateX(-50%); }
  to   { transform: translateX(50%);  }
}

/* =============================================
   HEADER
============================================= */
#site-header {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 1000;
  transition: box-shadow .3s;
}
#site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.6); }

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

/* Logo */
.site-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-logo img { height: 44px; width: auto; }
.site-logo .logo-text { display: flex; flex-direction: column; }
.site-logo .logo-name {
  font-size: 1.2rem; font-weight: 900; color: var(--gold); line-height: 1;
}
.site-logo .logo-sub {
  font-size: .68rem; color: var(--muted); line-height: 1.2; margin-top: 2px;
}

/* Primary Nav */
#primary-nav ul {
  display: flex; align-items: center; gap: 4px;
}
#primary-nav ul li a {
  display: block; padding: 8px 14px;
  color: var(--text); font-size: .9rem; font-weight: 500;
  border-radius: 8px; transition: var(--transition);
}
#primary-nav ul li a:hover,
#primary-nav ul li.current-menu-item a {
  color: var(--gold); background: rgba(244,196,48,.08);
}

/* Header Actions */
.header-actions {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}

/* Hamburger */
#mobile-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px; flex-direction: column; gap: 5px;
}
#mobile-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--gold); border-radius: 2px; transition: var(--transition);
}
#mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
#mobile-toggle.active span:nth-child(2) { opacity: 0; }
#mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Nav */
#mobile-nav {
  display: none; background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
#mobile-nav.open { display: block; }
#mobile-nav ul { padding: 0 20px; }
#mobile-nav ul li a {
  display: block; padding: 12px 0;
  color: var(--text); font-size: 1rem;
  border-bottom: 1px solid var(--border);
}
#mobile-nav ul li a:hover { color: var(--gold); }
#mobile-nav .mobile-actions { padding: 16px 20px 0; display: flex; gap: 10px; }

/* =============================================
   READING PROGRESS
============================================= */
#reading-progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 3px;
  background: rgba(255,255,255,.08); z-index: 9999; pointer-events: none;
}
#reading-progress-bar {
  height: 100%; width: 0;
  background: var(--grad); transition: width .1s;
}

/* =============================================
   HERO SECTION
============================================= */
#hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0D0D0D 0%, #141414 50%, #0A0A0A 100%);
  padding: 90px 0 80px;
  text-align: center;
}
#hero::before {
  content: ''; position: absolute;
  top: -60%; left: -20%; width: 140%; height: 200%;
  background: radial-gradient(ellipse at 50% 40%, rgba(244,196,48,.07) 0%, transparent 60%);
  pointer-events: none;
}
#hero::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.hero-label {
  display: inline-block; background: rgba(244,196,48,.12);
  border: 1px solid rgba(244,196,48,.3); color: var(--gold);
  font-size: .82rem; font-weight: 700; letter-spacing: 2px;
  padding: 6px 18px; border-radius: 20px; margin-bottom: 24px;
  text-transform: uppercase;
}
#hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 900; line-height: 1.2;
  margin-bottom: 20px;
}
#hero h1 .highlight {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.1rem; color: #AAAAAA; line-height: 1.8;
  max-width: 620px; margin: 0 auto 36px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-trust {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-top: 32px; flex-wrap: wrap;
}
.hero-trust .trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: .83rem; color: var(--muted);
}
.hero-trust .trust-item .icon { color: var(--green); font-size: 1rem; }

/* =============================================
   STATS BAR
============================================= */
#stats-bar {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 28px 20px; text-align: center;
  border-left: 1px solid var(--border);
  transition: background .3s;
}
.stat-item:last-child { border-left: none; }
.stat-item:hover { background: rgba(244,196,48,.04); }
.stat-icon { font-size: 1.8rem; margin-bottom: 8px; }
.stat-number {
  font-size: 2rem; font-weight: 900; color: var(--gold);
  line-height: 1; margin-bottom: 4px;
}
.stat-label { font-size: .82rem; color: var(--muted); }

/* =============================================
   SECTION HEADER
============================================= */
.section-header { text-align: center; margin-bottom: 40px; }
.section-label {
  display: inline-block; color: var(--gold);
  font-size: .78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800; color: #fff; margin-bottom: 12px;
}
.section-desc { color: var(--muted); font-size: .95rem; max-width: 600px; margin: 0 auto; }

/* =============================================
   SPORTS SECTION
============================================= */
#sports { padding: 70px 0; background: var(--bg); }
.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 14px; margin-bottom: 36px;
}
.sport-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 12px; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius);
  cursor: pointer; transition: var(--transition); text-align: center;
  text-decoration: none;
}
.sport-card:hover {
  border-color: rgba(244,196,48,.5); background: var(--bg3);
  transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.sport-card .emoji { font-size: 2.2rem; }
.sport-card .name { font-size: .78rem; color: var(--muted); font-weight: 500; }
.sport-card:hover .name { color: var(--gold); }

/* =============================================
   CASINO SECTION
============================================= */
#casino { padding: 70px 0; background: var(--bg2); border-top: 1px solid var(--border); }
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.game-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); position: relative;
  display: flex; flex-direction: column;
}
.game-card:hover {
  border-color: rgba(244,196,48,.4); transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,.4);
}
.game-card-img {
  width: 100%; aspect-ratio: 16/9;
  background: var(--bg3); display: flex;
  align-items: center; justify-content: center;
  font-size: 4rem; border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.game-card-img::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(244,196,48,.05), transparent 70%);
}
.game-badge {
  position: absolute; top: 10px; right: 10px;
  font-size: .7rem; font-weight: 700; padding: 3px 10px;
  border-radius: 20px; z-index: 1;
}
.badge-hot   { background: var(--red);   color: #fff; }
.badge-pop   { background: var(--blue);  color: #fff; }
.badge-live  { background: var(--green); color: #fff; }
.badge-new   { background: var(--gold);  color: #000; }
.game-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.game-name { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.game-desc { font-size: .82rem; color: var(--muted); flex: 1; margin-bottom: 14px; }
.game-play {
  display: block; text-align: center;
  background: var(--grad); color: #000;
  font-weight: 700; padding: 9px; border-radius: 8px;
  font-size: .88rem; transition: var(--transition);
}
.game-play:hover { background: linear-gradient(135deg,#FFD700,#F4C430); color: #000 !important; }

/* =============================================
   BONUS SECTION
============================================= */
#bonus { padding: 70px 0; background: var(--bg); }
.bonus-card {
  background: linear-gradient(135deg, #1A1A1A, #222);
  border: 1px solid rgba(244,196,48,.25); border-radius: var(--radius-lg);
  padding: 50px 40px; text-align: center;
  position: relative; overflow: hidden;
  max-width: 900px; margin: 0 auto;
}
.bonus-card::before {
  content: ''; position: absolute;
  top: -60px; right: -60px; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(244,196,48,.12), transparent 70%);
  border-radius: 50%;
}
.bonus-card::after {
  content: ''; position: absolute;
  bottom: -40px; left: -40px; width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(244,196,48,.08), transparent 70%);
  border-radius: 50%;
}
.bonus-percent {
  font-size: clamp(4rem, 10vw, 6rem);
  font-weight: 900; color: var(--gold); line-height: 1;
  display: block; position: relative; z-index: 1;
}
.bonus-subtitle {
  font-size: 1rem; color: #AAAAAA; margin: 8px 0 28px;
  position: relative; z-index: 1;
}
.bonus-features {
  display: flex; justify-content: center; gap: 32px;
  flex-wrap: wrap; margin-bottom: 32px;
  position: relative; z-index: 1;
}
.bonus-feature { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.bonus-feature .bf-icon { font-size: 1.5rem; }
.bonus-feature .bf-text { font-size: .8rem; color: var(--muted); }

/* =============================================
   BLOG SECTION
============================================= */
#blog { padding: 70px 0; background: var(--bg2); border-top: 1px solid var(--border); }
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px; margin-bottom: 40px;
}
.post-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); display: flex; flex-direction: column;
}
.post-card:hover {
  border-color: rgba(244,196,48,.35); transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,0,0,.4);
}
.post-thumb {
  aspect-ratio: 16/9; overflow: hidden;
  background: var(--bg3); position: relative;
}
.post-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-thumb .no-image {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--border);
}
.post-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.post-cat a {
  display: inline-block; background: rgba(244,196,48,.12);
  border: 1px solid rgba(244,196,48,.25); color: var(--gold);
  font-size: .72rem; font-weight: 600; padding: 3px 10px;
  border-radius: 20px; margin-bottom: 10px; text-decoration: none;
}
.post-title a {
  font-size: 1.05rem; font-weight: 700; color: #fff;
  display: block; margin-bottom: 10px; line-height: 1.4;
  text-decoration: none; transition: var(--transition);
}
.post-title a:hover { color: var(--gold); }
.post-excerpt {
  font-size: .85rem; color: var(--muted);
  line-height: 1.7; flex: 1; margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.post-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.post-date { font-size: .78rem; color: var(--muted); }
.post-read { font-size: .82rem; color: var(--gold); font-weight: 600; }

/* =============================================
   FEATURES BAR
============================================= */
#features {
  background: var(--bg3); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 36px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.feature-item { display: flex; align-items: center; gap: 14px; }
.feature-icon-wrap {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(244,196,48,.1); border: 1px solid rgba(244,196,48,.2);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem;
}
.feature-info .fi-title { font-size: .95rem; font-weight: 700; color: #fff; }
.feature-info .fi-sub   { font-size: .78rem; color: var(--muted); margin-top: 2px; }

/* =============================================
   FOOTER
============================================= */
#site-footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px; margin-bottom: 50px;
}
.footer-brand .fb-logo {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.footer-brand .fb-name { font-size: 1.2rem; font-weight: 900; color: var(--gold); }
.footer-brand p { font-size: .88rem; color: var(--muted); line-height: 1.7; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 1rem; transition: var(--transition);
}
.footer-socials a:hover { border-color: var(--gold); color: var(--gold); }

.footer-col h4 {
  font-size: .95rem; font-weight: 700; color: var(--gold);
  margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: .86rem; color: var(--muted); transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-contact .fc-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 14px;
}
.footer-contact .fc-icon { font-size: 1rem; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-contact .fc-text { font-size: .85rem; color: var(--muted); }

.footer-payment h5 {
  font-size: .85rem; color: #fff; margin: 20px 0 10px;
}
.payment-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-badge {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 6px; padding: 5px 12px;
  font-size: .75rem; color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0; display: flex;
  justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copyright { font-size: .8rem; color: #555; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: .8rem; color: #555; }
.footer-legal a:hover { color: var(--gold); }
.footer-disclaimer {
  text-align: center; padding: 12px 0;
  font-size: .72rem; color: #444; line-height: 1.6;
  border-top: 1px solid var(--border);
}

/* =============================================
   BACK TO TOP
============================================= */
#back-top {
  position: fixed; bottom: 28px; left: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad); color: #000; border: none;
  font-size: 1.2rem; font-weight: 700; cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: var(--transition); z-index: 999;
  box-shadow: 0 4px 16px rgba(244,196,48,.4);
  display: flex; align-items: center; justify-content: center;
}
#back-top.visible { opacity: 1; visibility: visible; }
#back-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* =============================================
   BREADCRUMB
============================================= */
.breadcrumb-wrap {
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 11px 0;
}
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: .82rem; color: var(--muted); flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--text); }

/* =============================================
   SINGLE POST
============================================= */
.single-wrap { padding: 50px 0; }
.single-header {
  max-width: 860px; margin: 0 auto 40px;
  text-align: right; padding: 0 20px;
}
.single-meta {
  display: flex; justify-content: flex-start; align-items: center;
  gap: 18px; flex-wrap: wrap; margin-bottom: 20px;
}
.single-meta .cat a {
  background: rgba(244,196,48,.12); border: 1px solid rgba(244,196,48,.25);
  color: var(--gold); font-size: .78rem; font-weight: 600;
  padding: 3px 12px; border-radius: 20px;
}
.single-meta .date, .single-meta .author, .single-meta .reading {
  font-size: .8rem; color: var(--muted);
  display: flex; align-items: center; gap: 4px;
}
.single-meta .author a { color: var(--gold); }
.single-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800; color: #fff; line-height: 1.3;
  margin-bottom: 16px; text-align: right;
}
.single-excerpt { font-size: 1.05rem; color: #AAAAAA; line-height: 1.8; text-align: right; }

.single-featured {
  max-width: 900px; margin: 0 auto 50px;
  border-radius: var(--radius-lg); overflow: hidden;
}
.single-featured img {
  width: 100%; height: auto;
  aspect-ratio: 16/9; object-fit: cover;
}

.single-content-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px; max-width: 1180px; margin: 0 auto;
  padding: 0 20px; align-items: start;
}
.single-content {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px; min-width: 0;
}
.single-content h2 {
  border-right: 4px solid var(--gold); padding-right: 16px;
  margin: 2rem 0 1rem; color: #fff;
}
.single-content h3 { color: var(--gold); margin: 1.5rem 0 .8rem; }
.single-content p  { color: #C8C8C8; line-height: 1.9; font-size: 1.02rem; }
.single-content ul, .single-content ol {
  padding-right: 24px; margin-bottom: 1.2rem;
}
.single-content ul { list-style: disc; }
.single-content ol { list-style: decimal; }
.single-content li { color: #C8C8C8; margin-bottom: 8px; line-height: 1.7; }
.single-content ul li::marker { color: var(--gold); }
.single-content a { color: var(--gold); text-decoration: underline; }
.single-content img {
  border-radius: var(--radius); margin: 1.5rem 0;
  width: 100%; height: auto;
}
.single-content blockquote {
  border-right: 4px solid var(--gold); border-left: none;
  background: var(--bg3); padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.single-content blockquote p { color: #E0E0E0 !important; font-style: italic; }
.single-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.single-content th {
  background: var(--bg3); color: var(--gold);
  font-weight: 700; padding: 12px 16px;
  border: 1px solid var(--border);
}
.single-content td {
  padding: 10px 16px; border: 1px solid var(--border); color: var(--text);
}
.single-content tr:nth-child(even) td { background: rgba(255,255,255,.03); }
.single-content pre {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  overflow-x: auto; font-size: .88rem; margin: 1.5rem 0;
}

/* Post Tags */
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--border); }
.post-tags span { color: var(--muted); font-size: .85rem; }
.post-tags a {
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--muted); font-size: .78rem; padding: 4px 12px;
  border-radius: 20px; transition: var(--transition);
}
.post-tags a:hover { border-color: var(--gold); color: var(--gold); }

/* Post Nav */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--border);
}
.post-nav a {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
  transition: var(--transition);
}
.post-nav a:hover { border-color: rgba(244,196,48,.4); }
.post-nav .nav-label { font-size: .75rem; color: var(--muted); }
.post-nav .nav-title { font-size: .9rem; color: #fff; font-weight: 600; line-height: 1.4; }
.post-nav .nav-next { text-align: left; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.widget {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.widget-header {
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.widget-header h3 { font-size: .95rem; color: var(--gold); margin: 0; }
.widget-body { padding: 18px; }
.widget-post { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.widget-post:last-child { margin: 0; padding: 0; border: 0; }
.widget-post img {
  width: 70px; height: 50px; object-fit: cover;
  border-radius: 6px; flex-shrink: 0;
}
.widget-post .wp-title { font-size: .82rem; color: var(--text); line-height: 1.4; margin-bottom: 4px; }
.widget-post .wp-date { font-size: .72rem; color: var(--muted); }
.widget-cats li { border-bottom: 1px solid var(--border); }
.widget-cats li:last-child { border: 0; }
.widget-cats a {
  display: flex; justify-content: space-between;
  align-items: center; padding: 10px 0;
  font-size: .86rem; color: var(--text);
}
.widget-cats a:hover { color: var(--gold); }
.widget-cats .count {
  background: var(--bg3); color: var(--muted);
  font-size: .72rem; padding: 2px 8px; border-radius: 20px;
}
.register-widget {
  background: linear-gradient(135deg, #1A1A1A, #222);
  border: 1px solid rgba(244,196,48,.25);
  border-radius: var(--radius-lg); padding: 24px;
  text-align: center;
}
.register-widget .rw-percent {
  font-size: 2.8rem; font-weight: 900; color: var(--gold); line-height: 1; margin-bottom: 8px;
}
.register-widget p { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }

/* =============================================
   ARCHIVE PAGE
============================================= */
.archive-wrap { padding: 0 0 70px; }
.archive-header {
  background: linear-gradient(160deg, var(--bg2), var(--bg3));
  border-bottom: 1px solid var(--border);
  padding: 60px 0 50px; text-align: center; margin-bottom: 50px;
}
.archive-header .arch-icon { font-size: 3rem; margin-bottom: 16px; }
.archive-header h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 12px; }
.archive-header .arch-desc { color: var(--muted); font-size: .95rem; max-width: 600px; margin: 0 auto; }
.archive-count {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; padding: 5px 16px;
  font-size: .82rem; color: var(--muted); margin-top: 16px;
}
.archive-count span { color: var(--gold); font-weight: 700; }

/* =============================================
   PAGINATION
============================================= */
.pagination {
  display: flex; justify-content: center;
  gap: 6px; margin-top: 50px; flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--card); border: 1px solid var(--border);
  color: var(--text); font-size: .9rem; font-weight: 600;
  transition: var(--transition);
}
.pagination a:hover, .pagination .current {
  background: var(--grad); color: #000 !important;
  border-color: var(--gold);
}
.pagination .dots { background: none; border: none; color: var(--muted); }

/* =============================================
   404 PAGE
============================================= */
.page-404 {
  padding: 100px 0; text-align: center;
}
.page-404 .code-404 {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900; color: var(--gold);
  line-height: 1; margin-bottom: 20px;
  opacity: .15;
}
.page-404 h1 { margin-bottom: 16px; }
.page-404 p { color: var(--muted); margin-bottom: 32px; }

/* =============================================
   SEARCH PAGE
============================================= */
.search-wrap { padding: 50px 0; }
.search-header { text-align: center; margin-bottom: 40px; }
.search-header h1 { margin-bottom: 8px; }
.search-header p { color: var(--muted); }
.search-header .search-term { color: var(--gold); }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .single-content-wrap { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}

@media (max-width: 768px) {
  #primary-nav { display: none; }
  #mobile-toggle { display: flex; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-left: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .post-nav { grid-template-columns: 1fr; }
  .single-content { padding: 24px; }
  .bonus-card { padding: 32px 20px; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 280px; }
  .sports-grid { grid-template-columns: repeat(3, 1fr); }
  .games-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   PRINT
============================================= */
@media print {
  #site-header, #site-footer, #back-top,
  #reading-progress, .sidebar, #notice-bar { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .single-content { border: none !important; padding: 0 !important; }
}
