/* ============================================
   777bd app - Original Design System
   Bangladesh Market / bn-BD
   ============================================ */

:root {
  --c-bg: #0b1628;
  --c-bg-alt: #111e33;
  --c-card: #15243d;
  --c-card-hover: #1a2d4a;
  --c-accent: #e8a924;
  --c-accent-light: #f5c54a;
  --c-cta: #1ba94c;
  --c-cta-hover: #22c55e;
  --c-blue: #3b82f6;
  --c-blue-light: #60a5fa;
  --c-text: #cbd5e1;
  --c-text-bright: #f1f5f9;
  --c-text-muted: #7e8fa6;
  --c-border: rgba(59,130,246,0.12);
  --c-danger: #ef4444;
  --c-warning: #f59e0b;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --shadow: 0 4px 24px rgba(0,0,0,0.18);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.12);
  --max-w: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.75;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--c-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-accent-light); }

img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: linear-gradient(180deg, #070e1c 0%, var(--c-bg) 100%);
  border-bottom: 2px solid var(--c-accent);
}

.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(--c-accent), #d4941c);
  border-radius: 10px;
  color: var(--c-bg);
  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(--c-accent);
  font-size: 17px;
  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(--c-text-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.primary-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.1vw, 20px);
  overflow: hidden;
  flex-wrap: nowrap;
}

.primary-nav a {
  white-space: nowrap;
  flex: 0 1 auto;
  max-width: 128px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
  padding: 10px 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  transition: color .2s;
  text-decoration: none;
  position: relative;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--c-accent);
}

.primary-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
}

/* More dropdown */
.nav-more {
  position: relative;
}

.nav-more-btn {
  background: none;
  border: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all .2s;
  font-family: var(--font);
}

.nav-more-btn:hover { color: var(--c-accent); border-color: var(--c-accent); }

.nav-more-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 8px 0;
  min-width: 180px;
  box-shadow: var(--shadow);
  z-index: 100;
}

.nav-more-menu.is-open { display: block; }

.nav-more-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--c-text);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: background .15s, color .15s;
}

.nav-more-menu a:hover {
  background: var(--c-bg-alt);
  color: var(--c-accent);
}

.header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.btn {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  line-height: 1;
}

.btn-register {
  background: linear-gradient(135deg, var(--c-cta), #15803d);
  color: #fff;
}

.btn-register:hover {
  background: linear-gradient(135deg, var(--c-cta-hover), #16a34a);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27,169,76,0.3);
}

.btn-login {
  background: transparent;
  border: 2px solid var(--c-accent);
  color: var(--c-accent);
}

.btn-login:hover {
  background: var(--c-accent);
  color: var(--c-bg);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: var(--c-text-bright);
  font-size: 22px;
  font-family: var(--font);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 48px;
  background: linear-gradient(135deg, #070e1c 0%, #0f1d35 50%, #0b1628 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,169,36,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--c-text-bright);
  line-height: 1.25;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--c-text);
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero {
  min-height: 50px;
  padding: 0 28px;
  font-size: 16px;
  border-radius: var(--radius);
}

.hero-img {
  border-radius: var(--radius-lg);
  border: 2px solid var(--c-border);
  width: 100%;
  max-width: 580px;
}

/* ============================================
   BANNER
   ============================================ */
.banner-section { padding: 0; }

.banner-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 0;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--c-bg-alt);
}

.section-accent {
  background: linear-gradient(180deg, rgba(232,169,36,0.04) 0%, transparent 100%);
}

.section-bordered {
  border-top: 2px solid var(--c-accent);
  border-bottom: 2px solid var(--c-accent);
}

.section-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: var(--c-accent);
  margin-bottom: 14px;
  line-height: 1.3;
}

.section-desc {
  font-size: 16px;
  color: var(--c-text);
  max-width: 680px;
  margin-bottom: 36px;
}

.text-center { text-align: center; }
.text-center .section-desc { margin-left: auto; margin-right: auto; }

/* ============================================
   CARDS
   ============================================ */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .3s, box-shadow .3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--c-accent), #d4941c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--c-bg);
  margin-bottom: 16px;
}

.card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text-bright);
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text);
}

/* ============================================
   PROSE / CONTENT
   ============================================ */
.prose {
  max-width: 820px;
}

.prose-center {
  margin-left: auto;
  margin-right: auto;
}

.prose p {
  font-size: 17px;
  line-height: 1.9;
  margin: 0 0 18px;
  color: var(--c-text);
}

.prose h2 {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 800;
  color: var(--c-accent);
  line-height: 1.3;
  margin: 42px 0 16px;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 700;
  color: var(--c-text-bright);
  line-height: 1.35;
  margin: 32px 0 12px;
}

.prose ul, .prose ol {
  padding-left: 24px;
  margin: 0 0 18px;
}

.prose li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 8px;
  color: var(--c-text);
}

.prose strong { color: var(--c-text-bright); }

.prose a { color: var(--c-accent); text-decoration: underline; }

/* Content grid: text + image */
.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);
}

.content-img {
  border-radius: var(--radius);
  border: 2px solid var(--c-border);
  width: 100%;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.comp-table th {
  background: var(--c-accent);
  color: var(--c-bg);
  font-weight: 700;
  padding: 14px 18px;
  font-size: 15px;
  text-align: center;
}

.comp-table td {
  background: var(--c-card);
  color: var(--c-text);
  padding: 14px 18px;
  font-size: 14px;
  border-bottom: 1px solid var(--c-border);
  text-align: center;
}

.comp-table td:first-child {
  font-weight: 600;
  text-align: left;
}

.comp-table tr:last-child td { border-bottom: none; }

.check-yes { color: var(--c-accent); }
.check-no { color: var(--c-danger); }
.check-mid { color: var(--c-warning); }

/* ============================================
   STEPS
   ============================================ */
.step-list {
  display: grid;
  gap: 20px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px;
}

.step-num {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  background: var(--c-accent);
  color: var(--c-bg);
  font-weight: 800;
  font-size: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text-bright);
  margin-bottom: 6px;
}

.step-item p {
  font-size: 15px;
  color: var(--c-text);
  line-height: 1.7;
}

/* ============================================
   VIP TIERS
   ============================================ */
.vip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.vip-card {
  background: var(--c-card);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all .3s;
  position: relative;
}

.vip-card.featured { border-color: var(--c-accent); }

.vip-card.featured::before {
  content: 'জনপ্রিয়';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: var(--c-bg);
  font-weight: 700;
  font-size: 12px;
  padding: 3px 16px;
  border-radius: 20px;
}

.vip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(232,169,36,0.12);
}

.vip-icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
}

.vip-tier-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text-bright);
  margin: 8px 0 4px;
}

.vip-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--c-accent);
  margin: 8px 0;
}

.vip-desc {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: 16px;
}

.vip-features {
  list-style: none;
  padding: 0;
  text-align: left;
}

.vip-features li {
  font-size: 14px;
  padding: 6px 0;
  color: var(--c-text);
}

.vip-features li::before {
  content: '✓ ';
  color: var(--c-accent);
  font-weight: 700;
}

/* ============================================
   PRIVACY NOTICE BLOCK
   ============================================ */
.notice-block {
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(232,169,36,0.04));
  border-left: 4px solid var(--c-blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
}

.notice-block h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text-bright);
  margin-bottom: 12px;
}

.notice-block p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text);
  margin-bottom: 10px;
}

.notice-block p:last-child { margin-bottom: 0; }

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 820px;
}

.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: var(--c-card);
  border: none;
  padding: 18px 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text-bright);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font);
  transition: background .2s;
}

.faq-q:hover { background: var(--c-card-hover); }

.faq-q::after {
  content: '+';
  font-size: 22px;
  color: var(--c-accent);
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform .2s;
}

.faq-item.is-open .faq-q::after {
  content: '−';
}

.faq-a {
  display: none;
  padding: 0 24px 18px;
  background: var(--c-card);
}

.faq-item.is-open .faq-a { display: block; }

.faq-a p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text);
  margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 64px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--c-text-bright);
  margin-bottom: 14px;
}

.cta-section p {
  font-size: 17px;
  color: var(--c-text);
  max-width: 560px;
  margin: 0 auto 24px;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--c-text-muted);
}

.breadcrumb a {
  color: var(--c-text-muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--c-accent); }

.breadcrumb span { color: var(--c-text); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #060d1a;
  border-top: 2px solid var(--c-accent);
  padding: 48px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--c-accent);
  margin-bottom: 12px;
}

.footer-about {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-muted);
  margin-bottom: 14px;
}

.footer-contact {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.8;
}

.footer-contact a { color: var(--c-text-muted); }
.footer-contact a:hover { color: var(--c-accent); }

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-accent);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  font-size: 14px;
  color: var(--c-text-muted);
  text-decoration: none;
  transition: color .2s;
}

.footer-links a:hover { color: var(--c-accent); }

.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding-top: 18px;
  text-align: center;
}

.footer-copy {
  font-size: 13px;
  color: var(--c-text-muted);
}

.footer-18 {
  display: inline-block;
  background: var(--c-danger);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 6px;
  margin-top: 10px;
}

/* ============================================
   INNER PAGE HERO
   ============================================ */
.page-hero {
  padding: 48px 0 36px;
  background: linear-gradient(135deg, #070e1c 0%, #0f1d35 100%);
  border-bottom: 1px solid var(--c-border);
}

.page-hero h1 {
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 800;
  color: var(--c-text-bright);
  line-height: 1.3;
  margin-bottom: 14px;
}

.page-hero-lead {
  font-size: 17px;
  color: var(--c-text);
  line-height: 1.8;
  max-width: 700px;
}

/* ============================================
   IMAGE BREAKS
   ============================================ */
.img-break {
  padding: 24px 0;
}

.img-break img {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 2px solid var(--c-border);
}

/* ============================================
   ARTICLE / BLOG
   ============================================ */
.article-meta {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: 24px;
}

.article-cover {
  width: 100%;
  border-radius: var(--radius);
  border: 2px solid var(--c-border);
  margin-bottom: 28px;
}

.related-posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.related-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s;
}

.related-card:hover { transform: translateY(-3px); }

.related-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.related-card-body {
  padding: 16px;
}

.related-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text-bright);
  margin-bottom: 6px;
}

.related-card-body p {
  font-size: 13px;
  color: var(--c-text-muted);
}

/* ============================================
   UTILITIES
   ============================================ */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: 12px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 48px; }
.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }

/* ============================================
   RESPONSIVE: TABLET
   ============================================ */
@media (max-width: 1024px) {
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .vip-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid, .content-grid-reverse { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { max-width: 480px; margin: 0 auto; }
}

/* ============================================
   RESPONSIVE: MOBILE NAV
   ============================================ */
@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;
  }

  .brand-text strong,
  .brand-text span {
    max-width: 86px;
  }

  .primary-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: var(--radius-lg);
    background: var(--c-card);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    z-index: 999;
  }

  .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(--c-border);
    font-size: 15px;
  }

  .primary-nav a:last-child { border-bottom: none; }

  .primary-nav a.active::after { display: none; }

  .nav-more { display: 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;
  }
}

/* ============================================
   RESPONSIVE: SMALL MOBILE
   ============================================ */
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .hero { padding: 40px 0 32px; }
  .page-hero { padding: 32px 0 24px; }

  .card-grid-4, .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .vip-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .related-posts { grid-template-columns: 1fr; }
  .step-list { grid-template-columns: 1fr; }

  .prose p { font-size: 16px; line-height: 1.85; }
  .prose h2 { font-size: 22px; margin-top: 32px; }
  .prose h3 { font-size: 18px; }

  .hero h1 { font-size: 24px; }
  .section-title { font-size: 22px; }
}

@media (max-width: 414px) {
  .container { padding: 0 14px; }
  .header-inner { padding: 0 14px; }
  .header-actions .btn { padding: 0 10px; font-size: 12px; min-height: 36px; }
}

/* ============================================
   404 PAGE
   ============================================ */
.page-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px;
}

.page-404 h1 {
  font-size: 72px;
  font-weight: 800;
  color: var(--c-accent);
  margin-bottom: 12px;
}

.page-404 p {
  font-size: 18px;
  color: var(--c-text);
  margin-bottom: 24px;
}

/* ============================================
   REGISTER / LOGIN PAGES
   ============================================ */
.auth-section {
  padding: 64px 0;
}

.auth-box {
  max-width: 520px;
  margin: 0 auto;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}

.auth-box h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--c-text-bright);
  margin-bottom: 12px;
}

.auth-box h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-accent);
  margin: 28px 0 12px;
}

.auth-box p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text);
  margin-bottom: 14px;
}

.auth-box ul {
  padding-left: 20px;
  margin-bottom: 18px;
}

.auth-box li {
  font-size: 14px;
  color: var(--c-text);
  line-height: 1.7;
  margin-bottom: 6px;
}

.btn-full {
  width: 100%;
  min-height: 50px;
  font-size: 16px;
  margin-top: 8px;
}

/* ============================================
   GAME DETAIL TEMPLATE
   ============================================ */
.game-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.game-stat {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
}

.game-stat-label {
  font-size: 12px;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.game-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--c-accent);
}

@media (max-width: 600px) {
  .game-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   RESPONSIBLE GAMING
   ============================================ */
.rg-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .rg-tools-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .rg-tools-grid { grid-template-columns: 1fr; }
}
