/* =========================================================
   SHREEWIN – PREMIUM CLEAN WHITE THEME STYLESHEET
   Inspired by modern card-based UX & SEO Best Practices
   ========================================================= */

/* ============================
   COLOR TOKENS & SYSTEM
   ============================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@800;900&display=swap');

:root {
  --primary:         #3b368c;
  --primary-dark:    #241f64;
  --primary-light:   #eef2ff;
  --primary-glow:    rgba(59, 54, 140, 0.15);

  --accent:          #F59E0B;
  --accent-gold:     #FFB800;
  --accent-dark:     #B45309;

  --page-bg:         #F4F6FB;
  --card-bg:         #FFFFFF;
  --header-bg:       #FFFFFF;
  --header-border:   #E2E8F0;
  --footer-bg:       #131722;
  --footer-text:     #94A3B8;

  --text-dark:       #0F172A;
  --text-body:       #334155;
  --text-muted:      #64748B;
  --border:          #E2E8F0;
  --border-light:    #F1F5F9;

  --success:         #10B981;
  --danger:          #EF4444;
  --purple:          #8B5CF6;
  --link:            #2563EB;

  --radius-sm:       8px;
  --radius-md:       14px;
  --radius-lg:       20px;
  --radius-full:     9999px;

  --shadow-sm:       0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md:       0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg:       0 10px 25px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--page-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

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

p {
  margin-bottom: 1.25em;
  color: var(--text-body);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================
   ABOVE-HEADER STRIP
   ============================ */
.above-header {
  background: linear-gradient(90deg, #241f64 0%, #3b368c 100%);
  padding: 9px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.above-header p {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.2px;
}

.above-header a {
  color: #ffde59;
  font-weight: 700;
  text-decoration: underline;
}

.above-header a:hover {
  color: #ffffff;
}

/* ============================
   HEADER
   ============================ */
.main-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 74px;
  gap: 16px;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.site-logo img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.site-logo .brand-text {
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.site-logo .brand-text span {
  color: var(--accent);
}

/* Desktop nav */
.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {
  display: inline-block;
  padding: 8px 12px;
  color: var(--text-dark);
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
  line-height: 1.2;
}

.main-nav ul li a:hover,
.main-nav ul li.active > a {
  background: var(--primary-light);
  color: var(--primary);
}

/* Header Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px var(--primary-glow);
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 14px var(--primary-glow);
  transform: translateY(-1px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-size: 22px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  background: #ffffff;
  border-top: 1px solid var(--border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  padding: 12px 20px 20px;
}

.mobile-nav ul li a {
  display: block;
  padding: 12px 0;
  color: var(--text-dark);
  font-size: 15.5px;
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
}

.mobile-nav ul li:last-child a {
  border-bottom: none;
}

.mobile-nav ul li a:hover {
  color: var(--primary);
}

/* ============================
   HERO STRIP (DOWNLOAD & CTA)
   ============================ */
.hero-strip {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  padding: 42px 20px 36px;
}

.hero-strip-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(59, 54, 140, 0.15);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.hero-text {
  text-align: center;
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}

.hero-subtitle {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 4px;
}

.hero-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFB800 0%, #FF8C00 100%);
  color: #111827 !important;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 14px 26px;
  text-align: center;
  letter-spacing: 0.2px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(255, 140, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-decoration: none !important;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #FFA500 0%, #E67600 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 140, 0, 0.45);
}

.btn-outline-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #F4F7FF;
  border: 2px solid var(--primary);
  color: var(--primary) !important;
  font-size: 15.5px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 13px 22px;
  transition: all 0.2s ease;
  text-decoration: none !important;
  width: 100%;
}

.btn-outline-app:hover {
  background: #E6EDFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* ============================
   PAGE BODY & SECTION CARDS
   ============================ */
.page-body {
  background: var(--page-bg);
  display: block;
}

.content-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 20px;
}

.section-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 34px 32px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.section-card:hover {
  box-shadow: var(--shadow-md);
}

/* Headings */
.heading-gold {
  font-size: 1.85em;
  font-weight: 800;
  color: var(--accent-dark) !important;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}

.section-title {
  font-size: 1.6em;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #FFB800);
  border-radius: 4px;
}

.section-title-lg {
  font-size: 1.85em;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.section-title-lg::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #FFB800);
  border-radius: 4px;
}

.sub-heading {
  font-size: 1.2em;
  font-weight: 700;
  color: var(--primary);
  margin: 20px 0 12px;
}

/* Images */
.img-center {
  display: block;
  margin: 20px auto 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

/* ============================
   STEPS LIST (Numbered Badges)
   ============================ */
.steps-list {
  list-style: none;
  padding: 0;
  counter-reset: steps;
  margin: 18px 0;
}

.steps-list li {
  counter-increment: steps;
  position: relative;
  padding: 12px 0 12px 42px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
  font-size: 15.5px;
  line-height: 1.6;
}

.steps-list li:last-child {
  border-bottom: none;
}

.steps-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 11px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bullet list style */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.feature-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 15.5px;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 800;
  font-size: 16px;
}

/* ============================
   DATA & APP TABLES
   ============================ */
.invite-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.invite-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.invite-table th,
.invite-table td {
  border: 1px solid var(--border);
  padding: 14px 18px;
  text-align: left;
  color: var(--text-body);
}

.invite-table thead tr {
  background: linear-gradient(135deg, var(--primary) 0%, #312E81 100%);
}

.invite-table th {
  font-weight: 800;
  color: #ffffff;
  font-size: 14.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: none;
  border-bottom: none;
}

.invite-table tbody tr:nth-child(even) td {
  background: #FAFBFE;
}

.invite-table tbody tr:hover td {
  background: #F1F5FD;
}

.table-badge {
  background: #FEF3C7;
  color: #92400E;
  font-weight: 700;
  font-size: 14px;
  border-radius: 6px;
  padding: 3px 10px;
  display: inline-block;
}

.table-badge-green {
  background: #D1FAE5;
  color: #065F46;
  font-weight: 700;
  font-size: 14px;
  border-radius: 6px;
  padding: 3px 10px;
  display: inline-block;
}

/* ============================
   GAME CATEGORIES GRID
   ============================ */
.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.game-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.game-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  border: 2px solid rgba(59, 54, 140, 0.1);
}

.game-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.game-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.game-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  background: var(--primary-light);
  color: var(--primary) !important;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid rgba(59, 54, 140, 0.2);
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.game-btn:hover {
  background: var(--primary);
  color: #ffffff !important;
}

/* ============================
   WINGO COLOR BADGES
   ============================ */
.color-logic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.color-badge-card {
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border);
  background: #ffffff;
}

.color-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.pill-green { background: #10B981; }
.pill-red { background: #EF4444; }
.pill-violet { background: #8B5CF6; }

.color-numbers {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
}

/* ============================
   INFO & WARNING BOXES
   ============================ */
.info-box {
  background: #F0F7FF;
  border: 1px solid #BAE6FD;
  border-left: 4px solid #0284C7;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 15px;
  color: #0369A1;
  line-height: 1.6;
}

.disclaimer-box {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-left: 4px solid #DC2626;
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-size: 14.5px;
  color: #991B1B;
  line-height: 1.7;
  margin: 24px 0;
}

.disclaimer-box strong {
  color: #7F1D1D;
}

/* ============================
   FAQ ACCORDION
   ============================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

details.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

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

details.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  user-select: none;
  gap: 12px;
  transition: background 0.15s ease;
}

details.faq-item summary:hover {
  background: var(--page-bg);
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-arrow {
  font-size: 13px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

details.faq-item[open] .faq-arrow {
  transform: rotate(180deg);
}

details.faq-item[open] summary {
  background: var(--primary-light);
  color: var(--primary);
}

.faq-body {
  padding: 18px 20px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.75;
  border-top: 1px solid var(--border);
}

/* ============================
   RATING WIDGET
   ============================ */
.rating-card {
  text-align: center;
  background: var(--page-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  margin: 24px 0 10px;
}

.rating-stars {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 12px 0;
}

.star-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: #D1D5DB;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.star-btn.active,
.star-btn:hover {
  color: #F59E0B;
  transform: scale(1.2);
}

.rating-score {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 6px;
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: var(--footer-bg);
  border-top: 3px solid var(--primary);
  padding: 36px 20px 30px;
  color: var(--footer-text);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.footer-logo img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
}

.footer-copyright {
  color: var(--footer-text);
  font-size: 14.5px;
}

.footer-nav ul {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.footer-nav ul li a {
  display: inline-block;
  padding: 6px 14px;
  color: var(--footer-text);
  font-size: 14px;
  border-radius: 6px;
  transition: all 0.15s ease;
  text-decoration: none;
}

.footer-nav ul li a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* ============================
   SCROLL TOP BUTTON
   ============================ */
#scroll-top {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 18px;
  box-shadow: 0 4px 14px var(--primary-glow);
  z-index: 999;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

#scroll-top.visible {
  display: flex;
}

#scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 992px) {
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1040px) {
  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .above-header {
    display: none;
  }
  .header-inner {
    min-height: 64px;
  }
  .section-card {
    padding: 24px 20px;
  }
}

@media (max-width: 640px) {
  .hero-strip {
    padding: 30px 16px 24px;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .hero-subtitle {
    font-size: 14px;
  }
  .hero-btn-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .btn-gold {
    padding: 12px 20px;
    font-size: 15px;
  }
  .game-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .color-logic-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .heading-gold {
    font-size: 1.45em;
  }
  .section-title-lg {
    font-size: 1.35em;
  }
  .section-title {
    font-size: 1.25em;
  }
  .invite-table th,
  .invite-table td {
    padding: 10px 12px;
    font-size: 13.5px;
  }
  .header-actions .btn-primary {
    padding: 7px 14px;
    font-size: 13px;
  }
}

/* ============================
   PAGE HERO & INNER PAGE STYLES
   ============================ */
.page-hero {
  background: linear-gradient(135deg, #3b368c 0%, #241f64 100%);
  padding: 56px 20px 44px;
  text-align: center;
  color: #ffffff;
}

.page-hero h1 {
  font-size: 2.3em;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1em;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb a {
  color: #ffde59;
  font-weight: 600;
  text-decoration: underline;
}

.breadcrumb a:hover {
  color: #ffffff;
}

/* ── Pledge Card ── */
.pledge-card {
  background: linear-gradient(135deg, #3b368c 0%, #241f64 100%);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  text-align: center;
  margin-bottom: 26px;
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.pledge-card h2 {
  color: #ffffff !important;
  font-size: 1.65em;
  margin-bottom: 12px;
}

.pledge-card p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0;
  font-size: 15.5px;
}

/* ── Tips Grid (Responsible Gaming) ── */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.tip-card {
  background: var(--page-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  text-align: center;
}

.tip-icon {
  font-size: 2.4em;
  margin-bottom: 12px;
}

.tip-card h3 {
  font-size: 1.05em;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.tip-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Warning Signs List ── */
.signs-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.signs-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  color: #7F1D1D;
  line-height: 1.5;
}

/* ── Values Grid (About) ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.value-card {
  background: var(--page-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  text-align: center;
}

.value-icon {
  font-size: 2.2em;
  margin-bottom: 12px;
}

.value-card h3 {
  font-size: 1.05em;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Stats Grid (About) ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.stat-box {
  background: var(--primary);
  border-radius: var(--radius-sm);
  padding: 22px 16px;
  text-align: center;
}

.stat-box .num {
  font-size: 1.85em;
  font-weight: 800;
  color: #ffffff;
}

.stat-box .lbl {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 4px;
}

/* ── Download Page Hero & Install Steps ── */
.dl-hero {
  background: linear-gradient(135deg, #3b368c 0%, #241f64 100%);
  padding: 56px 20px 42px;
  text-align: center;
  color: #ffffff;
}

.dl-hero h1 {
  color: #ffffff !important;
  font-size: 2.2em;
  font-weight: 800;
  margin-bottom: 12px;
}

.dl-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05em;
  max-width: 560px;
  margin: 0 auto 28px;
}

.btn-dl-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #FFB800 0%, #FF8C00 100%);
  color: #111827 !important;
  font-size: 1.15em;
  font-weight: 800;
  border-radius: 12px;
  padding: 16px 36px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.btn-dl-main:hover {
  background: linear-gradient(135deg, #FFA500 0%, #E67600 100%);
  transform: translateY(-2px);
}

.badge-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.badge-pill {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 13.5px;
  font-weight: 600;
}

.install-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.install-step {
  background: var(--page-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 18px;
  text-align: center;
}

.step-num {
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.install-step h3 {
  font-size: 1em;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.install-step p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Contact Page Styles ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: var(--page-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.info-icon {
  font-size: 1.8em;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-card h3 {
  font-size: 1em;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.info-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.info-card a {
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-dark);
  outline: none;
  transition: all 0.2s ease;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.btn-submit {
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px var(--primary-glow);
  align-self: flex-start;
}

.btn-submit:hover {
  background: var(--primary-dark);
}

.success-msg {
  display: none;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 8px;
  padding: 16px 20px;
  color: #064E3B;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
}

.success-msg.show {
  display: block;
}

/* ── Privacy Layout ── */
.privacy-layout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 20px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 900px) {
  .privacy-layout {
    grid-template-columns: 1fr;
  }
  .toc-sidebar {
    display: none;
  }
}

.toc-sidebar {
  position: sticky;
  top: 90px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}

.toc-sidebar h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.toc-sidebar ol {
  padding-left: 18px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-sidebar li a {
  font-size: 14px;
  color: var(--text-body);
  font-weight: 500;
  text-decoration: none;
}

.toc-sidebar li a:hover {
  color: var(--primary);
}

.policy-content .section-card {
  scroll-margin-top: 90px;
  margin-bottom: 20px;
}

/* ── Table of Contents (Image Style) ── */
.toc-wrapper {
  background-color: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 20px;
  margin: 32px 0;
}

.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #E5E7EB;
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.toc-title {
  font-size: 19px;
  font-weight: 700;
  color: #111827;
  margin: 0;
  border: none;
  padding: 0;
}

.toc-toggle {
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.toc-toggle:hover {
  background: #F3F4F6;
  border-color: #9CA3AF;
}

.toc-content {
  display: block;
}

.toc-content.collapsed {
  display: none;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list > li {
  margin-bottom: 10px;
  font-size: 15.5px;
  line-height: 1.6;
}

.toc-list > li > a {
  color: #1F2937;
  text-decoration: none;
  transition: color 0.15s ease;
}

.toc-list a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.toc-list ul {
  list-style: none;
  padding-left: 28px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.toc-list ul li {
  font-size: 14.5px;
  margin-bottom: 8px;
}

.toc-list ul li a {
  color: #4B5563;
  text-decoration: none;
}

/* ── Mobile Layout Fixes (480px & below) ── */
@media (max-width: 480px) {
  .section-card {
    padding: 20px 16px;
  }
  .pledge-card {
    padding: 24px 20px;
  }
  .values-grid,
  .tips-grid,
  .install-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .dl-hero h1,
  .page-hero h1 {
    font-size: 1.85em;
  }
  .game-card {
    padding: 20px 16px;
  }
  .tip-card, .value-card, .install-step, .info-card {
    padding: 16px;
  }
  .dl-hero {
    padding: 40px 16px 30px;
  }
  .page-hero {
    padding: 40px 16px 30px;
  }
}
