/*
Theme Name: DA88 Theme
Theme URI: http://localhost:8080/sin88
Author: VuLamBach
Description: Theme tùy chỉnh cho Sin88 – Nhà Cái Cá Cược Uy Tín
Version: 1.0.0
Text Domain: da88skin-theme
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --brand:        #059669;
  --brand-dark:   #047857;
  --brand-light:  #33c98a;
  --gold:         #f5c518;
  --gold-dark:    #d4a015;
  --green:        #00c060;
  --bg:           #f8fafc;
  --bg2:          #ffffff;
  --bg3:          #eef2f8;
  --text:         #1a2e42;
  --text-muted:   #4a6880;
  --border:       #dde6f0;
  --shadow:       0 2px 16px rgba(0,0,0,.08);
  --radius:       12px;
  --font:         'Be Vietnam Pro', 'Segoe UI', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-dark); }

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

ul { list-style: none; }

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

p { margin-bottom: 1rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 24px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid var(--brand);
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212,0,31,.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--brand) !important;
  padding: 10px 24px;
  border-radius: 24px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid var(--brand);
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
  white-space: nowrap;
}
.btn-outline:hover {
  background: var(--brand);
  color: #fff !important;
  transform: translateY(-1px);
}

.btn-lg { padding: 14px 32px; font-size: 1.05rem; }

.btn-gold {
  background: var(--gold);
  color: var(--text) !important;
  border-color: var(--gold);
  border-radius: 24px;
  padding: 10px 24px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .2s, transform .15s;
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-1px); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.home-section {
  padding: 64px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-title {
  color: var(--text);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 640px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-logo a {
  display: flex;
  align-items: baseline;
  gap: 2px;
  text-decoration: none;
}
.logo-text {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -.02em;
}
.logo-dot {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.main-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: .92rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.main-nav a:hover {
  color: var(--brand);
  background: rgba(212,0,31,.06);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  padding: 4px 8px;
  margin-left: auto;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-bar span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--text-muted);
}
.breadcrumb-inner a { color: var(--brand); }
.breadcrumb-inner span { color: var(--text); font-weight: 600; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 520px;
  background: linear-gradient(135deg, #0a0f1e 0%, #1a0a0e 50%, #2a0010 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(212,0,31,.2) 0%, transparent 60%),
              radial-gradient(ellipse at 10% 80%, rgba(245,197,24,.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,15,30,.9) 40%, rgba(10,15,30,.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  max-width: 720px;
  padding-left: 40px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,197,24,.15);
  border: 1px solid rgba(245,197,24,.4);
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: .04em;
}
.hero-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-title span { color: var(--gold); }
.hero-sapo {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 600px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.hero-stats > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-stats strong {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.hero-stats span {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
  font-weight: 600;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================================
   FEATURE GRID (3-col)
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ============================================================
   GAME GRID (4-col)
   ============================================================ */
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ============================================================
   CARD
   ============================================================ */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.card-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}
.card-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}
.card-desc { color: var(--text-muted); font-size: .92rem; line-height: 1.6; }

.game-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  cursor: pointer;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(212,0,31,.12);
  border-color: var(--brand);
}
.game-card-icon { font-size: 2.8rem; margin-bottom: 12px; display: block; }
.game-card-title { font-size: 1rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.game-card-count { font-size: .82rem; color: var(--brand); font-weight: 700; }
.game-card-desc { font-size: .85rem; color: var(--text-muted); margin-top: 8px; }

/* ============================================================
   PROMO SECTION
   ============================================================ */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.promo-card {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: var(--radius);
  padding: 28px 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.promo-card::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 100px; height: 100px;
  background: rgba(255,255,255,.07);
  border-radius: 50%;
}
.promo-card-tag {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(255,255,255,.2);
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 10px;
}
.promo-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.promo-card-amount {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.promo-card p { font-size: .88rem; opacity: .85; margin: 0; }

/* ============================================================
   STEPS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step-item { text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 64px; height: 64px;
  background: var(--brand);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(212,0,31,.3);
}
.step-title { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.step-desc { font-size: .88rem; color: var(--text-muted); }

/* ============================================================
   TABLE
   ============================================================ */
.table-compare {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: .93rem;
}
.table-compare thead tr {
  background: var(--brand);
  color: #fff;
}
.table-compare th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .03em;
}
.table-compare td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.table-compare tbody tr:nth-child(even) { background: var(--bg3); }
.table-compare tbody tr:hover { background: rgba(212,0,31,.04); }
.table-compare tbody tr:last-child td { border-bottom: none; }
.badge-free {
  background: rgba(0,192,96,.15);
  color: var(--green);
  font-size: .78rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}
.badge-fast {
  background: rgba(245,197,24,.2);
  color: var(--gold-dark);
  font-size: .78rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font);
}
.faq-question:hover { color: var(--brand); }
.faq-chevron {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  transition: transform .2s, border-color .2s;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  border-color: var(--brand);
  color: var(--brand);
}
.faq-answer {
  display: none;
  padding: 0 0 20px;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  min-height: 200px;
  display: flex;
  align-items: center;
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px;
}
.page-title {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
}

/* ============================================================
   PAGE CONTENT LAYOUT
   ============================================================ */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 48px 0;
}

.main-content {
  min-width: 0;
}

.page-content, .page-content-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}
.page-content h2, .page-content-body h2 {
  font-size: 1.6rem;
  font-weight: 900;
  margin: 36px 0 14px;
  color: var(--text);
}
.page-content h3, .page-content-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 24px 0 10px;
  color: var(--text);
}
.page-content p, .page-content-body p { margin-bottom: 1rem; }
.page-content ul, .page-content-body ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1rem;
}
.page-content ol, .page-content-body ol {
  list-style: decimal;
  padding-left: 1.5em;
  margin-bottom: 1rem;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  width: 300px;
}
.sidebar-widget {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}
.widget-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand);
}
.sidebar-links li { margin-bottom: 10px; }
.sidebar-links a {
  color: var(--text);
  font-size: .92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--bg3);
  transition: color .2s;
}
.sidebar-links a:hover { color: var(--brand); }

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 48px 0;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.post-meta span { display: flex; align-items: center; gap: 5px; }
.post-category-badge {
  background: var(--brand);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

/* ============================================================
   POST CARDS (blog/archive)
   ============================================================ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.post-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--bg3);
}
.post-card-img-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--bg3) 0%, var(--border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--text-muted);
}
.post-card-body { padding: 20px; }
.post-card-cat {
  font-size: .75rem;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.post-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}
.post-card-title a { color: inherit; }
.post-card-title a:hover { color: var(--brand); }
.post-card-excerpt {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}
.post-card-meta {
  font-size: .8rem;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
}

/* ============================================================
   AUTHOR CARDS
   ============================================================ */
.author-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.author-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.author-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  font-weight: 900;
}
.author-name { font-size: 1.05rem; font-weight: 800; margin-bottom: 4px; }
.author-role { font-size: .85rem; color: var(--brand); font-weight: 700; margin-bottom: 10px; }
.author-bio { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   TRUST BADGES
   ============================================================ */
.trust-badges {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}
.trust-badge {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: var(--radius);
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -30px;
  width: 160px; height: 160px;
  background: rgba(0,0,0,.06);
  border-radius: 50%;
}
.cta-banner h2 {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}
.cta-banner p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 28px; }
.cta-banner-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--text);
  padding: 32px 20px;
}
.stats-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item span { font-size: .88rem; color: rgba(255,255,255,.65); }

/* ============================================================
   SECTION BG VARIANTS
   ============================================================ */
.section-white { background: var(--bg2); }
.section-gray  { background: var(--bg3); }
.section-dark  { background: var(--text); }
.section-dark .section-title,
.section-dark .card-title { color: #fff; }
.section-dark .section-subtitle,
.section-dark .card-desc { color: rgba(255,255,255,.65); }
.section-dark .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer-dark {
  background: var(--text); /* #1a2e42 */
  color: rgba(255,255,255,.8);
  padding: 60px 20px 0;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--brand-light);
  margin-bottom: 14px;
}
.header-logo-img {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
.footer-logo-img {
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
}
.footer-desc {
  font-size: .88rem;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
}
.footer-license {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
}
.footer-col h4 {
  font-size: .92rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  font-weight: 500;
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--brand-light); }

.footer-bottom {
  background: rgba(0,0,0,.25);
  padding: 16px 20px;
  text-align: center;
}
.footer-bottom p {
  max-width: 1200px;
  margin: 0 auto;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

/* ============================================================
   HIGHLIGHT BOX
   ============================================================ */
.highlight-box {
  background: rgba(212,0,31,.06);
  border: 1px solid rgba(212,0,31,.2);
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: .95rem;
  color: var(--text);
}
.highlight-box strong { color: var(--brand); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 48px 0 0;
}
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  background: var(--bg2);
  transition: background .2s, color .2s, border-color .2s;
}
.pagination a:hover, .pagination .current {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* ============================================================
   INTRO GRID — desktop 2-col, mobile 1-col
   ============================================================ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* ============================================================
   MOBILE CTA BAR — fixed bottom (hidden on desktop)
   ============================================================ */
.mobile-cta-bar { display: none; }

/* ============================================================
   RESPONSIVE — 1024px (tablet)
   ============================================================ */
@media (max-width: 1024px) {
  .feature-grid           { grid-template-columns: repeat(2, 1fr); }
  .game-grid              { grid-template-columns: repeat(2, 1fr); }
  .steps-grid             { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before     { display: none; }
  .post-grid              { grid-template-columns: repeat(2, 1fr); }
  .footer-grid            { grid-template-columns: 1fr 1fr; gap: 32px; }
  .single-post-layout,
  .content-with-sidebar   { grid-template-columns: 1fr; }
  .sidebar                { width: 100%; }
  .hero-title             { font-size: 2.2rem; }
  .section-title          { font-size: 1.7rem; }
}

/* ============================================================
   RESPONSIVE — 768px (mobile)
   ============================================================ */
@media (max-width: 768px) {

  /* Spacing */
  .container, .home-section   { padding-left: 16px; padding-right: 16px; }
  .home-section               { padding-top: 48px; padding-bottom: 48px; }
  body                        { padding-bottom: 72px; } /* room for CTA bar */

  /* Grids */
  .intro-grid                 { grid-template-columns: 1fr; gap: 24px; }
  .feature-grid               { grid-template-columns: 1fr; }
  .game-grid                  { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .promo-grid                 { grid-template-columns: 1fr; }
  .steps-grid                 { grid-template-columns: 1fr 1fr; }
  .steps-grid::before         { display: none; }
  .post-grid                  { grid-template-columns: 1fr; }
  .author-grid                { grid-template-columns: 1fr 1fr; }
  .stats-bar-inner            { grid-template-columns: repeat(2, 1fr); }
  .single-post-layout,
  .content-with-sidebar       { grid-template-columns: 1fr; }
  .sidebar                    { display: none; }

  /* Footer */
  .footer-dark                { padding: 36px 0 0; }
  .footer-grid                { grid-template-columns: 1fr 1fr; gap: 24px; padding: 0 16px 32px; }

  /* Hero */
  .hero-section               { min-height: auto; }
  .hero-content               { padding: 48px 16px 40px; }
  .hero-title                 { font-size: 1.75rem; line-height: 1.25; }
  .hero-sapo                  { font-size: .93rem; }
  .hero-stats                 { gap: 14px; margin-bottom: 24px; }
  .hero-stats strong          { font-size: 1.45rem; }
  .hero-cta                   { flex-direction: column; gap: 10px; }
  .hero-cta a                 { width: 100%; text-align: center; justify-content: center; }

  /* Typography */
  .section-title              { font-size: 1.45rem; }
  .section-subtitle           { font-size: .93rem; margin-bottom: 24px; }
  .page-title                 { font-size: 1.55rem; }
  .page-hero-inner            { padding: 36px 16px; }
  h1                          { font-size: 1.55rem; }
  h2                          { font-size: 1.3rem; }
  .page-content h2, .page-content-body h2 { font-size: 1.25rem; margin: 24px 0 10px; }
  .page-content h3, .page-content-body h3 { font-size: 1.05rem; }

  /* Header / Navigation */
  .header-inner               { gap: 8px; }
  .header-cta                 { display: none; }
  .mobile-menu-btn            { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 12px 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    gap: 2px;
    z-index: 999;
    border-top: 2px solid var(--border);
  }
  .main-nav.open              { display: flex; }
  .main-nav a                 { padding: 13px 16px; font-size: .95rem; border-radius: 8px; }

  /* Cards */
  .card                       { padding: 20px 16px; }
  .card-icon                  { font-size: 1.8rem; }
  .game-card                  { padding: 16px 12px; }
  .game-card-icon             { font-size: 2.2rem; margin-bottom: 8px; }

  /* Stats bar */
  .stats-bar                  { padding: 24px 16px; }
  .stat-item strong           { font-size: 1.8rem; }

  /* Trust bar */
  .trust-bar-inner            { gap: 8px; padding: 0 12px; }
  .trust-bar span             { font-size: .75rem; }

  /* Table */
  .table-compare              { font-size: .8rem; }
  .table-compare th,
  .table-compare td           { padding: 9px 10px; }

  /* CTA Banner */
  .cta-banner                 { padding: 40px 16px; }
  .cta-banner h2              { font-size: 1.35rem; }
  .cta-banner-btns            { flex-direction: column; align-items: center; gap: 10px; }
  .cta-banner-btns a          { width: 100%; justify-content: center; }

  /* Misc */
  .promo-card                 { padding: 20px 16px; }
  .promo-card-amount          { font-size: 1.7rem; }
  .highlight-box              { padding: 14px 16px; font-size: .9rem; }

  /* ── Mobile CTA Bar ── */
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: #fff;
    border-top: 2px solid var(--border);
    padding: 10px 12px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    gap: 10px;
    box-shadow: 0 -2px 16px rgba(0,0,0,.1);
  }
  .mobile-cta-bar a {
    flex: 1;
    padding: 12px 10px;
    border-radius: 10px;
    font-weight: 800;
    font-size: .9rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 46px;
    text-decoration: none;
    white-space: nowrap;
  }
  .mobile-cta-bar .mcb-register {
    background: var(--brand);
    color: #fff !important;
  }
  .mobile-cta-bar .mcb-login {
    background: transparent;
    border: 2px solid var(--brand);
    color: var(--brand) !important;
  }
}

/* ============================================================
   RESPONSIVE — 480px (small phones)
   ============================================================ */
@media (max-width: 480px) {
  .game-grid                  { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .author-grid                { grid-template-columns: 1fr; }
  .steps-grid                 { grid-template-columns: 1fr; }
  .footer-grid                { grid-template-columns: 1fr; }
  .stats-bar-inner            { grid-template-columns: 1fr 1fr; }
  .hero-title                 { font-size: 1.55rem; }
  .section-title              { font-size: 1.3rem; }
  .hero-stats                 { flex-wrap: wrap; }
  .hero-stats > div           { min-width: 75px; }
  .hero-stats strong          { font-size: 1.3rem; }
  .trust-bar-inner            { display: none; }
  .btn-lg                     { padding: 12px 20px; font-size: .95rem; }
  .stat-item strong           { font-size: 1.55rem; }
}

/* ============================================================
   RESPONSIVE — 380px (very small phones: Galaxy A/M series)
   ============================================================ */
@media (max-width: 380px) {
  .header-inner               { padding: 0 10px; }
  .logo-text                  { font-size: 1.4rem; }
  .hero-title                 { font-size: 1.4rem; }
  .section-title              { font-size: 1.2rem; }
  .game-card                  { padding: 12px 8px; }
  .game-card-icon             { font-size: 1.8rem; }
  .game-card-title            { font-size: .85rem; }
  .card                       { padding: 16px 12px; }
  body                        { padding-bottom: 76px; }
}
