/* ========================================
   8e88live.net - Global Stylesheet
   Bangladesh Market | bn-BD
   ======================================== */

:root {
  --color-bg-primary: #0b1120;
  --color-bg-secondary: #111827;
  --color-bg-card: rgba(255,255,255,0.04);
  --color-bg-card-hover: rgba(255,255,255,0.08);
  --color-accent: #e6a817;
  --color-accent-hover: #f0b829;
  --color-accent-glow: rgba(230,168,23,0.25);
  --color-cta: #2563eb;
  --color-cta-hover: #3b82f6;
  --color-text-primary: #e8ecf1;
  --color-text-secondary: #94a3b8;
  --color-text-heading: #f1f5f9;
  --color-border: rgba(255,255,255,0.08);
  --color-border-accent: rgba(230,168,23,0.3);
  --color-success: #22c55e;
  --color-danger: #ef4444;
  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.4);
  --max-w: 1180px;
  --header-h: 72px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-stack);
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--color-accent-hover);
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(11,17,32,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 20px;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.brand-wrap {
  width: 168px;
  min-width: 168px;
  max-width: 168px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--color-accent) 0%, #d4940f 100%);
  border-radius: 10px;
  color: var(--color-bg-primary);
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
}

.brand-text {
  min-width: 0;
  line-height: 1.05;
}

.brand-text strong {
  display: block;
  max-width: 105px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--color-accent);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.brand-text span {
  display: block;
  max-width: 105px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--color-text-secondary);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Primary Navigation */
.primary-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1vw, 18px);
  overflow: visible;
  flex-wrap: nowrap;
}

.primary-nav a {
  white-space: nowrap;
  flex: 0 1 auto;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
  padding: 10px 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.25s ease;
  border-bottom: 2px solid transparent;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* More Menu */
.nav-more {
  position: relative;
  flex: 0 0 auto;
}

.more-toggle {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-card);
  color: var(--color-text-secondary);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-stack);
  gap: 4px;
  transition: all 0.25s ease;
}

.more-toggle:hover {
  background: var(--color-bg-card-hover);
  color: var(--color-accent);
}

.more-toggle svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.more-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 210px;
  padding: 10px;
  border-radius: 16px;
  z-index: 1200;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.more-menu[hidden] {
  display: none !important;
}

.nav-more.is-open .more-menu {
  display: grid;
  gap: 4px;
}

.more-menu a {
  display: block;
  width: 100%;
  max-width: none;
  padding: 11px 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-decoration: none;
}

.more-menu a:hover,
.more-menu a.active {
  background: var(--color-bg-card-hover);
  color: var(--color-accent);
}

/* Header Actions */
.header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.header-actions .btn {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-stack);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-register {
  background: var(--color-accent);
  color: var(--color-bg-primary);
}

.btn-register:hover {
  background: var(--color-accent-hover);
  color: var(--color-bg-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--color-accent-glow);
}

.btn-login {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.btn-login:hover {
  background: rgba(230,168,23,0.1);
  color: var(--color-accent-hover);
}

/* Nav Toggle (mobile) */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-family: var(--font-stack);
  padding: 0;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  padding: 72px 0 64px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(11,17,32,0.3) 0%, var(--color-bg-primary) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text-heading);
  margin-bottom: 18px;
}

.hero h1 .accent {
  color: var(--color-accent);
}

.hero .hero-lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-cta .btn {
  min-height: 50px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  font-family: var(--font-stack);
}

.hero-cta .btn-primary {
  background: var(--color-accent);
  color: var(--color-bg-primary);
}

.hero-cta .btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--color-accent-glow);
}

.hero-cta .btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.hero-cta .btn-outline:hover {
  background: rgba(230,168,23,0.1);
}

/* ========================================
   SECTION SYSTEM
   ======================================== */
.content-section {
  padding: 72px 0;
}

.content-section.alt-bg {
  background: var(--color-bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 14px;
  line-height: 1.25;
}

.section-header p {
  font-size: 17px;
  color: var(--color-text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

/* ========================================
   CONTENT GRID & PROSE
   ======================================== */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 36px;
  align-items: start;
}

.content-grid.reverse {
  grid-template-columns: minmax(280px, .95fr) minmax(0, 1.05fr);
}

.prose {
  max-width: 820px;
}

.prose p {
  font-size: 17px;
  line-height: 1.9;
  margin: 0 0 18px;
  color: var(--color-text-primary);
}

.prose h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.25;
  margin: 48px 0 18px;
  color: var(--color-text-heading);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 600;
  line-height: 1.35;
  margin: 32px 0 12px;
  color: var(--color-accent);
}

.prose ul, .prose ol {
  margin: 0 0 18px 24px;
}

.prose li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.prose img {
  border-radius: var(--radius-md);
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}

/* ========================================
   CARD SYSTEM
   ======================================== */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--color-border-accent);
  background: var(--color-bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(230,168,23,0.12);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #d4940f 100%);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--color-bg-primary);
  font-size: 22px;
  font-weight: 700;
}

.card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin: -28px -24px 18px;
  width: calc(100% + 48px);
}

/* ========================================
   GAME CARDS (for game pages)
   ======================================== */
.game-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.game-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(230,168,23,0.15);
}

.game-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.game-card-body {
  padding: 20px;
}

.game-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 8px;
}

.game-card-body p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font-family: var(--font-stack);
}

.faq-question:hover {
  background: var(--color-bg-card-hover);
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  font-weight: 300;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 18px;
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  display: none;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(230,168,23,0.08) 0%, var(--color-bg-primary) 100%);
  border-top: 1px solid var(--color-border);
}

.cta-section h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 14px;
}

.cta-section p {
  font-size: 17px;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-group {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ========================================
   BREADCRUMB
   ======================================== */
.breadcrumb-bar {
  padding: 14px 0;
  background: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  flex-wrap: wrap;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-list li::after {
  content: "›";
  color: var(--color-text-secondary);
}

.breadcrumb-list li:last-child::after {
  display: none;
}

.breadcrumb-list a {
  color: var(--color-accent);
  text-decoration: none;
}

.breadcrumb-list span {
  color: var(--color-text-secondary);
}

/* ========================================
   STEP / PROCESS BLOCKS
   ======================================== */
.step-list {
  counter-reset: step-counter;
}

.step-item {
  counter-increment: step-counter;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 24px 24px 72px;
  margin-bottom: 16px;
  position: relative;
}

.step-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 22px;
  width: 38px;
  height: 38px;
  background: var(--color-accent);
  color: var(--color-bg-primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
}

.step-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 6px;
}

.step-item p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ========================================
   HIGHLIGHT / INFO BOX
   ======================================== */
.info-box {
  background: linear-gradient(135deg, rgba(230,168,23,0.08) 0%, rgba(230,168,23,0.02) 100%);
  border-left: 4px solid var(--color-accent);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.info-box p {
  font-size: 15px;
  color: var(--color-text-primary);
  line-height: 1.7;
}

.warning-box {
  background: linear-gradient(135deg, rgba(239,68,68,0.08) 0%, rgba(239,68,68,0.02) 100%);
  border-left: 4px solid var(--color-danger);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ========================================
   STATS GRID
   ======================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-accent);
  display: block;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* ========================================
   PRICING / BONUS TABLE
   ======================================== */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bonus-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.bonus-card.featured {
  border-color: var(--color-accent);
  transform: scale(1.03);
  box-shadow: 0 8px 32px var(--color-accent-glow);
}

.bonus-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 12px;
}

.bonus-value {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-accent);
  display: block;
  margin-bottom: 6px;
}

.bonus-card ul {
  list-style: none;
  text-align: left;
  padding: 16px 0;
}

.bonus-card li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--color-text-secondary);
}

.bonus-card li::before {
  content: "✓ ";
  color: var(--color-success);
  font-weight: 700;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.testimonial-stars {
  color: var(--color-accent);
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--color-text-primary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 14px;
}

.testimonial-author {
  font-size: 14px;
  color: var(--color-accent);
  font-weight: 600;
}

/* ========================================
   ARTICLE / BLOG
   ======================================== */
.article-header {
  padding: 48px 0 24px;
}

.article-meta {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.article-body {
  max-width: 820px;
  margin: 0 auto;
  padding-bottom: 48px;
}

.article-body .prose img {
  width: 100%;
  margin: 28px 0;
}

.related-articles {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 64px 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
}

.footer-about p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-contact-item {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* ========================================
   404 PAGE
   ======================================== */
.page-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.page-404 h1 {
  font-size: 96px;
  font-weight: 900;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.page-404 p {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: 28px;
}

/* ========================================
   INTERNAL LINK BLOCK
   ======================================== */
.related-pages {
  padding: 48px 0;
}

.related-pages h2 {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 24px;
}

.link-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.link-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-decoration: none;
  transition: all 0.25s ease;
  display: block;
}

.link-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(230,168,23,0.1);
}

.link-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 6px;
}

.link-card p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */
@media (max-width: 1024px) {
  .card-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .bonus-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   RESPONSIVE - MOBILE (<=900px)
   ======================================== */
@media (max-width: 900px) {
  .header-inner {
    min-height: 68px;
    grid-template-columns: 140px 1fr auto;
    gap: 10px;
  }

  .brand-wrap {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    height: 48px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 14px;
  }

  .brand-text strong {
    max-width: 86px;
    font-size: 16px;
  }
  
  .brand-text span {
    max-width: 86px;
    font-size: 10px;
  }

  .primary-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 18px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    z-index: 1100;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    max-width: none;
    width: 100%;
    padding: 14px 12px;
    text-overflow: initial;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
  }
  
  .primary-nav a:last-child {
    border-bottom: none;
  }

  .header-actions {
    justify-content: flex-end;
    gap: 6px;
  }

  .header-actions .btn {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .nav-toggle {
    display: inline-flex;
  }
  
  .nav-more {
    display: contents;
  }
  
  .more-toggle {
    display: none !important;
  }
  
  .more-menu {
    display: contents !important;
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    min-width: 0;
  }
  
  .more-menu a {
    max-width: none;
    width: 100%;
    padding: 14px 12px;
    white-space: normal;
    text-overflow: initial;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
    border-radius: 0;
  }
  
  .more-menu a:last-child {
    border-bottom: none;
  }
  
  .content-section {
    padding: 48px 0;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .content-grid.reverse {
    grid-template-columns: 1fr;
  }

  .prose p {
    font-size: 16px;
    line-height: 1.85;
  }
  
  .card-grid.cols-2,
  .card-grid.cols-3,
  .card-grid.cols-4 {
    grid-template-columns: 1fr;
  }
  
  .link-card-grid {
    grid-template-columns: 1fr;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bonus-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .hero {
    padding: 48px 0 40px;
  }
  
  .hero h1 {
    font-size: clamp(24px, 6vw, 36px);
  }
}

/* ========================================
   RESPONSIVE - SMALL MOBILE
   ======================================== */
@media (max-width: 480px) {
  .wrap {
    padding: 0 14px;
  }
  
  .header-inner {
    padding: 0 14px;
    gap: 6px;
  }
  
  .header-actions .btn {
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
    text-align: center;
  }
  
  .cta-section .btn-group {
    flex-direction: column;
    align-items: center;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
  .site-header,
  .site-footer,
  .nav-toggle,
  .header-actions,
  .cta-section {
    display: none !important;
  }
  
  body {
    background: #fff;
    color: #000;
  }
}
