/* ============================================================
   SportL1.com - Global Stylesheet
   Target: Bangladesh | Language: Bengali (bn-BD)
   Theme: FIFA Club World Cup Sports Portal
   ============================================================ */

/* ---- CSS Variables / Design Tokens ---- */
:root {
  --color-primary: #1a6fc4;
  --color-primary-dark: #0d4f9a;
  --color-primary-light: #2a8fe4;
  --color-secondary: #0fb8d4;
  --color-accent: #f5c518;
  --color-accent-dark: #d4a800;
  --color-danger: #e53935;
  --color-success: #2e7d32;

  --color-bg-dark: #0a1628;
  --color-bg-mid: #0d2a5e;
  --color-bg-card: #0f1e3a;
  --color-bg-card-hover: #162848;
  --color-bg-section: #f4f7fb;
  --color-bg-white: #ffffff;

  --color-text-primary: #1a2340;
  --color-text-secondary: #4a5568;
  --color-text-muted: #718096;
  --color-text-light: #a8c8f0;
  --color-text-white: #ffffff;

  --color-border: #e2e8f0;
  --color-border-dark: #1e3a6e;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1), 0 2px 6px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.1);
  --shadow-card: 0 2px 8px rgba(26,111,196,0.12);
  --shadow-card-hover: 0 8px 24px rgba(26,111,196,0.2);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 50px;

  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-bengali: system-ui, -apple-system, Arial, sans-serif;

  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;

  --container-max: 1280px;
  --header-height: 72px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-stack);
  color: var(--color-text-primary);
  background: var(--color-bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }
ul, ol { list-style: none; }

/* ---- Container ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-stack);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text-primary);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.4;
}

.btn-register {
  background: linear-gradient(135deg, var(--color-accent), #ff9500);
  color: var(--color-bg-dark);
  border-color: transparent;
}
.btn-register:hover {
  background: linear-gradient(135deg, #ffd740, #ffb300);
  color: var(--color-bg-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(245,197,24,0.4);
}

.btn-login {
  background: transparent;
  color: var(--color-text-white);
  border-color: var(--color-secondary);
}
.btn-login:hover {
  background: var(--color-secondary);
  color: var(--color-bg-dark);
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-accent), #ff9500);
  color: var(--color-bg-dark);
  border-color: transparent;
  font-size: 1.05rem;
  padding: 14px 36px;
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,197,24,0.45);
  color: var(--color-bg-dark);
}

.btn-lg { padding: 14px 36px; font-size: 1.05rem; }
.btn-sm { padding: 7px 16px; font-size: 0.85rem; }

/* ---- Top Info Bar ---- */
.topbar {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  font-size: 0.82rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--color-border-dark);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-item { display: flex; align-items: center; gap: 5px; }
.topbar-item svg { width: 14px; height: 14px; flex-shrink: 0; }
.topbar-badge {
  background: var(--color-danger);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ---- Header ---- */
.site-header {
  background: var(--color-bg-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.site-logo img,
.site-logo svg {
  height: 44px;
  width: auto;
  max-width: 180px;
  display: block;
}

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--color-accent);
  background: rgba(245,197,24,0.1);
}

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #fff;
}
.mobile-menu-toggle svg { width: 24px; height: 24px; }

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2000;
}
.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}
.mobile-nav-panel {
  position: absolute;
  top: 0; left: 0;
  width: 280px;
  height: 100%;
  background: var(--color-bg-dark);
  padding: 24px 20px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
}
.mobile-nav-drawer.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-drawer.open { display: block; }
.mobile-nav-close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.5rem;
  margin-bottom: 20px;
  display: block;
}
.mobile-nav-links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.mobile-nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: block;
}
.mobile-nav-links a:hover { color: var(--color-accent); background: rgba(245,197,24,0.08); }
.mobile-cta-group { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.mobile-cta-group .btn { width: 100%; justify-content: center; }

/* ---- Banner ---- */
.home-banner {
  width: 100%;
  overflow: hidden;
  background: var(--color-bg-dark);
  position: relative;
}
.home-banner img,
.home-banner svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: 520px;
  object-fit: cover;
}

/* ---- Section Styles ---- */
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-lg { padding: 80px 0; }
.section-dark {
  background: var(--color-bg-dark);
  color: var(--color-text-white);
}
.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark h4, .section-dark h5 { color: var(--color-text-white); }
.section-alt { background: var(--color-bg-section); }
.section-mid {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-mid) 100%);
  color: var(--color-text-white);
}
.section-mid h1, .section-mid h2, .section-mid h3 { color: var(--color-text-white); }

.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--color-text-secondary); max-width: 600px; margin: 0 auto; }
.section-header-left { text-align: left; margin-bottom: 32px; }

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 2px;
  margin: 12px auto 0;
}
.section-divider-left { margin: 12px 0 0; }

/* ---- Shortcut Cards (Quick Entry) ---- */
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}
.shortcut-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.shortcut-card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.shortcut-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.shortcut-label {
  color: var(--color-text-white);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---- Feature Cards ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-primary);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(26,111,196,0.12), rgba(15,184,212,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { color: var(--color-text-secondary); font-size: 0.92rem; }

/* ---- Content Feed / Post Cards ---- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.post-card {
  background: var(--color-bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-primary);
}
.post-card-image {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  background: var(--color-bg-section);
}
.post-card-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bg-mid), var(--color-bg-dark));
  font-size: 2.5rem;
}
.post-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-danger);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.post-card-date-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-align: center;
}
.post-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.post-card-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.post-card h3 { font-size: 1rem; margin-bottom: 10px; line-height: 1.4; }
.post-card h3 a { color: var(--color-text-primary); }
.post-card h3 a:hover { color: var(--color-primary); }
.post-card p { color: var(--color-text-secondary); font-size: 0.88rem; flex: 1; }
.post-card-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ---- Sidebar ---- */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.sidebar-widget-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
}
.sidebar-post-list { display: flex; flex-direction: column; gap: 12px; }
.sidebar-post-item { display: flex; gap: 12px; align-items: flex-start; }
.sidebar-post-thumb {
  width: 64px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-section);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.sidebar-post-title { font-size: 0.85rem; font-weight: 600; line-height: 1.4; }
.sidebar-post-title a { color: var(--color-text-primary); }
.sidebar-post-title a:hover { color: var(--color-primary); }

/* Tag Cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-item {
  background: var(--color-bg-section);
  color: var(--color-text-secondary);
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  cursor: pointer;
}
.tag-item:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  padding: 32px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item { color: #fff; }
.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--color-accent);
}
.stat-label { font-size: 0.88rem; opacity: 0.9; }

/* ---- Long-form Content ---- */
.longform-content {
  max-width: 860px;
}
.longform-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-border);
}
.longform-content h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-primary);
}
.longform-content ul, .longform-content ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.longform-content ol { list-style: decimal; }
.longform-content li { margin-bottom: 0.5rem; }
.longform-content strong { color: var(--color-primary-dark); }
.longform-content a { color: var(--color-primary); text-decoration: underline; }
.longform-content a:hover { color: var(--color-primary-dark); }
.longform-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 12px 20px;
  background: rgba(26,111,196,0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--color-text-secondary);
}
.longform-content .highlight-box {
  background: linear-gradient(135deg, rgba(26,111,196,0.08), rgba(15,184,212,0.08));
  border: 1px solid rgba(26,111,196,0.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 1.5rem 0;
}

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--color-bg-section); }
.faq-question.active { color: var(--color-primary); background: rgba(26,111,196,0.05); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid var(--color-border);
}
.faq-answer.open { display: block; }
.faq-answer a { color: var(--color-primary); text-decoration: underline; }

/* ---- YouTube Video ---- */
.video-section { background: var(--color-bg-section); }
.video-wrapper {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-info { margin-top: 20px; }
.video-info h3 { margin-bottom: 8px; }
.video-info p { color: var(--color-text-secondary); }

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-mid) 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(26,111,196,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: var(--color-text-light); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Breadcrumb ---- */
.breadcrumb {
  padding: 14px 0;
  background: var(--color-bg-section);
  border-bottom: 1px solid var(--color-border);
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.breadcrumb-list li { display: flex; align-items: center; gap: 8px; }
.breadcrumb-list li:not(:last-child)::after {
  content: '/';
  color: var(--color-text-muted);
}
.breadcrumb-list a { color: var(--color-primary); }
.breadcrumb-list a:hover { text-decoration: underline; }
.breadcrumb-list li:last-child { color: var(--color-text-muted); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-mid) 100%);
  padding: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: var(--color-text-light); max-width: 600px; margin: 0 auto; }

/* ---- Slots Page: Game Grid ---- */
.game-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-border);
  background: var(--color-bg-white);
  color: var(--color-text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.game-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-primary);
}
.game-card-thumb {
  padding-top: 75%;
  position: relative;
  background: linear-gradient(135deg, var(--color-bg-mid), var(--color-bg-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-card-thumb-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.game-card-body { padding: 14px; }
.game-card-name { color: #fff; font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
.game-card-provider { color: var(--color-text-light); font-size: 0.78rem; }
.game-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-accent);
  color: var(--color-bg-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

/* ---- Sports Page: Match Table ---- */
.match-table-wrapper { overflow-x: auto; }
.match-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.match-table th {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}
.match-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}
.match-table tr:hover td { background: var(--color-bg-section); }
.match-table tr:last-child td { border-bottom: none; }
.match-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}
.match-status.live { background: var(--color-danger); color: #fff; }
.match-status.upcoming { background: var(--color-primary); color: #fff; }
.match-status.finished { background: var(--color-text-muted); color: #fff; }

/* ---- Points Table ---- */
.points-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.points-table th {
  background: var(--color-bg-dark);
  color: var(--color-accent);
  padding: 12px 16px;
  text-align: center;
  font-weight: 700;
  white-space: nowrap;
}
.points-table th:first-child { text-align: left; }
.points-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  vertical-align: middle;
}
.points-table td:first-child { text-align: left; font-weight: 600; }
.points-table tr:nth-child(even) td { background: var(--color-bg-section); }
.points-table tr:hover td { background: rgba(26,111,196,0.06); }
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--color-bg-section);
  color: var(--color-text-secondary);
  margin-right: 8px;
}
.rank-badge.top { background: var(--color-accent); color: var(--color-bg-dark); }

/* ---- About Page ---- */
.about-story { max-width: 800px; margin: 0 auto; }
.about-story h2 { color: var(--color-primary); margin-top: 2rem; margin-bottom: 1rem; }
.about-story p { color: var(--color-text-secondary); margin-bottom: 1.2rem; }
.about-story ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.2rem; }
.about-story li { margin-bottom: 0.5rem; color: var(--color-text-secondary); }
.about-story strong { color: var(--color-text-primary); }
.about-story a { color: var(--color-primary); text-decoration: underline; }

.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-dot {
  position: absolute;
  left: -26px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-bg-white);
  box-shadow: 0 0 0 2px var(--color-primary);
}
.timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.timeline-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.timeline-desc { color: var(--color-text-secondary); font-size: 0.9rem; }

/* ---- Privacy Policy ---- */
.policy-content { max-width: 800px; }
.policy-content h2 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--color-border);
}
.policy-content p { color: var(--color-text-secondary); margin-bottom: 1rem; }
.policy-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.policy-content li { margin-bottom: 0.4rem; color: var(--color-text-secondary); }
.policy-content a { color: var(--color-primary); text-decoration: underline; }

/* ---- Footer ---- */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border-dark);
}
.footer-brand { }
.footer-logo { margin-bottom: 16px; }
.footer-logo img, .footer-logo svg {
  height: 44px;
  width: auto;
  max-width: 160px;
}
.footer-desc { font-size: 0.88rem; color: rgba(168,200,240,0.8); line-height: 1.7; margin-bottom: 20px; }
.footer-contact-info { display: flex; flex-direction: column; gap: 8px; font-size: 0.85rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 8px; }
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--color-secondary); }

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border-dark);
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  color: rgba(168,200,240,0.8);
  font-size: 0.88rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--color-accent); }
.footer-links a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-secondary);
  flex-shrink: 0;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(168,200,240,0.6);
}
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(168,200,240,0.6); }
.footer-bottom-links a:hover { color: var(--color-accent); }

/* ---- 404 Page ---- */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.error-title { font-size: 1.8rem; margin-bottom: 12px; }
.error-desc { color: var(--color-text-secondary); margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }
.error-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Utility Classes ---- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }
.text-white { color: #fff; }
.text-light { color: var(--color-text-light); }
.font-bold { font-weight: 700; }
.font-900 { font-weight: 900; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.w-full { width: 100%; }
.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-height: 60px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .header-cta .btn-login { display: none; }
  .section { padding: 48px 0; }
  .section-lg { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .sidebar { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .shortcut-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-buttons { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .site-logo img, .site-logo svg { height: 36px; }
}

@media (max-width: 480px) {
  .shortcut-grid { grid-template-columns: repeat(2, 1fr); }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .topbar { display: none; }
  .header-cta .btn { padding: 8px 14px; font-size: 0.82rem; }
}
