/* ============================================================
   seo-article_custom.css
   Custom theme overrides + SEO Article shell styles
   Blue Navy Gradient Theme — no !important needed
   ============================================================ */

/* ──────────────────────────────────────────────
   1. CSS CUSTOM PROPERTIES (Global tokens)
   ────────────────────────────────────────────── */
:root {
  --body-theme-bg: #020617;
  --body-color: #f0f9ff;
  --a-color: #3b82f6;
  --a-focus-hover-color: #60a5fa;
  --topbar-cntr-bg: linear-gradient(90deg, #020617 0%, #1e3a8a 48%, #020617 100%);
  --topbar-left-section-item-color: #bfdbfe;
  --topbar-left-section-item-a-hover-color: #3b82f6;
  --topbar-left-section-language-selector-bg: #0f172a;
  --topbar-left-section-language-selector-li-border: 1px solid rgba(59, 130, 246, 0.28);
  --site-header-bg: linear-gradient(180deg, #172554 0%, #0c080c 100%);
  --site-header-border: 4px solid #2563eb;
  --top-menu-li-a-color: #ffffff;
  --top-menu-li-true-hover-bg: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 46%, #1e3a8a 100%);
  --top-menu-li-true-hover-a-color: #ffffff;
  --top-menu-game-list-btop: 4px solid #2563eb;
  --top-menu-game-list-bg: rgba(2, 6, 23, 0.96);
  --top-menu-game-list-bbot: 10px solid #1e40af;
  --top-menu-game-list-li-a-background-bg: linear-gradient(90deg, rgba(30, 58, 138, 0.08), rgba(37, 99, 235, 0.2));
  --top-menu-game-list-li-a-background-border: 1px solid rgba(59, 130, 246, 0.42);
  --menu-slide-i-color: #3b82f6;
  --announcement-cntr-bg: #1e3a8a;
  --announcement-cntr-color: #ffffff;
  --announcement-cntr-section-announcement-bg: rgba(15, 23, 42, 0.62);
  --announcement-cntr-section-announcement-color: #f0f9ff;
  --announcement-cntr-list-li-color: #bfdbfe;
  --banner-bg: #0f172a;
  --download-apk-content-bg: #020617;
  --download-apk-section-i-color: #3b82f6;
  --download-apk-btn-bg: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  --download-apk-btn-color: #ffffff;
  --download-apk-btn-hover-color: #ffffff;
  --home-progressive-jackpot-bg: linear-gradient(180deg, #1d4ed8 0%, #1e3a8a 100%);
  --home-progressive-jackpot-color: #ffffff;
  --home-progressive-jackpot-outer-cntr-bg: #020617;
  --home-progressive-jackpot-inner-cntr-bg: linear-gradient(180deg, #1e40af 0%, #0f172a 100%);
  --home-progressive-jackpot-border-cntr-bg: rgba(2, 6, 23, 0.78);
  --home-progressive-jackpot-border-cntr-border: 3px solid #2563eb;
  --home-progressive-jackpot-jackpot-cntr-bg: linear-gradient(180deg, #172554 0%, #020617 100%);
  --home-progressive-jackpot-jackpot-inner-cntr-bg: #020617;
  --home-progressive-jackpot-jackpot-border-cntr-border: 3px dotted #3b82f6;
  --home-progressive-jackpot-jackpot-currency-color: #3b82f6;
  --home-progressive-jackpot-jackpot-play-text-color: #2563eb;
  --home-progressive-jackpot-jackpot-play-text-label-color: #f0f9ff;
  --progressive-jackpot-jackpot-cntr-color: #ffffff;
  --progressive-jackpot-jackpot-currency-color: #3b82f6;
  --popular-games-bg: #020617;
  --popular-games-left-section-title-bg: #1e40af;
  --popular-games-left-section-title-color: #ffffff;
  --popular-games-scrtabs-tab-cntr-bg: #0f172a;
  --popular-games-nav-tabs-li-a-bg: #1e293b;
  --popular-games-nav-tabs-li-a-active-bg: #1d4ed8;
  --popular-games-scroll-arrow-bg: #172554;
  --popular-games-scroll-arrow-color: #3b82f6;
  --popular-games-tab-pane-bg: #020617;
  --popular-games-tab-content-border: 1px solid rgba(37, 99, 235, 0.32);
  --popular-games-list-game-item-hover-link-cntr-bg: rgba(30, 58, 138, 0.75);
  --home-game-list-cntr-title-span-bg: #1e40af;
  --home-game-list-cntr-title-span-color: #ffffff;
  --home-game-list-cntr-title-span-after-bg: #2563eb;
  --home-game-list-cntr-content-border: 1px solid rgba(37, 99, 235, 0.32);
  --home-game-list-cntr-content-game-list-scrollbar-thumb-bg: #2563eb;
  --home-game-list-cntr-content-game-list-game-item-game-name-color: #f0f9ff;
  --home-game-list-cntr-content-game-list-game-item-provider-name-color: #93c5fd;
  --home-game-list-game-player-color: #bfdbfe;
  --home-game-list-active-player-color: #bfdbfe;
  --popular-game-title-cntr-title-span-bg: #1e40af;
  --popular-game-title-cntr-title-span-color: #ffffff;
  --popular-game-title-cntr-title-span-after-bg: #2563eb;
  --popular-game-title-cntr-content-border: 1px solid rgba(37, 99, 235, 0.32);
  --popular-game-title-cntr-content-game-list-scrollbar-thumb-bg: #2563eb;
  --popular-game-title-cntr-content-game-list-game-item-game-name-color: #f0f9ff;
  --popular-game-title-cntr-content-game-list-game-item-provider-name-color: #93c5fd;
  --jackpot-winners-bg: linear-gradient(180deg, #1e293b 0%, #020617 100%);
  --jackpot-winners-jackpot-winner-title-color: #3b82f6;
  --jackpot-winners-winners-ticker-cntr-bg: rgba(2, 6, 23, 0.88);
  --winners-ticker-ul-li-winner-info-color: #f0f9ff;
  --winners-ticker-ul-li-winner-amount-color: #3b82f6;
  --lottery-result-cntr-bg: #0f172a;
  --lottery-result-cntr-color: #f0f9ff;
  --lottery-result-cntr-title-bg: linear-gradient(90deg, #1e3a8a 0%, #2563eb 100%);
  --lottery-result-cntr-title-color: #ffffff;
  --lottery-result-cntr-numbers-bg: #020617;
  --site-footer-bg: linear-gradient(180deg, #172554 0%, #020617 100%) no-repeat center;
  --site-footer-bi: linear-gradient(180deg, #172554 0%, #020617 100%);
  --site-footer-border: 2px solid #2563eb;
  --footer-separator-border: 1px dotted rgba(59, 130, 246, 0.45);
  --footer-description-header-color: #3b82f6;
  --footer-description-note-color: #f0f9ff;
  --footer-sitemap-header-color: #3b82f6;
  --footer-sitemap-link-color: #f0f9ff;
  --footer-links-li-a-color: #f0f9ff;
  --footer-links-li-a-hover-color: #3b82f6;
  --footer-section-title-color: #3b82f6;
  --copyright-color: #93c5fd;
  --footer-featured-product-bg: rgba(30, 58, 138, 0.78);
  --footer-card-container-border: rgba(59, 130, 246, 0.35);
  --footer-hero-icon-bg: linear-gradient(180deg, #3b82f6 0%, #1e40af 100%);
  --footer-featured-product-card-header-color: #3b82f6;
  --footer-featured-product-card-note-color: #f0f9ff;
  --modal-footer-btn-primary-bg: linear-gradient(180deg, #2563eb 0%, #1e3a8a 100%);
  --modal-footer-btn-primary-hover-bg: linear-gradient(180deg, #60a5fa 0%, #1d4ed8 100%);
  --default-button-bg: linear-gradient(180deg, #2563eb 0%, #1e3a8a 100%);
  --default-button-color: #ffffff;
}

/* ──────────────────────────────────────────────
   2. BASE STYLES
   ────────────────────────────────────────────── */
html,
body {
  background: #020617;
  color: #f0f9ff;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(37, 99, 235, 0.14) 0%, transparent 52%),
    radial-gradient(ellipse at 80% 70%, rgba(59, 130, 246, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, #020617 0%, #020617 100%);
}

/* ──────────────────────────────────────────────
   3. COMPONENT OVERRIDES (specificity-based, no !important)
   ────────────────────────────────────────────── */

/* Announcement + Section titles */
.announcement-container,
.popular-games [data-section="left"] .section-title,
.home-game-list-container .container-title span,
.popular-game-title-container .container-title span,
.lottery-result-container .lottery-result-title {
  background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 48%, #1e3a8a 100%);
}

/* Active / hovered nav tabs */
.popular-games .nav-tabs > li.active > a,
.popular-games .nav-tabs > li.active > a:hover,
.popular-games .nav-tabs > li > a:hover {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
}

/* Topbar items */
.topbar-left-section .topbar-item,
.topbar-left-section .topbar-item a,
.top-menu > li > a,
.menu-slide > i {
  color: #ffffff;
}

/* Active / hover links */
.top-menu > li[data-active="true"] > a,
.top-menu > li:hover > a {
  color: #3b82f6;
}

/* Footer nav links */
nav a,
.footer-sitemap-section .footer-links > li > a:hover {
  color: #3b82f6;
}

/* Game list & slide items */
.top-menu .game-list > li > a .background,
.home-game-list-container .container-content .game-list .game-item,
.popular-game-title-container .container-content .game-list .game-item,
.provider-slide .provider-slide-main .slide-item,
.popular-games .tab-pane {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(2, 6, 23, 0.95) 100%);
  border-color: rgba(59, 130, 246, 0.32);
}

/* Buttons */
.standard-primary-button,
.standard-secondary-button,
.standard-button-group .btn,
.btn-primary,
.download-apk .btn,
.popular-games .popular-game-list .link-container a {
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 42%, #1e40af 100%);
  color: #ffffff;
  text-shadow: none;
}

.standard-primary-button:hover,
.standard-secondary-button:hover,
.standard-button-group .btn:hover,
.btn-primary:hover,
.download-apk .btn:hover,
.popular-games .popular-game-list .link-container a:hover {
  background: linear-gradient(180deg, #dbeafe 0%, #2563eb 55%, #1e3a8a 100%);
  color: #ffffff;
}

/* Nav background */
nav {
  background: linear-gradient(180deg, #1e293b 0%, #020617 100%);
}

/* Heading colors */
nav h2,
.footer-description-section .site-description h1,
.footer-description-section .site-description h2,
.footer-description-section .site-description h3,
.footer-description-section h4,
.footer-sitemap-section h4 {
  color: #3b82f6;
}

/* Footer description text */
.footer-description-section .site-description {
  color: #f0f9ff;
}

.footer-description-section .site-description p,
.footer-description-section .site-description li {
  color: #f0f9ff;
}

/* Footer links */
.site-footer a,
.footer-description-section .site-description a {
  color: #3b82f6;
}

/* ──────────────────────────────────────────────
   4. OLD FOOTER NAV (legacy, inside site-description)
   ────────────────────────────────────────────── */
.footer-description-section .site-description nav {
  max-width: 1120px;
  margin: 20px auto 26px;
  padding: 18px clamp(14px, 2vw, 22px);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.88) 0%, rgba(2, 6, 23, 0.94) 100%);
  border-radius: 4px;
}

.footer-description-section .site-description nav h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
}

.footer-description-section .site-description nav ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-description-section .site-description nav li {
  margin: 0;
}

.footer-description-section .site-description nav a {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 3px;
  background: rgba(15, 23, 42, 0.55);
  color: #f0f9ff;
  line-height: 1.35;
  text-decoration: none;
}

.footer-description-section .site-description nav a::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin-top: 0.58em;
  border-radius: 50%;
  background: #2563eb;
}

.footer-description-section .site-description nav a:hover {
  background: rgba(37, 99, 235, 0.22);
  color: #ffffff;
}

.footer-description-section .site-description h1 {
  max-width: 920px;
  margin: 0 auto 14px;
  color: #ffffff;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-wrap: balance;
}

@media (max-width: 767px) {
  .footer-description-section .site-description nav {
    margin: 16px auto 22px;
    padding: 14px 12px;
  }

  .footer-description-section .site-description nav h2 {
    font-size: 28px;
  }

  .footer-description-section .site-description nav ul {
    grid-template-columns: 1fr;
  }

  .footer-description-section .site-description h1 {
    font-size: 17px;
    line-height: 1.45;
  }
}

/* ──────────────────────────────────────────────
   5. SEO ARTICLE SHELL
   ────────────────────────────────────────────── */
.footer-description-section .site-description .seo-article-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 10px;
  position: relative;
  z-index: 1;
}

/* H1 gradient animation */
.seo-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(90deg, #60a5fa, #3b82f6, #93c5fd);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 5s ease infinite;
}

@keyframes gradientText {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Layout */
.seo-grid {
  display: block;
}

.seo-toc {
  position: static;
  top: auto;
}

/* ──────────────────────────────────────────────
   6. INLINE TABLE OF CONTENTS
   ────────────────────────────────────────────── */
.inline-toc {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.25) 0%, rgba(15, 23, 42, 0.6) 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-left: 4px solid #3b82f6;
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 40px;
}

.inline-toc .toc-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #60a5fa;
  margin: 0 0 18px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.inline-toc .toc-title::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #3b82f6;
  border-radius: 50%;
  box-shadow: 0 0 8px #3b82f6;
  flex-shrink: 0;
}

.inline-toc nav ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  counter-reset: toc-counter;
}

.inline-toc nav ol li {
  counter-increment: toc-counter;
}

.inline-toc nav ol li a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  color: #bfdbfe;
  text-decoration: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: all 0.25s ease;
  line-height: 1.5;
}

.inline-toc nav ol li a::before {
  content: counter(toc-counter, decimal-leading-zero);
  font-size: 11px;
  font-weight: 700;
  color: #3b82f6;
  flex-shrink: 0;
  margin-top: 2px;
}

.inline-toc nav ol li a:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
  color: #ffffff;
  transform: translateX(3px);
}

/* ──────────────────────────────────────────────
   7. GLASSMORPHISM PANELS
   ────────────────────────────────────────────── */
.glass-panel {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-panel:hover {
  box-shadow: 0 15px 50px rgba(59, 130, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.seo-toc.glass-panel {
  padding: 24px;
}

/* Legacy seo-toc nav styles (kept for compatibility) */
.seo-toc nav h2 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: #60a5fa;
  display: flex;
  align-items: center;
  gap: 8px;
}

.seo-toc nav h2::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #3b82f6;
  border-radius: 50%;
  box-shadow: 0 0 10px #3b82f6;
}

.seo-toc nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.seo-toc nav a {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  color: #bfdbfe;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.seo-toc nav a:hover {
  background: rgba(59, 130, 246, 0.15);
  color: #ffffff;
  border-left: 3px solid #60a5fa;
  transform: translateX(5px);
}

/* ──────────────────────────────────────────────
   8. ARTICLE CONTENT
   ────────────────────────────────────────────── */
.seo-content.glass-panel {
  padding: 40px;
  color: #f0f9ff;
  line-height: 1.8;
}

.seo-content h2 {
  font-size: 26px;
  color: #ffffff;
  margin: 40px 0 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.3);
  position: relative;
}

.seo-content h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 3px;
  background: #3b82f6;
  border-radius: 3px;
  box-shadow: 0 0 10px #3b82f6;
}

.seo-content h3 {
  font-size: 20px;
  color: #bfdbfe;
  margin: 30px 0 15px;
  padding-left: 15px;
  border-left: 4px solid #3b82f6;
}

.seo-content p,
.seo-content li {
  font-size: 15px;
  margin-bottom: 16px;
}

/* ──────────────────────────────────────────────
   9. PREMIUM TABLE
   ────────────────────────────────────────────── */
.glass-table-container {
  overflow-x: auto;
  margin: 30px 0;
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  background: rgba(2, 6, 23, 0.5);
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.seo-table th {
  background: rgba(30, 58, 138, 0.6);
  padding: 16px;
  font-weight: 600;
  color: #60a5fa;
  border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

.seo-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
}

.seo-table tbody tr:hover td {
  background: rgba(59, 130, 246, 0.08);
}

/* ──────────────────────────────────────────────
   10. MODERN FAQ
   ────────────────────────────────────────────── */
.modern-faq {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.faq-question {
  font-weight: 700;
  color: #60a5fa;
  margin-bottom: 10px;
  font-size: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.faq-question::before {
  content: "Q:";
  color: #3b82f6;
  font-size: 18px;
}

.faq-answer {
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.6;
  padding-left: 28px;
}

/* ──────────────────────────────────────────────
   11. RESPONSIVE
   ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .seo-content.glass-panel {
    padding: 25px 20px;
  }

  .seo-hero h1 {
    font-size: 24px;
    margin-bottom: 25px;
  }
}
