/* ============================================================
   Lotto99 - Global Stylesheet
   Site: www.lotto99.vip | Market: Bangladesh
   ============================================================ */

/* ---- CSS Variables / Design Tokens ---- */
:root {
  --color-primary:       #0a1628;
  --color-primary-mid:   #0d2244;
  --color-primary-light: #1e3a5f;
  --color-accent:        #f5c518;
  --color-accent-hover:  #e0b010;
  --color-accent2:       #4a9eff;
  --color-accent3:       #ff6b35;
  --color-text:          #e8edf5;
  --color-text-muted:    #8aa4c8;
  --color-text-dark:     #0a1628;
  --color-bg-page:       #060e1c;
  --color-bg-card:       #0f1e35;
  --color-bg-card2:      #132540;
  --color-border:        #1e3a5f;
  --color-border-light:  #2a4a70;
  --color-white:         #ffffff;
  --color-success:       #2ecc71;
  --color-danger:        #e74c3c;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 999px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px rgba(245,197,24,0.25);

  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  --font-size-base: 16px;
  --line-height: 1.7;

  --container-max: 1200px;
  --header-height: 72px;
  --transition: 0.25s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: var(--font-size-base); scroll-behavior: smooth; }
body {
  font-family: var(--font-stack);
  background-color: var(--color-bg-page);
  color: var(--color-text);
  line-height: var(--line-height);
  min-height: 100vh;
}
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-hover); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-stack); }

/* ---- Container ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.text-accent { color: var(--color-accent); }
.text-muted  { color: var(--color-text-muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 40px; }
.hidden { display: none !important; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-register {
  background: linear-gradient(135deg, #f5c518, #e0a800);
  color: var(--color-text-dark);
  box-shadow: 0 4px 15px rgba(245,197,24,0.4);
}
.btn-register:hover {
  background: linear-gradient(135deg, #ffe040, #f5c518);
  color: var(--color-text-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,197,24,0.5);
}
.btn-login {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-login:hover {
  background: var(--color-accent);
  color: var(--color-text-dark);
  transform: translateY(-2px);
}
.btn-primary {
  background: linear-gradient(135deg, #4a9eff, #2070d0);
  color: #fff;
  box-shadow: 0 4px 15px rgba(74,158,255,0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #6ab0ff, #4a9eff);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border-light);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn-lg { padding: 14px 36px; font-size: 1.05rem; }
.btn-sm { padding: 7px 16px; font-size: 0.85rem; }

/* ---- Top Info Bar ---- */
.topbar {
  background: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  padding: 6px 0;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left { display: flex; gap: 20px; align-items: center; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.topbar a { color: var(--color-text-muted); font-size: 0.8rem; }
.topbar a:hover { color: var(--color-accent); }
.topbar-badge {
  background: var(--color-accent);
  color: var(--color-text-dark);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.site-logo img,
.site-logo svg {
  height: 44px;
  width: auto;
  max-width: 160px;
  display: block;
}
@media (max-width: 768px) {
  .site-logo img,
  .site-logo svg {
    height: 36px;
    max-width: 130px;
  }
}

/* ---- Main Navigation ---- */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--color-accent);
  background: rgba(245,197,24,0.08);
}
.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* ---- Mobile Menu Toggle ---- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  padding: 6px;
  line-height: 1;
}
.mobile-menu {
  display: none;
  background: var(--color-primary-mid);
  border-top: 1px solid var(--color-border);
  padding: 16px 0;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  color: var(--color-text);
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition);
}
.mobile-menu a:hover { color: var(--color-accent); background: rgba(245,197,24,0.05); }
.mobile-menu .mobile-cta {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
}
.mobile-menu .mobile-cta .btn { flex: 1; justify-content: center; }

/* ---- Banner / Hero ---- */
.site-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: var(--color-primary);
}
.site-banner img,
.site-banner svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: 480px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .site-banner img,
  .site-banner svg { max-height: 220px; }
}

/* ---- Section Titles ---- */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 10px;
  line-height: 1.3;
}
.section-header h2 span { color: var(--color-accent); }
.section-header p {
  color: var(--color-text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}
.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent2));
  border-radius: var(--radius-pill);
  margin: 12px auto 0;
}

/* ---- Sections ---- */
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-lg { padding: 80px 0; }
.section-dark { background: var(--color-primary); }
.section-darker { background: var(--color-bg-page); }
.section-mid { background: var(--color-primary-mid); }
.section-alt { background: var(--color-bg-card); }

/* ---- Shortcut Cards (Quick Entry) ---- */
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}
.shortcut-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.shortcut-card:hover {
  border-color: var(--color-accent);
  background: var(--color-bg-card2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.shortcut-card .sc-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: rgba(245,197,24,0.1);
  border: 1px solid rgba(245,197,24,0.2);
}
.shortcut-card .sc-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
}
.shortcut-card .sc-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ---- Feature Cards ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--color-accent2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-card .fc-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ---- Game Category Cards ---- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.game-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.game-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.game-card-header {
  padding: 32px 24px 24px;
  background: linear-gradient(135deg, var(--color-primary-mid), var(--color-primary-light));
  text-align: center;
  font-size: 3rem;
}
.game-card-body {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.game-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
}
.game-card-body p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  flex: 1;
}
.game-card-footer {
  padding: 0 24px 24px;
}
.game-badge {
  display: inline-block;
  background: rgba(245,197,24,0.15);
  color: var(--color-accent);
  border: 1px solid rgba(245,197,24,0.3);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ---- Content / Long-form Article ---- */
.content-area {
  max-width: 860px;
  margin: 0 auto;
}
.content-area h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.3;
}
.content-area h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-border);
}
.content-area h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background: var(--color-accent);
  margin-right: 12px;
  vertical-align: middle;
  border-radius: 2px;
}
.content-area h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 28px 0 12px;
}
.content-area p {
  color: var(--color-text);
  margin-bottom: 16px;
  font-size: 0.97rem;
  line-height: 1.8;
}
.content-area ul,
.content-area ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.content-area ul { list-style: disc; }
.content-area ol { list-style: decimal; }
.content-area li {
  color: var(--color-text);
  margin-bottom: 8px;
  font-size: 0.97rem;
  line-height: 1.7;
}
.content-area strong { color: var(--color-accent); }
.content-area blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 16px 20px;
  background: rgba(245,197,24,0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
  background: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.breadcrumb-list li { display: flex; align-items: center; gap: 8px; }
.breadcrumb-list li:not(:last-child)::after {
  content: '›';
  color: var(--color-text-muted);
}
.breadcrumb-list a { color: var(--color-text-muted); }
.breadcrumb-list a:hover { color: var(--color-accent); }
.breadcrumb-list .current { color: var(--color-text); }

/* ---- Page Title Bar ---- */
.page-title-bar {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-mid));
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--color-border);
}
.page-title-bar h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 10px;
}
.page-title-bar p {
  color: var(--color-text-muted);
  font-size: 1rem;
  max-width: 600px;
}

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--color-accent); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--color-white);
  gap: 16px;
  user-select: none;
}
.faq-question:hover { color: var(--color-accent); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(245,197,24,0.1);
  border: 1px solid rgba(245,197,24,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-accent);
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
  border-top: 1px solid var(--color-border);
}
.faq-answer.open { display: block; }
.faq-answer a { color: var(--color-accent); }

/* ---- Stats Bar ---- */
.stats-bar {
  background: linear-gradient(135deg, var(--color-primary-mid), var(--color-primary-light));
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
}
.stat-item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--color-border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* ---- YouTube Video ---- */
.video-section { background: var(--color-primary); }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-container { max-width: 860px; margin: 0 auto; }

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, #0d2244 0%, #1a0a2e 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  padding: 72px 0;
}
.cta-section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
}
.cta-section h2 span { color: var(--color-accent); }
.cta-section p {
  color: var(--color-text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 32px;
}
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Steps / Process ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.step-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  position: relative;
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  color: var(--color-text-dark);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}
.step-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ---- Slots Archive Grid ---- */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.slot-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}
.slot-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.slot-card-thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--color-primary-mid), var(--color-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.slot-card-info {
  padding: 14px 16px;
}
.slot-card-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}
.slot-card-info .slot-provider {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.slot-card-info .slot-rtp {
  font-size: 0.75rem;
  color: var(--color-success);
  font-weight: 700;
  margin-top: 6px;
}

/* ---- Sports Listing ---- */
.sports-list { display: flex; flex-direction: column; gap: 16px; }
.sport-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all var(--transition);
}
.sport-item:hover {
  border-color: var(--color-accent2);
  background: var(--color-bg-card2);
}
.sport-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  width: 56px;
  text-align: center;
}
.sport-info { flex: 1; }
.sport-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}
.sport-info p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.sport-badge {
  background: rgba(74,158,255,0.15);
  color: var(--color-accent2);
  border: 1px solid rgba(74,158,255,0.3);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---- About / Blog Post Style ---- */
.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}
.post-meta span {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.post-tag {
  background: rgba(245,197,24,0.1);
  color: var(--color-accent);
  border: 1px solid rgba(245,197,24,0.2);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
}

/* ---- Related Links ---- */
.related-links {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
}
.related-links h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.related-links ul { display: flex; flex-direction: column; gap: 10px; }
.related-links li { display: flex; align-items: center; gap: 8px; }
.related-links li::before {
  content: '›';
  color: var(--color-accent);
  font-weight: 700;
}
.related-links a { color: var(--color-text); font-size: 0.9rem; }
.related-links a:hover { color: var(--color-accent); }

/* ---- Footer ---- */
.site-footer {
  background: var(--color-primary);
  border-top: 2px solid var(--color-border);
}
.footer-main {
  padding: 56px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .footer-logo {
  margin-bottom: 16px;
}
.footer-brand .footer-logo img,
.footer-brand .footer-logo svg {
  height: 44px;
  width: auto;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-contact { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.footer-contact-item strong { color: var(--color-text); min-width: 60px; }
.footer-contact-item a { color: var(--color-text-muted); }
.footer-contact-item a:hover { color: var(--color-accent); }

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li { display: flex; align-items: center; gap: 8px; }
.footer-col li::before {
  content: '›';
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1rem;
}
.footer-col a {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--color-accent); }

.footer-bottom {
  background: var(--color-bg-page);
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}
.footer-bottom-links a:hover { color: var(--color-accent); }

/* ---- 404 Page ---- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}
.error-code {
  font-size: 8rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.8;
}
.error-page h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}
.error-page p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}
.error-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Privacy / Policy Page ---- */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
}
.policy-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 36px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--color-accent);
}
.policy-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 24px 0 10px;
}
.policy-content p {
  color: var(--color-text-muted);
  font-size: 0.93rem;
  line-height: 1.8;
  margin-bottom: 14px;
}
.policy-content ul {
  padding-left: 20px;
  list-style: disc;
  margin-bottom: 14px;
}
.policy-content li {
  color: var(--color-text-muted);
  font-size: 0.93rem;
  margin-bottom: 8px;
  line-height: 1.7;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  :root { --header-height: 60px; }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-cta .btn-login { display: none; }
  .section { padding: 48px 0; }
  .section-header h2 { font-size: 1.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--color-border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--color-border); }
  .cta-section h2 { font-size: 1.6rem; }
  .page-title-bar h1 { font-size: 1.5rem; }
  .content-area h1 { font-size: 1.6rem; }
  .content-area h2 { font-size: 1.3rem; }
  .shortcut-grid { grid-template-columns: repeat(3, 1fr); }
  .game-grid { grid-template-columns: 1fr; }
  .slots-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .topbar { display: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .shortcut-grid { grid-template-columns: repeat(2, 1fr); }
  .slots-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .error-code { font-size: 5rem; }
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.5s ease forwards; }

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--color-accent);
  color: var(--color-text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 999;
  border: none;
  box-shadow: var(--shadow-md);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover { background: var(--color-accent-hover); transform: translateY(-3px); }
