:root {
  --bg: #0b0d12;
  --panel: #0f1218;
  --elev: #151a23;
  --text: #e8ecf1;
  --muted: #a8b0bd;
  --primary: #6ee7f6;
  --primary-2: #7c87ff;
  --accent: #f6c177;
  --danger: #ff5e7d;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji';
  color: var(--text);
  background: radial-gradient(1200px 800px at 10% -10%, #0f1420, transparent 60%),
              radial-gradient(1200px 800px at 110% 10%, #10162c, transparent 60%),
              var(--bg);
  overflow-x: hidden;
}

.container {
  width: min(1120px, 90%);
  margin-inline: auto;
}

.site-header {
  position: sticky; top: 0; z-index: 20; backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(11,13,18,0.85), rgba(11,13,18,0.4) 70%, transparent);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 36px; height: 36px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--primary-2)); border-radius: 12px; box-shadow: 0 8px 24px rgba(108, 230, 247, 0.25); }
.brand-logo svg { display: block; filter: drop-shadow(0 2px 6px rgba(11,13,18,0.25)); }
.brand-text { display: grid; }
.brand-title {
  font-weight: 800;
  letter-spacing: 0.4px;
  line-height: 1;
  font-size: clamp(22px, 3.2vw, 32px);
  color: var(--text);
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(108, 230, 247, 0.18);
}
.brand-subtitle { font-size: 12.5px; color: var(--muted); letter-spacing: 0.3px; }

.nav { display: flex; align-items: center; gap: 10px; position: relative; padding-bottom: 10px; }
.nav-link { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-indicator { position: absolute; left: 0; top: 0; width: 0; height: 0; border-radius: 10px; pointer-events: none; opacity: 0; border: 1px solid rgba(255,255,255,0.12);
  background: radial-gradient(80px 40px at var(--px,50%) var(--py,50%), rgba(255,255,255,0.08), transparent 65%), linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: 0 8px 22px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.04);
  transition: left .18s cubic-bezier(.2,.6,.2,1), top .18s cubic-bezier(.2,.6,.2,1), width .18s cubic-bezier(.2,.6,.2,1), height .18s cubic-bezier(.2,.6,.2,1), opacity .2s ease;
}

.btn { cursor: pointer; text-decoration: none; border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 16px 24px; font-weight: 700; letter-spacing: 0.2px; position: relative; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120px 60px at var(--px,50%) var(--py,50%), rgba(255,255,255,0.18), transparent 70%); opacity: 0; transition: opacity .2s ease; }
.btn:hover::after, .btn:focus-visible::after { opacity: 1; }
.btn-primary,
.btn-secondary {
  background: linear-gradient(135deg, #1f2739, #151b2b);
  border-color: #2a3347;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 10px 24px rgba(0,0,0,0.35);
}
.btn-primary:hover, .btn-primary:focus-visible,
.btn-secondary:hover, .btn-secondary:focus-visible {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--text);
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
  border-color: transparent;
  box-shadow: 0 18px 36px rgba(108, 230, 247, 0.34);
}
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.12); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); }
/* Bigger hero buttons */
.hero-cta .btn { font-size: clamp(16px, 2vw, 20px); padding: 18px 28px; border-radius: 18px; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.12); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); }

.hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; padding: 48px 0 32px; align-items: center; }
.title { font-size: clamp(28px, 4vw, 44px); line-height: 1.1; margin: 0 0 10px; letter-spacing: 0.2px; }
.subtitle { color: var(--muted); margin: 0 0 18px; }
.hero-cta { display: flex; gap: 12px; margin-top: 12px; }

.hero-media { position: relative; aspect-ratio: 1 / 1; }

/* Solar System Container */
.orbit { 
  position: absolute; 
  inset: 0; 
  display: flex; 
  align-items: center; 
  justify-content: center;
}

/* Sun in the center */
.orbit::before {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  background: radial-gradient(circle, #ffeb3b 0%, #ff9800 50%, #ff5722 100%);
  border-radius: 50%;
  box-shadow: 
    0 0 20px rgba(255, 235, 59, 0.6),
    0 0 40px rgba(255, 152, 0, 0.4),
    0 0 60px rgba(255, 87, 34, 0.2);
  z-index: 10;
}

/* Planet orbits */
.planet-orbit {
  position: absolute;
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: 50%;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.planet-orbit-1 {
  width: 80px;
  height: 80px;
  animation: spin 8s linear infinite;
}

.planet-orbit-2 {
  width: 120px;
  height: 120px;
  animation: spin 12s linear infinite;
}

.planet-orbit-3 {
  width: 160px;
  height: 160px;
  animation: spin 18s linear infinite;
}

.planet-orbit-4 {
  width: 200px;
  height: 200px;
  animation: spin 25s linear infinite;
}

.planet-orbit-5 {
  width: 240px;
  height: 240px;
  animation: spin 32s linear infinite;
}

/* Planets */
.planet {
  position: absolute;
  border-radius: 50%;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
}

/* Mercury - small, gray */
.planet-1 {
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #8c7853 0%, #5c5c5c 100%);
  box-shadow: 0 0 8px rgba(140, 120, 83, 0.4);
}

/* Venus - small, yellow-orange */
.planet-2 {
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #ffc649 0%, #ff8f00 100%);
  box-shadow: 0 0 12px rgba(255, 198, 73, 0.5);
}

/* Earth - normal, blue-green */
.planet-3 {
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, #4fc3f7 0%, #29b6f6 50%, #0277bd 100%);
  box-shadow: 0 0 15px rgba(79, 195, 247, 0.6);
}

/* Mars - normal, red */
.planet-4 {
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #ff7043 0%, #d84315 100%);
  box-shadow: 0 0 12px rgba(255, 112, 67, 0.5);
}

/* Jupiter - big, orange-brown */
.planet-5 {
  width: 18px;
  height: 18px;
  background: radial-gradient(circle, #ffb74d 0%, #ff8f00 50%, #e65100 100%);
  box-shadow: 0 0 20px rgba(255, 183, 77, 0.6);
}

@keyframes spin { 
  from { transform: rotate(0deg); } 
  to { transform: rotate(360deg); } 
}

.section { padding: 28px 0 42px; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 16px; }
.section h2 { margin: 0; font-size: 22px; }
.muted { color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 920px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.card { background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.08); backdrop-filter: blur(6px); border-radius: 16px; overflow: hidden; position: relative; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.45); border-color: rgba(255,255,255,0.16); }
.card-media { aspect-ratio: 16/9; background: #0e1117; position: relative; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.05) contrast(1.05); transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.04); }
/* Stronger pop-up effect for Games cards */
#games .card { will-change: transform, box-shadow; }
#games .card::before { content: '';
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(240px 140px at 50% 40%, rgba(110, 231, 246, 0.12), transparent 65%);
  opacity: 0; transition: opacity .25s ease;
}
#games .card:hover { transform: translateY(-8px) scale(1.04); box-shadow: 0 24px 56px rgba(0,0,0,0.55); border-color: rgba(255,255,255,0.22); }
#games .card:hover::before { opacity: 1; }
#games .card:hover .card-media img { transform: scale(1.06); }
.card-badge { position: absolute; top: 10px; left: 10px; background: rgba(15, 18, 24, 0.8); color: var(--text); border: 1px solid rgba(255,255,255,0.14); padding: 4px 8px; border-radius: 999px; font-size: 12px; backdrop-filter: blur(10px); }
.card-body { padding: 14px; display: grid; gap: 8px; }
.card-title { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: 0.2px; }
.card-desc { margin: 0; font-size: 13px; color: var(--muted); min-height: 36px; }
.card-actions { display: flex; gap: 8px; }
.card-actions a, .card-actions button { text-decoration: none; }

.pill { padding: 6px 10px; border-radius: 999px; font-weight: 600; font-size: 12px; border: 1px solid rgba(255,255,255,0.12); background: #141926; color: var(--text); }
.pill:hover { background: #1b2131; }
.pill.primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #0b0d12; border: none; }

.site-footer { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 24px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }

/* Gate removed */

/* Background details */
.bg-gradients { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.blob { position: absolute; filter: blur(60px); opacity: 0.6; width: 42vw; height: 42vw; border-radius: 999px; mix-blend-mode: screen; }
.blob-1 { left: -10vw; top: -8vw; background: radial-gradient(circle at 30% 30%, rgba(108, 230, 247, 0.45), transparent 60%); animation: float1 12s ease-in-out infinite; }
.blob-2 { right: -12vw; top: 4vw; background: radial-gradient(circle at 70% 40%, rgba(124, 135, 255, 0.45), transparent 60%); animation: float2 16s ease-in-out infinite; }
.grain { position: absolute; inset: -100px; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="260" height="260" viewBox="0 0 260 260"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="2" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23n)" opacity="0.06"/></svg>'); opacity: 0.5; mix-blend-mode: soft-light; }
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(2vw, 1vw); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-1vw, -2vw); } }

/* Utilities */
code { background: rgba(255,255,255,0.06); padding: 2px 6px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.1); }


