/* ============================================
   5777betgame.net - Main Stylesheet
   Original design for Bangladesh market
   ============================================ */

:root {
  --c-brand: #1565c0;
  --c-brand-dark: #0d47a1;
  --c-brand-light: #42a5f5;
  --c-accent: #ff6f00;
  --c-accent-light: #ffa726;
  --c-bg-primary: #0a1628;
  --c-bg-secondary: #101e36;
  --c-bg-card: #152238;
  --c-bg-card-alt: #1a2d4a;
  --c-text: #e2e8f0;
  --c-text-muted: #8899b4;
  --c-text-heading: #ffffff;
  --c-border: #1e3a5f;
  --c-border-light: #2a4a6b;
  --c-success: #22c55e;
  --c-warning: #f59e0b;
  --c-danger: #ef4444;
  --r-card: 14px;
  --r-btn: 8px;
  --r-pill: 999px;
  --shadow-card: 0 4px 24px rgba(0,0,0,.35);
  --shadow-hover: 0 8px 32px rgba(21,101,192,.25);
  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  --max-w: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-stack);
  background: var(--c-bg-primary);
  color: var(--c-text);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--c-brand-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-accent-light); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ===== SITE HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: linear-gradient(90deg, #060e1e 0%, #0c1a30 50%, #060e1e 100%);
  border-bottom: 2px solid var(--c-brand);
  box-shadow: 0 2px 20px rgba(0,0,0,.5);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 72px;
  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-brand), var(--c-accent));
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(21,101,192,.4);
}

.brand-mark svg { width: 28px; height: 28px; }

.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-brand-light);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .5px;
}

.brand-text span {
  display: block;
  max-width: 105px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--c-text-muted);
  font-size: .7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Primary Nav */
.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: 128px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
  padding: 10px 6px;
  color: var(--c-text);
  font-size: .88rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s, text-shadow .2s;
  position: relative;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--c-brand-light);
  text-shadow: 0 0 8px rgba(21,101,192,.5);
}

.primary-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--c-brand);
  border-radius: 1px;
}

/* Header Actions */
.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(--r-btn);
  font-family: var(--font-stack);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s;
}

.btn-register {
  background: linear-gradient(135deg, var(--c-accent), #e65100);
  color: #fff;
  box-shadow: 0 2px 12px rgba(255,111,0,.3);
}

.btn-register:hover {
  box-shadow: 0 4px 20px rgba(255,111,0,.5);
  transform: translateY(-1px);
  color: #fff;
}

.btn-login {
  background: transparent;
  color: var(--c-brand-light);
  border: 1.5px solid var(--c-brand);
}

.btn-login:hover {
  background: var(--c-brand);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--c-border-light);
  border-radius: 8px;
  background: transparent;
  color: var(--c-text);
  font-size: 1.2rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* More Menu */
.nav-more {
  position: relative;
  flex: 0 0 auto;
}

.more-toggle {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg-card);
  color: var(--c-text);
  font-family: var(--font-stack);
  font-size: .85rem;
  font-weight: 500;
  gap: 4px;
  transition: border-color .2s, background .2s;
}

.more-toggle:hover {
  border-color: var(--c-brand);
  background: var(--c-bg-card-alt);
}

.more-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform .2s;
}

.nav-more.is-open .more-toggle svg {
  transform: rotate(180deg);
}

.more-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 210px;
  padding: 10px;
  border-radius: 16px;
  z-index: 1200;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
}

.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(--c-text);
  font-size: .88rem;
  text-decoration: none;
  border-radius: 8px;
  transition: background .2s;
}

.more-menu a:hover {
  background: var(--c-bg-card-alt);
  color: var(--c-brand-light);
}

/* ===== HERO SECTIONS ===== */
.hero {
  background: linear-gradient(135deg, #040c1a 0%, #0c1a30 40%, #081428 100%);
  border-bottom: 1px solid var(--c-border);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(21,101,192,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,111,0,.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--c-brand), var(--c-accent));
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--c-text-heading);
  margin-bottom: 18px;
}

.hero h1 .brand-highlight {
  color: var(--c-brand-light);
  text-shadow: 0 0 20px rgba(21,101,192,.4);
}

.hero-desc {
  color: var(--c-text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 540px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-hero {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--r-btn);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all .3s;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--c-brand), var(--c-brand-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(21,101,192,.35);
}

.btn-hero-primary:hover {
  box-shadow: 0 6px 30px rgba(21,101,192,.55);
  transform: translateY(-2px);
  color: #fff;
}

.btn-hero-outline {
  border: 2px solid var(--c-brand);
  color: var(--c-brand-light);
  background: transparent;
}

.btn-hero-outline:hover {
  background: var(--c-brand);
  color: #fff;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--c-accent-light);
  display: block;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: .75rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-img {
  width: 100%;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--c-border);
}

/* Inner page hero */
.page-hero {
  background: linear-gradient(135deg, #040c1a 0%, #0c1a30 50%, #081428 100%);
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(21,101,192,.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--c-text-heading);
  margin-bottom: 14px;
  line-height: 1.3;
}

.page-hero-desc {
  color: var(--c-text-muted);
  font-size: 1rem;
  max-width: 680px;
  line-height: 1.8;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: .82rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--c-text-muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--c-brand-light); }

.breadcrumb .sep { color: var(--c-border-light); }

.breadcrumb .current { color: var(--c-text); }

/* ===== SECTIONS ===== */
.sec {
  padding: 72px 0;
}

.sec-alt {
  background: var(--c-bg-secondary);
}

.sec-title {
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 800;
  color: var(--c-text-heading);
  margin-bottom: 8px;
}

.sec-title .highlight { color: var(--c-brand-light); }

.sec-subtitle {
  color: var(--c-text-muted);
  font-size: .95rem;
  margin-bottom: 36px;
  max-width: 600px;
}

.sec-divider {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--c-brand), var(--c-accent));
  border-radius: 2px;
  margin: 12px 0 20px;
}

.text-center { text-align: center; }
.text-center .sec-divider { margin-left: auto; margin-right: auto; }
.text-center .sec-subtitle { margin-left: auto; margin-right: auto; }

/* ===== CARDS ===== */
.card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 24px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--c-brand);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--c-brand), var(--c-brand-dark));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(21,101,192,.3);
}

.card-icon svg {
  width: 26px;
  height: 26px;
  color: #fff;
}

.card h5 {
  color: var(--c-text-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--c-text-muted);
  font-size: .88rem;
  margin: 0;
  line-height: 1.7;
}

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Game cards */
.game-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: all .3s;
}

.game-card:hover {
  border-color: var(--c-brand);
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.game-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.game-card-body {
  padding: 16px;
}

.game-card-body h5 {
  color: var(--c-text-heading);
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 1rem;
}

.game-card-body p {
  color: var(--c-text-muted);
  font-size: .84rem;
  margin-bottom: 14px;
  line-height: 1.7;
}

.btn-game {
  background: linear-gradient(135deg, var(--c-brand), var(--c-accent));
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all .3s;
}

.btn-game:hover {
  box-shadow: 0 4px 16px rgba(21,101,192,.4);
  color: #fff;
  transform: translateY(-1px);
}

/* ===== CONTENT / PROSE ===== */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 36px;
  align-items: start;
}

.content-main { min-width: 0; }

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 20px;
}

.sidebar-card h5 {
  color: var(--c-brand-light);
  font-weight: 700;
  margin-bottom: 14px;
  font-size: .95rem;
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-links li {
  padding: 8px 0;
  border-bottom: 1px solid var(--c-border);
}

.sidebar-links li:last-child { border-bottom: none; }

.sidebar-links a {
  color: var(--c-text-muted);
  text-decoration: none;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-links a:hover { color: var(--c-brand-light); }

.sidebar-links .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-brand);
  flex-shrink: 0;
}

.prose {
  max-width: 820px;
}

.prose h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--c-text-heading);
  line-height: 1.3;
  margin: 42px 0 16px;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--c-brand-light);
  line-height: 1.35;
  margin: 28px 0 12px;
}

.prose p {
  font-size: 1rem;
  line-height: 1.9;
  margin: 0 0 16px;
  color: var(--c-text);
}

.prose ul, .prose ol {
  margin: 0 0 18px 24px;
  color: var(--c-text);
}

.prose li {
  margin-bottom: 8px;
  line-height: 1.75;
}

.prose img {
  border-radius: var(--r-card);
  margin: 24px 0;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--c-border);
}

/* Highlight box */
.highlight-box {
  background: linear-gradient(135deg, #0c1a30, #081428);
  border: 1px solid var(--c-brand);
  border-radius: var(--r-card);
  padding: 24px;
  margin: 28px 0;
}

.highlight-box h4 {
  color: var(--c-brand-light);
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.highlight-box p {
  color: var(--c-text-muted);
  font-size: .92rem;
  margin: 0;
  line-height: 1.8;
}

/* Privacy notice */
.info-notice {
  background: linear-gradient(135deg, #0f172a, #152238);
  border: 1px solid rgba(21,101,192,.25);
  border-left: 4px solid var(--c-brand);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 32px 0;
}

.info-notice h6 {
  color: var(--c-brand-light);
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
}

.info-notice p {
  color: var(--c-text-muted);
  font-size: .9rem;
  margin: 0;
  line-height: 1.8;
}

/* ===== COMPARISON TABLE ===== */
.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--r-card);
  overflow: hidden;
}

.compare-table th {
  padding: 16px 20px;
  font-size: .92rem;
  font-weight: 700;
  text-align: center;
}

.compare-table th:first-child { background: var(--c-bg-primary); color: var(--c-text-muted); text-align: left; }
.compare-table th.col-brand { background: linear-gradient(135deg, var(--c-brand), var(--c-brand-dark)); color: #fff; }
.compare-table th.col-other { background: var(--c-bg-card-alt); color: var(--c-text-muted); }

.compare-table td {
  padding: 14px 20px;
  font-size: .9rem;
  border-top: 1px solid var(--c-border);
}

.compare-table td:first-child { background: var(--c-bg-primary); color: var(--c-text-muted); }
.compare-table td.col-brand { background: #0c1a30; color: #fff; text-align: center; }
.compare-table td.col-other { background: var(--c-bg-card); color: var(--c-text-muted); text-align: center; }

.icon-yes { color: var(--c-success); }
.icon-no { color: var(--c-danger); }

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 28px;
  transition: all .3s;
  height: 100%;
  position: relative;
}

.testimonial-card:hover {
  border-color: var(--c-brand);
  box-shadow: var(--shadow-hover);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  left: 20px;
  font-size: 3.5rem;
  color: var(--c-brand);
  opacity: .25;
  line-height: 1;
  font-family: serif;
}

.testimonial-text {
  color: var(--c-text-muted);
  font-size: .92rem;
  line-height: 1.85;
  margin-bottom: 18px;
  padding-top: 16px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--c-brand), var(--c-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-name { font-weight: 700; color: #fff; font-size: .92rem; }
.author-location { color: var(--c-text-muted); font-size: .78rem; }
.stars { color: var(--c-warning); font-size: .85rem; margin-top: 2px; }

/* ===== FAQ ===== */
.faq-item {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 24px;
  color: var(--c-text-heading);
  font-family: var(--font-stack);
  font-size: .95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color .2s;
}

.faq-question:hover { color: var(--c-brand-light); }

.faq-question svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--c-brand);
  transition: transform .3s;
}

.faq-item.is-open .faq-question { color: var(--c-brand-light); }
.faq-item.is-open .faq-question svg { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--c-text-muted);
  font-size: .92rem;
  line-height: 1.85;
}

.faq-item.is-open .faq-answer { display: block; }

/* ===== CTA SECTION ===== */
.cta-sec {
  background: linear-gradient(135deg, #0c1a30 0%, #040c1a 50%, #0a0a1e 100%);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(21,101,192,.1) 0%, transparent 70%);
}

.cta-sec h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--c-text-heading);
  margin-bottom: 14px;
  position: relative;
}

.cta-sec p {
  color: var(--c-text-muted);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto 28px;
  position: relative;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ===== STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 28px 24px;
  position: relative;
  counter-increment: step;
}

.step-card::before {
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 24px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--c-brand), var(--c-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: .85rem;
}

.step-card h5 {
  color: var(--c-text-heading);
  font-weight: 700;
  margin: 8px 0;
  font-size: 1rem;
}

.step-card p {
  color: var(--c-text-muted);
  font-size: .88rem;
  line-height: 1.7;
  margin: 0;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #030a18;
  border-top: 2px solid var(--c-brand);
  padding: 52px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 32px;
}

.footer-brand-text {
  color: var(--c-text-muted);
  font-size: .88rem;
  margin-top: 12px;
  max-width: 260px;
  line-height: 1.7;
}

.age-badge {
  display: inline-block;
  background: var(--c-danger);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-top: 10px;
}

.footer-title {
  color: var(--c-text-heading);
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 9px; }

.footer-links a {
  color: var(--c-text-muted);
  text-decoration: none;
  font-size: .85rem;
  transition: color .2s;
}

.footer-links a:hover { color: var(--c-brand-light); }

.footer-bottom {
  border-top: 1px solid var(--c-border);
  margin-top: 36px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: #3a4f6b;
  font-size: .8rem;
  margin: 0;
}

.footer-contact { display: flex; flex-direction: column; gap: 4px; }

.footer-contact a {
  color: var(--c-brand-light);
  font-size: .82rem;
}

/* ===== UTILITY ===== */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 8px; }
.mb-1 { margin-bottom: 8px; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }
.mt-4 { margin-top: 36px; }
.mb-4 { margin-bottom: 36px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===== 404 PAGE ===== */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  color: var(--c-brand);
  line-height: 1;
  opacity: .4;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg-primary); }
::-webkit-scrollbar-thumb { background: var(--c-brand-dark); border-radius: 3px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .nav-more {
    display: none !important;
  }

  .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: 18px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    box-shadow: 0 16px 48px rgba(0,0,0,.6);
    z-index: 999;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    max-width: none;
    width: 100%;
    padding: 14px 12px;
    text-overflow: initial;
    border-radius: 8px;
  }

  .primary-nav a:hover {
    background: var(--c-bg-card-alt);
  }

  .header-actions {
    justify-content: flex-end;
    gap: 6px;
  }

  .header-actions .btn {
    min-height: 38px;
    padding: 0 12px;
    font-size: .82rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero { padding: 48px 0 40px; }
  .page-hero { padding: 36px 0 32px; }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }

  .sec { padding: 48px 0; }
  .cta-sec { padding: 48px 0; }
}

@media (max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .header-actions .btn-login {
    display: none;
  }
}
