.futuristic-text {
    font-family: 'Orbitron', sans-serif;
    /* Add a generic fallback like sans-serif */
}


h1, h2 {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

ul {
    list-style-type: none;
}

.glow {
    color: white;
    text-decoration: none;
    padding: 10px;
    transition: 0.3s;
    border-radius: 5px;
    box-shadow: 0 0 5px white;
}

.glow:hover {
    color: #FFD700;
    text-shadow: 0 0 20px #FFD700, 0 0 30px #FF5733;
    box-shadow: 0 0 20px #FFD700, 0 0 30px #FF5733;
}
:root{
  --bg: #0b1020;
  --bg-deep: #080b1a;
  --card: rgba(255,255,255,0.08);
  --text: #e8e8f7;
  --muted: #a7a7c5;
  --neon: #7c3aed; /* vivid purple */
  --neon2: #00e5ff; /* cyan/blue accent */
  --glow: 0 0 12px rgba(124,58,237,.6), 0 0 40px rgba(0,229,255,.25);
  --radius: 16px;
  --shadow: 0 20px 40px rgba(0,0,0,.5);
}

* { box-sizing: border-box; }
html, body {
  height: 100%;
  background: radial-gradient(circle at 20% -10%, rgba(124,58,237,.25), transparent 40%),
              radial-gradient(circle at 100% 0%, rgba(0,229,255,.15), transparent 40%),
              linear-gradient(135deg, var(--bg), var(--bg-deep) 60%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  letter-spacing: .2px;
  margin: 0;
}

a { color: var(--neon2); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.2) blur(6px);
  background: rgba(8,12,24, .75);
  border-bottom: 1px solid rgba(124,58,237,.25);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}

.brand {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 24px;
}
.brand-logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: conic-gradient(from 180deg at 50% 50%, #7c3aed, #00e5ff, #7c3aed);
  box-shadow: 0 0 18px rgba(124,58,237,.8);
}
.brand-name { font-weight: 700; letter-spacing: .5px; }

.nav {
  display: flex; gap: 14px; align-items: center;
}
.btn {
  border: 1px solid rgba(124,58,237,.5);
  background: linear-gradient(to bottom right, rgba(124,58,237,.25), rgba(0,0,0,.15));
  color: #eaf2ff;
  padding: 10px 14px;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 4px 12px rgba(124,58,237,.35);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(124,58,237,.6); }
.btn.primary {
  background: linear-gradient(135deg, rgba(0,229,255,.6), rgba(124,58,237,.6));
  border: none;
  color: #041018;
  text-shadow: 0 1px 0 rgba(255,255,255,.4);
  box-shadow: 0 6px 20px rgba(0,229,255,.6);
}
.btn.ghost {
  background: transparent;
  border: 1px solid rgba(124,58,237,.4);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0 20px;
}
@media (max-width: 900px){
  .hero { grid-template-columns: 1fr; padding: 20px 0; }
}
.card {
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(124,58,237,.35);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.card:before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle at 30% 30%, rgba(0,229,255,.9), transparent 40%), 
              radial-gradient(circle at 70% 70%, rgba(124,58,237,.9), transparent 40%);
  filter: blur(0.6px);
  opacity: .25;
  pointer-events: none;
}
.h1 {
  font-size: 2.4rem; line-height: 1.15; margin: 0 0 10px;
  letter-spacing: .4px;
}
.sub {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 16px;
}
.kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas;
  font-size: .9em;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(124,58,237,.6);
  background: rgba(0,0,0,.25);
  color: #e8e8ff;
}
.hero-visual {
  min-height: 320px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0,0,0,.25), rgba(0,0,0,.15)),
              radial-gradient(circle at 20% 0%, rgba(0,229,255,.25), transparent 20%);
  border: 1px solid rgba(0,229,255,.35);
  position: relative;
  overflow: hidden;
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,.25) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: .25;
  mix-blend-mode: overlay;
  animation: move 12s linear infinite;
}
@keyframes move { to { transform: translateY(-40px); } }

.neon {
  color: #eaffff;
  text-shadow: 0 0 6px rgba(0,229,255,.8), 0 0 16px rgba(0,229,255,.6);
}

.oper {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px; margin-top: 8px;
}
.pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(124,58,237,.25);
  border: 1px solid rgba(124,58,237,.6);
  color: #e8eaff;
  text-align: center;
  font-size: .9rem;
}
.section {
  padding: 40px 0;
}
.section h2 {
  font-size: 1.5rem; margin: 0 0 12px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
footer {
  padding: 28px 0; text-align: center; color: var(--muted);
}
.glass {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
}
.shadow-neon {
  box-shadow: 0 6px 28px rgba(0,229,255,.6);
}
.sep { height: 1px; background: rgba(124,58,237,.25); margin: 18px 0; border: 0; }
.small { font-size: .9rem; color: var(--muted); }
:root{
  --bg: #0b0f14;
  --panel: rgba(255,255,255,.08);
  --text: #e8f0f7;
  --muted: #a3b2c7;
  --primary: #4ade80;
  --accent: #60a5fa;
  --danger: #f87171;
  --radius: 12px;
  --shadow: 0 6px 20px rgba(0,0,0,.25);
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; background: #0b0f14; color: var(--text); font-family: Inter, system-ui, Arial, sans-serif; }
#game-container { min-height: 100%; display: flex; flex-direction: column; }
.header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 20px; background: rgba(10,12,20,.8); border-bottom: 1px solid rgba(255,255,255,.08);
  position: sticky; top: 0; z-index: 10;
}
.title { margin: 0; font-size: 1.25rem; }
.stats { display: flex; gap: 16px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas; color: #e6f0ff; }
.grid { display: grid; grid-template-columns: 380px 1fr 360px; gap: 16px; padding: 16px; }
.panel { background: var(--panel); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.left, .right { display: flex; flex-direction: column; gap: 10px; }
.section { padding: 8px 0; }
.sep { border: 0; height: 1px; background: rgba(255,255,255,.15); margin: 8px 0; }
.btn {
  border: 1px solid rgba(96,165,250,.6);
  background: linear-gradient(135deg, rgba(96,165,250,.4), rgba(2,6,23,.4));
  color: #eaffff; padding: 10px 12px; border-radius: 999px; cursor: pointer;
  transition: transform .15s ease;
}
.btn.primary { background: linear-gradient(135deg, rgba(52,211,153,.9), rgba(59,130,246,.9)); border: none; color: #041012; }
.btn.ghost { background: transparent; border: 1px solid rgba(96,165,250,.6); }
.btn:active { transform: scale(0.98); }
.grid-droppers { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.card { padding: 10px; border-radius: 8px; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.15); }
.card h4 { margin: 0 0 6px; font-size: 1rem; }
.card .cost { font-family: ui-monospace, SFMono-Regular; font-size: .9rem; color: var(--muted); }
.viewport { width: 100%; height: 320px; border-radius: 8px; border: 1px solid rgba(255,255,255,.15); background: radial-gradient(circle at 20% 10%, rgba(0,229,255,.15), transparent 40%), #111; position: relative; overflow: hidden; }
.click-area { position: absolute; left: 0; right: 0; top: 0; bottom: 0; cursor: crosshair; }
.money-marker { position: absolute; font-size: .9rem; color: #d1fff0; animation: floatUp 1.2s ease-out forwards; pointer-events: none; }
@keyframes floatUp { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-40px); opacity: 0; } }

.small { font-size: .85rem; color: var(--muted); }
.factories { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.levels { display: flex; flex-wrap: wrap; gap: 8px; }
.kbd { font-family: ui-monospace, SFMono-Regular; font-size: .8em; padding: 4px 8px; border-radius: 6px; border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.25); }

@media (max-width: 1100px){
  .grid { grid-template-columns: 1fr; }
}
