/* =========================================================
   Gameo8.com — SEO-Friendly Games Portal Stylesheet
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  min-height: 100vh;
  background-color: #050814;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -15%, rgba(245, 158, 11, 0.16), transparent),
    radial-gradient(ellipse 60% 50% at 85% 25%, rgba(56, 189, 248, 0.10), transparent),
    radial-gradient(ellipse 60% 50% at 15% 65%, rgba(168, 85, 247, 0.08), transparent);
  color: #e2e8f0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: #fbbf24;
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidden {
  display: none !important;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 20, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 70px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #f8fafc;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 55%, #e11d48 100%);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.45);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
}

.brand-text {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.brand-accent {
  color: #fbbf24;
}

.brand-tld {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  margin-left: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: 9999px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-install-nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.28), rgba(245, 158, 11, 0.24));
  border: 1px solid rgba(52, 211, 153, 0.78);
  color: #a7f3d0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.36);
  animation: portalInstallPulse 2.2s ease-in-out infinite;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

@keyframes portalInstallPulse {
  0%, 100% {
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.34), 0 0 0 0 rgba(52, 211, 153, 0.38);
    border-color: rgba(52, 211, 153, 0.78);
  }
  50% {
    box-shadow: 0 0 22px rgba(251, 191, 36, 0.55), 0 0 0 4px rgba(52, 211, 153, 0.15);
    border-color: #fde047;
    color: #fef08a;
  }
}

.portal-first-install-overlay {
  position: fixed;
  inset: 0;
  z-index: 230;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(3, 6, 18, 0.58);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.portal-install-dialog {
  width: min(440px, calc(100vw - 28px));
  padding: 24px 26px 22px;
  border-radius: 20px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portal-install-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 0 6px;
}

.portal-laptop-svg {
  width: 196px;
  height: 105px;
  display: block;
}

.portal-install-title {
  font-size: 21px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin: 0;
}

.portal-install-subtitle {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.4;
  margin: -4px 0 4px;
}

.portal-install-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 0 10px;
}

.portal-install-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}

.portal-install-meta-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.portal-install-meta-text strong {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.portal-install-meta-text span {
  font-size: 13px;
  color: #64748b;
}

.portal-install-learn-box {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-size: 12.5px;
  line-height: 1.45;
}

.portal-install-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
}

.portal-install-footer-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.portal-btn-learn {
  padding: 9px 18px;
  border-radius: 9999px;
  border: 1.5px solid #c7d2fe;
  background: #ffffff;
  color: #3730a3;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}

.portal-btn-learn:hover {
  background: #eef2ff;
}

.portal-btn-next {
  padding: 9px 26px;
  border-radius: 9999px;
  border: none;
  background: #e0e7ff;
  color: #1e1b4b;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

.portal-btn-next:hover {
  background: #c7d2fe;
}

.portal-btn-cancel {
  padding: 9px 22px;
  border-radius: 9999px;
  border: 2px solid #312e81;
  background: #4338ca;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #4338ca;
  cursor: pointer;
}

.portal-btn-cancel:hover {
  background: #3730a3;
}

.btn-install-nav:hover {
  transform: translateY(-1px);
  background: rgba(51, 65, 85, 0.95);
  border-color: #fde047;
  color: #ffffff;
}

.btn-install-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.24), rgba(5, 150, 105, 0.22));
  border: 1px solid rgba(52, 211, 153, 0.55);
  color: #a7f3d0;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.btn-install-lg:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.36), rgba(5, 150, 105, 0.32));
  border-color: #6ee7b7;
  color: #ffffff;
}

.portal-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(3, 5, 13, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.portal-modal-card {
  width: min(500px, 100%);
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.96), rgba(9, 13, 28, 0.98));
  border: 1px solid rgba(251, 191, 36, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
}

.portal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.portal-modal-header h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fde047;
}

.portal-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(30, 41, 59, 0.8);
  color: #e2e8f0;
  font-size: 14px;
  cursor: pointer;
}

.portal-modal-lead {
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.portal-install-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.install-step-item {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.step-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fde68a;
  margin-bottom: 4px;
}

.install-step-item p {
  font-size: 13px;
  color: #cbd5e1;
}

.portal-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.btn-play-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-play-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.55);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 64px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.hero-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.65;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fde68a;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 18px;
}

.text-gradient {
  background: linear-gradient(135deg, #fde047 0%, #fb923c 45%, #f43f5e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 16.5px;
  color: #cbd5e1;
  max-width: 580px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 60%, #e11d48 100%);
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(234, 88, 12, 0.38);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.btn-primary-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(234, 88, 12, 0.55);
}

.btn-secondary-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #f1f5f9;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.btn-secondary-lg:hover {
  background: rgba(51, 65, 85, 0.85);
  border-color: rgba(251, 191, 36, 0.5);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 520px;
}

.metric-item {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(148, 163, 184, 0.15);
}

.metric-item dt {
  font-family: 'Orbitron', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: #fde047;
}

.metric-item dd {
  font-size: 12px;
  color: #94a3b8;
}

/* Flagship Showcase Card in Hero */
.flagship-card {
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.84);
  border: 1px solid rgba(251, 191, 36, 0.38);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.65), 0 0 35px rgba(245, 158, 11, 0.12);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.flagship-card:hover {
  transform: translateY(-4px);
  border-color: rgba(253, 224, 71, 0.8);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), 0 0 45px rgba(245, 158, 11, 0.22);
}

.flagship-preview-wrap {
  position: relative;
  height: 255px;
  background: radial-gradient(circle at 50% 85%, #131c38 0%, #050814 85%);
  overflow: hidden;
}

.flagship-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.flagship-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.badge-live {
  padding: 5px 11px;
  border-radius: 9999px;
  background: rgba(22, 163, 74, 0.92);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.badge-engine {
  padding: 5px 11px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #fde68a;
  font-size: 11px;
  font-weight: 600;
}

.flagship-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(5, 8, 20, 0.24);
  text-decoration: none;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.flagship-card:hover .flagship-play-overlay {
  opacity: 1;
  background: rgba(5, 8, 20, 0.42);
}

.play-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #ea580c);
  color: #0f172a;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 0 28px rgba(251, 191, 36, 0.75);
}

.play-caption {
  padding: 5px 14px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(253, 224, 71, 0.5);
  font-size: 12.5px;
  font-weight: 700;
  color: #fef08a;
}

.flagship-body {
  padding: 20px 22px 22px;
}

.flagship-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.flagship-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #fb923c;
  margin-bottom: 3px;
}

.flagship-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.flagship-title a {
  color: #ffffff;
  text-decoration: none;
}

.rating-pill {
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.16);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fde047;
  font-size: 12.5px;
  font-weight: 700;
  flex-shrink: 0;
}

.flagship-desc {
  font-size: 13.5px;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.flagship-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.game-tag {
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 500;
}

.btn-card-play {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

/* Section Shared Typography */
.section-kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fbbf24;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.section-sub {
  font-size: 15px;
  color: #94a3b8;
  max-width: 650px;
}

/* Games Section */
.games-section {
  padding: 72px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.search-box {
  position: relative;
  min-width: 290px;
}

.search-ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  pointer-events: none;
}

#game-search-input {
  width: 100%;
  padding: 11px 14px 11px 38px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #f8fafc;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#game-search-input:focus {
  border-color: #fbbf24;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.18);
}

/* Filter Pills */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-pill:hover {
  border-color: rgba(251, 191, 36, 0.45);
  color: #ffffff;
}

.filter-pill.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.26), rgba(234, 88, 12, 0.22));
  border-color: #fbbf24;
  color: #fef08a;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.2);
}

.pill-count {
  padding: 1px 7px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 11px;
}

/* Games Grid & Cards */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.game-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.16);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.game-card--live {
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 28px rgba(245, 158, 11, 0.12);
  cursor: pointer;
}

.game-card--live:hover {
  transform: translateY(-5px);
  border-color: #fde047;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.65), 0 0 36px rgba(245, 158, 11, 0.26);
}

.game-card--upcoming:hover {
  transform: translateY(-3px);
  border-color: rgba(148, 163, 184, 0.35);
}

.game-card-media {
  position: relative;
  height: 196px;
  display: block;
  overflow: hidden;
  background: #080d1f;
  text-decoration: none;
}

.card-preview-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.card-status-row {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 6px;
  pointer-events: none;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.status-badge--live {
  background: rgba(22, 163, 74, 0.95);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.5);
}

.status-badge--soon {
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #cbd5e1;
}

.status-badge--cat {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fde68a;
}

.card-hover-cta {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 8, 20, 0.45);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.game-card--live:hover .card-hover-cta {
  opacity: 1;
}

.hover-play-btn {
  padding: 10px 20px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #fbbf24, #ea580c);
  color: #0f172a;
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.7);
}

/* Upcoming Game Art Placeholders */
.media-gradient--orbit {
  background: radial-gradient(circle at 50% 50%, #1e1b4b 0%, #090d1e 85%);
}
.media-gradient--smash {
  background: radial-gradient(circle at 50% 50%, #3b1219 0%, #090d1e 85%);
}
.media-gradient--drift {
  background: radial-gradient(circle at 50% 50%, #2e1065 0%, #090d1e 85%);
}
.media-gradient--laser {
  background: radial-gradient(circle at 50% 50%, #064e3b 0%, #090d1e 85%);
}
.media-gradient--wave {
  background: radial-gradient(circle at 50% 50%, #0c4a6e 0%, #090d1e 85%);
}

.upcoming-art {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.art-icon {
  font-size: 54px;
  z-index: 2;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.25));
}

.art-ring {
  position: absolute;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  animation: spinSlow 18s linear infinite;
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

.game-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

.game-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.game-card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 18.5px;
  font-weight: 800;
  color: #ffffff;
}

.game-card-title a {
  color: inherit;
  text-decoration: none;
}

.game-rating {
  color: #fde047;
  font-size: 13px;
  font-weight: 700;
}

.game-rating small {
  color: #94a3b8;
  font-weight: 500;
}

.game-eta {
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(148, 163, 184, 0.14);
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 600;
}

.game-card-summary {
  font-size: 13.5px;
  color: #cbd5e1;
  margin-bottom: 14px;
  flex: 1;
}

.game-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin-bottom: 18px;
}

.game-feature-list li {
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 500;
}

.game-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-launch-game {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 11px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-launch-game:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(234, 88, 12, 0.55);
}

.btn-open-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #e2e8f0;
  font-size: 16px;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.btn-open-new:hover {
  border-color: #fbbf24;
  color: #fde047;
}

.btn-notify-game {
  width: 100%;
  padding: 10px 16px;
  border-radius: 11px;
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-notify-game:hover {
  background: rgba(51, 65, 85, 0.85);
  border-color: rgba(251, 191, 36, 0.45);
  color: #fef08a;
}

.games-empty-msg {
  padding: 36px;
  text-align: center;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px dashed rgba(148, 163, 184, 0.25);
  color: #cbd5e1;
}

/* Spotlight Section */
.spotlight-section {
  padding: 40px 0 72px;
}

.spotlight-box {
  padding: 40px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(30, 27, 75, 0.55));
  border: 1px solid rgba(251, 191, 36, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.spotlight-lead {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 820px;
  margin-bottom: 28px;
}

.spotlight-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.spot-feat {
  padding: 18px;
  border-radius: 14px;
  background: rgba(5, 8, 20, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.spot-feat h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: #fde68a;
  margin-bottom: 6px;
}

.spot-feat p {
  font-size: 13.5px;
  color: #cbd5e1;
}

/* Categories Section */
.categories-section {
  padding: 64px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.cat-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.16);
  text-decoration: none;
  color: #e2e8f0;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(251, 191, 36, 0.55);
}

.cat-card-ico {
  font-size: 32px;
  margin-bottom: 12px;
}

.cat-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.cat-card p {
  font-size: 13.5px;
  color: #94a3b8;
  flex: 1;
  margin-bottom: 14px;
}

.cat-card-link {
  font-size: 13px;
  font-weight: 700;
  color: #fbbf24;
}

/* Why Section */
.why-section {
  padding: 64px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.why-card {
  padding: 26px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.why-ico {
  font-size: 30px;
  margin-bottom: 12px;
}

.why-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14px;
  color: #94a3b8;
}

/* FAQ Section */
.faq-section {
  padding: 64px 0 80px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.faq-container {
  max-width: 860px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.faq-item {
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.18);
  padding: 16px 20px;
}

.faq-item summary {
  font-size: 15.5px;
  font-weight: 700;
  color: #f8fafc;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: #fbbf24;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin-top: 10px;
  font-size: 14px;
  color: #cbd5e1;
}

.faq-item a {
  color: #fbbf24;
  text-decoration: underline;
}

/* Footer */
.site-footer {
  padding: 56px 0 36px;
  background: rgba(3, 5, 13, 0.94);
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-desc {
  margin-top: 12px;
  font-size: 13.5px;
  color: #94a3b8;
  max-width: 380px;
}

.footer-nav h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #fde68a;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  color: #94a3b8;
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 13px;
  color: #64748b;
  text-align: center;
}

.footer-bottom a {
  color: #fbbf24;
  text-decoration: none;
}

/* Portal Toast */
.portal-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  z-index: 150;
  padding: 10px 20px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: #fef08a;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.portal-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding: 40px 0 48px;
  }
  .spotlight-box {
    padding: 24px 18px;
  }
  .games-grid {
    grid-template-columns: 1fr;
  }
}
