/* =============================================================
   chok246 — Design System
   Palette: Deep Charcoal Slate + Electric Orange + Warm Amber
   Font: Kanit (Google Fonts)
   ============================================================= */

/* ─── CSS Variables ────────────────────────────────────────── */
:root {
  --color-primary:    #0F0E0C;
  --color-secondary:  #E85D04;
  --color-accent:     #FFB627;
  --color-bg:         #0A0906;
  --color-surface:    rgba(232,93,4,0.08);
  --color-text:       #FFFFFF;

  --bg-footer:        #080705;
  --bg-card-solid:    #1A1208;
  --bg-card-dark:     #0D0C0A;
  --bg-heading-block: rgba(15,14,12,0.55);
  --bg-ticker:        #1C150A;

  --text-heading:     #FFD470;
  --text-heading-alt: #FFCA50;
  --text-nav-hover:   #FFB627;
  --text-link:        #FF8C2A;
  --text-keyword:     #FFA040;
  --text-footer-brand:#FF8A20;

  --border-header:    rgba(232,93,4,0.35);
  --border-section:   rgba(232,93,4,0.55);
  --border-footer:    #E85D04;
  --border-faq:       rgba(15,14,12,0.8);
  --border-divider:   rgba(255,182,39,0.25);

  --gradient-btn-primary:   linear-gradient(180deg, #FF7527 0%, #C44800 100%);
  --gradient-btn-secondary: linear-gradient(180deg, #FF8C3A 0%, #E85D04 100%);
  --gradient-btn-mobile:    linear-gradient(180deg, #FF7527 0%, #C44800 100%);
  --gradient-provider:      linear-gradient(135deg, #1C150A 0%, #261A0E 100%);
  --gradient-hero:          linear-gradient(135deg, #1C1007 0%, #0D0C0A 100%);

  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 60px;
  --space-3xl: 80px;
}

/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Kanit', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23E85D04' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  overflow-x: hidden;
}

body.js-ready * { transition: none !important; }
body.js-ready *:not(.animate-on-scroll) { transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s, opacity 0.2s !important; }

a { color: var(--text-link); text-decoration: none; }
a:hover { color: var(--color-accent); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ─── Typography ────────────────────────────────────────────── */
h1 { font-size: 32px; font-weight: 600; line-height: 1.2; color: var(--text-heading); }
h2 { font-size: 25px; font-weight: 600; line-height: 1.3; color: var(--text-heading); }
h3 { font-size: 20px; font-weight: 600; line-height: 1.3; color: var(--text-heading-alt); }
h4 { font-size: 18px; font-weight: 600; color: var(--text-heading-alt); }
p  { margin-bottom: var(--space-md); }
strong { color: var(--text-keyword); font-weight: 600; }

/* ─── Keyword Highlight ─────────────────────────────────────── */
.kw { color: var(--text-keyword); font-weight: 600; }

/* ─── Buttons ───────────────────────────────────────────────── */
.cta-button {
  display: inline-block;
  background: var(--gradient-btn-primary);
  color: #fff !important;
  font-family: 'Kanit', sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  text-align: center;
  text-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: transform 0.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(232,93,4,0.4);
}
.cta-button:hover { transform: scale(0.96); box-shadow: 0 6px 20px rgba(232,93,4,0.6); color: #fff !important; }

.cta-button-footer {
  display: inline-block;
  background: var(--gradient-btn-secondary);
  color: #fff !important;
  font-family: 'Kanit', sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,0.9);
  cursor: pointer;
  text-align: center;
  text-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-button-footer:hover { transform: scale(0.96); color: #fff !important; }

/* ─── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-primary);
  border-bottom: 1px solid var(--border-header);
  height: 72px;
  display: flex;
  align-items: center;
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}
.site-logo img { height: 56px; width: auto; }
.site-logo-img { border-radius: 8px; }
.site-logo-img + .site-logo-text { display: none; }
.site-logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.5px;
}

.site-nav { display: flex; align-items: center; gap: var(--space-lg); }
.site-nav a {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.active { color: var(--text-nav-hover); }

.cta-header-nav {
  font-size: 15px;
  padding: 10px 24px;
  margin-left: var(--space-sm);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: var(--color-secondary);
  border: none;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 8px;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile Nav ────────────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0; right: 0;
  background: var(--color-primary);
  border-bottom: 2px solid var(--color-secondary);
  z-index: 999;
  padding: var(--space-lg) var(--space-md);
  flex-direction: column;
  gap: var(--space-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-divider);
  text-decoration: none;
}
.mobile-nav a:hover { color: var(--text-nav-hover); }
.mobile-nav .cta-button { width: 100%; text-align: center; margin-top: var(--space-sm); }

/* ─── Floating Sticky CTA ───────────────────────────────────── */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  animation: float 3s ease-in-out infinite;
}
.floating-cta a {
  background: var(--gradient-btn-primary);
  color: #fff !important;
  font-family: 'Kanit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(232,93,4,0.7);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.2);
}
.floating-cta a:hover { transform: scale(0.96); color: #fff !important; }
.floating-pulse {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,182,39,0.6); }
  50%      { box-shadow: 0 0 0 8px rgba(255,182,39,0); }
}

/* ─── Announcement Ticker ───────────────────────────────────── */
.ticker-wrap {
  background: var(--bg-ticker);
  border-top: 1px solid var(--border-divider);
  border-bottom: 1px solid var(--border-divider);
  overflow: hidden;
  padding: 10px 0;
}
.ticker-inner { display: flex; align-items: center; gap: 0; }
.ticker-label {
  background: var(--color-secondary);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-right: 16px;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker-scroll {
  overflow: hidden;
  flex: 1;
}
.ticker-text {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 35s linear infinite;
  font-size: 14px;
  color: var(--text-heading);
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ─── Hero Section ──────────────────────────────────────────── */
.hero-section {
  padding: var(--space-2xl) 0 var(--space-xl);
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--border-section);
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}
.hero-image-wrap {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-section);
  box-shadow: 0 8px 40px rgba(232,93,4,0.3);
}
.hero-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: filter 0.3s;
}
.hero-image-wrap:hover img { filter: brightness(132%) contrast(121%) saturate(116%); }

.hero-text { text-align: center; max-width: 800px; }
.hero-text h1 { margin-bottom: var(--space-md); }
.hero-text p { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: var(--space-lg); }
.hero-cta-group { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; }

/* ─── TOC ───────────────────────────────────────────────────── */
.toc-box {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-section);
  border-radius: 10px;
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-xl) 0;
}
.toc-box h2 {
  font-size: 20px;
  margin-bottom: var(--space-md);
  color: var(--text-heading);
  border-bottom: 1px solid var(--border-divider);
  padding-bottom: var(--space-sm);
}
.toc-box ol {
  list-style: decimal;
  padding-left: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs) var(--space-xl);
}
.toc-box ol li a {
  font-size: 15px;
  color: var(--text-link);
  text-decoration: none;
  line-height: 2;
}
.toc-box ol li a:hover { color: var(--color-accent); text-decoration: underline; }

/* ─── Content Sections ──────────────────────────────────────── */
.content-section {
  padding: var(--space-xl) 0;
}
.section-card {
  background: var(--color-surface);
  border: 2px solid var(--border-section);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.section-card:last-child { margin-bottom: 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.col-text h2 { margin-bottom: var(--space-md); }
.col-text p { color: rgba(255,255,255,0.9); }

.col-image img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border-section);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: filter 0.3s;
}
.col-image:hover img { filter: brightness(132%) contrast(121%) saturate(116%); }

/* ─── H2 Heading with Block ─────────────────────────────────── */
.h2-block {
  background: var(--bg-heading-block);
  border-left: 4px solid var(--color-secondary);
  border-radius: 0 8px 8px 0;
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-md);
}
.h2-block h2 { margin: 0; }

/* ─── Provider/Game Label Grid ───────────────────────────────── */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin: var(--space-md) 0;
}
.provider-label {
  background: var(--gradient-provider);
  border: 1px solid var(--border-section);
  border-radius: 7px;
  padding: var(--space-sm) var(--space-md);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
  transition: transform 0.2s, border-color 0.2s;
}
.provider-label:hover { transform: translateY(-3px); border-color: var(--color-accent); }

/* ─── Star Rating ───────────────────────────────────────────── */
.star-rating { color: var(--color-accent); font-size: 20px; margin-bottom: var(--space-sm); }

/* ─── Review Cards ───────────────────────────────────────────── */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}
.review-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-faq);
  border-radius: 20px;
  padding: 28px;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s;
}
.review-card:hover { transform: translate3d(0,-8px,0) scale(1.02); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.review-card .reviewer { font-weight: 600; color: var(--text-heading); margin-top: var(--space-sm); }
.review-card p { font-size: 15px; color: rgba(255,255,255,0.85); margin: 0; }

/* ─── FAQ Section ────────────────────────────────────────────── */
.faq-outer {
  background: var(--bg-card-dark);
  border-radius: 20px;
  padding: var(--space-xl);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.faq-item {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-faq);
  border-radius: 10px;
  padding: var(--space-lg);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.faq-item:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-sm);
}
.faq-question h3 { font-size: 16px; color: var(--text-heading-alt); margin: 0; flex: 1; }
.faq-icon { color: var(--color-secondary); font-size: 20px; flex-shrink: 0; transition: transform 0.3s; }
.faq-answer { display: none; margin-top: var(--space-sm); font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.7; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open .faq-answer { display: block; }

/* ─── Gallery / Image Showcase ───────────────────────────────── */
.gallery-section {
  padding: var(--space-xl) 0;
}
.gallery-image {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border-section);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  object-fit: cover;
  transition: filter 0.3s;
}
.gallery-image:hover { filter: brightness(132%) contrast(121%) saturate(116%); }

/* ─── Step/Feature Cards ─────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}
.feature-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-section);
  border-radius: 10px;
  padding: var(--space-lg);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.feature-icon { font-size: 36px; margin-bottom: var(--space-md); }
.feature-card h3 { color: var(--text-heading-alt); margin-bottom: var(--space-sm); }
.feature-card p { font-size: 15px; color: rgba(255,255,255,0.85); margin: 0; }

/* ─── Promotion Page ─────────────────────────────────────────── */
.promo-list { display: flex; flex-direction: column; gap: var(--space-xl); }
.promo-card {
  background: var(--color-surface);
  border: 2px solid var(--border-section);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  overflow: hidden;
}
.promo-card-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: 280px;
}
.promo-image { overflow: hidden; }
.promo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s;
}
.promo-image:hover img { filter: brightness(132%) contrast(121%) saturate(116%); }
.promo-content {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.promo-badge {
  display: inline-block;
  background: var(--color-secondary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.promo-content h2 { font-size: 22px; margin-bottom: var(--space-sm); }
.promo-content p { font-size: 15px; color: rgba(255,255,255,0.88); line-height: 1.7; margin-bottom: var(--space-md); }
.promo-terms { font-size: 13px; color: rgba(255,255,255,0.5); border-top: 1px solid var(--border-divider); padding-top: var(--space-sm); margin-top: auto; }

/* ─── Login Page ─────────────────────────────────────────────── */
.login-hero { padding: var(--space-2xl) 0; background: var(--gradient-hero); }
.login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
.login-form-wrap {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-section);
  border-radius: 16px;
  padding: var(--space-xl);
}
.login-form-wrap h2 { margin-bottom: var(--space-lg); text-align: center; }
.form-group { margin-bottom: var(--space-md); }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text-heading-alt); margin-bottom: var(--space-xs); }
.form-group input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  height: 48px;
  padding: 0 var(--space-md);
  color: #fff;
  font-family: 'Kanit', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus { border-color: var(--color-accent); }
.form-divider { text-align: center; color: rgba(255,255,255,0.4); margin: var(--space-md) 0; font-size: 13px; }
.login-info h2 { margin-bottom: var(--space-md); }
.login-info p { color: rgba(255,255,255,0.85); }

/* ─── Blog Post ───────────────────────────────────────────────── */
.blog-hero { padding: var(--space-xl) 0 var(--space-lg); background: var(--gradient-hero); }
.blog-meta { display: flex; align-items: center; gap: var(--space-md); margin-bottom: var(--space-lg); flex-wrap: wrap; }
.blog-category {
  background: var(--color-secondary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
}
.blog-date { font-size: 14px; color: rgba(255,255,255,0.55); }
.blog-author { font-size: 14px; color: rgba(255,255,255,0.55); }

.blog-featured-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border-section);
  margin-bottom: var(--space-xl);
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-xl);
  align-items: start;
}
.blog-content h2 { margin: var(--space-xl) 0 var(--space-md); }
.blog-content p { color: rgba(255,255,255,0.9); }
.blog-content ul, .blog-content ol {
  padding-left: 24px;
  margin-bottom: var(--space-md);
  list-style: disc;
}
.blog-content li { margin-bottom: var(--space-xs); color: rgba(255,255,255,0.9); }

.blog-sidebar { position: sticky; top: 90px; }
.sidebar-box {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-section);
  border-radius: 10px;
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.sidebar-box h3 { font-size: 16px; margin-bottom: var(--space-md); padding-bottom: var(--space-sm); border-bottom: 1px solid var(--border-divider); }
.sidebar-box ol { list-style: decimal; padding-left: 18px; }
.sidebar-box li { margin-bottom: var(--space-xs); }
.sidebar-box li a { font-size: 14px; color: var(--text-link); }
.sidebar-box li a:hover { color: var(--color-accent); }

/* ─── Archive Page ────────────────────────────────────────────── */
.archive-hero { padding: var(--space-2xl) 0 var(--space-xl); background: var(--gradient-hero); }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}
.archive-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border-section);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.archive-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.archive-thumb { overflow: hidden; }
.archive-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: filter 0.3s;
}
.archive-card:hover .archive-thumb img { filter: brightness(132%) contrast(121%) saturate(116%); }
.archive-card-body { padding: var(--space-lg); }
.archive-card-body .blog-category { display: inline-block; margin-bottom: var(--space-sm); }
.archive-card-body h2 { font-size: 18px; margin-bottom: var(--space-sm); line-height: 1.4; }
.archive-card-body p { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: var(--space-md); line-height: 1.6; }
.read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-link);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.read-more:hover { color: var(--color-accent); }

/* ─── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-footer);
  border-top: 2px solid var(--border-footer);
  padding: var(--space-3xl) 0 var(--space-xl);
  margin-top: var(--space-3xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-xl);
}
.footer-brand .brand-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-footer-brand);
  margin-bottom: var(--space-sm);
}
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: var(--space-lg); }

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-divider);
}
.footer-col ul li { margin-bottom: var(--space-sm); }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--color-accent); }

.footer-bottom {
  border-top: 1px solid var(--border-divider);
  padding-top: var(--space-lg);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ─── Scroll Animations ───────────────────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ─── Utility ─────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-xl { margin-bottom: var(--space-xl); }
.section-title { text-align: center; margin-bottom: var(--space-xl); }
.section-title h2 { margin-bottom: var(--space-sm); }
.section-title p { color: rgba(255,255,255,0.7); font-size: 16px; }
.badge-orange { background: var(--color-secondary); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 20px; display: inline-block; }
.divider { border: none; border-top: 1px solid var(--border-divider); margin: var(--space-xl) 0; }
.lazy { opacity: 0; transition: opacity 0.4s; }
.lazy.loaded { opacity: 1; }

/* ─── Responsive — Tablet (768-1024px) ───────────────────────── */
@media (max-width: 1024px) {
  h1 { font-size: 25px; }
  h2 { font-size: 21px; }
  h3 { font-size: 19px; }
  body { font-size: 16px; }

  .site-nav { display: none; }
  .cta-header-nav { display: none; }
  .hamburger { display: flex; }

  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse { direction: ltr; }

  .review-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .provider-grid { grid-template-columns: repeat(3, 1fr); }
  .archive-grid { grid-template-columns: 1fr 1fr; }

  .promo-card-inner { grid-template-columns: 1fr; }
  .promo-image img { height: 240px; }

  .login-grid { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .toc-box ol { grid-template-columns: 1fr; }
}

/* ─── Responsive — Mobile (<767px) ───────────────────────────── */
@media (max-width: 767px) {
  h1 { font-size: 20px; }
  h2 { font-size: 19px; }
  h3 { font-size: 17px; }
  body { font-size: 15px; }

  .hero-image-wrap img { height: 220px; }
  .container { padding: 0 var(--space-md); }
  .section-card { padding: var(--space-lg); }

  .review-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .provider-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: 1fr; }

  .floating-cta { bottom: 16px; right: 16px; }
  .floating-cta a { font-size: 14px; padding: 12px 20px; }

  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .cta-button { width: 100%; max-width: 320px; }
}
