/* ============================================================================
   CLASSY ROLEPLAY — LUXURY DARK & CHAMPAGNE GOLD DESIGN SYSTEM
   ============================================================================ */

:root {
  /* Palette */
  --bg-obsidian: #070709;
  --bg-velvet: #0d0d12;
  --bg-surface: #121219;
  --bg-surface-hover: #171721;
  --bg-glass: rgba(13, 13, 18, 0.78);

  --gold-100: #fbf1cf;
  --gold-300: #f3d578;
  --gold-500: #d4af37;
  --gold-700: #9f7c1f;
  --gold-gradient: linear-gradient(135deg, #f3d578 0%, #d4af37 48%, #a68222 100%);
  --gold-border: rgba(212, 175, 55, 0.18);
  --gold-border-strong: rgba(212, 175, 55, 0.42);
  --gold-glow: rgba(212, 175, 55, 0.18);

  --text-ivory: #f5f2eb;
  --text-silver: #b0aca2;
  --text-muted: #76726a;

  --status-online: #22c55e;
  --status-offline: #ef4444;

  /* Typography */
  --font-display: "Playfair Display", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;

  /* Spacing & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --container-max: 1280px;
  --nav-height: 82px;

  /* Shadows */
  --shadow-card: 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 10px 35px rgba(212, 175, 55, 0.22);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-obsidian);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-obsidian);
  color: var(--text-ivory);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

::selection {
  background: rgba(212, 175, 55, 0.28);
  color: var(--gold-100);
}

/* Utility */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section {
  position: relative;
  padding: 104px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(18, 18, 25, 0.55) 0%, rgba(7, 7, 9, 0.95) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-header {
  max-width: 680px;
  margin: 0 auto 60px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold-border);
  background: rgba(212, 175, 55, 0.06);
  color: var(--gold-300);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 10px var(--gold-500);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--text-ivory);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-silver);
  font-size: 1.04rem;
}

/* Subtle architectural ambient background */
.ambient-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(212, 175, 55, 0.07), transparent 40%),
    radial-gradient(circle at 82% 70%, rgba(212, 175, 55, 0.05), transparent 42%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 72px 72px, 72px 72px;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.22s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0b0904;
  box-shadow: var(--shadow-gold);
  overflow: hidden;
}

.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  transform: translateX(-110%);
  transition: transform 0.6s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(212, 175, 55, 0.34);
}

.btn-gold:hover::after {
  transform: translateX(110%);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gold-border);
  color: var(--text-ivory);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--gold-border-strong);
  background: rgba(212, 175, 55, 0.09);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-ivory);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.86rem;
}

/* ============================================================================
   NAVBAR
   ============================================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, height 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  height: 70px;
  background: rgba(7, 7, 9, 0.86);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(212, 175, 55, 0.14);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--gold-border-strong);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.18);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-ivory);
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-top: 3px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-silver);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold-gradient);
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: var(--text-ivory);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-ivory);
  white-space: nowrap;
  flex-shrink: 0;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-online);
  box-shadow: 0 0 10px var(--status-online);
  animation: pulseDot 2.2s infinite;
}

.status-dot.offline {
  background: var(--status-offline);
  box-shadow: 0 0 10px var(--status-offline);
  animation: none;
}

@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.86);
  }
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-border);
  background: rgba(255, 255, 255, 0.03);
}

.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(9, 9, 13, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-border);
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.25s ease;
  z-index: 95;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  padding: 10px 4px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-silver);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu a:hover {
  color: var(--gold-300);
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 126px 0 84px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 58%;
  filter: brightness(0.86) contrast(1.06) saturate(1.08);
  transform: scale(1.01);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(7, 7, 9, 0.92) 0%, rgba(7, 7, 9, 0.72) 44%, rgba(7, 7, 9, 0.14) 100%),
    linear-gradient(180deg, rgba(7, 7, 9, 0.65) 0%, rgba(7, 7, 9, 0.08) 42%, rgba(7, 7, 9, 0.96) 100%);
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  max-width: 720px;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 4.6vw, 4.15rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.72);
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: #cec9bf;
  max-width: 600px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

/* Quick Connect Bar */
.connect-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 18px;
  border-radius: var(--radius-md);
  background: rgba(13, 13, 18, 0.82);
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
  max-width: 100%;
}

.connect-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  padding-right: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.connect-cmd {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-ivory);
  user-select: all;
}

.copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid var(--gold-border-strong);
  color: var(--gold-100);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.15s ease;
}

.copy-chip:hover {
  background: rgba(212, 175, 55, 0.24);
  transform: translateY(-1px);
}

.copy-chip svg {
  width: 15px;
  height: 15px;
}

/* Hero Stats Strip */
.hero-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 860px;
}

.stat-card {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: rgba(14, 14, 20, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

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

.stat-value {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold-300);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-silver);
  margin-top: 4px;
}

/* ============================================================================
   FEATURES GRID
   ============================================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 0%),
    rgba(212, 175, 55, 0.11),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-card);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  color: var(--gold-300);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-ivory);
}

.feature-card p {
  font-size: 0.94rem;
  color: var(--text-silver);
}

/* ============================================================================
   FACTIONS INTERACTIVE TABS
   ============================================================================ */
.faction-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.faction-tab {
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-silver);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
}

.faction-tab:hover {
  color: var(--text-ivory);
  border-color: var(--gold-border);
}

.faction-tab.active {
  background: var(--gold-gradient);
  color: #0b0904;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.faction-panel {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #14141d 0%, #0d0d13 100%);
  border: 1px solid var(--gold-border);
  padding: 44px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
  animation: fadePanel 0.35s ease;
}

@keyframes fadePanel {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faction-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-300);
  margin-bottom: 14px;
}

.faction-info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.faction-info p {
  color: var(--text-silver);
  margin-bottom: 24px;
  font-size: 1rem;
}

.faction-req {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.06);
  border-left: 3px solid var(--gold-500);
  font-size: 0.88rem;
  color: var(--gold-100);
  margin-bottom: 28px;
}

.faction-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faction-perks li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.94rem;
  color: var(--text-ivory);
}

.perk-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.16);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.perk-check svg {
  width: 13px;
  height: 13px;
}

/* ============================================================================
   HOW TO JOIN STEPS
   ============================================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.step-card {
  position: relative;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.38rem;
  margin: 12px 0 10px;
}

.step-card p {
  font-size: 0.94rem;
  color: var(--text-silver);
}

.address-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gold-border);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--gold-100);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.address-pill:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-border-strong);
}

/* ============================================================================
   RULES ACCORDION & FILTER
   ============================================================================ */
.rules-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.rule-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-silver);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s ease;
}

.filter-btn:hover {
  color: var(--text-ivory);
  border-color: var(--gold-border);
}

.filter-btn.active {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-border-strong);
  color: var(--gold-100);
}

.rule-search {
  position: relative;
  min-width: 260px;
  flex: 0 1 320px;
}

.rule-search input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-ivory);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.rule-search input:focus {
  border-color: var(--gold-500);
}

.rule-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--text-muted);
  pointer-events: none;
}

.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.accordion-item.open {
  border-color: var(--gold-border);
}

.accordion-trigger {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}

.accordion-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rule-code {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-300);
  flex-shrink: 0;
}

.accordion-title {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-ivory);
}

.accordion-chevron {
  width: 20px;
  height: 20px;
  color: var(--gold-500);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.accordion-item.open .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content {
  padding: 0 24px 22px;
  color: var(--text-silver);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 16px;
}

.empty-state {
  text-align: center;
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
}

/* ============================================================================
   FAQ + CONTACT CTA BANNER
   ============================================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 36px;
  align-items: start;
}

.faq-grid > * {
  min-width: 0;
}

.contact-card {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(212, 175, 55, 0.11) 0%, rgba(18, 18, 25, 0.95) 55%);
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-card);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.contact-card > p {
  color: var(--text-silver);
  font-size: 0.95rem;
  margin-bottom: 26px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(7, 7, 9, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease;
}

.contact-row:hover {
  border-color: var(--gold-border);
}

.contact-row-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.contact-row-value {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--gold-100);
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer {
  border-top: 1px solid rgba(212, 175, 55, 0.14);
  background: #050507;
  padding: 58px 0 34px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold-300);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-silver);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--gold-300);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================================================
   MODAL & TOAST
   ============================================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 5, 0.82);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  background: #101016;
  border: 1px solid var(--gold-border-strong);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75);
  padding: 32px;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.25s ease;
}

.modal-backdrop.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.modal-head h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-silver);
  transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background: rgba(212, 175, 55, 0.16);
  color: var(--gold-100);
}

.modal-section {
  margin-bottom: 18px;
}

.modal-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  background: #14141d;
  border: 1px solid var(--gold-border-strong);
  color: var(--gold-100);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-online);
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================================
   RESPONSIVE BREAKPOINTS
   ============================================================================ */
@media (max-width: 1024px) {
  .features-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faction-panel {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 28px;
  }

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

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

@media (max-width: 1180px) {
  .nav-actions .status-pill {
    display: none;
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

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

@media (max-width: 600px) {
  .container {
    padding: 0 18px;
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    padding: 108px 0 64px;
  }

  .features-grid,
  .steps-grid,
  .footer-top,
  .modal-actions {
    grid-template-columns: 1fr;
  }

  .connect-bar {
    width: 100%;
    padding: 12px 14px;
  }

  .connect-label {
    border-right: none;
    padding-right: 0;
    width: 100%;
  }

  .copy-chip {
    width: 100%;
    justify-content: center;
  }

  .nav-actions .btn-gold {
    display: none;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .contact-card {
    padding: 26px 20px;
  }

  .contact-row {
    padding: 12px 14px;
  }

  .contact-row-value {
    font-size: 0.8rem;
    word-break: break-word;
  }

  .accordion-trigger {
    padding: 16px 18px;
  }

  .toast {
    left: 16px;
    right: 16px;
    bottom: 18px;
  }
}
