/* ============================================================
   Game6X Live Score - Global Stylesheet
   Domain: game6x.it.com | Language: bn-BD | Market: Bangladesh
   ============================================================ */

/* ---- CSS Variables / Design Tokens ---- */
:root {
  --color-primary: #1a56db;
  --color-primary-dark: #1341b0;
  --color-primary-light: #3b82f6;
  --color-secondary: #0ea5e9;
  --color-accent: #f59e0b;
  --color-accent-dark: #d97706;
  --color-danger: #ef4444;
  --color-success: #22c55e;

  --bg-dark: #0f172a;
  --bg-dark-2: #1e293b;
  --bg-dark-3: #334155;
  --bg-light: #f8fafc;
  --bg-light-2: #f1f5f9;
  --bg-white: #ffffff;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-white: #ffffff;
  --text-heading: #1e293b;

  --border-color: #e2e8f0;
  --border-dark: #334155;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-glow: 0 0 24px rgba(26,86,219,0.25);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  --font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --transition: 0.22s 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-base);
  color: var(--text-primary);
  background: var(--bg-light);
  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; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.3;
  font-weight: 700;
}

/* ---- Container ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* ---- Top Info Bar ---- */
.topbar {
  background: var(--bg-dark);
  color: var(--text-muted);
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid var(--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-live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--color-danger);
  border-radius: 50%;
  animation: pulse-dot 1.4s infinite;
  margin-right: 5px;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.topbar a { color: var(--text-muted); }
.topbar a:hover { color: var(--color-accent); }

/* ---- Header ---- */
.site-header {
  background: var(--bg-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
  border-bottom: 2px solid var(--color-primary);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}
.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.header-logo img,
.header-logo svg {
  height: 44px;
  width: auto;
  max-width: 180px;
  display: block;
}
@media (max-width: 768px) {
  .header-logo img,
  .header-logo svg { height: 36px; max-width: 140px; }
}

/* ---- Main Navigation ---- */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.header-nav a {
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.header-nav a:hover,
.header-nav a.active {
  background: rgba(26,86,219,0.18);
  color: var(--color-secondary);
}
.header-nav a.nav-home {
  color: var(--color-accent);
  font-weight: 700;
}

/* ---- Header CTA Buttons ---- */
.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
  text-decoration: none;
}
.btn-register {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--text-white);
  box-shadow: 0 2px 12px rgba(26,86,219,0.35);
}
.btn-register:hover {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--text-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(26,86,219,0.45);
}
.btn-login {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-login:hover {
  background: var(--color-accent);
  color: var(--bg-dark);
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  padding: 12px 28px;
  font-size: 15px;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(26,86,219,0.45);
}
.btn-accent {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--bg-dark);
  padding: 12px 28px;
  font-size: 15px;
}
.btn-accent:hover {
  background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
  color: var(--bg-dark);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 10px 24px;
}
.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

/* ---- Mobile Menu Toggle ---- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: white;
  flex-direction: column;
  gap: 5px;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 999;
}
.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--bg-dark-2);
  z-index: 1001;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 20px;
}
.mobile-nav-panel.open { right: 0; }
.mobile-nav-panel .nav-links { flex-direction: column; gap: 4px; margin-top: 20px; }
.mobile-nav-panel .nav-links a {
  display: block;
  padding: 12px 16px;
  color: #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 15px;
}
.mobile-nav-panel .nav-links a:hover { background: rgba(26,86,219,0.2); color: white; }
.mobile-nav-panel .header-cta { flex-direction: column; margin-top: 20px; }
.mobile-nav-panel .header-cta .btn { width: 100%; justify-content: center; }
.mobile-nav-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  float: right;
}

/* ---- Hero Banner ---- */
.hero-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--bg-dark);
}
.hero-banner img,
.hero-banner svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: 480px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .hero-banner img,
  .hero-banner svg { max-height: 220px; }
}

/* ---- Section Base ---- */
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-lg { padding: 80px 0; }
.section-dark { background: var(--bg-dark); color: var(--text-white); }
.section-dark h1,.section-dark h2,.section-dark h3 { color: white; }
.section-alt { background: var(--bg-light-2); }
.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}
.section-header { margin-bottom: 40px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---- Shortcut Cards Grid ---- */
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}
.shortcut-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.shortcut-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}
.shortcut-card .icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.shortcut-card .label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
}

/* ---- Feature Cards ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-primary-light);
}
.feature-card .card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(26,86,219,0.12), rgba(14,165,233,0.12));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--text-heading);
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ---- Content Feed / Article Cards ---- */
.content-feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.article-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}
.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.article-card .card-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--bg-dark-2), var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.article-card .card-body { padding: 20px; }
.article-card .card-tag {
  display: inline-block;
  background: rgba(26,86,219,0.1);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}
.article-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.4;
}
.article-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Score Table ---- */
.score-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.score-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  font-size: 14px;
}
.score-table thead {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
}
.score-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.score-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}
.score-table tbody tr:hover { background: var(--bg-light-2); }
.score-table .live-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(239,68,68,0.1);
  color: var(--color-danger);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.score-table .score-num {
  font-weight: 800;
  font-size: 16px;
  color: var(--color-primary);
}

/* ---- Listing / Archive Grid ---- */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.listing-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.listing-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.listing-card .lc-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.listing-card .lc-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.listing-card .lc-title { font-size: 15px; font-weight: 700; color: var(--text-heading); }
.listing-card .lc-meta { font-size: 12px; color: var(--text-muted); }
.listing-card .lc-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.listing-card .lc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.listing-card .lc-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(26,86,219,0.1);
  color: var(--color-primary);
}

/* ---- Long-form Content Area ---- */
.longform-content {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}
@media (max-width: 768px) {
  .longform-content { padding: 24px 20px; }
}
.longform-content h2 {
  font-size: clamp(18px, 2.5vw, 24px);
  margin: 32px 0 14px;
  color: var(--color-primary);
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(26,86,219,0.12);
}
.longform-content h3 {
  font-size: clamp(16px, 2vw, 20px);
  margin: 24px 0 10px;
  color: var(--text-heading);
}
.longform-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.longform-content ul, .longform-content ol {
  margin: 12px 0 20px 20px;
  list-style: disc;
}
.longform-content ol { list-style: decimal; }
.longform-content li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 6px;
}
.longform-content strong { color: var(--text-heading); }
.longform-content a { color: var(--color-primary); text-decoration: underline; }
.longform-content blockquote {
  border-left: 4px solid var(--color-primary);
  background: rgba(26,86,219,0.05);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 20px 0;
  font-style: italic;
  color: var(--text-secondary);
}
.longform-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.longform-content table th {
  background: var(--color-primary);
  color: white;
  padding: 10px 14px;
  text-align: left;
}
.longform-content table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
}
.longform-content table tr:nth-child(even) { background: var(--bg-light-2); }

/* ---- FAQ Section ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-md); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-heading);
  gap: 12px;
  user-select: none;
}
.faq-question:hover { color: var(--color-primary); }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(26,86,219,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
  font-size: 16px;
  color: var(--color-primary);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--color-primary);
  color: white;
}
.faq-answer {
  display: none;
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}
.faq-item.open .faq-answer { display: block; }
.faq-answer a { color: var(--color-primary); text-decoration: underline; }

/* ---- YouTube Video Module ---- */
.video-section { background: var(--bg-dark); padding: 64px 0; }
.video-section .section-title { color: white; }
.video-section .section-subtitle { color: var(--text-muted); }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
}

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  padding: 64px 0;
  text-align: center;
  color: white;
}
.cta-section h2 { color: white; font-size: clamp(22px, 3vw, 36px); margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 16px; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-cta-white {
  background: white;
  color: var(--color-primary);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  transition: all var(--transition);
}
.btn-cta-white:hover {
  background: var(--bg-light-2);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}
.btn-cta-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.7);
  padding: 12px 30px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 15px;
  transition: all var(--transition);
}
.btn-cta-outline:hover {
  background: rgba(255,255,255,0.15);
  color: white;
  border-color: white;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  background: var(--bg-light-2);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 13px;
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb li { display: flex; align-items: center; gap: 6px; color: var(--text-muted); }
.breadcrumb li a { color: var(--color-primary); }
.breadcrumb li a:hover { text-decoration: underline; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--text-muted); }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  padding: 56px 0 48px;
  color: white;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(26,86,219,0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero h1 { color: white; font-size: clamp(24px, 4vw, 40px); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 16px; max-width: 600px; }
.page-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.4);
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--bg-dark-2);
  padding: 24px 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item .stat-num {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-accent), #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.stat-item .stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-muted);
  padding: 56px 0 0;
  border-top: 3px solid var(--color-primary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-dark);
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .footer-logo {
  height: 40px;
  width: auto;
  max-width: 160px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 300px;
}
.footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover { color: var(--color-accent); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-contact-item .ci-icon {
  width: 32px;
  height: 32px;
  background: rgba(26,86,219,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.footer-contact-item a { color: var(--text-muted); }
.footer-contact-item a:hover { color: var(--color-accent); }
.footer-bottom {
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--color-accent); }
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---- Inline Content Sections ---- */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 768px) {
  .two-col-layout { grid-template-columns: 1fr; }
}
.three-col-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .three-col-layout { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .three-col-layout { grid-template-columns: 1fr; }
}

/* ---- Highlight Box ---- */
.highlight-box {
  background: linear-gradient(135deg, rgba(26,86,219,0.06), rgba(14,165,233,0.06));
  border: 1px solid rgba(26,86,219,0.2);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
}
.highlight-box p { margin: 0; font-size: 15px; color: var(--text-secondary); }

/* ---- Tag / Badge ---- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}
.badge-primary { background: rgba(26,86,219,0.1); color: var(--color-primary); }
.badge-accent { background: rgba(245,158,11,0.12); color: var(--color-accent-dark); }
.badge-danger { background: rgba(239,68,68,0.1); color: var(--color-danger); }
.badge-success { background: rgba(34,197,94,0.1); color: var(--color-success); }

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.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; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
.divider {
  height: 1px;
  background: var(--border-color);
  margin: 32px 0;
}
.divider-dark {
  height: 1px;
  background: var(--border-dark);
  margin: 32px 0;
}
.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;
}

/* ---- 404 Page ---- */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.error-page .error-code {
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}
.error-page h2 { font-size: clamp(20px, 3vw, 28px); margin-bottom: 12px; }
.error-page p { color: var(--text-secondary); font-size: 16px; margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }
.error-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Responsive Header ---- */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .header-cta .btn-login { display: none; }
}
@media (max-width: 480px) {
  .header-cta .btn-register { padding: 8px 14px; font-size: 13px; }
}

/* ---- Scroll to top ---- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 900;
  border: none;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--color-primary-dark); transform: translateY(-3px); }

/* ---- About Page Specific ---- */
.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-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  border: 2px solid var(--bg-white);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.3);
}
.timeline-item h3 { font-size: 16px; margin-bottom: 6px; }
.timeline-item p { font-size: 14px; color: var(--text-secondary); }
.timeline-year {
  display: inline-block;
  background: var(--color-primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

/* ---- Privacy Page ---- */
.policy-content h2 {
  font-size: 20px;
  color: var(--color-primary);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}
.policy-content p, .policy-content li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}
.policy-content ul { list-style: disc; margin-left: 20px; }

/* ---- Slots Page ---- */
.slots-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-white);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.slot-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
}
.slot-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--color-primary);
}
.slot-card .slot-thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--bg-dark-2), var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
}
.slot-card .slot-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--color-accent);
  color: var(--bg-dark);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.slot-card .slot-info { padding: 14px; }
.slot-card .slot-name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.slot-card .slot-provider { font-size: 12px; color: var(--text-muted); }
.slot-card .slot-rtp {
  font-size: 12px;
  color: var(--color-success);
  font-weight: 600;
  margin-top: 6px;
}

/* ---- Sports Page ---- */
.sports-category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0;
}
.sports-tab {
  padding: 10px 20px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border: 1px solid transparent;
  border-bottom: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: -2px;
}
.sports-tab:hover { color: var(--color-primary); }
.sports-tab.active {
  background: var(--bg-white);
  color: var(--color-primary);
  border-color: var(--border-color);
  border-bottom-color: var(--bg-white);
}
.match-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  margin-bottom: 12px;
}
.match-card:hover { box-shadow: var(--shadow-md); border-color: var(--color-primary-light); }
.match-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.match-team { text-align: center; }
.match-team .team-name { font-size: 15px; font-weight: 700; color: var(--text-heading); }
.match-team .team-flag { font-size: 28px; margin-bottom: 4px; }
.match-score {
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  color: var(--color-primary);
  background: var(--bg-light-2);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  min-width: 80px;
}
.match-score.live { color: var(--color-danger); }
