@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@600;700;800&family=Rajdhani:wght@400;500;600;700&display=swap");

:root {
  --bg: #06080f;
  --bg-2: #070d19;
  --panel: #0c1220;
  --panel-2: #101a2e;
  --panel-3: #13213a;
  --text: #d9e7ff;
  --text-strong: #f6fbff;
  --muted: #9aaccf;
  --neon-green: #4cff8f;
  --neon-blue: #45a3ff;
  --neon-purple: #b06dff;
  --neon-cyan: #56e6ff;
  --accent-warm: #ffd27a;
  --border: #21304f;
  --border-strong: #2d4a78;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-lg: 0 18px 36px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 24px rgba(0, 0, 0, 0.26);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--text);
  font-family: "Rajdhani", "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  letter-spacing: 0.02em;
}

p {
  margin: 0;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: -3;
}

.bg-glow {
  position: fixed;
  width: 440px;
  height: 440px;
  filter: blur(96px);
  opacity: 0.22;
  pointer-events: none;
  z-index: -2;
}

.bg-glow-a {
  top: -140px;
  left: -100px;
  background: radial-gradient(circle, var(--neon-blue), transparent 70%);
}

.bg-glow-b {
  bottom: -180px;
  right: -110px;
  background: radial-gradient(circle, var(--neon-purple), transparent 70%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(8, 13, 24, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(52, 77, 120, 0.52);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
  border-radius: 8px;
}

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

.nav-link {
  border-radius: 10px;
  padding: 10px 12px;
  color: #c7d9f8;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ecf5ff;
  background: rgba(69, 163, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(69, 163, 255, 0.35);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #2d4878;
  background: linear-gradient(180deg, #0f1729, #0b1321);
  color: #d3e3ff;
  font-size: 1.2rem;
  cursor: pointer;
}

.page-main {
  padding: 26px 0 34px;
}

.page-hero {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(69, 163, 255, 0.2), transparent 56%),
    radial-gradient(circle at bottom left, rgba(176, 109, 255, 0.16), transparent 55%),
    linear-gradient(155deg, #0f1830, #091223 70%);
  padding: clamp(20px, 4vw, 34px);
  box-shadow: var(--shadow-lg);
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #9fb3d8;
  font-size: 0.92rem;
}

.breadcrumb a {
  color: #bfe3ff;
}

.eyebrow {
  margin: 0 0 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon-green);
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.08;
  text-shadow: 0 0 26px rgba(69, 163, 255, 0.2);
}

.subtitle {
  margin-top: 10px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #bfd6ff;
  letter-spacing: 0.04em;
}

.description {
  margin-top: 14px;
  max-width: 780px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(90deg, var(--neon-green), #22e7aa);
  color: #041109;
  box-shadow: 0 0 20px rgba(76, 255, 143, 0.35);
}

.btn-outline {
  border-color: #2a4167;
  background: linear-gradient(180deg, #0f1729, #0b1321);
  color: #d2e3ff;
}

.btn-outline:hover {
  border-color: var(--neon-blue);
  box-shadow: 0 0 16px rgba(69, 163, 255, 0.24);
}

.btn-small {
  margin-top: 14px;
  min-height: 40px;
  background: linear-gradient(90deg, #1f3257, #2b4a7e);
  border-color: #33548a;
  color: #dbe8ff;
}

.section {
  padding: 24px 0 8px;
}

.section h2 {
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  margin-bottom: 16px;
}

.feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.feature-card {
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-md);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.feature-card:hover {
  border-color: #3d66a5;
  transform: translateY(-3px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(176, 109, 255, 0.24), rgba(69, 163, 255, 0.18));
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.feature-card h3 {
  font-size: 1.08rem;
}

.feature-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.platform-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.platform {
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 14px 12px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #0e1526, #0b121f);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.platform:hover {
  transform: translateY(-2px);
  border-color: #4a6ea8;
  box-shadow: 0 0 16px rgba(69, 163, 255, 0.24);
}

.platform-ebay {
  box-shadow: inset 0 0 0 1px rgba(255, 128, 0, 0.35);
}

.platform-whatnot {
  box-shadow: inset 0 0 0 1px rgba(176, 109, 255, 0.35);
}

.platform-youtube {
  box-shadow: inset 0 0 0 1px rgba(255, 66, 66, 0.35);
}

.platform-facebook {
  box-shadow: inset 0 0 0 1px rgba(67, 115, 255, 0.35);
}

.platform-tiktok {
  box-shadow: inset 0 0 0 1px rgba(109, 255, 255, 0.3);
}

.platform-instagram {
  box-shadow: inset 0 0 0 1px rgba(255, 102, 176, 0.35);
}

.preview-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.preview-card {
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: linear-gradient(180deg, #0f1627, #0b1220);
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.preview-card:hover {
  transform: translateY(-2px);
  border-color: #3f62a0;
}

.preview-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #08101d;
  display: block;
}

.preview-body {
  padding: 10px;
}

.preview-title {
  font-family: "Rajdhani", "Segoe UI", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: #e8f1ff;
  margin: 0;
  line-height: 1.24;
}

.preview-meta {
  margin-top: 6px;
  color: #9fb4d8;
  font-size: 0.92rem;
}

.preview-empty {
  color: #96aacc;
  margin-top: 10px;
}

.about,
.content-panel {
  margin: 8px 0 22px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #0d1525, #09111d);
  box-shadow: var(--shadow-md);
}

.about p,
.content-panel p {
  margin: 10px 0 0;
  color: #c3d2ee;
  font-size: 1rem;
  line-height: 1.55;
}

.list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.list-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #d6e4fd;
}

.list-item::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-blue));
  box-shadow: 0 0 10px rgba(76, 255, 143, 0.35);
}

.footer {
  border-top: 1px solid var(--border);
  color: #8ca2ca;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0 36px;
}

.footer a:hover {
  color: #cfe4ff;
}

.form-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.input,
.textarea,
.select {
  width: 100%;
  background: #111a2c;
  color: #d9e7ff;
  border: 1px solid #2a4167;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.textarea {
  min-height: 150px;
  resize: vertical;
}

.muted {
  color: var(--muted);
}

/* Games page styles */
.game-hero {
  margin-bottom: 18px;
}

.hero-top {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr auto;
  align-items: end;
}

.hero-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(69, 163, 255, 0.12);
  border: 1px solid rgba(69, 163, 255, 0.34);
  color: #cde6ff;
  font-size: 0.86rem;
  font-weight: 700;
}

.filter-bar {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px;
  margin-top: 14px;
}

.inventory-section {
  margin-top: 18px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
}

.featured-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 16px;
}

.featured-pill {
  border: 1px solid #2a4167;
  border-radius: 12px;
  background: linear-gradient(160deg, #111c33, #0c1426);
  padding: 10px;
  color: #d5e4ff;
}

.featured-label {
  color: #8ab8ff;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.games-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
}

.game-card {
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  color: #d2deec;
  text-align: left;
}

.game-card:hover {
  border-color: #4a74b8;
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(69, 163, 255, 0.12);
}

.game-card-body {
  padding: 12px;
}

.game-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.74rem;
  background: #13263f;
  color: #8ed9ff;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #345a86;
  font-weight: 700;
}

.game-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 11px;
  background: radial-gradient(circle at 30% 10%, #1b2d4f 0%, #0c1220 58%);
  border: 1px solid #22385f;
}

.game-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-title {
  margin-top: 10px;
  font-size: 1.04rem;
  line-height: 1.3;
  color: var(--text-strong);
}

.game-info {
  font-size: 0.88rem;
  color: #9fbae2;
  margin-top: 4px;
}

.game-cta {
  margin-top: 10px;
  width: 100%;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid #365a90;
  background: linear-gradient(180deg, #15305a, #102646);
  color: #d8e9ff;
  font-weight: 700;
}

.detail {
  display: none;
}

.detail.show {
  display: block;
}

.detail-view {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #0f1830, #091223 72%);
  padding: clamp(16px, 3.5vw, 28px);
  box-shadow: var(--shadow-lg);
}

.detail-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(240px, 420px) 1fr;
}

.detail-main-img,
.gallery img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #2b4672;
  background: #0d1220;
}

.detail-main-img {
  cursor: zoom-in;
}

.gallery {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  margin-top: 10px;
}

.gallery img {
  cursor: zoom-in;
}

.kv {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 8px;
  margin: 6px 0;
}

.k {
  color: #9ab3d6;
}

.v {
  color: #eef5ff;
  word-break: break-word;
}

.disclaimer {
  font-size: 0.88rem;
  color: #bdd2ef;
  margin-top: 14px;
  line-height: 1.4;
  padding: 12px;
  border: 1px solid #2d4a78;
  border-radius: 10px;
  background: rgba(16, 28, 52, 0.75);
}

.related {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #2d4a78;
  border-radius: 14px;
  background: linear-gradient(180deg, #111d35, #0b1325);
}

.related h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.related-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.related-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid #2f4f81;
  background: linear-gradient(180deg, #172742, #111d34);
  color: #efefef;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.24);
}

.related-item:hover {
  border-color: #4f79bc;
}

.related-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 9px;
  border: 1px solid #375b93;
  object-fit: cover;
  background: #0f0f0f;
  margin-bottom: 8px;
}

.related-item .n {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.3;
}

.related-item .m {
  display: block;
  color: #afc3e1;
  font-size: 0.8rem;
  margin-top: 3px;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.94);
  z-index: 1100;
  padding: 22px;
}

.lightbox.show {
  display: flex;
}

.lightbox-img {
  max-width: 96vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid #334f7d;
  background: #080808;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #5a7db4;
  background: #1b2a47;
  color: #fff;
  font-size: 1.45rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 72px;
  border-radius: 9px;
  border: 1px solid #5a7db4;
  background: rgba(19, 35, 62, 0.88);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-prev {
  left: 14px;
}

.lightbox-next {
  right: 14px;
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 4vw 16px;
    background: rgba(9, 14, 26, 0.97);
    border-bottom: 1px solid rgba(52, 77, 120, 0.52);
  }

  .site-nav.open {
    display: flex;
  }

  .nav-link {
    padding: 11px 12px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero-top {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: clamp(1.7rem, 8vw, 2.5rem);
  }

  .page-main {
    padding-top: 20px;
  }

  .footer {
    gap: 8px;
    font-size: 0.92rem;
  }
}
