/* Phoenixes visual direction: Steam store inspired deep space interface.
   Palette: #101823 background, #171a21 panels, #223244 blue panels, #a4d007 green CTA, #66c0f4 cyan accent. */
:root {
  --bg: #101823;
  --bg-2: #1b2838;
  --panel: rgba(23, 26, 33, 0.9);
  --panel-2: rgba(34, 50, 68, 0.88);
  --line: rgba(102, 192, 244, 0.28);
  --text: #f2f7fb;
  --muted: #aab8c7;
  --accent: #66c0f4;
  --cta: #a4d007;
  --cta-2: #6f9500;
  --warning: #d8b55d;
  --shadow: 0 22px 55px rgba(0, 0, 0, 0.38);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 22% 0%, rgba(102, 192, 244, 0.15), transparent 28rem),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 42%, #0b1018 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 4px;
  opacity: 0.35;
  z-index: -1;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.steam-nav {
  background: rgba(23, 26, 33, 0.82);
  border: 1px solid rgba(102, 192, 244, 0.18);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.nav-link {
  color: #c7d5e0;
  transition: color 180ms ease, background 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
  background: rgba(102, 192, 244, 0.12);
}

.panel {
  background: linear-gradient(180deg, rgba(34, 50, 68, 0.9), rgba(23, 26, 33, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.soft-panel {
  background: rgba(23, 26, 33, 0.72);
  border: 1px solid rgba(102, 192, 244, 0.18);
}

.tag {
  background: rgba(103, 193, 245, 0.14);
  color: #b8e3ff;
  border: 1px solid rgba(103, 193, 245, 0.25);
}

.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(90deg, var(--cta), #8fbd08 48%, var(--cta-2));
  color: #101823;
  border: 1px solid rgba(216, 245, 96, 0.62);
  box-shadow: 0 0 0 1px rgba(164, 208, 7, 0.25), 0 16px 30px rgba(0, 0, 0, 0.32);
  font-weight: 800;
}

.cta-btn::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -45%;
  width: 40%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: shine 2.6s ease-in-out infinite;
}

.cta-btn span {
  position: relative;
  z-index: 1;
}

@keyframes shine {
  0% {
    translate: -80% 0;
  }
  100% {
    translate: 380% 0;
  }
}

.hero {
  min-height: 720px;
  background:
    linear-gradient(90deg, rgba(11, 16, 24, 0.92) 0%, rgba(16, 24, 35, 0.76) 45%, rgba(16, 24, 35, 0.28) 100%),
    var(--hero-image) center / cover no-repeat;
}

.section-kicker {
  color: var(--accent);
  letter-spacing: 0.12em;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1.18;
  font-weight: 800;
}

.feature-card,
.review-card,
.gallery-card {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.feature-card:hover,
.review-card:hover,
.gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(102, 192, 244, 0.48);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

.gallery-card img {
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-card:hover img {
  transform: scale(1.045);
  filter: brightness(1.12);
}

.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.accordion-item.is-open .accordion-body {
  grid-template-rows: 1fr;
}

.accordion-inner {
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.lightbox,
.modal {
  display: none;
}

.lightbox.is-open,
.modal.is-open {
  display: flex;
}

.table-grid td,
.table-grid th {
  border-bottom: 1px solid rgba(102, 192, 244, 0.18);
  padding: 0.85rem;
  text-align: left;
}

@media (max-width: 767px) {
  .hero {
    min-height: 760px;
  }
}
