/* ==========================================================================
   OKVIP x JUN88 VIP CLUB — SMARTPHONE SHOWCASE & DARK-GOLD LUXURY DESIGN (main.css)
   Fixed Proportions, Centered Alignment, Persistent Login/Register Top Header
   ========================================================================== */

:root {
  --bg-primary: #08090d;
  --bg-secondary: #0d0f17;
  --bg-surface: #131622;
  --bg-surface-elevated: #1a1e2e;
  --bg-glass: rgba(10, 12, 18, 0.92);

  --gold-bright: #fde047;
  --gold-main: #f59e0b;
  --gold-warm: #d97706;
  --gold-gradient: linear-gradient(90deg, #f59e0b 0%, #fde047 50%, #d97706 100%);
  --gold-pill-gradient: linear-gradient(135deg, #fde047 0%, #f59e0b 100%);

  --cyan-glow: #22d3ee;
  --emerald-ok: #10b981;
  --crimson-hot: #f43f5e;

  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold-soft: rgba(245, 158, 11, 0.28);
  --border-gold-strong: rgba(253, 224, 71, 0.6);

  /* Compatibility aliases */
  --color-primary: #fde047;
  --color-text-secondary: #cbd5e1;

  --font-heading: 'Chakra Petch', 'Anuphan', system-ui, -apple-system, sans-serif;
  --font-body: 'Anuphan', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container-max: 1080px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.75);
  --shadow-gold: 0 6px 22px rgba(245, 158, 11, 0.28);
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* CRITICAL: Ensure [hidden] always hides elements even when classes set display:flex/grid */
[hidden] {
  display: none !important;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: clip;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  font-family: var(--font-body);
  line-height: 1.7;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: clip;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
picture,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-bright);
  text-decoration: none;
  transition: all var(--transition-fast);
}

a:hover,
a:focus-visible {
  color: var(--cyan-glow);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--gold-bright);
  color: #08090d;
  font-weight: 700;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
  border-block: 1px solid var(--border-subtle);
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.3;
}

h1 {
  font-size: clamp(1.85rem, 3.8vw, 2.95rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 0.55rem;
}

h3 {
  font-size: clamp(1.06rem, 1.5vw, 1.25rem);
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--gold-bright);
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: clamp(0.94rem, 1.02vw, 1rem);
}

ul,
ol {
  margin-bottom: 1.2rem;
  padding-left: 1.35rem;
  color: var(--text-secondary);
}

li {
  margin-bottom: 0.45rem;
}

li strong {
  color: var(--gold-bright);
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   SECTION HEADER BLOCK (STACKED CLEANLY, NOT SQUISHED IN FLEX ROW)
   ========================================================================== */
.section-header-line {
  display: block;
  margin-bottom: 1.5rem;
  text-align: left;
}

.gold-line-title {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.4rem;
}

.gold-line-title::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2.5px;
  background: var(--gold-gradient);
  border-radius: 99px;
}

.section-header-line h2 {
  margin: 0 0 0.45rem 0;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.94rem;
  max-width: 720px;
  margin: 0;
  line-height: 1.65;
}

/* ==========================================================================
   STICKY TOP HEADER: LOGO LEFT + PAGE NAV CENTER + PERSISTENT LOGIN/REGISTER RIGHT
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.35rem;
  gap: 1rem;
  position: relative;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  max-width: 135px;
  flex-shrink: 0;
}

.brand-link img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex: 1;
}

.nav-link {
  padding: 0.45rem 0.72rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--gold-bright);
  background: rgba(245, 158, 11, 0.08);
}

.header-auth-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.btn-header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(253, 224, 71, 0.45);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-header-login:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  background: rgba(245, 158, 11, 0.12);
}

.btn-header-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.84rem;
  color: #08090d !important;
  background: var(--gold-pill-gradient);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow-gold);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-header-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(253, 224, 71, 0.45);
  color: #08090d !important;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--bg-surface);
  color: var(--gold-bright);
  border: 1px solid var(--border-gold-soft);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* Breadcrumb Bar (Subpages) */
.breadcrumb-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.55rem 0;
  font-size: 0.84rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-list li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
}

.breadcrumb-list li + li::before {
  content: "›";
  color: var(--gold-main);
}

/* ==========================================================================
   SECTION 1: CENTERED SPOTLIGHT HERO (100% CENTERED ALIGNMENT)
   ========================================================================== */
.hero-centered {
  padding-block: clamp(2.75rem, 5.5vw, 4.5rem) clamp(2.25rem, 4.5vw, 3.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(245, 158, 11, 0.18) 0%, rgba(6, 182, 212, 0.04) 40%, transparent 70%),
    linear-gradient(180deg, #0b0d14 0%, #08090d 100%);
}

.hero-centered .container {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-bright);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-gold-soft);
  padding: 0.32rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold-bright);
  display: inline-block;
}

.hero-lead {
  font-size: clamp(0.96rem, 1.12vw, 1.06rem);
  color: var(--text-secondary);
  max-width: 660px;
  margin-inline: auto;
  margin-bottom: 1.6rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}

.btn-group-left {
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.45rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.94rem;
  transition: all var(--transition-smooth);
  cursor: pointer;
}

.btn-primary {
  background: var(--gold-pill-gradient);
  color: #08090d !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  color: #08090d !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(253, 224, 71, 0.45);
}

.btn-outline {
  background: rgba(19, 22, 34, 0.85);
  color: var(--text-primary);
  border: 1px solid var(--border-gold-soft);
}

.btn-outline:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

.hero-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-check {
  color: var(--gold-bright);
  font-weight: 700;
}

/* ==========================================================================
   SECTION 2: 4-COLUMN STATS BAR
   ========================================================================== */
.stats-strip-bar {
  background: #0c0e16;
  border-block: 1px solid var(--border-gold-soft);
  padding-block: 1.25rem;
}

.stats-4-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
}

.stat-cell {
  padding-inline: 0.75rem;
  border-right: 1px solid var(--border-subtle);
}

.stat-cell:last-child {
  border-right: none;
}

.stat-big-num {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.3vw, 1.95rem);
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 1.15;
  display: block;
}

.stat-sub-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  display: block;
}

/* ==========================================================================
   SECTION 3: REALISTIC SMARTPHONE SCREEN SHOWCASE (COMPACT PROPORTION)
   ========================================================================== */
.phone-showcase-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: clamp(2rem, 4.5vw, 3.5rem);
  align-items: center;
  max-width: 980px;
  margin-inline: auto;
}

.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Soft Golden Glow Behind Phone */
.phone-stage::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.24) 0%, rgba(34, 211, 238, 0.1) 55%, transparent 75%);
  filter: blur(20px);
  z-index: 0;
}

/* Realistic Compact Smartphone Frame (276px wide x ~490px tall) */
.smartphone-device {
  position: relative;
  z-index: 1;
  width: 276px;
  max-width: 100%;
  background: #06070b;
  border-radius: 36px;
  padding: 9px;
  border: 2px solid rgba(253, 224, 71, 0.6);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.85),
    0 0 26px rgba(245, 158, 11, 0.2),
    inset 0 0 8px rgba(253, 224, 71, 0.15);
}

.smartphone-screen {
  background: #0e111a;
  border-radius: 27px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}

/* Phone Status Bar */
.phone-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.42rem 0.95rem 0.32rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-secondary);
  background: #090b11;
}

.phone-notch {
  width: 64px;
  height: 13px;
  background: #000000;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Phone App Header */
.phone-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.42rem 0.75rem;
  background: #121624;
  border-bottom: 1px solid var(--border-subtle);
}

.phone-app-brand {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.phone-wallet-pill {
  background: var(--gold-pill-gradient);
  color: #08090d;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  padding: 0.12rem 0.48rem;
  border-radius: 99px;
}

/* Compact Mini Banner Inside Phone */
.phone-mini-banner {
  position: relative;
  height: 88px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-gold-soft);
}

.phone-mini-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.phone-mini-banner-caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 9, 13, 0.92) 100%);
  padding: 0.35rem 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.62rem;
}

.phone-mini-banner-caption span {
  color: var(--gold-bright);
  font-weight: 700;
  font-family: var(--font-heading);
}

.phone-mini-banner-caption strong {
  color: #ffffff;
  font-size: 0.62rem;
}

/* Phone Mode Switcher Tabs */
.phone-mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.28rem;
  padding: 0.42rem 0.6rem 0.25rem;
  background: #0e111a;
}

.phone-tab {
  background: #171c2b;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.28rem 0.2rem;
  font-family: var(--font-heading);
  font-size: 0.66rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.phone-tab.is-active,
.phone-tab.active {
  background: var(--gold-pill-gradient);
  color: #08090d;
  border-color: transparent;
}

/* Compact Game / Odds Rows Inside Phone */
.phone-Odds-list {
  padding: 0.35rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
}

.phone-match-row {
  background: #151928;
  border: 1px solid var(--border-subtle);
  border-radius: 7px;
  padding: 0.36rem 0.52rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

.phone-match-teams {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.phone-match-teams strong {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-match-teams span {
  font-size: 0.58rem;
  color: var(--text-muted);
}

.phone-odds-boxes {
  display: flex;
  gap: 0.22rem;
  flex-shrink: 0;
}

.phone-odd-pill {
  background: #0b0d15;
  border: 1px solid rgba(253, 224, 71, 0.32);
  border-radius: 5px;
  padding: 0.16rem 0.34rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--gold-bright);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  line-height: 1.1;
}

.phone-odd-pill span {
  color: var(--text-muted);
  font-size: 0.54rem;
  font-weight: 500;
}

/* Phone Bottom CTA */
.phone-bottom-cta {
  padding: 0.42rem 0.6rem 0.55rem;
  background: #0b0d14;
  border-top: 1px solid var(--border-subtle);
}

.phone-bottom-cta a {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--gold-pill-gradient);
  color: #08090d !important;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.38rem;
  border-radius: 7px;
}

/* Right Side Feature Checklist */
.phone-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.15rem 0 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.68rem;
}

.phone-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  transition: border-color var(--transition-fast);
}

.phone-feature-item:hover {
  border-color: var(--border-gold-soft);
}

.phone-feature-item > div {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.phone-feature-item strong {
  color: var(--text-primary);
  font-size: 0.94rem;
  line-height: 1.35;
}

.phone-feature-item span {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.gold-check-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid var(--gold-bright);
  color: var(--gold-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ==========================================================================
   SECTION 4: 6-CARD ZONE GRID WITH LIGHT HEADER BANNERS (3x2)
   ========================================================================== */
.zone-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1.25rem;
}

.zone-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.zone-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold-strong);
  box-shadow: var(--shadow-dark);
}

.zone-banner-top {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: var(--radius-sm);
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.5rem 0.85rem;
  margin-bottom: 0.85rem;
  position: relative;
  color: #0f172a;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.96rem;
}

.zone-badge-corner {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: var(--gold-pill-gradient);
  color: #08090d;
  font-family: var(--font-heading);
  font-size: 0.64rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
}

.zone-card h3 {
  font-size: 1.04rem;
  color: var(--text-primary);
  margin: 0 0 0.35rem 0;
}

.zone-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   SECTION 5: SOLID-GOLD HEADER COMPARISON TABLE
   ========================================================================== */
.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-block: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold-soft);
  background: var(--bg-surface);
  box-shadow: var(--shadow-dark);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  text-align: left;
  font-size: 0.9rem;
}

.comparison-table thead tr {
  background: var(--gold-gradient);
}

.comparison-table th {
  padding: 0.85rem 1.1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #08090d;
  font-size: 0.92rem;
  border-bottom: none;
}

.comparison-table td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background: rgba(253, 224, 71, 0.04);
}

.table-gold-pill {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid var(--border-gold-soft);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.08rem 0.45rem;
  border-radius: 99px;
  margin-left: 0.35rem;
}

/* ==========================================================================
   SECTION 6: STACKED HORIZONTAL PILL-BADGE LIST (5 ROWS)
   ========================================================================== */
.stacked-pill-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.stacked-pill-row {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1.05rem;
  transition: border-color var(--transition-fast);
}

.stacked-pill-row:hover {
  border-color: var(--border-gold-soft);
}

.gold-tag-box {
  min-width: 76px;
  text-align: center;
  background: var(--gold-pill-gradient);
  color: #08090d;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.36rem 0.6rem;
  border-radius: 8px;
  flex-shrink: 0;
}

.stacked-pill-row > div {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.stacked-pill-row strong,
.stacked-pill-content h3 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  color: var(--text-primary);
  margin: 0;
}

.stacked-pill-row p,
.stacked-pill-content p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   SECTION 7: 4-STEP NUMBERED CARDS (01 - 04)
   ========================================================================== */
.steps-4-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.step-box-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.step-num-gold {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-bright);
  display: block;
  margin-bottom: 0.35rem;
}

.step-box-card h3 {
  font-size: 0.98rem;
  color: var(--text-primary);
  margin: 0 0 0.35rem 0;
}

.step-box-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.58;
}

/* ==========================================================================
   SECTION 8: 2-COLUMN SPLIT FAQ ACCORDION
   ========================================================================== */
.faq-split-layout {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  gap: 2rem;
  align-items: start;
}

.faq-list,
.faq-right-accordions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.95rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  min-height: 48px;
}

.faq-question:hover {
  color: var(--gold-bright);
}

.faq-answer {
  padding: 0.85rem 1.15rem 1.05rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ==========================================================================
   SECTION 9: FRAMED EDITORIAL REVIEW CONTAINER & SUBPAGE LAYOUTS
   ========================================================================== */
.framed-review-box {
  background: #0d1019;
  border: 1px solid var(--border-gold-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-dark);
}

.grid-3,
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-block: 1.35rem;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin-block: 1.35rem;
}

.framed-bullet-list {
  list-style: none;
  padding-left: 0;
  margin-block: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.framed-bullet-list li {
  position: relative;
  padding-left: 1.35rem;
  margin: 0;
  font-size: 0.94rem;
}

.framed-bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0.25rem;
  color: var(--gold-bright);
  font-weight: 700;
}

.gold-num-inline-list {
  list-style: none;
  padding-left: 0;
  counter-reset: gold-step;
  margin-block: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.gold-num-inline-list li {
  counter-increment: gold-step;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 0;
  font-size: 0.94rem;
}

.gold-num-inline-list li::before {
  content: counter(gold-step);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-pill-gradient);
  color: #08090d;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.18rem;
}

.framed-highlight-quote {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid var(--border-gold-soft);
  color: var(--gold-bright);
  font-weight: 600;
  font-size: 0.94rem;
  text-align: center;
}

/* Related Links 2-Column Grid */
.related-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.related-link-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.82rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
}

.related-link-bar:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.related-link-bar .arrow {
  color: var(--gold-bright);
  flex-shrink: 0;
}

/* Bottom Solid-Gold CTA Banner */
.gold-cta-banner {
  background: linear-gradient(90deg, #b45309 0%, #f59e0b 45%, #fde047 100%);
  border-radius: var(--radius-md);
  padding: clamp(1.35rem, 2.8vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  color: #08090d;
  margin-top: 2rem;
}

.gold-cta-banner h2 {
  color: #08090d;
  margin: 0 0 0.2rem 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.gold-cta-banner p {
  color: #1e293b;
  margin: 0;
  font-weight: 600;
}

.btn-dark-pill {
  background: #08090d;
  color: var(--gold-bright) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(253, 224, 71, 0.4);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.btn-dark-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Subpages Shared Utility Classes */
.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 2rem;
  align-items: start;
}

.article-body {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 3vw, 2.25rem);
}

.sticky-sidebar {
  position: sticky;
  top: 5.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.sidebar-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-gold-soft);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 0.45rem;
}

.toc-list a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: block;
  padding: 0.3rem 0.55rem;
  border-left: 2px solid var(--border-subtle);
}

.toc-list a:hover,
.toc-list a.active {
  color: var(--gold-bright);
  border-left-color: var(--gold-bright);
}

.studio-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
}

.studio-card:hover {
  border-color: var(--border-gold-strong);
  transform: translateY(-3px);
}

.card-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 0.95rem;
  border: 1px solid var(--border-gold-soft);
}

.card-tag {
  display: inline-block;
  background: var(--gold-pill-gradient);
  color: #08090d;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: 99px;
  margin-bottom: 0.5rem;
}

.visual-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold-soft);
  background: var(--bg-surface);
}

.visual-caption-overlay {
  padding: 0.75rem 1rem;
  background: #090b11;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--gold-bright);
}

.callout-box {
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  margin-block: 1.35rem;
  border: 1px solid var(--border-gold-soft);
  background: rgba(245, 158, 11, 0.08);
}

.callout-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 0.35rem;
}

/* Site Footer */
.site-footer {
  margin-top: auto;
  background: #050609;
  border-top: 1px solid var(--border-subtle);
  padding-block: 2.75rem 1.5rem;
  font-size: 0.86rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.75rem;
}

.footer-col h3,
.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* ==========================================================================
   8-VIEWPORT RESPONSIVE ARCHITECTURE (320px to 1920px)
   ========================================================================== */

@media (min-width: 1920px) {
  :root {
    --container-max: 1160px;
  }
}

@media (max-width: 1024px) {
  .mobile-menu-btn {
    display: inline-flex;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0d0f17;
    border-bottom: 2px solid var(--gold-main);
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem 1.25rem;
    gap: 0.35rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .nav-link {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.65rem 0.9rem;
  }

  .phone-showcase-grid,
  .faq-split-layout,
  .editorial-layout {
    grid-template-columns: 1fr;
  }

  .sticky-sidebar {
    position: static;
  }

  .zone-grid-6,
  .grid-3,
  .card-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-4-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .stats-4-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-cell:nth-child(2) {
    border-right: none;
  }

  .zone-grid-6,
  .steps-4-grid,
  .grid-3,
  .card-grid-3,
  .card-grid-2,
  .related-links-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stacked-pill-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }
}

@media (max-width: 430px) {
  .brand-link {
    max-width: 150px;
  }

  .header-auth-actions {
    gap: 0.4rem;
  }

  .btn-header-login,
  .btn-header-register {
    padding: 0.36rem 0.75rem;
    font-size: 0.78rem;
    min-height: 34px;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .stats-4-grid {
    grid-template-columns: 1fr;
  }

  .stat-cell {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.65rem;
  }

  .stat-cell:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .framed-review-box,
  .article-body {
    padding: 1.15rem;
  }
}

@media (max-width: 360px) {
  html {
    font-size: 15px;
  }

  .brand-link {
    max-width: 132px;
  }

  .btn-header-login,
  .btn-header-register {
    padding: 0.32rem 0.62rem;
    font-size: 0.74rem;
  }
}
