/* ==========================================================================
   88TAKABET.COM MODERN DESIGN SYSTEM
   Expert Gambling Website UI/UX Architecture
   Compliant with /gambling-website-ui-ux-designer & E-E-A-T Standards
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- CSS CUSTOM PROPERTIES (DESIGN TOKENS) --- */
:root {
  /* Color Palette - Deep Obsidian & Sleek Dark Mode */
  --bg-base: #070a12;
  --bg-surface: #0e1424;
  --bg-surface-elevated: #151e34;
  --bg-glass: rgba(14, 20, 36, 0.78);
  --bg-glass-elevated: rgba(21, 30, 52, 0.85);

  /* Primary Brand Accents (Takabet Emerald & VIP Gold) */
  --primary: #10b981;
  --primary-hover: #059669;
  --primary-glow: rgba(16, 185, 129, 0.28);
  --primary-surface: rgba(16, 185, 129, 0.12);

  --accent-gold: #f59e0b;
  --accent-gold-glow: rgba(245, 158, 11, 0.28);
  --accent-gold-surface: rgba(245, 158, 11, 0.12);

  /* Category Thematic Accents */
  --sports-cyan: #06b6d4;
  --sports-cyan-glow: rgba(6, 182, 212, 0.25);
  --casino-purple: #a855f7;
  --casino-purple-glow: rgba(168, 85, 247, 0.25);
  --slots-orange: #f97316;
  --slots-orange-glow: rgba(249, 115, 22, 0.25);
  --fishing-blue: #0284c7;
  --payments-green: #22c55e;
  --trust-blue: #3b82f6;

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-focus: var(--primary);

  /* Typography Scale */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing Scale */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Transitions & Shadows */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.36);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 28px var(--primary-glow);

  /* Layout Widths */
  --max-width: 1240px;
  --header-height: 72px;
  --bottom-bar-height: 64px;
}

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

html {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  background: radial-gradient(circle at 50% -100px, rgba(16, 185, 129, 0.08), transparent 600px),
              radial-gradient(circle at 90% 20%, rgba(245, 158, 11, 0.04), transparent 500px),
              var(--bg-base);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #34d399;
}

ul, ol {
  padding-left: 20px;
}

/* --- LAYOUT CONTAINER --- */
.site-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* --- ANNOUNCEMENT TOP BAR --- */
.announcement-bar {
  background: linear-gradient(90deg, #064e3b, #0f172a 40%, #0f172a 60%, #78350f);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px var(--space-md);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
}

.announcement-badge {
  background: var(--primary-surface);
  color: var(--primary);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  margin-right: 8px;
}

.announcement-right {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.announcement-link {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.announcement-link:hover {
  color: var(--text-primary);
}

/* --- PRIMARY SITE HEADER --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background var(--transition-smooth);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.header-logo:hover {
  transform: scale(1.03);
}

.brand-badge {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.68rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Navigation Menu */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--primary);
  background: var(--primary-surface);
}

/* Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Language Switcher Pill */
.lang-switch-wrap {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 3px 6px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  background: var(--primary-surface);
  color: var(--primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

.lang-divider {
  color: var(--text-dim);
  font-size: 0.72rem;
  user-select: none;
}

.btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-glass);
  color: var(--text-primary);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #059669);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #34d399, var(--primary));
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), #d97706);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24, var(--accent-gold));
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  transform: translateY(-1px);
  color: #ffffff;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 6px;
}

/* --- MOBILE DRAWER NAVIGATION --- */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  overflow-y: auto;
  flex: 1;
}

.mobile-drawer-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-secondary);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-drawer-link:hover, .mobile-drawer-link.active {
  background: var(--primary-surface);
  color: var(--primary);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* --- MOBILE BOTTOM NAVIGATION BAR --- */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-bar-height);
  background: rgba(14, 20, 36, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glass);
  z-index: 990;
  padding: 4px 8px;
}

.bottom-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
}

.bottom-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  font-family: var(--font-display);
  gap: 3px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.bottom-tab svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  transition: transform var(--transition-fast);
}

.bottom-tab:hover, .bottom-tab.active {
  color: var(--primary);
}

.bottom-tab.active svg {
  transform: translateY(-2px);
  stroke: var(--primary);
}

.bottom-tab.highlight {
  color: var(--accent-gold);
}
.bottom-tab.highlight svg {
  stroke: var(--accent-gold);
}

/* --- HERO BANNER (STRICT: NO CAPTION RULE) --- */
.hero-banner-container {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: var(--space-lg) 0 var(--space-xl) 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  position: relative;
}

.hero-banner-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* Strictly ensure no figcaption or subtext appears beneath hero banner */
.hero-banner-container figcaption,
.hero-banner-container + em,
.hero-banner-container + p em:first-child {
  display: none !important;
}

/* --- IN-CONTENT CONTEXTUAL IMAGE WRAPPER --- */
.contextual-image-wrapper {
  margin: var(--space-xl) 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contextual-image-wrapper img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.contextual-caption {
  padding: var(--space-xs) var(--space-md);
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 6px;
}

.contextual-caption::before {
  content: "📊";
  font-size: 0.85rem;
}

/* --- E-E-A-T AUTHOR & EDITORIAL TRUST CARDS --- */
.eeat-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.eeat-author-group {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.eeat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  object-fit: cover;
  background: var(--bg-surface-elevated);
}

.eeat-author-info {
  display: flex;
  flex-direction: column;
}

.eeat-author-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.eeat-author-title {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.eeat-badges {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.eeat-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-verified {
  background: var(--primary-surface);
  color: var(--primary);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-date {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.badge-reading {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Comprehensive Author Bio Card at Bottom */
.author-bio-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: var(--space-2xl) 0;
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.author-bio-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  object-fit: cover;
  flex-shrink: 0;
}

.author-bio-content h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.author-bio-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: var(--space-xs);
}

.author-bio-credentials {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
}

/* --- BREADCRUMBS --- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.breadcrumbs a {
  color: var(--text-secondary);
}
.breadcrumbs a:hover {
  color: var(--primary);
}
.breadcrumb-separator {
  color: var(--text-dim);
}

/* --- EDITORIAL CONTENT TYPOGRAPHY & BLOCKS --- */
.article-body {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.article-body h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: var(--space-md);
  letter-spacing: -0.5px;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: var(--space-2xl) 0 var(--space-md) 0;
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: var(--space-lg) 0 var(--space-xs) 0;
}

.article-body p {
  margin-bottom: var(--space-md);
}

.article-body strong {
  color: var(--text-primary);
  font-weight: 700;
}

.article-body hr {
  border: 0;
  height: 1px;
  background: var(--border-subtle);
  margin: var(--space-2xl) 0;
}

/* Custom Callouts / Alerts */
.callout {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
  border-left: 4px solid;
  background: var(--bg-surface);
}

.callout-tip {
  border-left-color: var(--primary);
  background: rgba(16, 185, 129, 0.07);
}

.callout-warning {
  border-left-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.07);
}

.callout-info {
  border-left-color: var(--sports-cyan);
  background: rgba(6, 182, 212, 0.07);
}

/* Tables (Zebra striping & responsive wrapper) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: var(--space-lg) 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

th {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border-glass);
  white-space: nowrap;
}

td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* --- FAQ ACCORDION COMPONENT --- */
.faq-section {
  margin: var(--space-2xl) 0;
}

.faq-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-glass);
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 12px;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform var(--transition-smooth);
  color: var(--primary);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(0, 0, 0, 0.15);
}

.faq-answer-inner {
  padding: 16px 20px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  border-top: 1px solid var(--border-subtle);
}

/* --- CARDS & GRID SYSTEMS --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-lg) 0;
}

.portal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.portal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.portal-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-md);
}

.portal-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-surface);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
  margin-bottom: var(--space-md);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--primary);
}

/* Category Filter Pills (Horizontal Scrolling on Mobile) */
.category-pills-bar {
  display: flex;
  gap: var(--space-xs);
  overflow-x: auto;
  padding: var(--space-sm) 0;
  margin-bottom: var(--space-lg);
  scrollbar-width: none;
}
.category-pills-bar::-webkit-scrollbar {
  display: none;
}

.category-pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.category-pill:hover, .category-pill.active {
  background: var(--primary-surface);
  color: var(--primary);
  border-color: var(--primary);
}

/* Article Card for Category Pages */
.article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-md);
}

.article-card-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--bg-surface-elevated);
}

.article-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}

.article-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.article-card-snippet {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-md);
  flex: 1;
}

.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-xs);
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* --- FOOTER COMPONENT --- */
.site-footer {
  background: #050811;
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-3xl) 0 var(--space-xl) 0;
  margin-top: auto;
  position: relative;
}

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

.footer-brand p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: var(--space-md);
  max-width: 380px;
}

.footer-column h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

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

/* Responsible Gaming & Payment Badges Bar */
.footer-trust-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-2xl);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.seal-18plus {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #ef4444;
  color: #ef4444;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge-text h5 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.trust-badge-text p {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.payment-methods-strip {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.payment-pill {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  body {
    padding-bottom: var(--bottom-bar-height);
  }

  .announcement-bar {
    display: none;
  }

  .site-header {
    background: rgba(7, 10, 18, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  main.site-container {
    padding-top: var(--space-2xl) !important;
  }

  .header-nav, .header-actions {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.7rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    cursor: pointer;
  }

  .mobile-bottom-bar {
    display: block;
  }

  .article-body h1 {
    font-size: 1.7rem;
  }

  .article-body h2 {
    font-size: 1.35rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-trust-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .author-bio-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* --- ENHANCED PLACECARD & GRID ARCHITECTURE (MAXIMIZED VISUALS) --- */
.placecard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-lg) 0 var(--space-2xl) 0;
}

.placecard {
  background: linear-gradient(180deg, #111827 0%, #0c101c 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.placecard:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(16, 185, 129, 0.15);
}

.placecard-thumb-wrap {
  width: 100%;
  height: 190px;
  position: relative;
  overflow: hidden;
  background: #0a0f1d;
}

.placecard-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.placecard:hover .placecard-thumb {
  transform: scale(1.06);
}

.placecard-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
  background: rgba(7, 10, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.placecard-body {
  padding: var(--space-md) var(--space-lg) var(--space-lg) var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.placecard-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 8px;
  transition: color var(--transition-fast);
}

.placecard-title a {
  color: inherit;
}

.placecard:hover .placecard-title {
  color: #34d399;
}

.placecard-snippet {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: var(--space-md);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.placecard-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--space-sm);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.placecard-author {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-weight: 600;
}

.placecard-author-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  object-fit: cover;
}

.placecard-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 0.84rem;
  transition: transform var(--transition-fast);
}

.placecard:hover .placecard-cta {
  transform: translateX(3px);
}

/* --- SECTION HEADERS --- */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: var(--space-2xl) 0 var(--space-md) 0;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: var(--space-sm);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.section-title-wrap {
  display: flex;
  flex-direction: column;
}

.section-category-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-view-all {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.section-view-all:hover {
  background: var(--primary-surface);
  color: var(--primary);
  border-color: var(--primary);
}

/* --- QUICK ACCESS PORTAL SHOWCASE CARDS --- */
.quick-portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0 var(--space-2xl) 0;
}

.quick-portal-card {
  background: linear-gradient(135deg, rgba(21, 30, 52, 0.6) 0%, rgba(14, 20, 36, 0.9) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.quick-portal-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
}

.quick-portal-icon {
  font-size: 2rem;
  margin-bottom: var(--space-xs);
}

.quick-portal-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.quick-portal-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: var(--space-md);
  flex: 1;
}

.quick-portal-cta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- THEMATIC CATEGORY PLACECARDS --- */
.tag-sports:hover {
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px var(--sports-cyan-glow);
}
.tag-casino:hover {
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px var(--casino-purple-glow);
}
.tag-slots:hover {
  border-color: rgba(249, 115, 22, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px var(--slots-orange-glow);
}
.tag-fishing:hover {
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(2, 132, 199, 0.25);
}
.tag-payments:hover {
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(34, 197, 94, 0.25);
}
.tag-promos:hover {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px var(--accent-gold-glow);
}
.tag-trust:hover {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 24px rgba(59, 130, 246, 0.25);
}

/* --- FUNCTIONAL PAGE: APK MOBILE APP HERO WIDGET --- */
.apk-download-hero {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(14, 20, 36, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.apk-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: var(--space-md);
}

.apk-title-box {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.apk-icon-robot {
  width: 54px;
  height: 54px;
  background: var(--primary-surface);
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.apk-meta-specs {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.apk-spec-pill {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
}

.apk-spec-pill.verified {
  background: var(--primary-surface);
  color: var(--primary);
  border-color: rgba(16, 185, 129, 0.4);
}

.apk-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

.apk-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  transition: all var(--transition-fast);
}

.apk-download-btn.primary {
  background: linear-gradient(135deg, var(--primary), #059669);
  color: #fff;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.4);
}

.apk-download-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.6);
}

.apk-download-btn.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
}

.apk-download-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

/* --- FUNCTIONAL PAGE: VIP CLUB TIERS --- */
.vip-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.vip-tier-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.vip-tier-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.vip-tier-bronze::before { background: linear-gradient(90deg, #b45309, #d97706); }
.vip-tier-silver::before { background: linear-gradient(90deg, #94a3b8, #cbd5e1); }
.vip-tier-gold::before { background: linear-gradient(90deg, #d97706, #fbbf24); }
.vip-tier-platinum::before { background: linear-gradient(90deg, #06b6d4, #38bdf8); }
.vip-tier-diamond::before { background: linear-gradient(90deg, #a855f7, #ec4899); }

.vip-tier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-glass);
}

.vip-tier-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.vip-tier-turnover {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.vip-tier-benefits {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.vip-tier-benefits li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vip-tier-benefits li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 800;
}

/* --- FUNCTIONAL PAGE: 3-STEP REGISTRATION TIMELINE --- */
.registration-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.reg-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
}

.reg-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-surface);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.reg-step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.reg-step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- FUNCTIONAL PAGE: LOGIN & MIRROR STATUS WIDGET --- */
.mirror-status-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin: var(--space-lg) 0;
}

.mirror-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
}

.mirror-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@media (max-width: 640px) {
  .placecard-grid {
    grid-template-columns: 1fr;
  }
  .quick-portal-grid {
    grid-template-columns: 1fr;
  }
  .apk-header-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}


