/* ══════════════════════════════════════════════════════════
   xbajee app - Emerald Trust Gaming UI Design System
   Visual Style: Premium Bangladesh Gaming Platform
   ══════════════════════════════════════════════════════════ */

:root {
  --color-primary: #0d9488;
  --color-primary-dark: #0f766e;
  --color-primary-soft: #ccfbf1;
  --color-secondary: #f59e0b;
  --color-accent: #06b6d4;
  --color-bg: #f0fdfa;
  --color-bg-soft: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-strong: #f0f9ff;
  --color-card: #ffffff;
  --color-card-alt: #f0fdfa;
  --color-border: #e2e8f0;
  --color-border-strong: #cbd5e1;
  --color-text: #0f172a;
  --color-text-soft: #334155;
  --color-text-muted: #64748b;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --color-footer-bg: #0f172a;
  --color-footer-text: #94a3b8;
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #0d9488 55%, #06b6d4 100%);
  --gradient-hero-soft: linear-gradient(160deg, #134e4a 0%, #0d9488 100%);
  --gradient-button: linear-gradient(135deg, #0d9488, #06b6d4);
  --gradient-button-hover: linear-gradient(135deg, #0f766e, #0891b2);
  --gradient-cta: linear-gradient(135deg, #0f172a 0%, #0d9488 60%, #f59e0b 100%);
  --gradient-footer: linear-gradient(180deg, #0f172a, #1e293b);
  --shadow-header: 0 2px 16px rgba(13,148,136,0.12);
  --shadow-card: 0 4px 20px rgba(15,23,42,0.08);
  --shadow-card-hover: 0 12px 36px rgba(13,148,136,0.16);
  --shadow-button: 0 4px 14px rgba(13,148,136,0.25);
  --shadow-soft: 0 2px 8px rgba(15,23,42,0.05);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 50px;
  --radius-card: 16px;
  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  --fs-h1: clamp(1.75rem, 3.5vw, 2.8rem);
  --fs-h2: clamp(1.4rem, 2.5vw, 2rem);
  --fs-h3: clamp(1.1rem, 1.8vw, 1.4rem);
  --fs-body: 1.05rem;
  --fs-small: 0.9rem;
  --fs-nav: clamp(13px, .84vw, 15px);
  --lh-body: 1.85;
  --lh-heading: 1.3;
  --container-max: 1200px;
  --container-wide: 1100px;
  --container-narrow: 820px;
  --section-y: clamp(48px, 8vw, 80px);
  --header-h: 72px;
  --mobile-header-h: 64px;
  --motion-fast: 0.15s;
  --motion-normal: 0.3s;
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-base); background: var(--color-bg); color: var(--color-text); font-size: var(--fs-body); line-height: var(--lh-body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--motion-fast); }
a:hover { color: var(--color-primary-dark); }
h1, h2, h3, h4, h5, h6 { line-height: var(--lh-heading); font-weight: 700; color: var(--color-text); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); margin-bottom: 16px; }
h3 { font-size: var(--fs-h3); margin-bottom: 12px; }
p { margin-bottom: 16px; color: var(--color-text-soft); }
ul { list-style: none; }
.text-center { text-align: center; }
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

/* ── Containers ── */
.container-wide { max-width: var(--container-max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.section-pad { padding: var(--section-y) 0; }
.section-alt { background: var(--color-surface-strong); }
.section-soft { background: linear-gradient(135deg, #f0fdf4, #f0fdfa); }
.section-dark { background: var(--gradient-hero); color: #fff; }
.section-dark h2, .section-dark h3, .section-dark p { color: #fff; }
.section-gradient { background: var(--gradient-cta); color: #fff; }
.section-gradient h2, .section-gradient p { color: #fff; }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--gradient-hero-soft); box-shadow: var(--shadow-header); }
.header-inner { width: 100%; max-width: none; padding-left: clamp(10px, 1.2vw, 20px); padding-right: clamp(10px, 1.2vw, 20px); min-height: var(--header-h); display: flex; align-items: center; gap: clamp(10px, 1vw, 18px); }
.brand-wrap { flex: 0 0 auto; margin-right: clamp(4px, .8vw, 14px); }
.site-logo { display: block; width: auto; height: clamp(32px, 3vw, 42px); max-width: clamp(118px, 10vw, 168px); object-fit: contain; }
.primary-nav { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: clamp(6px, .72vw, 14px); white-space: nowrap; overflow: visible; }
.primary-nav a { flex: 0 1 auto; min-width: 0; padding: 9px clamp(6px, .65vw, 12px); font-size: var(--fs-nav); line-height: 1; white-space: nowrap; color: rgba(255,255,255,0.85); border-radius: var(--radius-sm); transition: background var(--motion-fast), color var(--motion-fast); text-decoration: none; }
.primary-nav a:hover, .primary-nav a.active { background: rgba(255,255,255,0.15); color: #fff; }
.header-actions { flex: 0 0 auto; margin-left: auto; display: flex; align-items: center; justify-content: flex-end; gap: clamp(6px, .6vw, 10px); white-space: nowrap; }
.btn-login { min-height: 40px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; color: #fff; background: transparent; border: 2px solid rgba(255,255,255,0.5); transition: all var(--motion-fast); text-decoration: none; }
.btn-login:hover { background: rgba(255,255,255,0.15); color: #fff; }
.btn-register { min-height: 40px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); font-size: 14px; font-weight: 700; color: #0f172a; background: var(--color-secondary); border: none; box-shadow: 0 2px 10px rgba(245,158,11,0.3); transition: all var(--motion-fast); text-decoration: none; }
.btn-register:hover { background: #d97706; color: #0f172a; transform: translateY(-1px); }
.nav-toggle { display: none; flex: 0 0 40px; width: 40px; height: 40px; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius-sm); cursor: pointer; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: all var(--motion-normal); }

/* Mobile menu */
.mobile-menu { display: none; position: fixed; top: var(--header-h); left: 12px; right: 12px; background: var(--color-footer-bg); border-radius: var(--radius-lg); padding: 16px; max-height: calc(100vh - 96px); overflow-y: auto; box-shadow: 0 12px 40px rgba(0,0,0,0.3); z-index: 999; flex-direction: column; gap: 0; }
.mobile-menu.is-open { display: flex; }
.mobile-menu a { display: block; padding: 14px 16px; color: rgba(255,255,255,0.85); font-size: 15px; border-radius: var(--radius-sm); transition: background var(--motion-fast); text-decoration: none; }
.mobile-menu a:hover { background: rgba(255,255,255,0.1); color: #fff; }

@media (max-width: 1180px) {
  .header-inner { padding-left: clamp(8px, 2.4vw, 14px); padding-right: clamp(8px, 2.4vw, 14px); min-height: var(--mobile-header-h); justify-content: flex-start; gap: clamp(6px, 1.8vw, 10px); }
  .brand-wrap { flex: 0 1 auto; margin-right: 0; }
  .site-logo { height: clamp(30px, 8vw, 40px); max-width: clamp(104px, 27vw, 138px); }
  .primary-nav { display: none; }
  .header-actions { margin-left: auto; }
  .header-actions .btn-login, .header-actions .btn-register { min-height: 38px; padding-inline: clamp(10px, 2.6vw, 14px); font-size: clamp(12px, 3.2vw, 14px); }
  .nav-toggle { display: inline-flex; margin-left: 2px; }
}
@media (max-width: 375px) {
  .header-inner { padding-left: 8px; padding-right: 8px; gap: 6px; }
  .site-logo { max-width: 104px; }
  .header-actions .btn-login, .header-actions .btn-register { min-height: 36px; padding-inline: 8px; font-size: 12px; }
  .nav-toggle { flex-basis: 36px; width: 36px; height: 36px; }
}

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: var(--radius-pill); font-weight: 700; font-size: 1rem; text-decoration: none; transition: all var(--motion-normal) var(--ease-out); border: none; cursor: pointer; }
.btn-primary-hero { background: var(--gradient-button); color: #fff; box-shadow: var(--shadow-button); padding: 14px 36px; font-size: 1.05rem; }
.btn-primary-hero:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,148,136,0.35); color: #fff; }
.btn-secondary-hero { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); padding: 12px 32px; }
.btn-secondary-hero:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-inline-cta { background: var(--gradient-button); color: #fff; padding: 10px 24px; font-size: 0.95rem; box-shadow: var(--shadow-button); }
.btn-inline-cta:hover { transform: translateY(-2px); color: #fff; }
.btn-outline-cta { background: transparent; color: var(--color-primary-dark); border: 2px solid var(--color-primary); padding: 8px 22px; font-size: 0.95rem; }
.btn-outline-cta:hover { background: var(--color-primary-soft); color: var(--color-primary-dark); }
.btn-full { width: 100%; }
.btn-plan { background: var(--gradient-button); color: #fff; width: 100%; padding: 12px; border-radius: var(--radius-pill); text-align: center; display: block; font-weight: 700; text-decoration: none; }
.btn-plan:hover { opacity: 0.9; color: #fff; }
.btn-plan-featured { background: var(--color-secondary); color: #0f172a; width: 100%; padding: 12px; border-radius: var(--radius-pill); text-align: center; display: block; font-weight: 700; text-decoration: none; }
.btn-plan-featured:hover { background: #d97706; color: #0f172a; }

/* ── Hero ── */
.home-hero { background: var(--gradient-hero); color: #fff; padding: clamp(60px, 10vw, 100px) 0 clamp(50px, 8vw, 80px); text-align: center; position: relative; overflow: hidden; }
.home-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(13,148,136,0.3) 0%, transparent 60%); }
.hero-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); position: relative; z-index: 1; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); color: #fff; font-size: 0.85rem; border-radius: var(--radius-pill); padding: 6px 20px; margin-bottom: 20px; }
.hero-lead { font-size: clamp(1rem, 1.8vw, 1.15rem); opacity: 0.9; max-width: 640px; margin: 0 auto 28px; color: #fff; }
.hero-cta-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Stats Strip ── */
.home-stats-strip { background: linear-gradient(90deg, #0f172a, var(--color-primary-dark)); padding: 28px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stat-card strong { display: block; font-size: clamp(1.5rem, 3vw, 2.2rem); color: #fff; font-weight: 800; }
.stat-card span { font-size: 0.88rem; color: rgba(255,255,255,0.7); }
@media (max-width: 640px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Split Content ── */
.split-content { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.split-content.reverse .split-media { order: 2; }
.split-content.reverse .split-text { order: 1; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); width: 100%; }
.split-media:hover img { box-shadow: var(--shadow-card-hover); }
@media (max-width: 768px) { .split-content { grid-template-columns: 1fr; } .split-content.reverse .split-media, .split-content.reverse .split-text { order: unset; } }

/* ── Section Headers ── */
.section-header { text-align: center; margin-bottom: clamp(28px, 5vw, 48px); }
.section-header.light h2, .section-header.light p { color: #fff; }
.section-header p { color: var(--color-text-muted); font-size: 1rem; max-width: 600px; margin: 0 auto; }
.section-header h2::after { content: ''; display: block; width: 50px; height: 3px; background: var(--gradient-button); border-radius: 3px; margin: 10px auto 0; }
.section-cta { text-align: center; margin-top: 32px; }
.section-lead { color: var(--color-text-muted); text-align: center; max-width: 600px; margin: 0 auto 28px; }

/* ── Feature Cards ── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.feature-grid-compact { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.feature-card { background: var(--color-card); border-radius: var(--radius-card); padding: 28px 22px; box-shadow: var(--shadow-card); transition: transform var(--motion-normal) var(--ease-out), box-shadow var(--motion-normal); height: 100%; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.card-variant-a { border-top: 4px solid var(--color-primary); }
.card-variant-b { border-top: 4px solid var(--color-secondary); }
.feature-icon { width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--color-primary-soft); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--color-primary); margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.93rem; color: var(--color-text-muted); margin: 0; }

/* ── Steps ── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.step-card { background: var(--color-card); border-radius: var(--radius-card); padding: 28px 20px; text-align: center; box-shadow: var(--shadow-card); border-bottom: 4px solid var(--color-success); transition: transform var(--motion-normal); }
.step-card:hover { transform: translateY(-4px); }
.step-number { width: 48px; height: 48px; border-radius: 50%; background: var(--gradient-button); color: #fff; font-size: 1.3rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; box-shadow: 0 4px 14px rgba(13,148,136,0.25); }
.step-card h3 { font-size: 1.05rem; }
.step-card p { font-size: 0.92rem; color: var(--color-text-muted); margin: 0; }
.step-card a { color: var(--color-primary); font-weight: 600; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; align-items: stretch; }
.pricing-card { background: var(--color-card); border-radius: var(--radius-xl); padding: 36px 28px; text-align: center; box-shadow: 0 6px 28px rgba(0,0,0,0.15); position: relative; transition: transform var(--motion-normal); }
.pricing-card:hover { transform: translateY(-5px); }
.pricing-card.featured { background: var(--gradient-hero-soft); color: #fff; transform: scale(1.03); }
.pricing-card.featured:hover { transform: scale(1.03) translateY(-5px); }
.pricing-card.featured h3, .pricing-card.featured .price, .pricing-card.featured li { color: #fff; }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--color-secondary); color: #0f172a; font-size: 0.75rem; font-weight: 700; padding: 4px 14px; border-radius: var(--radius-pill); white-space: nowrap; }
.pricing-card .price { font-size: 2.2rem; font-weight: 800; color: var(--color-primary); margin: 12px 0; }
.pricing-card .price small { font-size: 0.9rem; font-weight: 400; opacity: 0.7; }
.pricing-card ul { margin: 20px 0; text-align: left; }
.pricing-card li { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.93rem; color: var(--color-text-soft); }
.pricing-card li::before { content: '✓ '; color: var(--color-success); font-weight: 700; }

/* ── Gallery ── */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); width: 100%; transition: transform var(--motion-normal); }
.gallery-item:hover img { transform: scale(1.02); }
@media (max-width: 640px) { .gallery-grid, .gallery-grid-3 { grid-template-columns: 1fr; } }

/* ── Trust Alert ── */
.trust-alert { background: linear-gradient(135deg, var(--color-primary-soft), #dcfce7); border-left: 5px solid var(--color-primary); border-radius: var(--radius-md); padding: 24px 28px; display: flex; gap: 16px; align-items: flex-start; }
.trust-icon { font-size: 2rem; color: var(--color-primary); flex-shrink: 0; }
.trust-content h2 { font-size: 1.2rem; margin-bottom: 8px; }
.trust-content p { margin: 0; font-size: 0.95rem; }
.trust-content a { color: var(--color-primary-dark); font-weight: 600; text-decoration: underline; }

/* ── Responsible Gaming ── */
.rg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.rg-card { background: var(--color-card); border-radius: var(--radius-card); padding: 22px 18px; box-shadow: var(--shadow-soft); border-left: 4px solid var(--color-success); }
.rg-card i { font-size: 1.8rem; color: var(--color-success); display: block; margin-bottom: 12px; }
.rg-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.rg-card p { font-size: 0.92rem; color: var(--color-text-muted); margin: 0; }

/* ── Article Flow ── */
.article-flow h2 { font-size: var(--fs-h2); margin: 32px 0 14px; }
.article-flow h2:first-child { margin-top: 0; }
.article-flow h3 { font-size: var(--fs-h3); margin: 28px 0 10px; color: var(--color-primary-dark); }
.article-flow p { max-width: var(--container-narrow); }

/* ── Breadcrumb ── */
.breadcrumb-nav { font-size: 0.88rem; color: var(--color-text-muted); margin-bottom: 12px; }
.breadcrumb-nav a { color: var(--color-primary); }
.breadcrumb-nav span { margin: 0 6px; }

/* ── Opening Sections ── */
.category-opening, .download-opening, .auth-opening, .faq-opening, .about-opening, .policy-opening { background: var(--gradient-hero-soft); color: #fff; padding: clamp(36px, 6vw, 60px) 0 clamp(28px, 5vw, 48px); }
.category-opening h1, .download-opening h1, .auth-opening h1, .faq-opening h1, .about-opening h1, .policy-opening h1 { color: #fff; }
.category-opening .breadcrumb-nav a, .download-opening .breadcrumb-nav a, .auth-opening .breadcrumb-nav a, .faq-opening .breadcrumb-nav a, .about-opening .breadcrumb-nav a, .policy-opening .breadcrumb-nav a { color: rgba(255,255,255,0.7); }
.category-opening .breadcrumb-nav, .download-opening .breadcrumb-nav, .auth-opening .breadcrumb-nav, .faq-opening .breadcrumb-nav, .about-opening .breadcrumb-nav, .policy-opening .breadcrumb-nav { color: rgba(255,255,255,0.6); }
.opening-lead { font-size: 1.05rem; opacity: 0.9; max-width: 700px; margin-bottom: 24px; color: #fff; }
.opening-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.policy-updated { font-size: 0.88rem; opacity: 0.7; color: #fff; }

/* ── Related Links ── */
.related-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 16px; }
.related-card { display: block; padding: 14px 18px; background: var(--color-card); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); border-left: 3px solid var(--color-primary); font-size: 0.93rem; color: var(--color-text); transition: all var(--motion-fast); text-decoration: none; }
.related-card:hover { box-shadow: var(--shadow-card); transform: translateX(4px); color: var(--color-primary); }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--color-card); border-radius: var(--radius-md); box-shadow: var(--shadow-soft); overflow: hidden; }
.faq-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: none; border: none; cursor: pointer; font-size: 1rem; font-weight: 600; color: var(--color-text); text-align: left; gap: 12px; font-family: var(--font-base); }
.faq-trigger span { flex: 1; }
.faq-trigger i { transition: transform var(--motion-normal); flex-shrink: 0; font-size: 0.85rem; }
.faq-trigger[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 20px 16px; }
.faq-answer p { margin: 0; font-size: 0.95rem; color: var(--color-text-soft); }
.faq-item.is-open .faq-answer { display: block; }

/* ── Auth ── */
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.auth-form-card { background: var(--color-card); border-radius: var(--radius-xl); padding: 36px 32px; box-shadow: 0 8px 32px rgba(15,23,42,0.1); }
.auth-form-card h2 { text-align: center; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; color: var(--color-text); }
.form-group input { width: 100%; padding: 12px 16px; border: 2px solid var(--color-border); border-radius: var(--radius-md); font-size: 1rem; font-family: var(--font-base); transition: border-color var(--motion-fast); }
.form-group input:focus { border-color: var(--color-primary); outline: none; box-shadow: 0 0 0 3px rgba(13,148,136,0.1); }
.auth-switch { text-align: center; margin-top: 16px; font-size: 0.9rem; }
.auth-trust-badge { text-align: center; margin-top: 14px; font-size: 0.82rem; color: var(--color-success); }
.auth-trust-badge i { margin-right: 4px; }
.auth-info-panel { padding: 20px; }
.auth-info-panel img { border-radius: var(--radius-lg); margin-bottom: 20px; width: 100%; }
.auth-info-panel h3 { margin-bottom: 16px; }
.auth-benefits { margin-top: 12px; }
.auth-benefits li { padding: 8px 0; display: flex; align-items: center; gap: 8px; font-size: 0.95rem; }
.auth-benefits i { color: var(--color-success); }
.auth-steps { margin: 24px 0; }
.auth-step { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.auth-step-num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-button); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; }
@media (max-width: 768px) { .auth-layout { grid-template-columns: 1fr; } }

/* ── Value Cards ── */
.value-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.value-card { background: var(--color-card); border-radius: var(--radius-card); padding: 28px 22px; box-shadow: var(--shadow-card); text-align: center; }
.value-card i { font-size: 2rem; color: var(--color-primary); margin-bottom: 14px; display: block; }

/* ── Timeline ── */
.timeline { margin: 24px 0; }
.timeline-item { display: flex; gap: 20px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--color-border); }
.timeline-marker { flex-shrink: 0; width: 70px; height: 36px; background: var(--gradient-button); color: #fff; border-radius: var(--radius-pill); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }

/* ── Table ── */
.table-scroll { overflow-x: auto; margin: 16px 0; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--color-border); }
.data-table th { background: var(--color-primary-soft); font-weight: 700; font-size: 0.92rem; }
.data-table td { font-size: 0.93rem; }

/* ── Content Image ── */
.content-img { border-radius: var(--radius-lg); margin: 20px 0; box-shadow: var(--shadow-card); }

/* ── Policy ── */
.policy-content h2 { margin-top: 32px; }
.policy-content h2:first-of-type { margin-top: 0; }
.policy-content p { max-width: none; }

/* ── Inline CTA Group ── */
.inline-cta-group { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

/* ── 404 ── */
.error-page { text-align: center; padding: 80px 0; }
.error-code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 900; color: var(--color-primary); opacity: 0.3; line-height: 1; }
.error-page h1 { margin: 16px 0; }
.error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ── Footer ── */
.site-footer { background: var(--gradient-footer); color: var(--color-footer-text); padding: 60px 0 30px; }
.footer-inner { max-width: var(--container-max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand img { margin-bottom: 16px; }
.footer-brand p { font-size: 0.93rem; line-height: 1.7; color: var(--color-footer-text); }
.footer-email { margin-top: 12px; }
.footer-email i { color: var(--color-success); margin-right: 6px; }
.footer-col h6 { color: #fff; font-weight: 700; font-size: 0.95rem; margin-bottom: 14px; }
.footer-col a { display: block; margin-bottom: 8px; color: var(--color-footer-text); font-size: 0.9rem; transition: color var(--motion-fast); text-decoration: none; }
.footer-col a:hover { color: var(--color-success); }
.payment-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.payment-badges span { background: rgba(255,255,255,0.08); border-radius: var(--radius-sm); padding: 5px 11px; font-size: 0.8rem; color: rgba(255,255,255,0.7); }
.age-badge { margin-top: 14px; display: inline-block; background: var(--color-danger); color: #fff; border-radius: 6px; padding: 4px 12px; font-size: 0.78rem; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 36px; padding-top: 20px; text-align: center; font-size: 0.85rem; }
.footer-bottom a { color: var(--color-footer-text); display: inline; text-decoration: none; }
.footer-bottom a:hover { color: var(--color-success); }
.footer-disclaimer { margin-top: 10px; font-size: 0.8rem; opacity: 0.6; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Swiper degradation ── */
.swiper:not(.swiper-initialized) { overflow-x: auto; display: flex; gap: 16px; scroll-snap-type: x mandatory; }
.swiper:not(.swiper-initialized) .swiper-slide { flex: 0 0 auto; scroll-snap-align: start; }

/* ── AOS degradation ── */
[data-aos] { opacity: 1 !important; transform: none !important; }
