:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #0f0f16;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --bg-input: #12121a;
  --accent: #00e5a0;
  --accent-dim: #00c98c;
  --accent-glow: rgba(0, 229, 160, 0.15);
  --accent-glow-strong: rgba(0, 229, 160, 0.3);
  --accent-secondary: #7c5cff;
  --text-primary: #eaeaf0;
  --text-secondary: #8888a0;
  --text-muted: #55556a;
  --border: #22222e;
  --border-hover: #33334a;
  --danger: #ff4466;
  --warning: #ffaa22;
  --radius: 12px;
  --radius-lg: 20px;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-dim); }

/* ═══════════════ NAV ═══════════════ */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary) !important;
  letter-spacing: -0.5px;
}
.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--bg-primary);
  font-weight: 900;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ═══════════════ BUTTONS ═══════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  color: var(--text-primary);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--border-hover); color: var(--text-primary); }
.btn-primary {
  background: var(--accent);
  color: var(--bg-primary) !important;
  box-shadow: 0 0 20px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-dim);
  box-shadow: 0 0 30px var(--accent-glow-strong);
  transform: translateY(-1px);
}
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; border-radius: 10px; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-block { width: 100%; text-align: center; }

/* ═══════════════ MOBILE MENU ═══════════════ */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,10,15,0.97);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 700;
}
.mobile-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
}

/* ═══════════════ HERO ═══════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: float 10s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}
.hero-content {
  max-width: 800px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease-out;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease-out 0.1s both;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  animation: fadeUp 0.6s ease-out 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease-out 0.3s both;
}
.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 4rem;
  animation: fadeUp 0.6s ease-out 0.4s both;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: 2rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
}
.hero-stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.game-ticker {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
  animation: fadeUp 0.6s ease-out 0.5s both;
}
.game-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.game-chip .g-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════ SECTIONS ═══════════════ */
section { padding: 6rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--text-secondary);
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.7;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header .section-desc { margin: 0.5rem auto 0; }

/* ═══════════════ FEATURES ═══════════════ */
.features-section { background: var(--bg-secondary); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}
.feature-card h3 { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* ═══════════════ PRICING CARDS ═══════════════ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}
.price-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}
.price-card.featured::after {
  content: 'POPULAR';
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  letter-spacing: 1px;
}
.price-tier {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.price-amount {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.price-amount.free { color: var(--accent); }
.price-period {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
}
.price-details {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}
.price-detail { flex: 1; }
.price-detail .val {
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
}
.price-detail .lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.price-features {
  list-style: none;
  flex: 1;
  margin-bottom: 1.5rem;
}
.price-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.35rem 0;
}
.price-features li .check { color: var(--accent); font-weight: bold; flex-shrink: 0; }
.price-features li.disabled { color: var(--text-muted); text-decoration: line-through; }
.price-features li.disabled .check { color: var(--text-muted); }

/* ═══════════════ FAQ ═══════════════ */
.faq-section { background: var(--bg-secondary); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 1.25rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-q .arrow {
  flex-shrink: 0;
  transition: transform 0.3s;
  font-size: 1.2rem;
  color: var(--text-muted);
}
.faq-item.open .faq-q .arrow { transform: rotate(45deg); color: var(--accent); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.7;
  padding-bottom: 1.25rem;
}

/* ═══════════════ CTA ═══════════════ */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
  position: relative;
}
.cta-section p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  position: relative;
}

/* ═══════════════ FOOTER ═══════════════ */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 1rem;
  max-width: 280px;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.875rem;
  padding: 0.3rem 0;
}
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }

/* ═══════════════ AUTH PAGES ═══════════════ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.auth-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-align: center;
}
.auth-card .subtitle {
  color: var(--text-secondary);
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.error-msg {
  background: rgba(255,68,102,0.1);
  border: 1px solid rgba(255,68,102,0.3);
  color: var(--danger);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  text-align: center;
}
.success-msg {
  background: rgba(0,229,160,0.1);
  border: 1px solid rgba(0,229,160,0.3);
  color: var(--accent);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

/* ═══════════════ REVIEWS PAGE ═══════════════ */
.reviews-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.reviews-score {
  text-align: center;
}
.reviews-score .big-num {
  font-size: 3.5rem;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  line-height: 1;
}
.reviews-score .sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.review-card .review-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  flex-shrink: 0;
}
.review-meta .review-user { font-weight: 600; font-size: 0.9rem; }
.review-meta .review-date { font-size: 0.75rem; color: var(--text-muted); }
.review-stars { color: var(--warning); font-size: 0.85rem; margin-bottom: 0.5rem; }
.review-card .review-body { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.pagination a, .pagination span {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}
.pagination a {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.pagination a:hover { border-color: var(--border-hover); color: var(--text-primary); }
.pagination span.current {
  background: var(--accent);
  color: var(--bg-primary);
}

/* ═══════════════ SUPPORT PAGE ═══════════════ */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-primary);
  display: block;
}
.support-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  color: var(--text-primary);
}
.support-card .support-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.support-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
.support-card p { font-size: 0.8rem; color: var(--text-secondary); }

/* ═══════════════ TERMS PAGE ═══════════════ */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
}
.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
  color: var(--text-primary);
}
.legal-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--text-secondary);
}
.legal-content p {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.legal-content ul {
  margin: 0.5rem 0 1rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.925rem;
}
.legal-content ul li { margin-bottom: 0.35rem; }

/* ═══════════════ DASHBOARD ═══════════════ */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.dash-card h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.dash-card .dash-val {
  font-size: 2rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
}
.dash-card .dash-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* ═══════════════ STEAM PANEL ═══════════════ */
.steam-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.steam-panel-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.steam-panel-header h3 {
  font-size: 1rem;
  font-weight: 700;
}
.steam-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.steam-status-active { background: var(--accent); box-shadow: 0 0 8px var(--accent-glow-strong); }
.steam-status-offline { background: var(--text-muted); }
.steam-status-error { background: var(--danger); }
.steam-status-warning { background: var(--warning); }

.steam-idling-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 160, 0.08);
  border: 1px solid rgba(0, 229, 160, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 1rem;
}

.steam-link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.steam-guard-form input {
  max-width: 220px;
  margin: 0 auto;
  display: block;
}

.steam-add-game {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}
.steam-add-game input {
  padding: 0.6rem 0.85rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}
.steam-add-game input:focus { border-color: var(--accent); }

.steam-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.steam-game-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color 0.2s;
}
.steam-game-card:hover { border-color: var(--border-hover); }
.steam-game-name {
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.steam-game-appid {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 2px;
}
.steam-game-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s;
  flex-shrink: 0;
}
.steam-game-remove:hover { color: var(--danger); }

@media (max-width: 768px) {
  .steam-link-grid { grid-template-columns: 1fr; }
  .steam-add-game { flex-direction: column; align-items: stretch; }
  .steam-add-game input { width: 100% !important; }
  .steam-games-grid { grid-template-columns: 1fr; }
}

/* ═══════════════ ERROR PAGES ═══════════════ */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem;
}
.error-page .error-code {
  font-size: 6rem;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  line-height: 1;
}
.error-page p {
  color: var(--text-secondary);
  margin: 1rem 0 2rem;
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: block; }
  section { padding: 4rem 1.25rem; }
  .hero { padding: 7rem 1.25rem 3rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat .num { font-size: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .reviews-header { flex-direction: column; text-align: center; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
