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

:root {
  --bg:          #0B111E;
  --surface:     #131C2E;
  --surface-2:   #1A2540;
  --border:      #1E2A41;
  --border-2:    #243050;
  --text:        #F0F4F8;
  --text-2:      #8A9AAD;
  --text-3:      #4A5A6D;
  --accent:      #81D4FA;
  --accent-dim:  rgba(129,212,250,0.12);
  --green:       #00E676;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  overflow-x: hidden;
}

/* ── Background stars ── */
.launcher-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at 20% 10%, rgba(129,212,250,0.04) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(129,212,250,0.03) 0%, transparent 50%);
}

.stars { position: absolute; inset: 0; }
.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: twinkle var(--dur) ease-in-out infinite var(--delay);
}
@keyframes twinkle {
  0%,100% { opacity: 0; }
  50%      { opacity: var(--op); }
}

/* ── Shell ── */
.launcher-shell {
  position: relative; z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 48px 24px 32px;
  display: flex; flex-direction: column; gap: 40px;
}

/* ── Header ── */
.launcher-header { text-align: center; }

.brand {
  display: inline-flex; align-items: baseline; gap: 8px;
  line-height: 1;
}

.brand-mea {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 52px;
  color: var(--accent);
  letter-spacing: 2px;
  filter: drop-shadow(0 0 12px rgba(129,212,250,0.5));
}

.brand-play {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 52px;
  color: var(--text);
  letter-spacing: 2px;
}

.brand-sub {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.5px;
}

/* ── Game List ── */
.game-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.game-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: padding-left 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.game-item:first-child { border-top: 1px solid var(--border); }

.game-item:hover {
  padding-left: 8px;
}

.game-item:hover .game-title { color: var(--accent); }
.game-item:hover .game-arrow { opacity: 1; color: var(--accent); }

.game-info { display: flex; flex-direction: column; gap: 3px; }

.game-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s ease;
}

.game-meta {
  font-size: 12px;
  color: var(--text-3);
  display: flex; align-items: center; gap: 6px;
}

.game-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.game-badge.alpha {
  background: rgba(255,193,7,0.15);
  color: #FFC107;
  border: 1px solid rgba(255,193,7,0.3);
}

.game-badge.new {
  background: rgba(0,230,118,0.12);
  color: var(--green);
  border: 1px solid rgba(0,230,118,0.25);
}

.game-arrow {
  font-size: 18px;
  color: var(--text-3);
  opacity: 0.4;
  transition: opacity 0.2s ease, color 0.2s ease;
}

/* ── Footer ── */
.launcher-footer {
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
}
