/* ==========================================================================
   CYBER SYNDICATE LANDING PAGE - STYLESHEET
   ========================================================================== */

/* --- Custom Properties & Theme Variables --- */
:root {
  --bg-void: #06040f;
  --bg-void-2: #0b0620;
  --bg-panel: rgba(12, 8, 30, 0.72);
  --bg-panel-solid: #0e0a24;
  --grid-line: rgba(0, 242, 255, 0.07);

  --accent: #00f2ff;
  --accent-glow: 0 0 10px rgba(0, 242, 255, 0.6);

  --neon-cyan: #00f2ff;
  --neon-magenta: #ff2fd0;
  --neon-pink: #ff3d81;
  --neon-purple: #9b5cff;
  --neon-yellow: #e8ff4d;
  --neon-green: #39ff9d;
  --neon-red: #ff2c4d;

  --text: #eafcff;
  --text-dim: #7f93b8;
  --border-dim: rgba(0, 242, 255, 0.18);

  --font-display: 'Orbitron', 'Montserrat', sans-serif;
  --font-body: 'Rajdhani', 'Inter', sans-serif;
  --font-mono: 'Share Tech Mono', ui-monospace, monospace;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-void);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- Ambient Cyber Canvas & Grid Overlays --- */
#cyber-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  background-image: radial-gradient(circle at 50% 30%, #0d0926 0%, var(--bg-void) 70%);
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background-image: 
    repeating-linear-gradient(0deg, var(--grid-line) 0, var(--grid-line) 1px, transparent 1px, transparent 48px),
    repeating-linear-gradient(90deg, var(--grid-line) 0, var(--grid-line) 1px, transparent 1px, transparent 48px);
}

.grid-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, transparent 20%, rgba(6, 4, 15, 0.8) 90%);
}

/* --- Typography & Headings --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 1px;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #fff;
  text-transform: uppercase;
}

p {
  color: var(--text-dim);
}

code {
  font-family: var(--font-mono);
  background: rgba(0, 242, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--neon-cyan);
}

/* --- Glassmorphism Panel Template --- */
.glass-panel {
  background: var(--bg-panel);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-dim);
  border-radius: 12px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

/* --- Section Header Utility --- */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header.center {
  text-align: center;
}

.section-pre {
  font-family: var(--font-mono);
  color: var(--neon-magenta);
  font-size: 0.9rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-desc {
  max-width: 700px;
  margin: 0.5rem auto 0;
  font-size: 1.1rem;
}

/* --- Header / Navigation Bar --- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(6, 4, 15, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 242, 255, 0.1);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.main-header.scrolled {
  background: rgba(6, 4, 15, 0.92);
  border-bottom: 1px solid rgba(0, 242, 255, 0.2);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: 2px;
}

.logo-accent {
  color: var(--neon-cyan);
  text-shadow: var(--accent-glow);
}

.nav-links {
  display: flex;
  gap: 2.2rem;
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: color var(--transition-fast);
  position: relative;
}

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

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

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

.btn-play-now {
  position: relative;
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 1px solid var(--neon-cyan);
  padding: 0.7rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-decoration: none;
  text-shadow: var(--accent-glow);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 242, 255, 0.15);
  transition: all var(--transition-fast);
  overflow: hidden;
}

.btn-play-now:hover {
  background: var(--neon-cyan);
  color: #000;
  text-shadow: none;
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
}

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

.btn-play-now:hover .btn-glow {
  left: 100%;
}

/* --- Hero Section --- */
.hero-section {
  padding: 10rem 2rem 5rem;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 95vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-content {
  position: relative;
}

.status-indicator {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--neon-green);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-green);
}

.animate-flicker {
  animation: pulse-glow 2s infinite alternate;
}

/* Glitch Title Animation */
.glitch-title {
  font-size: 4.2rem;
  line-height: 1.05;
  color: #fff;
  position: relative;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  text-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-void);
}

.glitch-title::before {
  left: 2px;
  text-shadow: -2px 0 var(--neon-magenta);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-title::after {
  left: -2px;
  text-shadow: -2px 0 var(--neon-cyan), 0 2px var(--neon-magenta);
  clip: rect(85px, 450px, 140px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--neon-cyan);
  text-shadow: var(--accent-glow);
  margin-bottom: 1.8rem;
  letter-spacing: 2px;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
}

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--neon-magenta) 0%, var(--neon-pink) 100%);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 1px;
  padding: 1.1rem 2.2rem;
  border-radius: 6px;
  border: none;
  box-shadow: 0 4px 20px rgba(255, 47, 208, 0.4);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 47, 208, 0.7);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 242, 255, 0.05);
  color: var(--neon-cyan);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 1px;
  padding: 1.1rem 2.2rem;
  border-radius: 6px;
  border: 1px solid var(--border-dim);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(0, 242, 255, 0.15);
  border-color: var(--neon-cyan);
  box-shadow: var(--accent-glow);
}

/* Scanner Line visual overlay */
.scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  box-shadow: var(--accent-glow);
  opacity: 0;
  pointer-events: none;
  animation: scan 4s linear infinite;
}

/* Cyber Frame Container for Hero Visual */
.hero-visual-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
}

.cyber-frame {
  position: relative;
  width: 100%;
  max-width: 580px;
  border: 1px solid var(--border-dim);
  background: #09061c;
  padding: 8px;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--neon-cyan);
  border-style: solid;
  pointer-events: none;
}

.corner-tl { top: -2px; left: -2px; border-width: 2px 0 0 2px; }
.corner-tr { top: -2px; right: -2px; border-width: 2px 2px 0 0; }
.corner-bl { bottom: -2px; left: -2px; border-width: 0 0 2px 2px; }
.corner-br { bottom: -2px; right: -2px; border-width: 0 2px 2px 0; }

.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 10, 36, 0.85);
  padding: 6px 10px;
  border-bottom: 1px solid var(--border-dim);
  margin-bottom: 8px;
  border-radius: 2px;
}

.window-bar .dot {
  width: 7px;
  height: 7px;
  background-color: var(--text-dim);
  border-radius: 50%;
}

.window-bar .dot:nth-child(1) { background-color: var(--neon-red); }
.window-bar .dot:nth-child(2) { background-color: var(--neon-yellow); }
.window-bar .dot:nth-child(3) { background-color: var(--neon-green); }

.window-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-left: 8px;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  filter: brightness(0.9) contrast(1.05);
  transition: filter var(--transition-normal);
}

.cyber-frame:hover .hero-image {
  filter: brightness(1) contrast(1.1);
}

/* --- Lore Section --- */
.lore-section {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 6, 32, 0.4) 50%, transparent 100%);
}

.lore-container {
  max-width: 1200px;
  margin: 0 auto;
}

.lore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.lore-card {
  padding: 2.2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lore-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--neon-cyan);
  opacity: 0.7;
}

.lore-card:nth-child(2)::before {
  background: var(--neon-magenta);
}

.lore-card:nth-child(3)::before {
  background: var(--neon-purple);
}

.lore-card:hover {
  border-color: rgba(0, 242, 255, 0.4);
  box-shadow: 0 8px 30px rgba(0, 242, 255, 0.1);
}

.lore-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.lore-card h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

/* --- Features Section --- */
.features-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.features-container {
  width: 100%;
}

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

/* Wide Feature Item */
.feature-item-wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  padding: 2.5rem;
  align-items: center;
  overflow: hidden;
}

.feature-wide-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-dim);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.feature-wide-img {
  width: 100%;
  height: auto;
  display: block;
}

.img-glow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(6, 4, 15, 0.6) 0%, transparent 100%);
  box-shadow: inset 0 0 30px rgba(155, 92, 255, 0.3);
  pointer-events: none;
}

.feature-wide-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.badge {
  font-family: var(--font-mono);
  color: var(--neon-magenta);
  background: rgba(255, 47, 208, 0.1);
  border: 1px solid rgba(255, 47, 208, 0.3);
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 2px;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 4px;
}

.feature-wide-content h3 {
  font-size: 2rem;
  color: #fff;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 0.5rem 0;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-dim);
}

.feature-list li::before {
  content: '▪';
  color: var(--neon-cyan);
  position: absolute;
  left: 0;
  top: 0;
}

.trial-hint {
  background: rgba(232, 255, 77, 0.05);
  border: 1px solid rgba(232, 255, 77, 0.2);
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.95rem;
  color: var(--neon-yellow);
}

/* Feature Small Cards */
.feature-card {
  padding: 2.2rem;
}

.feature-card .feature-icon {
  font-size: 2.2rem;
  color: var(--neon-cyan);
  margin-bottom: 1rem;
  text-shadow: var(--accent-glow);
}

.feature-card h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.feature-card p {
  font-size: 0.98rem;
}

/* --- Interactive Resource Section --- */
.resources-section {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 10, 36, 0.4) 50%, transparent 100%);
}

.resources-container {
  max-width: 1200px;
  margin: 0 auto;
}

.terminal-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

/* Selector Panel */
.token-selector-grid {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.token-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 1.4rem;
  border-radius: 8px;
  background: rgba(14, 10, 36, 0.5);
  border: 1px solid rgba(0, 242, 255, 0.1);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.token-item:hover {
  background: rgba(0, 242, 255, 0.05);
  border-color: rgba(0, 242, 255, 0.3);
}

.token-item.active {
  background: rgba(0, 242, 255, 0.12);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

/* Token Icons base styling */
.token-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.token-icon::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 15%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.token-cred { background: var(--neon-magenta); box-shadow: 0 0 10px rgba(255, 47, 208, 0.6); }
.token-quantum { background: var(--neon-cyan); box-shadow: 0 0 10px rgba(0, 242, 255, 0.6); }
.token-nano { background: var(--neon-green); box-shadow: 0 0 10px rgba(57, 255, 157, 0.6); }
.token-plasma { background: var(--neon-yellow); box-shadow: 0 0 10px rgba(232, 255, 77, 0.6); }
.token-intel { background: var(--neon-purple); box-shadow: 0 0 10px rgba(155, 92, 255, 0.6); }
.token-crypto { background: #fff; box-shadow: 0 0 12px rgba(255, 255, 255, 0.8); }

.token-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

/* Terminal Screen styling */
.terminal-screen {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 25px rgba(0, 242, 255, 0.1);
  position: relative;
}

.screen-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 242, 255, 0.2);
  padding-bottom: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--neon-cyan);
}

.screen-body {
  display: flex;
  gap: 2.5rem;
  padding: 2rem 0;
  align-items: center;
}

.resource-visual {
  width: 140px;
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.glow-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed var(--neon-cyan);
  opacity: 0.4;
  animation: rotate-glow 20s linear infinite;
}

.resource-large-icon {
  font-size: 4rem;
  color: #fff;
  z-index: 2;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
  transition: transform var(--transition-normal);
}

.resource-large-icon.active-anim {
  transform: scale(1.1) rotate(5deg);
}

.resource-info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.resource-title-jp {
  font-size: 1.8rem;
  color: #fff;
}

.resource-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  gap: 1.5rem;
}

.resource-lore {
  font-size: 1.05rem;
}

.resource-gameplay-rules h4 {
  font-size: 0.95rem;
  color: var(--neon-cyan);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.resource-gameplay-rules p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.screen-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed rgba(0, 242, 255, 0.15);
  padding-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* --- Card Showcase Section --- */
.cards-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cards-container {
  width: 100%;
}

.card-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  margin-top: 2rem;
}

/* Splendor Clone Cyber Card Item */
.asset-card {
  position: relative;
  background: #0a0720;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1.45;
  cursor: pointer;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.card-inner {
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.card-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-level {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2px 6px;
  border-radius: 2px;
}

.card-bonus {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: #000;
}

.bonus-quantum { background-color: var(--neon-cyan); box-shadow: 0 0 8px var(--neon-cyan); }
.bonus-plasma { background-color: var(--neon-yellow); box-shadow: 0 0 8px var(--neon-yellow); }
.bonus-intel { background-color: var(--neon-purple); box-shadow: 0 0 8px var(--neon-purple); color: #fff; }
.bonus-nano { background-color: var(--neon-green); box-shadow: 0 0 8px var(--neon-green); }
.bonus-cred { background-color: var(--neon-magenta); box-shadow: 0 0 8px var(--neon-magenta); }

.ice-badge {
  position: absolute;
  top: 2.2rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: var(--neon-red);
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 1px;
  animation: alarm-flicker 3s infinite alternate;
}

.card-title-area {
  margin-top: 0.8rem;
}

.card-title-area h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 2px;
}

.card-type-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.card-visual-placeholder {
  flex-grow: 1;
  background: rgba(255,255,255,0.02);
  margin: 0.8rem 0;
  border-radius: 4px;
  border: 1px dashed rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.holo-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background-image: 
    radial-gradient(circle at 50% 50%, var(--accent) 0%, transparent 60%),
    repeating-linear-gradient(45deg, transparent 0, transparent 4px, rgba(255,255,255,0.1) 4px, rgba(255,255,255,0.1) 5px);
}

.card-stats {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.8rem;
}

.card-points {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}

.card-cost {
  display: flex;
  gap: 0.4rem;
}

.cost-item {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: bold;
  color: #000;
  box-shadow: inset 0 0 3px rgba(255,255,255,0.4);
}

.cost-item.cred { background-color: var(--neon-magenta); }
.cost-item.quantum { background-color: var(--neon-cyan); }
.cost-item.nano { background-color: var(--neon-green); }
.cost-item.plasma { background-color: var(--neon-yellow); }
.cost-item.intel { background-color: var(--neon-purple); color: #fff; }

/* Custom Glow Effects for Card Showcase Items */
.asset-card:hover {
  transform: translateY(-5px);
}

.card-glow-quantum:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
}

.card-glow-plasma:hover {
  border-color: var(--neon-yellow);
  box-shadow: 0 0 15px rgba(232, 255, 77, 0.4);
}

.card-glow-intel:hover {
  border-color: var(--neon-purple);
  box-shadow: 0 0 15px rgba(155, 92, 255, 0.4);
}

.card-glow-nano:hover {
  border-color: var(--neon-green);
  box-shadow: 0 0 15px rgba(57, 255, 157, 0.4);
}

.card-glow-cred:hover {
  border-color: var(--neon-magenta);
  box-shadow: 0 0 15px rgba(255, 47, 208, 0.4);
}

/* --- Rules Section (Accordion) --- */
.rules-section {
  padding: 6rem 2rem;
}

.rules-container {
  max-width: 900px;
  margin: 0 auto;
}

.rules-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.accordion-item {
  background: var(--bg-panel);
  border: 1px solid var(--border-dim);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.accordion-item:hover {
  border-color: rgba(0, 242, 255, 0.3);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  text-align: left;
  color: #fff;
  cursor: pointer;
  position: relative;
  transition: background var(--transition-fast);
}

.accordion-trigger:hover {
  background: rgba(0, 242, 255, 0.03);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--neon-cyan);
  text-shadow: var(--accent-glow);
  margin-right: 1.5rem;
}

.trigger-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  flex-grow: 1;
}

.arrow {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: transform var(--transition-normal);
}

/* Open states */
.accordion-item.open {
  border-color: var(--neon-cyan);
  box-shadow: 0 4px 20px rgba(0, 242, 255, 0.08);
}

.accordion-item.open .arrow {
  transform: rotate(180deg);
  color: var(--neon-cyan);
}

.accordion-content {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal) ease-out;
}

.accordion-item.open .accordion-content {
  padding: 0 2rem 2rem 4.8rem;
  max-height: 500px; /* arbitrary high value for smooth reveal */
  border-top: 1px dashed rgba(0, 242, 255, 0.1);
  padding-top: 1.5rem;
}

.accordion-content p {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.accordion-content ul {
  list-style: none;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.accordion-content li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--text-dim);
}

.accordion-content li::before {
  content: '▪';
  color: var(--neon-magenta);
  position: absolute;
  left: 0;
  top: 0;
}

.tip-box, .ice-box {
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-top: 1rem;
}

.tip-box {
  background: rgba(255, 47, 208, 0.04);
  border: 1px solid rgba(255, 47, 208, 0.15);
  color: var(--text);
}

.tip-box strong { color: var(--neon-magenta); }

.ice-box {
  background: rgba(255, 44, 77, 0.04);
  border: 1px solid rgba(255, 44, 77, 0.18);
  color: var(--text);
}

.ice-box strong { color: var(--neon-red); }

/* --- Pricing Section --- */
.pricing-section {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 6, 32, 0.4) 50%, transparent 100%);
}

.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.pricing-card {
  max-width: 500px;
  width: 100%;
  padding: 3rem 2.5rem;
  text-align: center;
  border-color: var(--neon-magenta);
  box-shadow: 0 0 30px rgba(255, 47, 208, 0.15);
  position: relative;
}

.pricing-card:hover {
  border-color: var(--neon-pink);
  box-shadow: 0 0 40px rgba(255, 47, 208, 0.3);
}

.pricing-card .card-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #000;
  background: var(--neon-magenta);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 10px rgba(255, 47, 208, 0.4);
}

.license-title {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin: 1.2rem 0;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.price .currency {
  font-size: 1.5rem;
  color: var(--text-dim);
  font-weight: 600;
  margin-left: 4px;
}

.price-desc {
  font-size: 0.98rem;
  margin-bottom: 2rem;
}

.divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  margin-bottom: 2rem;
}

.benefit-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}

.benefit-list li {
  font-size: 1rem;
  color: var(--text-dim);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.benefit-list li strong {
  color: #fff;
}

.benefit-list .check {
  color: var(--neon-green);
  font-weight: bold;
}

.btn-purchase {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-purple) 100%);
  color: #000;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 2px;
  padding: 1.1rem;
  border-radius: 6px;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 242, 255, 0.2);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-purchase:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 242, 255, 0.5);
  color: #fff;
}

.security-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 1.2rem;
}

/* --- CTA Section --- */
.cta-section {
  padding: 4rem 2rem 8rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-container {
  padding: 4.5rem;
  text-align: center;
  border-color: var(--neon-cyan);
  box-shadow: inset 0 0 30px rgba(0, 242, 255, 0.1);
  overflow: hidden;
  position: relative;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 242, 255, 0.12) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}

.cta-container h2 {
  font-size: 2.8rem;
  margin-bottom: 0.8rem;
  z-index: 2;
  position: relative;
}

.cta-container p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  z-index: 2;
  position: relative;
}

.btn-primary.large {
  padding: 1.3rem 3rem;
  font-size: 1.15rem;
  z-index: 2;
  position: relative;
}

/* --- Footer --- */
.main-footer {
  background: rgba(4, 3, 10, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 2rem 2.5rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
}

.footer-brand p {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-top: 0.8rem;
  max-width: 400px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.link-column h4 {
  font-size: 1rem;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.link-column a {
  display: block;
  font-size: 0.95rem;
  color: var(--text-dim);
  text-decoration: none;
  margin-bottom: 0.8rem;
  transition: color var(--transition-fast);
}

.link-column a:hover {
  color: var(--neon-cyan);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Animations Keyframes
   ========================================================================== */

/* Glitch Title Main Keyframes */
@keyframes glitch-anim {
  0% { clip: rect(15px, 9999px, 66px, 0); }
  5% { clip: rect(85px, 9999px, 5px, 0); }
  10% { clip: rect(34px, 9999px, 115px, 0); }
  15% { clip: rect(98px, 9999px, 20px, 0); }
  20% { clip: rect(10px, 9999px, 88px, 0); }
  25% { clip: rect(74px, 9999px, 140px, 0); }
  30% { clip: rect(122px, 9999px, 60px, 0); }
  35% { clip: rect(4px, 9999px, 98px, 0); }
  40% { clip: rect(110px, 9999px, 45px, 0); }
  45% { clip: rect(62px, 9999px, 110px, 0); }
  50% { clip: rect(15px, 9999px, 30px, 0); }
  55% { clip: rect(95px, 9999px, 120px, 0); }
  60% { clip: rect(40px, 9999px, 15px, 0); }
  65% { clip: rect(135px, 9999px, 90px, 0); }
  70% { clip: rect(5px, 9999px, 45px, 0); }
  75% { clip: rect(80px, 9999px, 130px, 0); }
  80% { clip: rect(110px, 9999px, 55px, 0); }
  85% { clip: rect(25px, 9999px, 70px, 0); }
  90% { clip: rect(65px, 9999px, 105px, 0); }
  95% { clip: rect(140px, 9999px, 15px, 0); }
  100% { clip: rect(50px, 9999px, 90px, 0); }
}

@keyframes glitch-anim2 {
  0% { clip: rect(65px, 9999px, 105px, 0); }
  5% { clip: rect(140px, 9999px, 15px, 0); }
  10% { clip: rect(50px, 9999px, 90px, 0); }
  15% { clip: rect(15px, 9999px, 66px, 0); }
  20% { clip: rect(85px, 9999px, 5px, 0); }
  25% { clip: rect(34px, 9999px, 115px, 0); }
  30% { clip: rect(98px, 9999px, 20px, 0); }
  35% { clip: rect(10px, 9999px, 88px, 0); }
  40% { clip: rect(74px, 9999px, 140px, 0); }
  45% { clip: rect(122px, 9999px, 60px, 0); }
  50% { clip: rect(4px, 9999px, 98px, 0); }
  55% { clip: rect(110px, 9999px, 45px, 0); }
  60% { clip: rect(62px, 9999px, 110px, 0); }
  65% { clip: rect(15px, 9999px, 30px, 0); }
  70% { clip: rect(95px, 9999px, 120px, 0); }
  75% { clip: rect(40px, 9999px, 15px, 0); }
  80% { clip: rect(135px, 9999px, 90px, 0); }
  85% { clip: rect(5px, 9999px, 45px, 0); }
  90% { clip: rect(80px, 9999px, 130px, 0); }
  95% { clip: rect(110px, 9999px, 55px, 0); }
  100% { clip: rect(25px, 9999px, 70px, 0); }
}

/* Horizontal scan line down the hero section content */
@keyframes scan {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { top: 100%; opacity: 0; }
}

/* Breathing glow effect for status-dot */
@keyframes pulse-glow {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* Dotted circle rotation on Terminal visual */
@keyframes rotate-glow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Flicker effect for alarm badge */
@keyframes alarm-flicker {
  0%, 100% { opacity: 1; filter: brightness(1); }
  50% { opacity: 0.85; filter: brightness(1.2); }
}

/* ==========================================================================
   Responsive / Media Queries
   ========================================================================== */

@media (max-width: 1200px) {
  .hero-section {
    padding-top: 8rem;
  }
  .hero-container {
    gap: 2rem;
  }
  .glitch-title {
    font-size: 3.5rem;
  }
  .lore-grid {
    gap: 1.5rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-item-wide {
    grid-column: span 2;
  }
  .card-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  h2 {
    font-size: 1.8rem;
  }
  .header-container {
    padding: 1rem 1.5rem;
  }
  .nav-links {
    display: none; /* Hide default nav for mobile or can be managed with burger if requested */
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .status-indicator {
    justify-content: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .lore-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-item-wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .terminal-layout {
    grid-template-columns: 1fr;
  }
  .terminal-screen {
    padding: 1.5rem;
  }
  .screen-body {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .glitch-title {
    font-size: 2.8rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
  }
  .card-showcase-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .accordion-trigger {
    padding: 1.2rem 1.5rem;
  }
  .accordion-item.open .accordion-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }
  .step-num {
    margin-right: 0.8rem;
  }
  .trigger-text {
    font-size: 1.05rem;
  }
  .pricing-card {
    padding: 2rem 1.5rem;
  }
}
