/* Visual direction: Steam store hardcore — deep space blue-gray #1B2838, cold link blue #66C0F4, saturated green CTA #5C7E10 */
:root {
  --bg: #1b2838;
  --bg-deep: #171a21;
  --bg-panel: #1e2329;
  --bg-card: #2a475e;
  --bg-card-hover: #3d6a8a;
  --line: rgba(255, 255, 255, 0.08);
  --text: #c7d5e0;
  --text-bright: #ffffff;
  --muted: #8f98a0;
  --accent: #66c0f4;
  --accent-soft: rgba(102, 192, 244, 0.15);
  --green: #5c7e10;
  --green-bright: #beee11;
  --green-hover: #6b8e23;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  --nav-h: 64px;
  --font: "Noto Sans SC", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(102, 192, 244, 0.12), transparent 55%),
    linear-gradient(180deg, #1b2838 0%, #171a21 40%, #1b2838 100%);
  min-height: 100vh;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--text-bright);
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Nav */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(23, 26, 33, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-bright);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(102, 192, 244, 0.35);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent);
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  color: var(--text-bright);
  border-radius: 3px;
  cursor: pointer;
  font-family: inherit;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line);
}

.mobile-nav.is-open {
  display: flex;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .menu-btn {
    display: none;
  }
  .mobile-nav,
  .mobile-nav.is-open {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary,
.shine-button {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #75b022 0%, #5c7e10 100%);
  color: var(--text-bright) !important;
  box-shadow: 0 0 0 1px rgba(190, 238, 17, 0.25), 0 8px 24px rgba(92, 126, 16, 0.35);
}

.btn-primary:hover,
.shine-button:hover {
  background: linear-gradient(180deg, #8ed12a 0%, #6b8e23 100%);
  color: var(--text-bright) !important;
}

.shine-button::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -35%;
  width: 30%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: shine 2.8s linear infinite;
}

@keyframes shine {
  0% {
    left: -40%;
  }
  55%,
  100% {
    left: 130%;
  }
}

.btn-secondary {
  background: rgba(102, 192, 244, 0.12);
  color: var(--accent) !important;
  border: 1px solid rgba(102, 192, 244, 0.45);
}

.btn-secondary:hover {
  background: rgba(102, 192, 244, 0.22);
  color: var(--text-bright) !important;
}

.btn-lg {
  min-height: 56px;
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

/* Hero — Steam dual column */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 1.5rem) 0 1.25rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(23, 26, 33, 0.96) 0%, rgba(27, 40, 56, 0.88) 42%, rgba(27, 40, 56, 0.55) 70%, rgba(27, 40, 56, 0.35) 100%),
    var(--hero-image) center/cover no-repeat;
  transform: scale(1.02);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.06) translate3d(-1.5%, -1%, 0);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: rgba(102, 192, 244, 0.12);
  border: 1px solid rgba(102, 192, 244, 0.35);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 2px;
  animation: fadeUp 0.7s ease both;
}

.hero h1 {
  margin: 1rem 0 0;
  color: var(--text-bright);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
  font-weight: 900;
  animation: fadeUp 0.8s ease 0.08s both;
}

.hero h1 span {
  display: block;
  margin-top: 0.35rem;
  color: var(--accent);
  font-size: 0.55em;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-lead {
  margin: 1rem 0 0;
  max-width: 36rem;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.75;
  animation: fadeUp 0.8s ease 0.16s both;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
  animation: fadeUp 0.8s ease 0.24s both;
}

@media (min-width: 640px) {
  .metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.metric {
  padding: 0.9rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.metric b {
  display: block;
  color: var(--green-bright);
  font-size: 1.35rem;
  line-height: 1.2;
}

.metric span {
  color: var(--muted);
  font-size: 0.8rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  animation: fadeUp 0.8s ease 0.32s both;
}

.hero-media {
  position: relative;
  border: 1px solid rgba(102, 192, 244, 0.25);
  box-shadow: var(--shadow);
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  animation: fadeUp 0.9s ease 0.2s both;
}

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

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

/* Sections */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: rgba(0, 0, 0, 0.18);
  border-block: 1px solid var(--line);
}

.section-head {
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0;
  color: var(--text-bright);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.section-head p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  max-width: 40rem;
}

/* Info grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}

.hero-aside {
  display: grid;
  gap: 0.85rem;
}

.hero-panel {
  background: rgba(23, 26, 33, 0.82);
  border: 1px solid rgba(102, 192, 244, 0.22);
  border-radius: 2px;
  padding: 1rem 1.1rem;
  backdrop-filter: blur(8px);
}

.hero-panel h2 {
  margin: 0 0 0.65rem;
  color: var(--text-bright);
  font-size: 0.95rem;
  font-weight: 800;
}

.hero-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.hero-panel li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.4rem;
}

.hero-panel li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hero-panel li strong {
  color: var(--text);
  font-weight: 600;
}

.hero-panel li span {
  color: var(--accent);
  white-space: nowrap;
}

.article-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: linear-gradient(180deg, #2a475e 0%, #1e2329 100%);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.15rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  color: inherit;
}

.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(102, 192, 244, 0.4);
  box-shadow: var(--shadow);
  color: inherit;
}

.article-card .tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
}

.article-card h3 {
  margin: 0;
  color: var(--text-bright);
  font-size: 1rem;
  line-height: 1.4;
}

.article-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
  flex: 1;
}

.article-card .more {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
}

.article-body h2 {
  margin: 2rem 0 0.75rem;
  color: var(--text-bright);
  font-size: 1.35rem;
}

.article-body p,
.article-body li {
  color: var(--text);
  line-height: 1.85;
}

.article-body p {
  margin: 0 0 1rem;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
}

.article-body th,
.article-body td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.7rem;
  text-align: left;
}

.article-body th {
  background: rgba(102, 192, 244, 0.08);
  color: var(--accent);
}

.article-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0.5rem 0 1.5rem;
}

.article-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.info-item {
  background: var(--bg-panel);
  padding: 1.1rem 1rem;
}

.info-item dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.info-item dd {
  margin: 0.35rem 0 0;
  color: var(--text-bright);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Story */
.story {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto;
}

.story p {
  margin: 0 0 1.1rem;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.9;
}

/* Feature cards — Steam store style */
.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-card {
  background: linear-gradient(180deg, #2a475e 0%, #1e2329 100%);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(102, 192, 244, 0.35);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 2px;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  color: var(--text-bright);
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
  cursor: pointer;
  background: #000;
  aspect-ratio: 16 / 10;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.tab-button {
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  color: var(--text);
  border-radius: 2px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
}

.tab-button.is-active,
.tab-button:hover {
  background: var(--accent-soft);
  border-color: rgba(102, 192, 244, 0.45);
  color: var(--accent);
}

/* Download band */
.download-band {
  background: linear-gradient(135deg, #2a475e 0%, #1b2838 55%, #243447 100%);
  border: 1px solid rgba(102, 192, 244, 0.2);
  border-radius: 2px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.download-band h2 {
  margin: 0;
  color: var(--text-bright);
  font-size: 1.6rem;
}

.download-band p {
  margin: 0.6rem 0 1.25rem;
  color: var(--muted);
}

/* Timeline / updates */
.timeline {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(102, 192, 244, 0.25);
  display: grid;
  gap: 1.25rem;
}

.timeline-item {
  position: relative;
  padding: 1.1rem 1.2rem;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-1.5rem - 5px);
  top: 1.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(102, 192, 244, 0.2);
}

.timeline-item time {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
}

.timeline-item h3 {
  margin: 0.35rem 0;
  color: var(--text-bright);
  font-size: 1.05rem;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Reviews — Steam style */
.review-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.2rem;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.review-summary .rate {
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 800;
}

.review-summary .count {
  color: var(--muted);
  font-size: 0.9rem;
}

.review-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.review-card {
  background: #16202d;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.2rem;
  animation: fadeUp 0.7s ease both;
}

.review-card:nth-child(2) {
  animation-delay: 0.08s;
}

.review-card:nth-child(3) {
  animation-delay: 0.16s;
}

.stars {
  color: var(--green-bright);
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}

.review-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.7;
}

.review-card footer {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Accordion FAQ */
.accordion {
  display: grid;
  gap: 0.6rem;
}

.accordion-item {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: 0.9rem 1.1rem;
  background: transparent;
  border: none;
  color: var(--text-bright);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.accordion-mark::before {
  content: "+";
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 700;
}

.accordion-item.is-open .accordion-mark::before {
  content: "-";
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.accordion-panel-inner {
  padding: 0 1.1rem 1.1rem;
  color: var(--muted);
  line-height: 1.75;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(102, 192, 244, 0.18), transparent 55%),
    linear-gradient(180deg, #1e2329, #171a21);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.final-cta h2 {
  margin: 0;
  color: var(--text-bright);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.final-cta p {
  margin: 0.75rem auto 1.5rem;
  max-width: 32rem;
  color: var(--muted);
}

.final-cta .hint {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 0 2rem;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1.2fr;
  }
}

.site-footer h3 {
  margin: 0 0 0.75rem;
  color: var(--text-bright);
  font-size: 0.95rem;
}

.site-footer p,
.site-footer li {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
}

.footer-meta {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  display: grid;
  gap: 0.4rem;
}

/* Page hero (subpages) */
.page-hero {
  padding: calc(var(--nav-h) + 2.5rem) 0 2rem;
}

.page-hero h1 {
  margin: 0;
  color: var(--text-bright);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
}

.page-hero p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  max-width: 40rem;
}

/* Download cards */
.platform-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.platform-card {
  position: relative;
  background: linear-gradient(180deg, #2a475e, #1e2329);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.5rem;
}

.platform-card .tag {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  background: var(--green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}

.platform-card h3 {
  margin: 0 0 0.5rem;
  color: var(--text-bright);
}

.platform-card p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.step {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.2rem;
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  display: block;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.step h3 {
  margin: 0 0 0.4rem;
  color: var(--text-bright);
  font-size: 1rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.req-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .req-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.req-card {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.25rem;
}

.req-card h3 {
  margin: 0 0 0.85rem;
  color: var(--text-bright);
}

.req-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.req-card th,
.req-card td {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.req-card th {
  width: 30%;
  color: var(--muted);
  font-weight: 500;
}

.req-card td {
  color: var(--text);
}

/* Guide */
.guide-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.guide-card {
  background: linear-gradient(180deg, #2a475e, #1e2329);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 1.35rem;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.guide-card h3 {
  margin: 0 0 0.5rem;
  color: var(--text-bright);
}

.guide-card p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.guide-card .more {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.guide-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.guide-toc a {
  padding: 0.4rem 0.75rem;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  font-size: 0.85rem;
}

.guide-chapter {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.guide-chapter h2 {
  margin: 0 0 0.75rem;
  color: var(--text-bright);
  font-size: 1.25rem;
}

.guide-chapter p {
  margin: 0 0 0.85rem;
  color: var(--text);
  line-height: 1.8;
}

.guide-chapter ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.guide-chapter li {
  margin-bottom: 0.4rem;
}

/* Modals / lightbox */
.lightbox,
.guide-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.88);
}

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

.lightbox-panel,
.modal-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--bg-deep);
  border: 1px solid rgba(102, 192, 244, 0.3);
  border-radius: 2px;
  padding: 1rem;
}

.lightbox-panel img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #000;
}

.lightbox-caption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.lightbox-controls {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.lightbox-controls button,
.modal-close {
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  color: var(--text-bright);
  border-radius: 2px;
  cursor: pointer;
  font-family: inherit;
}

.modal-panel h3 {
  margin: 0 0 1rem;
  color: var(--text-bright);
}

.modal-panel table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.modal-panel th,
.modal-panel td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.65rem;
  text-align: left;
}

.modal-panel th {
  background: rgba(102, 192, 244, 0.08);
  color: var(--accent);
}

.modal-panel td {
  color: var(--text);
}

.modal-tip {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 1rem;
}

.hidden {
  display: none !important;
}

.overflow-hidden {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
