/* ==========================================================================
   PRISMORA Match — Official Web Stylesheet
   Theme: Cosmic Obsidian & Radiant Crystalline Neon
   Author: dev.it | PRISMORA Engineering
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800;900&display=swap');

/* --- 1. Design Tokens & Variables --- */
:root {
  --bg-primary: #06040e;
  --bg-secondary: #0b071a;
  --bg-tertiary: #110c26;
  --surface: rgba(18, 14, 38, 0.75);
  --surface-card: rgba(23, 17, 48, 0.85);
  --surface-hover: rgba(33, 25, 68, 0.95);
  
  --cyan: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.4);
  --cyan-dim: rgba(0, 240, 255, 0.12);
  
  --magenta: #e040fb;
  --magenta-glow: rgba(224, 64, 251, 0.4);
  --magenta-dim: rgba(224, 64, 251, 0.12);
  
  --gold: #ffd200;
  --gold-glow: rgba(255, 210, 0, 0.4);
  
  --ruby: #ff2a6d;
  --emerald: #00e676;
  --sapphire: #00b0ff;
  --amethyst: #d500f9;
  
  --text-primary: #f8f9ff;
  --text-secondary: #9ea3c7;
  --text-muted: #6b7196;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 240, 255, 0.25);
  --border-magenta: rgba(224, 64, 251, 0.25);
  
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --container-max: 1240px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --shadow-card: 0 16px 40px -10px rgba(0, 0, 0, 0.6), 0 0 1px 1px var(--border-subtle);
  --shadow-glow: 0 0 35px -5px var(--cyan-glow);
  --shadow-magenta: 0 0 35px -5px var(--magenta-glow);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Cosmic Ambient Glow Behind Page */
body::before {
  content: '';
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, rgba(224, 64, 251, 0.06) 40%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* Accessible focus outline */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

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

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 240, 255, 0.3);
  margin-bottom: 20px;
}

.eyebrow-magenta {
  color: var(--magenta);
  background: var(--magenta-dim);
  border-color: rgba(224, 64, 251, 0.3);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 16px;
}

.section-desc {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--text-secondary);
  line-height: 1.6;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #ffffff 30%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-prismatic {
  background: linear-gradient(135deg, var(--cyan) 0%, #ffffff 40%, var(--magenta) 80%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- 4. Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(6, 4, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(6, 4, 14, 0.95);
  border-bottom-color: rgba(0, 240, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-icon {
  transform: scale(1.05);
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
  line-height: 1;
}

.brand-tagline {
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 2px;
}

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

.nav-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transition: width var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-cta-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #06040e;
  background: linear-gradient(135deg, var(--cyan) 0%, #00b0ff 100%);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 18px var(--cyan-glow);
  transition: all var(--transition-fast);
}

.btn-cta-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
  color: #06040e;
}

.btn-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* --- 5. Hero Section --- */
.hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.hero-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
  top: 10%;
  left: -100px;
}

.hero-glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(224, 64, 251, 0.12) 0%, transparent 70%);
  bottom: 0%;
  right: -150px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 640px;
}

.hero-badge-wrap {
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5.2vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
}

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

.play-badge-link {
  display: inline-block;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.play-badge-link:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 0 14px var(--cyan-glow));
}

.play-badge-img {
  height: 58px;
  width: auto;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-secondary svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero-highlights {
  display: flex;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-val {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.hero-stat-lbl {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
}

/* Floating Mockup Showcase in Hero */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone-frame {
  position: relative;
  width: 320px;
  border-radius: 36px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.3), rgba(224, 64, 251, 0.3));
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px -10px var(--cyan-glow);
}

.hero-phone-screen {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: #000000;
}

.hero-phone-screen img {
  width: 100%;
  display: block;
}

/* Ambient Floating Crystals */
.floating-gem {
  position: absolute;
  width: 54px;
  height: 54px;
  z-index: 2;
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.5));
  animation: float 4s ease-in-out infinite alternate;
  pointer-events: none;
}

.gem-pos-1 {
  top: -20px;
  left: -20px;
  animation-duration: 4.5s;
}

.gem-pos-2 {
  bottom: 40px;
  right: -25px;
  animation-duration: 5.2s;
  animation-delay: -1s;
}

.gem-pos-3 {
  top: 45%;
  left: -35px;
  width: 44px;
  height: 44px;
  animation-duration: 3.8s;
  animation-delay: -2s;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-16px) rotate(6deg); }
}

/* --- 6. Core Pillars: MATCH • CHARGE • SHIFT • CASCADE --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.pillar-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: var(--cyan);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 30px -5px var(--cyan-glow);
}

.pillar-step-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--cyan);
  margin-bottom: 20px;
  display: inline-block;
}

.pillar-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.1);
}

.pillar-icon-box img {
  width: 36px;
  height: 36px;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.pillar-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Card specific accents */
.pillar-card:nth-child(1) .pillar-step-num { color: var(--ruby); }
.pillar-card:nth-child(1):hover { border-color: var(--ruby); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.7), 0 0 30px -5px rgba(255,42,109,0.4); }

.pillar-card:nth-child(2) .pillar-step-num { color: var(--magenta); }
.pillar-card:nth-child(2):hover { border-color: var(--magenta); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.7), 0 0 30px -5px var(--magenta-glow); }

.pillar-card:nth-child(3) .pillar-step-num { color: var(--cyan); }
.pillar-card:nth-child(3):hover { border-color: var(--cyan); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.7), 0 0 30px -5px var(--cyan-glow); }

.pillar-card:nth-child(4) .pillar-step-num { color: var(--gold); }
.pillar-card:nth-child(4):hover { border-color: var(--gold); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.7), 0 0 30px -5px var(--gold-glow); }

/* --- 7. Master the Rift Section --- */
.rift-showcase {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.rift-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.rift-text-block h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
}

.rift-text-block p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.rift-steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.rift-step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: border-color var(--transition-fast);
}

.rift-step-item:hover {
  border-color: var(--cyan);
}

.step-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--cyan-dim);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.step-item-text h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.step-item-text p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.rift-media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 40px -10px var(--cyan-glow);
}

.rift-media-frame img {
  width: 100%;
  display: block;
}

/* --- 8. Feature Highlights Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 64, 251, 0.4);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 25px -5px var(--magenta-glow);
}

.feature-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--magenta-dim);
  border: 1px solid rgba(224, 64, 251, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--magenta);
}

.feature-icon-badge svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- 9. Gameplay Gallery --- */
.gallery-wrapper {
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.gallery-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #000000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--cyan);
  box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.7), 0 0 20px var(--cyan-glow);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 14px 12px;
  background: var(--surface-card);
  text-align: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 2, 10, 0.92);
  backdrop-filter: blur(12px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 480px;
  max-height: 90vh;
}

.lightbox-img {
  max-height: 85vh;
  width: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.3);
  border: 1px solid var(--cyan);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: -10px;
  background: none;
  color: #ffffff;
  font-size: 32px;
  font-weight: 300;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--cyan);
}

/* --- 10. Video Section: SEE THE RIFT IN ACTION --- */
.video-section {
  background: radial-gradient(circle at center, rgba(16, 12, 38, 0.8) 0%, var(--bg-primary) 70%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.video-container {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px -10px var(--magenta-glow);
  border: 1px solid rgba(224, 64, 251, 0.4);
}

.video-player-el {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  background: #000000;
}

.video-meta-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}

/* --- 11. Daily Rift & Crystal Ice Feature Split --- */
.dual-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.dual-feature-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.dual-feature-card.gold-theme:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 30px -5px var(--gold-glow);
}

.dual-feature-card.cyan-theme:hover {
  border-color: var(--cyan);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 30px -5px var(--cyan-glow);
}

.dual-feature-header {
  margin-bottom: 24px;
}

.dual-feature-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.dual-feature-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.dual-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.feature-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.dual-feature-thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 320px;
  margin: 0 auto;
}

/* --- 12. Final Conversion CTA --- */
.final-cta {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0d0924 50%, var(--bg-primary) 100%);
  padding: 120px 0;
  position: relative;
  text-align: center;
}

.final-cta-box {
  max-width: 800px;
  margin: 0 auto;
  background: radial-gradient(circle at center, rgba(30, 20, 65, 0.8) 0%, rgba(14, 10, 32, 0.95) 70%);
  border: 1px solid var(--border-glow);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.8), 0 0 50px -10px var(--cyan-glow);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
}

.cta-tagline {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.15;
}

.cta-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 36px;
}

/* --- 13. Support Page Styles --- */
.support-hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 40px;
  text-align: center;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
}

.support-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.support-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.support-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border-glow);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--cyan);
  transition: all var(--transition-fast);
}

.contact-email-btn:hover {
  background: var(--cyan-dim);
  box-shadow: 0 0 20px var(--cyan-glow);
  transform: translateY(-2px);
}

.support-topics-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.topic-item {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.topic-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.topic-item h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.topic-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* --- 14. Footer --- */
.footer {
  background: #04020a;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 40px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.footer-links-group h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
}

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

.footer-link {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
}

.footer-credits {
  color: var(--text-muted);
}

/* --- 15. Responsive Adaptations --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-highlights {
    justify-content: center;
  }
  
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .rift-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .dual-feature-grid {
    grid-template-columns: 1fr;
  }
  
  .support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .btn-hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(6, 4, 14, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-smooth);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  /* Horizontal scroll on mobile for gallery */
  .gallery-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
  }
  
  .gallery-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
  }
  
  .final-cta-box {
    padding: 40px 24px;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* --- 16. Reduced Motion Support --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
