/* ==========================================================================
   REPOLIA GAMES - DUAL THEME ENGINE (LIGHT & DARK BUSINESS GAMING UI)
   Default: Warm White & Royal Blue | Dark Mode: Deep Navy & Electric Blue
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* ========================================================================
     1. LIGHT MODE (DEFAULT: WARM WHITE & REPOLIA ROYAL BLUE)
     ======================================================================== */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-header: rgba(248, 250, 252, 0.85);

  --repolia-blue: #0052b4;
  --repolia-blue-hover: #004294;
  --repolia-blue-electric: #0066ff;
  --repolia-blue-light: #e8f1fd;
  --repolia-blue-border: rgba(0, 82, 180, 0.15);
  --repolia-blue-glow: rgba(0, 82, 180, 0.18);

  --text-primary: #0a1128;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-medium: rgba(0, 0, 0, 0.1);
  --border-active: var(--repolia-blue);

  --shadow-subtle: 0 4px 20px rgba(0, 40, 100, 0.04);
  --shadow-elevated: 0 20px 45px rgba(0, 40, 100, 0.08), 0 0 20px rgba(0, 82, 180, 0.05);

  --ambient-grid-color: rgba(0, 82, 180, 0.035);
  --orb-1-color: rgba(0, 82, 180, 0.08);
  --orb-2-color: rgba(0, 102, 255, 0.06);
  --particle-color: rgba(0, 82, 180, 0.25);
  --particle-line: rgba(0, 82, 180, 0.08);

  --btn-primary-bg: #0052b4;
  --btn-primary-text: #ffffff;
  --btn-primary-hover-bg: #003d87;
  --btn-primary-hover-text: #ffffff;

  --btn-secondary-bg: #ffffff;
  --btn-secondary-text: #0a1128;
  --btn-secondary-border: rgba(0, 0, 0, 0.12);

  --logo-filter: invert(1);
  --outline-text-color: rgba(10, 17, 40, 0.25);

  /* Fonts */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. DARK MODE (DEEP OBSIDIAN NAVY & ELECTRIC BLUE)
   ========================================================================== */
[data-theme="dark"] {
  --bg-main: #050811;
  --bg-surface: #0c1427;
  --bg-surface-elevated: #111c36;
  --bg-card: rgba(12, 20, 39, 0.8);
  --bg-card-hover: rgba(17, 28, 54, 0.98);
  --bg-header: rgba(5, 8, 17, 0.88);

  --repolia-blue: #0052b4;
  --repolia-blue-hover: #0066ff;
  --repolia-blue-electric: #0066ff;
  --repolia-blue-light: rgba(0, 102, 255, 0.15);
  --repolia-blue-border: rgba(0, 102, 255, 0.35);
  --repolia-blue-glow: rgba(0, 102, 255, 0.35);

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

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-active: rgba(0, 102, 255, 0.7);

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.6);
  --shadow-elevated: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 102, 255, 0.15);

  --ambient-grid-color: rgba(255, 255, 255, 0.02);
  --orb-1-color: rgba(0, 82, 180, 0.18);
  --orb-2-color: rgba(0, 102, 255, 0.14);
  --particle-color: rgba(0, 102, 255, 0.4);
  --particle-line: rgba(0, 102, 255, 0.15);

  --btn-primary-bg: #0066ff;
  --btn-primary-text: #ffffff;
  --btn-primary-hover-bg: #ffffff;
  --btn-primary-hover-text: #000000;

  --btn-secondary-bg: rgba(255, 255, 255, 0.04);
  --btn-secondary-text: #ffffff;
  --btn-secondary-border: rgba(255, 255, 255, 0.15);

  --logo-filter: none;
  --outline-text-color: rgba(255, 255, 255, 0.55);
}

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

html {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  min-height: 100vh;
  background-color: var(--bg-main);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 82, 180, 0.25);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--repolia-blue);
}

::selection {
  background: var(--repolia-blue);
  color: #ffffff;
}

/* Dynamic Spotlight Cursor */
.cursor-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--orb-1-color) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.3s ease;
  will-change: transform;
}

/* Ambient Background Grid & Orbs */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--ambient-grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--ambient-grid-color) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black 30%, transparent 80%);
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(160px);
  pointer-events: none;
  transition: background-color 0.3s ease;
}

.orb-1 {
  width: 800px;
  height: 800px;
  background: var(--orb-1-color);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
}

.orb-2 {
  width: 700px;
  height: 700px;
  background: var(--orb-2-color);
  top: 50%;
  right: -200px;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 30px;
  width: auto;
  object-fit: contain;
  filter: var(--logo-filter);
  transition: filter 0.3s ease;
}

.brand-tag-games {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: var(--repolia-blue);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--repolia-blue);
  box-shadow: 0 0 8px var(--repolia-blue);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}



/* Theme Switcher Button */
.btn-theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-theme-toggle:hover {
  border-color: var(--repolia-blue);
  color: var(--repolia-blue);
  background: var(--bg-surface-elevated);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.16);
}

/* ==========================================================================
   MAIN LAYOUT & SCROLL SECTIONS
   ========================================================================== */
.main-wrapper {
  position: relative;
  z-index: 10;
}

.section-container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* ==========================================================================
   SECTION 1: HERO
   ========================================================================== */
.hero-pinned-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
}

/* Hero Content Stacking Layer */
.hero-content-layer {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* ==========================================================================
   HERO BLURRED CHARACTER BACKDROPS (LEFT & RIGHT FLANKS)
   ========================================================================== */
.hero-character-backdrop {
  position: absolute;
  top: 50%;
  height: 82vh;
  max-height: 820px;
  width: 28vw;
  max-width: 440px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: pointer;
  transition: filter 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  filter: blur(18px) grayscale(40%);
  opacity: 0.14;
  user-select: none;
}

[data-theme="dark"] .hero-character-backdrop {
  opacity: 0.22;
  filter: blur(20px) grayscale(30%);
}

.hero-character-backdrop.char-left {
  left: 1vw;
  transform: translateY(-50%) translateX(-6%);
}

.hero-character-backdrop.char-right {
  right: 1vw;
  transform: translateY(-50%) translateX(6%);
}

.hero-char-img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.35));
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.65s ease;
  pointer-events: none;
}

.char-glow-aura {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 82, 180, 0.4) 0%, transparent 70%);
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}

[data-theme="dark"] .char-glow-aura {
  background: radial-gradient(circle, rgba(0, 102, 255, 0.5) 0%, transparent 70%);
}

/* UNBLUR HOVER / PROXIMITY ACTIVE STATE */
.hero-character-backdrop:hover,
.hero-character-backdrop.is-unblurred {
  filter: blur(0px) grayscale(0%);
  opacity: 0.94;
  z-index: 4;
}

.hero-character-backdrop.char-left:hover,
.hero-character-backdrop.char-left.is-unblurred {
  transform: translateY(-50%) translateX(0%) scale(1.04);
}

.hero-character-backdrop.char-right:hover,
.hero-character-backdrop.char-right.is-unblurred {
  transform: translateY(-50%) translateX(0%) scale(1.04);
}

.hero-character-backdrop:hover .char-glow-aura,
.hero-character-backdrop.is-unblurred .char-glow-aura {
  opacity: 0.9;
}

.hero-character-backdrop:hover .hero-char-img,
.hero-character-backdrop.is-unblurred .hero-char-img {
  filter: drop-shadow(0 0 40px rgba(0, 102, 255, 0.55));
}

@media (max-width: 1100px) {
  .hero-character-backdrop {
    display: none;
  }
}



.hero-giant-title {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 9vw, 7.8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}

.hero-giant-title .word-solid {
  display: block;
  color: var(--text-primary);
}

.hero-giant-title .word-outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--outline-text-color);
  transition: -webkit-text-stroke 0.3s ease;
}

.hero-giant-title .word-outline:hover {
  -webkit-text-stroke: 2px var(--repolia-blue);
}

.hero-giant-title .dot-blue {
  color: var(--repolia-blue);
  -webkit-text-stroke: 0;
  text-shadow: 0 0 25px var(--repolia-blue-glow);
}

.hero-subheading {
  max-width: 660px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 auto 3rem;
  font-weight: 400;
}

.hero-subheading strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 4.5rem;
}

.btn-hero-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 1rem 2.5rem;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.25s var(--ease-out-expo);
  box-shadow: 0 8px 25px var(--repolia-blue-glow);
}

.btn-hero-primary:hover {
  background: var(--btn-primary-hover-bg);
  color: var(--btn-primary-hover-text);
  transform: translateY(-2px);
}

.btn-hero-secondary {
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 1rem 2.2rem;
  border-radius: 6px;
  border: 1px solid var(--btn-secondary-border);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.25s var(--ease-out-expo);
  backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
  border-color: var(--repolia-blue);
  color: var(--repolia-blue);
  background: var(--repolia-blue-light);
  transform: translateY(-2px);
}

/* ==========================================================================
   SLEEK MINIMALIST HERO METRICS BAR
   ========================================================================== */
.hero-metrics-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 980px;
  padding: 1.4rem 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-subtle);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

[data-theme="dark"] .hero-metrics-bar {
  background: rgba(12, 20, 39, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.hero-metrics-bar:hover {
  border-color: var(--repolia-blue-border);
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.metric-divider {
  width: 1px;
  height: 38px;
  background: var(--border-subtle);
  flex-shrink: 0;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex: 1;
  text-align: center;
  transition: transform 0.25s ease;
  cursor: default;
}

.metric-item:hover {
  transform: translateY(-1px);
}

.metric-val {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.metric-accent {
  color: var(--repolia-blue);
  font-weight: 800;
}

[data-theme="dark"] .metric-accent {
  color: var(--repolia-blue-electric);
}

.metric-unit {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-left: 1px;
}

.metric-lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.scroll-hint svg {
  animation: bounceDown 1.8s infinite ease-in-out;
}

@keyframes bounceDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

/* ==========================================================================
   SECTION 2: GAMES SHOWCASE
   ========================================================================== */
.games-section-wrapper {
  padding: 8.5rem 0 5rem;
  position: relative;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--repolia-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title-giant {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.section-title-giant span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--outline-text-color);
}

.flagship-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.game-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
  will-change: transform;
  box-shadow: var(--shadow-subtle);
}

.game-card:hover {
  border-color: var(--border-active);
  box-shadow: var(--shadow-elevated);
  transform: translateY(-8px);
}

.game-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: #000;
}

.game-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo), filter 0.7s ease;
  filter: brightness(0.94);
}

.game-card:hover .game-img {
  transform: scale(1.04);
}

.card-floating-tags {
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  right: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  z-index: 3;
}

.tag-genre {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  background: rgba(10, 17, 40, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.tag-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(10, 17, 40, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(221, 20, 56, 0.5);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 14px rgba(221, 20, 56, 0.22);
  transition: all 0.3s var(--ease-out-expo);
}

.tag-status:hover {
  border-color: rgba(221, 20, 56, 0.85);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 0 18px rgba(221, 20, 56, 0.45);
  transform: translateY(-1px);
}

.tag-supra-logo {
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  max-width: 14px;
  max-height: 14px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 0 5px rgba(221, 20, 56, 0.65));
  transition: transform 0.3s ease;
}

.tag-status:hover .tag-supra-logo {
  transform: scale(1.18);
}

.card-details {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.title-text {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.tagline-text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.6rem;
  flex-grow: 1;
}

.card-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.8rem;
}

.pill-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.8rem;
  background: var(--repolia-blue-light);
  border: 1px solid var(--repolia-blue-border);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.25s var(--ease-out-expo);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .pill-item {
  background: rgba(17, 28, 54, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

.pill-item:hover {
  background: rgba(221, 20, 56, 0.08);
  border-color: rgba(221, 20, 56, 0.38);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(221, 20, 56, 0.12);
}

[data-theme="dark"] .pill-item:hover {
  background: rgba(221, 20, 56, 0.15);
  border-color: rgba(221, 20, 56, 0.55);
  box-shadow: 0 4px 16px rgba(221, 20, 56, 0.25);
  color: #ffffff;
}

.pill-supra-icon {
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  max-width: 14px;
  max-height: 14px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 0 3px rgba(221, 20, 56, 0.4));
  transition: transform 0.25s ease;
}

.pill-item:hover .pill-supra-icon {
  transform: scale(1.18);
  filter: drop-shadow(0 0 6px rgba(221, 20, 56, 0.75));
}

.pill-item svg {
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  color: var(--repolia-blue);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.pill-item:hover svg {
  transform: scale(1.15);
  color: #ff3366;
}

.card-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-subtle);
}

.btn-play-action {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 0.85rem 2.2rem;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s var(--ease-out-expo);
  box-shadow: 0 4px 15px var(--repolia-blue-glow);
}

.btn-play-action:hover {
  background: var(--btn-primary-hover-bg);
  color: var(--btn-primary-hover-text);
  transform: translateY(-2px);
}

.meta-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.meta-val {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.meta-lbl {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ==========================================================================
   SECTION 3: ARCHITECTURE
   ========================================================================== */
.tech-section-wrapper {
  padding: 8.5rem 0;
  position: relative;
  background: linear-gradient(180deg, transparent, var(--repolia-blue-light) 40%, transparent);
}

.tech-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.tech-box {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: all 0.35s var(--ease-out-expo);
  box-shadow: var(--shadow-subtle);
}

.tech-box:hover {
  border-color: var(--border-active);
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
}

.tech-number {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--repolia-blue);
  letter-spacing: 0.05em;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tech-number::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background: var(--border-subtle);
}

.tech-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--repolia-blue-light);
  border: 1px solid var(--repolia-blue-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
  color: var(--repolia-blue);
  transition: transform 0.35s ease;
}

.tech-box:hover .tech-icon-wrap {
  transform: scale(1.08);
  background: var(--repolia-blue);
  color: #ffffff;
}

.tech-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.tech-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.6rem;
}

.tech-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--border-subtle);
}

.tech-bullet-list li {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tech-bullet-list li svg {
  color: var(--repolia-blue);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.supra-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--repolia-blue);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.supra-link-btn:hover {
  color: var(--repolia-blue-hover);
  transform: translateX(2px);
}

/* ==========================================================================
   SECTION 4: MOVE MULTIVERSE EXPANSION (APTOS & SUI SHOWCASE)
   ========================================================================== */
.ecosystem-section-wrapper {
  padding: 8.5rem 0;
  position: relative;
}

/* Ultra-Modern Move Trinity Strip */
.move-trinity-strip {
  display: flex;
  align-items: center;
  margin-top: 2.2rem;
  margin-bottom: 2.5rem;
}

.trinity-strip-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-subtle);
  flex-wrap: wrap;
}

[data-theme="dark"] .trinity-strip-inner {
  background: rgba(12, 20, 39, 0.75);
  border-color: rgba(255, 255, 255, 0.1);
}

.trinity-network-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  background: transparent;
  transition: all 0.25s ease;
  cursor: default;
}

.trinity-network-chip:hover {
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}

[data-theme="dark"] .trinity-network-chip:hover {
  background: rgba(255, 255, 255, 0.06);
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chip-dot.live-dot {
  background: #ff3366;
  box-shadow: 0 0 8px #ff3366;
  animation: pulseDot 1.6s infinite ease-in-out;
}

.chip-dot.testnet-dot {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
  animation: pulseGlow 2s infinite ease-in-out;
}

.chip-dot.dev-dot {
  background: #00d2aa;
  box-shadow: 0 0 8px #00d2aa;
  animation: pulseGlow 2s infinite ease-in-out;
}

.chip-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.chip-name {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.chip-status {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.chip-status.live {
  background: rgba(255, 51, 102, 0.12);
  color: #ff3366;
  border: 1px solid rgba(255, 51, 102, 0.25);
}

.chip-status.testnet {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

[data-theme="dark"] .chip-status.testnet {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.4);
}

.chip-status.dev {
  background: rgba(0, 210, 170, 0.12);
  color: #009977;
  border: 1px solid rgba(0, 210, 170, 0.3);
}

[data-theme="dark"] .chip-status.dev {
  color: #2dd4bf;
  border-color: rgba(45, 212, 191, 0.4);
}

/* Expansion Grid */
.expansion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem;
}

.expansion-box {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
}

.expansion-box:hover {
  border-color: var(--border-active);
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
}

/* Blurred Teaser Thumbnail Container */
.expansion-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000000;
}

.expansion-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95) contrast(1.08);
  transform: scale(1);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.expansion-box:hover .expansion-bg-img {
  transform: scale(1.03);
  filter: brightness(1.05) contrast(1.12);
}

/* Glass & Scanline Overlay */
.teaser-glass-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(5, 12, 30, 0.4) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1rem 1.2rem;
  pointer-events: none;
}

.teaser-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg,
      transparent,
      transparent 3px,
      rgba(0, 102, 255, 0.04) 3px,
      rgba(0, 102, 255, 0.04) 6px);
  pointer-events: none;
}

.teaser-confidential-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10, 17, 40, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.conf-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3366;
  box-shadow: 0 0 8px #ff3366;
  animation: pulseDot 1.4s infinite ease-in-out;
}

/* Floating Card Tags */
.expansion-card-tags {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  z-index: 3;
}

.expansion-net-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(10, 17, 40, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.expansion-net-tag.aptos-tag {
  border-color: rgba(45, 212, 191, 0.45);
  color: #2dd4bf;
}

.expansion-net-tag.sui-tag {
  border-color: rgba(77, 162, 255, 0.5);
  color: #4da2ff;
}

.net-pill-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.soon-pill {
  margin-left: auto;
  background: var(--repolia-blue);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0, 82, 180, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Card Body */
.expansion-body {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.expansion-header-row {
  margin-bottom: 0.8rem;
}

.expansion-subtitle {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--repolia-blue);
  letter-spacing: 0.03em;
  margin-top: 0.2rem;
}

.expansion-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  margin: 1.2rem 0 1.6rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.highlight-item strong {
  color: var(--text-primary);
  font-weight: 700;
}

.highlight-icon-wrap {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: var(--repolia-blue-light);
  border: 1px solid var(--repolia-blue-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--repolia-blue);
  flex-shrink: 0;
  margin-top: 1px;
}

.highlight-icon-wrap svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
}

[data-theme="dark"] .highlight-icon-wrap {
  background: rgba(0, 102, 255, 0.12);
  border-color: rgba(0, 102, 255, 0.35);
  color: #4da2ff;
}

/* Card Footer & Action */
.expansion-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.2rem;
  margin-top: auto;
  flex-wrap: wrap;
}

.expansion-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pulse-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00d2aa;
  box-shadow: 0 0 8px #00d2aa;
  animation: pulseGlow 1.8s infinite ease-in-out;
}

.btn-whitelist-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--repolia-blue-light);
  color: var(--repolia-blue);
  border: 1px solid var(--repolia-blue-border);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-whitelist-action:hover {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border-color: var(--btn-primary-bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--repolia-blue-glow);
}

.btn-whitelist-action svg {
  transition: transform 0.2s ease;
}

.btn-whitelist-action:hover svg {
  transform: translateX(3px);
}

/* Animations */
@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 10px #00d2aa;
  }

  50% {
    opacity: 0.45;
    box-shadow: 0 0 3px #00d2aa;
  }
}

/* Media Queries for Section 4 */
@media (max-width: 900px) {
  .expansion-grid {
    grid-template-columns: 1fr;
  }

  .move-trinity-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   SECTION 5: CTA / ACCESS
   ========================================================================== */
.cta-section-wrapper {
  padding: 10rem 0 7rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-mega-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9.5vw, 8.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 1.8rem;
}

.cta-mega-title .out {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--outline-text-color);
}

.cta-mega-title .sol {
  display: block;
  color: var(--repolia-blue);
}

.cta-tagline {
  max-width: 580px;
  margin: 0 auto 2.8rem;
  font-size: 1.15rem;
  color: var(--text-secondary);
}

/* Community / Discord CTA Group */
.cta-actions-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin: 0 auto 3.5rem;
  flex-wrap: wrap;
}

.btn-discord-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #5865F2;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  padding: 1.1rem 2.2rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.35);
  transition: all 0.25s ease;
}

.btn-discord-hero:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(88, 101, 242, 0.5);
  color: #ffffff;
}

.btn-x-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 1.1rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-x-hero:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 3rem;
  background: var(--bg-surface);
  position: relative;
  z-index: 10;
}

.footer-main-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand-side {
  max-width: 360px;
}

.footer-brand-side p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-top: 1rem;
}

.footer-columns {
  display: flex;
  gap: 4.5rem;
  flex-wrap: wrap;
}

.foot-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.foot-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.foot-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.foot-links a:hover {
  color: var(--repolia-blue);
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.social-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.soc-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.soc-btn:hover {
  background: var(--repolia-blue-light);
  border-color: var(--repolia-blue-border);
  color: var(--repolia-blue);
  transform: translateY(-2px);
}

/* ==========================================================================
   WALLET MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 17, 40, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.wallet-modal-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 14px;
  padding: 2.2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  transform: scale(0.94);
  transition: transform 0.25s var(--ease-out-expo);
}

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

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-close-modal:hover {
  color: var(--text-primary);
  background: var(--border-subtle);
}

.wallet-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.wallet-option-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.wallet-option-btn:hover {
  background: var(--repolia-blue-light);
  border-color: var(--repolia-blue);
  transform: translateX(3px);
}

.wallet-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wallet-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wallet-name {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
}

.wallet-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.wallet-status-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: var(--repolia-blue-light);
  color: var(--repolia-blue);
  border: 1px solid var(--repolia-blue-border);
}

/* ==========================================================================
   SECTION 2.5: CRED TOKEN ($CRED) & MULTIVERSE ECONOMY
   ========================================================================== */
.nav-link-token {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-pill-soon {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--repolia-blue);
  color: #ffffff;
  letter-spacing: 0.06em;
  box-shadow: 0 0 8px rgba(0, 102, 255, 0.4);
}

.token-section-wrapper {
  position: relative;
  width: 100%;
  padding: 8rem 0 6rem;
  z-index: 10;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 82, 180, 0.03) 50%, transparent 100%);
}

.section-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.token-ticker-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: var(--repolia-blue-light);
  color: var(--repolia-blue-electric);
  border: 1px solid var(--repolia-blue-border);
  letter-spacing: 0.04em;
}

.token-network-badge {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-subtle);
}

.green-pulse {
  background: #10b981 !important;
  box-shadow: 0 0 10px #10b981 !important;
}

.token-section-lead {
  max-width: 840px;
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 1.25rem 0 3.5rem;
}

/* Main Grid Layout */
.token-main-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 2.2rem;
  align-items: stretch;
  margin-bottom: 3.5rem;
}

/* 3D Holographic Token Card */
.token-hero-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-elevated);
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.token-hero-card:hover {
  border-color: var(--repolia-blue-border);
  box-shadow: 0 25px 60px rgba(0, 82, 180, 0.16);
}

.token-hero-glow {
  position: absolute;
  top: 25%;
  left: 50%;
  width: 300px;
  height: 300px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--repolia-blue-glow) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.token-visual-container {
  position: relative;
  width: 270px;
  height: 270px;
  margin: 0.5rem auto 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

/* Orbital Energy Rings */
.token-orbit-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.token-orbit-ring.ring-1 {
  width: 230px;
  height: 230px;
  border: 1.5px dashed var(--repolia-blue-border);
  animation: orbit-spin-clockwise 24s linear infinite;
}

.token-orbit-ring.ring-2 {
  width: 270px;
  height: 270px;
  border: 1px solid rgba(0, 102, 255, 0.18);
  animation: orbit-spin-counter 32s linear infinite;
}

.token-orbit-ring.ring-3 {
  width: 300px;
  height: 300px;
  border: 1px dotted rgba(0, 82, 180, 0.12);
  animation: orbit-spin-clockwise 45s linear infinite;
}

@keyframes orbit-spin-clockwise {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-spin-counter {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

/* 3D Coin Asset Visual */
.token-coin-wrapper {
  position: relative;
  width: 195px;
  height: 195px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 15px 30px rgba(0, 82, 180, 0.35)) drop-shadow(0 0 25px rgba(245, 158, 11, 0.25));
  animation: token-hover-float 4.5s ease-in-out infinite;
  z-index: 2;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.token-hero-card:hover .token-coin-wrapper {
  transform: scale(1.06);
  filter: drop-shadow(0 20px 40px rgba(0, 102, 255, 0.45)) drop-shadow(0 0 35px rgba(245, 158, 11, 0.4));
}

.token-coin-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@keyframes token-hover-float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(2deg);
  }
}

/* Floating Badges */
.token-float-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-primary);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
}

.token-float-badge .float-icon {
  width: 14px;
  height: 14px;
}

.token-float-badge .fire-icon {
  color: #ff5533;
}

.token-float-badge.float-top {
  top: -5px;
  right: -10px;
}

.token-float-badge.float-bottom {
  bottom: -5px;
  left: -10px;
}

/* Specs Matrix */
.token-specs-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin: 1.25rem 0 1.8rem;
  padding: 1.2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  z-index: 1;
  position: relative;
}

.spec-matrix-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.spec-matrix-item .spec-lbl {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spec-matrix-item .spec-val {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.spec-matrix-item .highlight-blue {
  color: var(--repolia-blue-electric);
}

.spec-matrix-item .status-green {
  color: #10b981;
}

.btn-token-primary {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.5rem;
  border-radius: 12px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(0, 82, 180, 0.25);
}

.btn-token-primary:hover {
  background: var(--repolia-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 82, 180, 0.35);
}

/* 4 Utility Pillars Grid */
.token-utility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.utility-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.utility-card:hover {
  border-color: var(--repolia-blue-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.utility-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.utility-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--repolia-blue-light);
  color: var(--repolia-blue-electric);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.utility-badge-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.utility-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.utility-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.3rem;
}

.utility-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.u-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   INTERACTIVE MULTIVERSE SIMULATOR
   ========================================================================== */
.token-simulator-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 24px;
  padding: 2.5rem;
  margin-bottom: 0;
  box-shadow: var(--shadow-subtle);
}

.simulator-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.sim-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--repolia-blue-electric);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.2rem;
}

.sim-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.sim-tab-controls {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-card);
  padding: 0.35rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

.sim-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sim-tab-btn:hover {
  color: var(--text-primary);
}

.sim-tab-btn.active {
  background: var(--repolia-blue);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 82, 180, 0.25);
}

.sim-tab-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.sim-tab-svg {
  width: 16px;
  height: 16px;
}

.sim-panels-container {
  position: relative;
}

.sim-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sim-panel.active {
  display: block;
  opacity: 1;
}

.sim-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.sim-feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.sim-feature-box:hover {
  border-color: var(--repolia-blue-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-subtle);
}

.sim-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.sim-feature-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--repolia-blue-electric);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: var(--repolia-blue-light);
}

.sim-cost-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.sim-feature-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.sim-feature-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.sim-feature-footer {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

.sim-meta-item {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .site-header {
    padding: 0 1.5rem;
  }

  .section-container {
    padding: 0 1.5rem;
  }

  .flagship-grid {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin: 0 auto 3rem;
  }

  .token-main-grid {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin: 0 auto 3rem;
  }

  .token-utility-grid {
    grid-template-columns: 1fr;
  }

  .sim-card-grid {
    grid-template-columns: 1fr;
  }

  .tech-cards-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 3rem auto 0;
  }

  .upcoming-row {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin: 3rem auto 0;
  }

  .hero-metrics-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 1.5rem;
  }

  .metric-divider {
    display: none;
  }
}

/* ==========================================================================
   MOBILE MENU HAMBURGER & DRAWER NAVIGATION (ROOT STYLES)
   ========================================================================== */
.btn-mobile-menu {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.hamburger-line {
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-drawer.open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 82%;
  max-width: 340px;
  height: 100%;
  background: var(--bg-card);
  border-left: 1px solid var(--border-medium);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-nav-drawer.open .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.btn-close-drawer {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-close-drawer:hover {
  border-color: var(--repolia-blue);
  color: var(--repolia-blue);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--repolia-blue-light);
  border-color: var(--repolia-blue-border);
  color: var(--repolia-blue-electric);
  transform: translateX(4px);
}

.mobile-nav-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: #10b981;
  color: #ffffff;
}

.mobile-nav-badge.soon {
  background: var(--repolia-blue);
}

.btn-mobile-discord {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.85rem;
  border-radius: 10px;
  background: #5865F2;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-mobile-discord:hover {
  background: #4752C4;
  transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (TABLETS & SMARTPHONES)
   ========================================================================== */
@media (max-width: 768px) {
  .site-nav {
    display: none;
  }

  .btn-mobile-menu {
    display: flex;
  }

  .network-badge {
    display: none;
  }

  .cursor-spotlight {
    display: none;
  }

  .hero-pinned-wrapper {
    padding-top: 6.5rem;
    min-height: auto;
    padding-bottom: 3.5rem;
  }

  .hero-giant-title {
    font-size: clamp(2.5rem, 11vw, 4rem);
    margin-bottom: 1.2rem;
  }

  .hero-subheading {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
    margin-bottom: 3rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-metrics-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.25rem 1rem;
  }

  .metric-val {
    font-size: 1.55rem;
  }

  .token-section-wrapper {
    padding: 4rem 0 3rem;
  }

  .token-simulator-wrapper {
    padding: 1.25rem;
    border-radius: 18px;
  }

  .sim-tab-controls {
    width: 100%;
    flex-direction: column;
  }

  .sim-tab-btn {
    width: 100%;
    justify-content: center;
  }

  .token-specs-matrix {
    grid-template-columns: 1fr;
  }

  .cta-input-group {
    flex-direction: column;
    width: 100%;
  }

  .cta-field,
  .btn-cta-submit {
    width: 100%;
  }

  .footer-main-row {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-columns {
    gap: 2rem;
    width: 100%;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0 1rem;
    height: 64px;
  }

  .section-container {
    padding: 0 1rem;
  }

  .hero-metrics-bar {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .token-hero-card {
    padding: 1.5rem 1.2rem;
  }

  .token-visual-container {
    width: 220px;
    height: 220px;
  }

  .token-coin-wrapper {
    width: 150px;
    height: 150px;
  }

  .token-orbit-ring.ring-1 { width: 180px; height: 180px; }
  .token-orbit-ring.ring-2 { width: 220px; height: 220px; }
  .token-orbit-ring.ring-3 { width: 250px; height: 250px; }
}