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

:root {
  --bg-primary: #04090f;
  --bg-secondary: #08111a;
  --bg-surface: #0d1a29;
  --card-bg: rgba(255, 255, 255, 0.03);
  --accent-cyan: #00ffd5;      /* High-Voltage Neon Mint Cyan */
  --accent-purple: #ff007f;    /* Radiant Hot Cyber Magenta */
  --accent-gold: #ffaa00;      /* Solar Gold/Amber */
  --success: #39ff14;          /* Cybernetic Green */
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --font-headline: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --glow-cyan: 0 0 25px rgba(0, 255, 213, 0.45);
  --glow-purple: 0 0 25px rgba(255, 0, 127, 0.45);
  --glow-gold: 0 0 25px rgba(255, 170, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

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

/* Futuristic Background Scanline & Grid Animation Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 255, 213, 0.02) 50%);
  background-size: 100% 4px;
  z-index: 999;
  pointer-events: none;
  opacity: 0.6;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, transparent 60%, rgba(4, 9, 15, 0.85) 100%);
  z-index: 998;
  pointer-events: none;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.mono {
  font-family: var(--font-mono);
}

/* Floating Header */
.header-wrapper {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1400px;
  height: 68px;
  z-index: 1000;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 24px;
  background: rgba(4, 9, 15, 0.75);
  border: 1px solid rgba(0, 255, 213, 0.25);
  border-radius: 34px;
  backdrop-filter: blur(25px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

header:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 40px rgba(0, 255, 213, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  animation: logoPulse 3s infinite alternate;
}

.logo-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: rotate(45deg);
  animation: lightSweep 2.5s infinite linear;
}

@keyframes logoPulse {
  0% { transform: scale(1); box-shadow: 0 0 12px rgba(0, 255, 213, 0.4); }
  100% { transform: scale(1.08); box-shadow: 0 0 24px rgba(255, 0, 127, 0.6); }
}

@keyframes lightSweep {
  0% { left: -150%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

.logo-text {
  font-family: var(--font-headline);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(to right, #fff, #a5f3fc, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent-cyan), var(--accent-purple));
  transition: var(--transition-smooth);
}

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

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

.nav-link.active {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(0, 255, 213, 0.4);
}

.nav-link.active::after {
  width: 100%;
  background: var(--accent-cyan);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 20px;
  font-family: var(--font-headline);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  color: #04090f;
  border: none;
  box-shadow: var(--glow-cyan);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--glow-purple);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 255, 213, 0.2);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  background: radial-gradient(circle at 85% 25%, rgba(255, 0, 127, 0.2), transparent 50%),
              radial-gradient(circle at 15% 75%, rgba(0, 255, 213, 0.15), transparent 50%);
}

.hero-bg-visuals {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.vault-gate-mesh {
  position: absolute;
  top: 50%;
  right: -10%;
  transform: translateY(-50%);
  width: 650px;
  height: 650px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 255, 213, 0.3);
  animation: spin 45s linear infinite;
}

.vault-gate-mesh::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 4px solid rgba(255, 0, 127, 0.2);
  border-style: double;
}

.vault-gate-mesh::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  bottom: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 213, 0.5);
  box-shadow: inset 0 0 60px rgba(0, 255, 213, 0.15);
}

@keyframes spin {
  100% { transform: translateY(-50%) rotate(360deg); }
}

.interactive-cube {
  position: absolute;
  top: 45%;
  right: 18%;
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, rgba(0, 255, 213, 0.25), rgba(255, 0, 127, 0.25));
  border: 2px solid var(--accent-cyan);
  border-radius: 16px;
  transform: rotateX(25deg) rotateY(25deg);
  animation: floatCube 6s ease-in-out infinite alternate;
  box-shadow: var(--glow-cyan), inset 0 0 25px rgba(0, 255, 213, 0.4);
  backdrop-filter: blur(8px);
  z-index: 2;
}

@keyframes floatCube {
  0% { transform: translateY(-15px) rotateX(15deg) rotateY(15deg) rotateZ(0deg); }
  100% { transform: translateY(25px) rotateX(35deg) rotateY(45deg) rotateZ(15deg); box-shadow: var(--glow-purple); border-color: var(--accent-purple); }
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

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

.badge-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 255, 213, 0.1);
  border: 1px solid rgba(0, 255, 213, 0.3);
  border-radius: 100px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: beaconPulse 1s infinite alternate;
}

@keyframes beaconPulse {
  0% { transform: scale(0.8); opacity: 0.5; box-shadow: 0 0 5px var(--accent-cyan); }
  100% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 15px var(--accent-cyan); }
}

.badge-text {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
}

.hero-title {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #FFFFFF 20%, #ffcbdc 60%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textSpectralShine 8s infinite alternate;
  background-size: 200% auto;
}

@keyframes textSpectralShine {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.hero-desc {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

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

.hero-disclaimer {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.5px;
}

.disclaimer-tag {
  padding: 2px 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

/* Main Game Section */
.game-section {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.game-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-purple), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-subtitle {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 16px;
}

.game-container-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--bg-surface);
  border-radius: 32px;
  border: 2px solid rgba(0, 255, 213, 0.3);
  padding: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), var(--glow-cyan);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

/* Simulation Active Animation State triggered via Javascript */
.game-container-wrapper.simulating-active {
  border-color: var(--accent-purple);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), var(--glow-purple);
  transform: scale(1.01) translateY(-3px);
}

.game-container-wrapper.simulating-active::after {
  content: 'SIMULATING DECRYPTION SEQUENCE IN PROGRESS';
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 15, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  z-index: 10;
  animation: decryptGlitch 0.4s infinite alternate;
  text-shadow: var(--glow-purple);
}

@keyframes decryptGlitch {
  0% { opacity: 0.85; transform: skewX(-1deg); }
  100% { opacity: 0.95; transform: skewX(1deg); }
}

.game-container-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple), var(--accent-cyan));
  animation: borderTrail 4s infinite linear;
  background-size: 200% auto;
  z-index: 11;
}

@keyframes borderTrail {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.game-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-title-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.game-status-dot {
  width: 10px;
  height: 10px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success);
  transition: var(--transition-smooth);
}

.game-title-text {
  font-family: var(--font-headline);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  transition: var(--transition-smooth);
}

.game-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.metric-label {
  font-size: 10px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-gold);
}

.game-iframe-holder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-iframe-holder iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.game-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
}

.game-controls-left {
  display: flex;
  gap: 12px;
}

.control-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 8px;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: var(--accent-cyan);
}

/* Mystery Box Showcase */
.showcase-section {
  padding: 100px 0;
  background: var(--bg-primary);
  position: relative;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.showcase-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.05), transparent 70%);
  transition: var(--transition-smooth);
}

.showcase-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-cyan);
  box-shadow: 0 16px 40px rgba(0, 255, 213, 0.25);
}

.showcase-card.purple-theme:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 16px 40px rgba(255, 0, 127, 0.25);
}

.showcase-card.gold-theme:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 16px 40px rgba(255, 170, 0, 0.25);
}

.box-image-container {
  width: 100%;
  height: 140px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.box-glowing-ring {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 255, 213, 0.3);
  animation: cardRingSpin 15s linear infinite;
}

.showcase-card.purple-theme .box-glowing-ring {
  border-color: rgba(255, 0, 127, 0.3);
}

.showcase-card.gold-theme .box-glowing-ring {
  border-color: rgba(255, 170, 0, 0.3);
}

@keyframes cardRingSpin {
  100% { transform: rotate(360deg); }
}

.box-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  transition: var(--transition-smooth);
  z-index: 2;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.6));
}

.showcase-card:hover .box-icon {
  transform: scale(1.18) rotate(7deg);
  filter: drop-shadow(0 15px 25px rgba(0, 255, 213, 0.3));
}

.showcase-card.purple-theme:hover .box-icon {
  filter: drop-shadow(0 15px 25px rgba(255, 0, 127, 0.3));
}

.showcase-card.gold-theme:hover .box-icon {
  filter: drop-shadow(0 15px 25px rgba(255, 170, 0, 0.3));
}

.box-level {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-cyan);
  background: rgba(0, 255, 213, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 255, 213, 0.2);
}

.showcase-card.purple-theme .box-level {
  color: var(--accent-purple);
  background: rgba(255, 0, 127, 0.1);
  border-color: rgba(255, 0, 127, 0.2);
}

.showcase-card.gold-theme .box-level {
  color: var(--accent-gold);
  background: rgba(255, 170, 0, 0.1);
  border-color: rgba(255, 170, 0, 0.2);
}

.box-name {
  font-size: 20px;
  margin-bottom: 8px;
  color: #fff;
}

.box-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Card-based click visual animations */
.showcase-card.is-opening {
  animation: cyberGlow 1.5s infinite alternate ease-in-out;
  border-color: var(--accent-purple) !important;
}

.showcase-card.is-opening .box-icon {
  animation: cyberShake 0.4s infinite !important;
}

.showcase-card.is-opening .box-glowing-ring {
  animation: superSpin 0.5s infinite linear !important;
  border-color: var(--accent-purple) !important;
}

@keyframes cyberShake {
  0% { transform: translate(0, 0) rotate(0deg); }
  10% { transform: translate(-3px, -3px) rotate(-2deg); }
  20% { transform: translate(3px, 3px) rotate(2deg); }
  30% { transform: translate(-4px, 2px) rotate(-3deg); }
  40% { transform: translate(4px, -2px) rotate(3deg); }
  50% { transform: translate(-2px, 3px) rotate(-1deg); }
  60% { transform: translate(2px, -3px) rotate(2deg); }
  70% { transform: translate(-3px, -2px) rotate(-2deg); }
  80% { transform: translate(3px, 2px) rotate(3deg); }
  90% { transform: translate(-2px, -3px) rotate(-1deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes superSpin {
  100% { transform: rotate(1080deg); }
}

@keyframes cyberGlow {
  0% { box-shadow: 0 0 15px rgba(0, 255, 213, 0.4); }
  50% { box-shadow: 0 0 40px rgba(255, 0, 127, 0.8), 0 0 70px rgba(0, 255, 213, 0.6); }
  100% { box-shadow: 0 0 15px rgba(0, 255, 213, 0.4); }
}

/* Reward Reveal Modal Overlay */
.reward-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 9, 15, 0.95);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px;
}

.reward-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.reward-modal-card {
  background: linear-gradient(135deg, var(--bg-surface), #08111a);
  border: 2px solid var(--accent-cyan);
  border-radius: 28px;
  width: 100%;
  max-width: 480px;
  padding: 32px;
  box-shadow: 0 0 50px rgba(0, 255, 213, 0.3), inset 0 0 20px rgba(0, 255, 213, 0.1);
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  text-align: center;
}

.reward-modal-overlay.active .reward-modal-card {
  transform: scale(1) translateY(0);
}

.reward-modal-glitch-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple), var(--accent-cyan));
  animation: borderTrail 3s infinite linear;
  background-size: 200% auto;
}

.reward-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 14px;
}

.reward-modal-close:hover {
  background: var(--accent-purple);
  color: #fff;
  border-color: var(--accent-purple);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
}

.reward-modal-header {
  margin-bottom: 24px;
}

.reward-meta-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-cyan);
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 8px;
}

.reward-item-tier {
  font-family: var(--font-headline);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(to right, #ff007f, #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(255, 0, 127, 0.2);
}

.reward-item-display {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reward-glowing-backlight {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 213, 0.35) 0%, transparent 70%);
  filter: blur(10px);
  z-index: 1;
  animation: pulseBacklight 3s infinite alternate ease-in-out;
}

@keyframes pulseBacklight {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 1; }
}

.reward-hologram-circle {
  position: absolute;
  width: 170px;
  height: 170px;
  border: 1px dashed rgba(0, 255, 213, 0.4);
  border-radius: 50%;
  animation: cardRingSpin 20s linear infinite;
  z-index: 2;
}

.reward-item-visual {
  z-index: 3;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reward-item-visual svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
}

.reward-item-name {
  font-family: var(--font-headline);
  font-size: 22px;
  color: #fff;
  margin-bottom: 8px;
}

.reward-item-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.reward-stats-panel {
  background: rgba(4, 9, 15, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 24px;
}

.reward-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.reward-stat-row:last-child {
  margin-bottom: 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 8px;
}

.reward-stat-value {
  font-weight: 700;
  color: #fff;
}

/* Reward Ecosystem Section (Bento Grid) */
.rewards-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 24px;
  margin-top: 48px;
}

.bento-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 30px rgba(0, 255, 213, 0.1);
}

.bento-card.col-span-2 {
  grid-column: span 2;
}

.bento-card.row-span-2 {
  grid-row: span 2;
}

.bento-bg-image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  height: auto;
  opacity: 0.12;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.bento-card:hover .bento-bg-image {
  opacity: 0.35;
  transform: scale(1.08) rotate(3deg);
}

.bento-card-header {
  margin-bottom: 16px;
}

.bento-icon-wrapper {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bento-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.bento-card-title {
  font-size: 24px;
  color: #fff;
  line-height: 1.2;
}

.bento-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
  max-width: 90%;
}

.bento-metrics-wrap {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

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

.bento-stat-num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.bento-stat-label {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* Treasure Map Section */
.map-section {
  padding: 100px 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.map-line-svg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 200px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

.map-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  margin-top: 60px;
}

.map-node {
  width: 18%;
  text-align: center;
  position: relative;
}

.node-marker-wrap {
  width: 64px;
  height: 64px;
  background: var(--bg-surface);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.node-marker-wrap::after {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.map-node:hover .node-marker-wrap {
  border-color: var(--accent-cyan);
  transform: scale(1.15);
  box-shadow: var(--glow-cyan);
}

.map-node:hover .node-marker-wrap::after {
  transform: rotate(90deg);
  border-color: var(--accent-cyan);
}

.node-num {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.map-node:hover .node-num {
  color: var(--accent-cyan);
}

.node-title {
  font-size: 16px;
  color: #fff;
  margin-bottom: 8px;
}

.node-desc {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Technology Section */
.tech-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.tech-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 32px;
  transition: var(--transition-smooth);
}

.tech-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-purple);
  box-shadow: 0 10px 30px rgba(255, 0, 127, 0.15);
}

.tech-icon-box {
  width: 50px;
  height: 50px;
  background: rgba(255, 0, 127, 0.1);
  border: 1px solid rgba(255, 0, 127, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-purple);
  font-size: 20px;
}

.tech-title {
  font-size: 20px;
  color: #fff;
  margin-bottom: 12px;
}

.tech-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Community Section */
.community-section {
  padding: 100px 0;
  background: var(--bg-primary);
}

.dashboard-panel {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 48px;
  margin-top: 48px;
  position: relative;
  overflow: hidden;
}

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

.dashboard-left {
  max-width: 500px;
}

.stat-counters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.stat-counter-card {
  border-left: 2px solid var(--accent-cyan);
  padding-left: 16px;
}

.stat-counter-card.purple {
  border-left-color: var(--accent-purple);
}

.stat-counter-num {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  color: #fff;
}

.stat-counter-label {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.dashboard-right {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 32px;
  position: relative;
}

.dashboard-graph-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.graph-title {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-cyan);
}

.graph-legend {
  display: flex;
  gap: 16px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-secondary);
}

.legend-color {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
}

.legend-color.purple {
  background-color: var(--accent-purple);
}

.mock-graph-bars {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 180px;
  padding-top: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.graph-bar-group {
  display: flex;
  gap: 4px;
  width: 10%;
  height: 100%;
  align-items: flex-end;
  justify-content: center;
}

.graph-bar {
  width: 8px;
  border-radius: 4px 4px 0 0;
  transition: height 1s ease-out;
}

.graph-bar.cyan {
  background: linear-gradient(to top, rgba(0, 255, 213, 0.2), var(--accent-cyan));
}

.graph-bar.purple {
  background: linear-gradient(to top, rgba(255, 0, 127, 0.2), var(--accent-purple));
}

/* Premium Glass Footer */
footer {
  background: var(--bg-surface);
  border-top: 1px solid rgba(0, 255, 213, 0.25);
  padding: 80px 0 40px;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-purple), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 60px;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.footer-col h4 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
}

.footer-disclaimer-card {
  background: rgba(4, 9, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
}

.disclaimer-title {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.disclaimer-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.footer-legal-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-legal-links a:hover {
  color: var(--accent-cyan);
}

/* Legal Pages Styling */
.legal-hero {
  padding: 160px 0 60px;
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-title {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-cyan);
}

.legal-body {
  padding: 80px 0;
  background: var(--bg-primary);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 24px;
  color: #fff;
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.legal-content ul, .legal-content ol {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* Contact Page Map & Forms Mockups */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  margin-top: 48px;
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 255, 213, 0.1);
  border: 1px solid rgba(0, 255, 213, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.contact-info-details h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 6px;
}

.contact-info-details p {
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-form-wrap {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px;
}

.contact-form h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 255, 213, 0.25);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Mock Interactive Map */
.mock-map-container {
  width: 100%;
  height: 250px;
  background: rgba(4, 9, 15, 0.8);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 32px;
  position: relative;
  overflow: hidden;
}

.mock-map-canvas {
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
  position: relative;
}

.mock-map-marker {
  position: absolute;
  top: 45%;
  left: 55%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.map-marker-pulse {
  width: 24px;
  height: 24px;
  background: rgba(0, 255, 213, 0.25);
  border: 2px solid var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mapMarkerGlow 2s infinite;
}

.map-marker-center {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
}

@keyframes mapMarkerGlow {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(0, 255, 213, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(0, 255, 213, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(0, 255, 213, 0); }
}

.map-label {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #fff;
  margin-top: 8px;
  display: inline-block;
  white-space: nowrap;
}

/* Mobile Friendly Overlay Menu & Bottom Nav */
.mobile-nav-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: rgba(8, 17, 26, 0.95);
  border-top: 1px solid rgba(0, 255, 213, 0.25);
  backdrop-filter: blur(20px);
  z-index: 999;
  justify-content: space-around;
  align-items: center;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 10px;
}

.mobile-nav-item.active {
  color: var(--accent-cyan);
  text-shadow: 0 0 5px rgba(0, 255, 213, 0.4);
}

.mobile-nav-icon {
  font-size: 20px;
  margin-bottom: 2px;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-bg-visuals {
    display: none;
  }
  .hero-actions, .hero-disclaimer {
    justify-content: center;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.col-span-2 {
    grid-column: span 1;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  header {
    justify-content: space-between;
  }
  .nav-menu {
    display: none;
  }
  .header-actions .btn {
    display: none;
  }
  .mobile-nav-bar {
    display: flex;
  }
  .map-timeline {
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
  }
  .map-node {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
  }
  .node-marker-wrap {
    margin: 0;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}