/* === Game IP Custom Style — Arrow Puzzle Plus === */

:root {
  --color-bg: #080818;
  --color-bg-alt: #101028;
  --color-surface: rgba(16, 16, 48, 0.82);
  --color-surface-hover: rgba(24, 24, 56, 0.92);
  --color-primary: #00e5ff;
  --color-primary-strong: #00b8d4;
  --color-primary-glow: rgba(0, 229, 255, 0.35);
  --color-secondary: #b388ff;
  --color-secondary-glow: rgba(179, 136, 255, 0.3);
  --color-accent: #ff4081;
  --color-accent-glow: rgba(255, 64, 129, 0.3);
  --color-text: #e8e8f8;
  --color-text-muted: #7880a8;
  --color-border: rgba(0, 229, 255, 0.12);
  --color-border-hover: rgba(0, 229, 255, 0.28);
  --color-success: #69f0ae;
  --color-beginner: #ffd54f;
  --color-beginner-glow: rgba(255, 213, 79, 0.3);
  --color-advanced: #00e5ff;
  --color-advanced-glow: rgba(0, 229, 255, 0.3);
  --color-analysis: #b388ff;
  --color-analysis-glow: rgba(179, 136, 255, 0.3);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 229, 255, 0.08);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 229, 255, 0.14);
  --shadow-glow: 0 0 20px rgba(0, 229, 255, 0.08);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --max-width: 1180px;
  --font-heading: 'Orbitron', 'Rajdhani', sans-serif;
  --font-body: 'Exo 2', 'Rajdhani', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* === Animations === */
@keyframes gridScroll {
  0% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 0 80px, 80px 80px, -40px 40px, 0 0, 0 0, 0 80px, 80px 80px; }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(0, 229, 255, 0.15), 0 0 20px rgba(0, 229, 255, 0.05); }
  50% { box-shadow: 0 0 16px rgba(0, 229, 255, 0.3), 0 0 40px rgba(0, 229, 255, 0.1); }
}
@keyframes floatUp {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 0.6; }
  80% { opacity: 0.3; }
  100% { transform: translateY(-180px); opacity: 0; }
}
@keyframes borderGlow {
  0%, 100% { border-color: rgba(0, 229, 255, 0.15); }
  50% { border-color: rgba(0, 229, 255, 0.35); }
}
@keyframes titleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

html { scroll-behavior: smooth; background: var(--color-bg); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.06), transparent 50%),
    radial-gradient(circle at 15% 60%, rgba(179, 136, 255, 0.04), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(255, 64, 129, 0.03), transparent 40%),
    linear-gradient(180deg, rgba(0, 229, 255, 0.02), transparent 40%),
    linear-gradient(0deg, var(--color-bg), #0c0c24 30%, var(--color-bg) 100%),
    repeating-linear-gradient(0deg, rgba(0, 229, 255, 0.03) 0px, rgba(0, 229, 255, 0.03) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(90deg, rgba(0, 229, 255, 0.025) 0px, rgba(0, 229, 255, 0.025) 1px, transparent 1px, transparent 80px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 160px, 100% 160px;
  animation: gridScroll 6s linear infinite;
}

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

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

button, input, textarea, select { font: inherit; }

main { min-height: calc(100vh - 200px); }

/* === Shell === */
.page-shell {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.page-shell--page,
.page-shell--article { padding-top: 40px; }

/* === Eyebrow === */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0;
  text-shadow: 0 0 10px var(--color-primary-glow);
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-primary);
  box-shadow: 0 0 6px var(--color-primary);
}

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

/* === Buttons === */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}

.button--primary {
  background: linear-gradient(135deg, var(--color-primary), #0097a7);
  border-color: rgba(0, 229, 255, 0.4);
  color: #080818;
  box-shadow: 0 0 20px var(--color-primary-glow);
}

.button--primary:hover {
  background: linear-gradient(135deg, #00e5ff, #00b8d4);
  border-color: rgba(0, 229, 255, 0.6);
  box-shadow: 0 0 30px var(--color-primary-glow);
}

.button--secondary {
  border-color: rgba(0, 229, 255, 0.15);
  background: rgba(16, 16, 48, 0.6);
  color: var(--color-primary);
  backdrop-filter: blur(8px);
}

.button--secondary:hover {
  border-color: rgba(0, 229, 255, 0.35);
  background: rgba(24, 24, 56, 0.8);
  box-shadow: 0 0 16px var(--color-primary-glow);
}

.button--full { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--color-primary);
}

.text-link:hover {
  color: #fff;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(8, 8, 24, 0.85);
  border-bottom: 1px solid rgba(0, 229, 255, 0.08);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
  width: min(var(--max-width), calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 18px;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.header-logo img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 0 16px var(--color-primary-glow);
}

.header-logo-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.header-logo-copy strong {
  font-size: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  text-shadow: 0 0 8px var(--color-primary-glow);
}

.header-logo-copy span { font-size: 12px; color: var(--color-text-muted); }

.header-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.header-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 600;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--color-primary);
  background: rgba(0, 229, 255, 0.08);
  box-shadow: 0 0 12px var(--color-primary-glow);
  text-shadow: 0 0 8px var(--color-primary-glow);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-family: var(--font-heading);
  color: var(--color-text);
}

/* === Footer === */
.site-footer {
  margin-top: 88px;
  padding: 48px 0 36px;
  background: #060616;
  border-top: 1px solid rgba(0, 229, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 -1px 20px rgba(0, 0, 0, 0.3);
}

.footer-inner {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 26px;
}

.footer-brand strong {
  font-family: var(--font-heading);
  color: var(--color-primary);
  text-shadow: 0 0 6px var(--color-primary-glow);
}

.footer-brand p {
  max-width: 620px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.55);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.footer-columns h3 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--color-primary);
}

.footer-columns a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-columns a:hover { color: var(--color-primary); }

.footer-copy {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* === Hero Section === */
.hero {
  position: relative;
  overflow: hidden;
}

.hero--home {
  padding: 48px 0 30px;
  background: url('images/bg1.jpg') center/cover no-repeat;
}

.hero--home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 24, 0.88) 0%, rgba(8, 8, 24, 0.78) 50%, rgba(8, 8, 24, 0.92) 100%);
  z-index: 0;
  pointer-events: none;
}

.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.track-hero,
.game-hero,
.info-hero,
.side-panel,
.status-panel,
.info-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.hero-copy {
  position: relative;
  padding: 42px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  background: linear-gradient(135deg, rgba(16, 16, 48, 0.9), rgba(10, 10, 36, 0.92));
  border-color: rgba(0, 229, 255, 0.2);
  animation: borderGlow 4s ease-in-out infinite;
}

.hero-copy::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(0, 229, 255, 0.12);
  border-radius: 6px;
  pointer-events: none;
}

.hero-copy h1,
.track-hero h1,
.game-hero h1,
.info-hero h1,
.article-header h1,
.status-panel h1 {
  margin: 18px 0 16px;
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: 1.1;
  font-weight: 800;
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(38px, 4.5vw, 56px);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-accent) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleShimmer 4s ease infinite;
}

.hero-copy p,
.track-hero p,
.game-hero p,
.info-hero p,
.status-panel p {
  max-width: 60ch;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 15px;
}

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

/* Hero panel (dark metric cards) */
.hero-panel {
  position: relative;
  padding: 28px;
  display: grid;
  gap: 16px;
  align-content: start;
  background: linear-gradient(180deg, rgba(8, 8, 24, 0.95), rgba(16, 16, 42, 0.94));
  border-color: rgba(179, 136, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
}

.hero-panel__metric {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-panel__metric strong {
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1;
  color: var(--color-primary);
  text-shadow: 0 0 10px var(--color-primary-glow);
}

.hero-panel__metric span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.hero-panel__path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.hero-panel__path span,
.track-progress span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.15);
}

.hero-panel__path span:nth-child(2),
.track-progress span:nth-child(2) {
  background: rgba(0, 229, 255, 0.35);
}

.hero-panel__path span:nth-child(3),
.track-progress span:nth-child(3) {
  background: rgba(0, 229, 255, 0.55);
}

.hero-panel__path span:nth-child(4),
.track-progress span:nth-child(4) {
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary-glow);
}

/* Hero background decoration */
.hero__board {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background:
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 86px 86px;
  z-index: 0;
}

.hero__node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.12);
  border: 2px solid rgba(0, 229, 255, 0.25);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.2);
}

.hero__node:nth-child(1) { top: 120px; left: 22%; }
.hero__node:nth-child(2) { top: 268px; right: 24%; }
.hero__node:nth-child(3) { bottom: 72px; left: 48%; }

.hero__arrow {
  position: absolute;
  width: 180px;
  height: 24px;
  border-top: 2px solid rgba(0, 229, 255, 0.12);
}

.hero__arrow::after {
  content: '';
  position: absolute;
  top: -9px;
  right: -1px;
  width: 18px;
  height: 18px;
  border-top: 2px solid rgba(0, 229, 255, 0.12);
  border-right: 2px solid rgba(0, 229, 255, 0.12);
  transform: rotate(45deg);
}

.hero__arrow--one { top: 132px; left: 23%; transform: rotate(18deg); }
.hero__arrow--two { top: 270px; left: 50%; transform: rotate(-22deg); }
.hero__arrow--three { bottom: 88px; left: 34%; transform: rotate(8deg); }

/* === Content Bands === */
.content-band {
  padding: 26px 0;
}

.content-band--accent {
  position: relative;
}

.content-band--accent::before {
  content: '';
  position: absolute;
  inset: 22px 0 18px;
  border-top: 1px solid rgba(0, 229, 255, 0.06);
  border-bottom: 1px solid rgba(0, 229, 255, 0.06);
  background: linear-gradient(180deg, rgba(16, 16, 48, 0.85), rgba(16, 16, 48, 0.9)), url('images/bg3.jpg') center/cover no-repeat;
}

.content-band--accent > * { position: relative; }

.content-band--flush { padding-top: 8px; }

/* === Section Headings === */
.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 12px 0 10px;
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.12;
  font-weight: 700;
}

.section-heading p {
  margin: 0;
  color: var(--color-text-muted);
}

.page-shell--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

/* === Category Cards === */
.category-grid,
.article-grid,
.info-grid,
.game-feature-grid,
.footer-columns { align-items: stretch; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.category-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  padding: 24px;
  min-height: 220px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-card:hover,
.article-card:hover,
.mini-list__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), 0 0 24px rgba(0, 229, 255, 0.06);
  border-color: var(--color-border-hover);
}

.category-card:hover {
  box-shadow: var(--shadow-md), 0 0 30px var(--color-primary-glow);
  border-color: var(--color-primary);
}

.category-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 28px;
  background: rgba(0, 229, 255, 0.06);
  color: var(--color-primary);
}

.category-card__body { display: grid; gap: 8px; }

.category-card__topline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-family: var(--font-heading);
}

.category-card__body h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.18;
  font-weight: 700;
}

.category-card__body p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

.category-card__rail {
  display: grid;
  align-content: center;
  gap: 10px;
}

.category-card__rail span {
  display: block;
  width: 6px;
  height: 42px;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.12);
}

/* === Tone colors === */
.tone-beginner { --tone-color: var(--color-beginner); }
.tone-advanced { --tone-color: var(--color-advanced); }
.tone-analysis { --tone-color: var(--color-analysis); }

.tone-beginner .category-card__icon,
.tone-beginner.track-hero,
.tone-beginner.article-header {
  background-image: linear-gradient(145deg, rgba(255, 213, 79, 0.08), rgba(16, 16, 48, 0.85));
  border-color: rgba(255, 213, 79, 0.18);
}

.tone-advanced .category-card__icon,
.tone-advanced.track-hero,
.tone-advanced.article-header {
  background-image: linear-gradient(145deg, rgba(0, 229, 255, 0.08), rgba(16, 16, 48, 0.85));
  border-color: rgba(0, 229, 255, 0.18);
}

.tone-analysis .category-card__icon,
.tone-analysis.track-hero,
.tone-analysis.article-header {
  background-image: linear-gradient(145deg, rgba(179, 136, 255, 0.08), rgba(16, 16, 48, 0.85));
  border-color: rgba(179, 136, 255, 0.18);
}

.tone-beginner .category-card__rail span,
.tone-beginner .tag-chip {
  background: rgba(255, 213, 79, 0.14);
  color: #ffd54f;
  border: 1px solid rgba(255, 213, 79, 0.2);
}

.tone-advanced .category-card__rail span,
.tone-advanced .tag-chip {
  background: rgba(0, 229, 255, 0.12);
  color: #00e5ff;
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.tone-analysis .category-card__rail span,
.tone-analysis .tag-chip {
  background: rgba(179, 136, 255, 0.12);
  color: #b388ff;
  border: 1px solid rgba(179, 136, 255, 0.2);
}

/* === Article Cards === */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.article-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 280px;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.article-card--compact { min-height: 250px; }

.article-card__top { display: grid; gap: 10px; }

.article-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.28;
  font-weight: 700;
}

.article-card h3 a { color: var(--color-text); }

.article-card h3 a:hover { color: var(--color-primary); }

.article-card__excerpt {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--color-text-muted);
  font-size: 12px;
}

.article-card__meta span,
.contact-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* === Tags === */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

.tag-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-family: var(--font-heading);
  font-weight: 600;
  background: rgba(0, 229, 255, 0.08);
  color: var(--color-primary);
  border: 1px solid rgba(0, 229, 255, 0.12);
}

/* === Side Panel === */
.side-panel {
  padding: 24px;
}

.side-panel h2,
.side-panel h3,
.info-panel h2,
.article-body h2,
.article-body h3,
.page-shell--page h2 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-text);
  font-weight: 700;
}

.side-panel h2,
.side-panel h3,
.info-panel h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.side-panel p,
.info-panel p,
.info-panel li,
.page-shell--page p,
.page-shell--page li { color: var(--color-text-muted); }

.side-panel--sticky {
  position: sticky;
  top: 98px;
}

.side-panel--solid {
  background: linear-gradient(180deg, rgba(8, 8, 24, 0.96), rgba(16, 16, 42, 0.94));
  border-color: rgba(0, 229, 255, 0.15);
  color: rgba(255, 255, 255, 0.88);
}

.side-panel--solid h2,
.side-panel--solid li,
.side-panel--solid span,
.side-panel--solid p { color: inherit; }

/* === Feature List === */
.feature-list,
.page-shell--page ul,
.info-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14px;
}

.feature-list i { margin-top: 3px; color: var(--color-primary); }

/* === Track Hero === */
.track-hero,
.game-hero,
.info-hero,
.status-panel {
  padding: 30px;
}

.track-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  overflow: hidden;
}

.track-hero::after {
  content: '';
  position: absolute;
  inset: auto 24px 24px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 229, 255, 0.1);
}

.track-hero__copy { max-width: 680px; }

.track-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 14px;
}

.track-hero__stats div,
.game-feature-grid div {
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.track-hero__stats strong,
.game-feature-grid strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--color-primary);
}

.track-hero__stats span,
.game-feature-grid span {
  display: block;
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 12px;
}

.track-progress {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

/* === Filter Bar === */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 8px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  font-family: var(--font-heading);
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.filter-chip:hover,
.filter-chip.active {
  color: var(--color-primary);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 0 16px var(--color-primary-glow);
}

/* === Breadcrumbs === */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--color-text-muted);
  font-size: 13px;
  font-family: var(--font-heading);
}

.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-primary); }

/* === Article Layout === */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.article-main { min-width: 0; }

.article-header {
  padding: 30px;
  margin-bottom: 24px;
}

.article-header__intro {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.article-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--color-text-muted);
  font-size: 13px;
}

.article-header__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.article-body { padding: 0 2px; }

.article-body h2 {
  margin: 38px 0 14px;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
}

.article-body h3 {
  margin: 28px 0 12px;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote { margin: 0 0 18px; }

.article-body ul,
.article-body ol { padding-left: 24px; }

.article-body li { margin-bottom: 8px; }

.article-body blockquote {
  padding: 18px 20px;
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(0, 229, 255, 0.04);
  color: var(--color-text);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.06);
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--color-border);
}

.article-nav__link {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.article-nav__link--next { text-align: right; }

.article-nav__link:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
}

.article-nav__link span {
  font-size: 11px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
}

.article-nav__link strong {
  font-size: 14px;
  line-height: 1.4;
  color: var(--color-text);
}

/* === Mini List === */
.mini-list { display: grid; gap: 12px; }

.mini-list__item {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mini-list__label {
  font-size: 11px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
}

.mini-list__item strong {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

/* === Game Page === */
.game-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 26px;
  align-items: center;
  background: url('images/bg4.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.game-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 8, 24, 0.85) 0%, rgba(8, 8, 24, 0.7) 50%, rgba(8, 8, 24, 0.9) 100%);
  z-index: 0;
  pointer-events: none;
}

.game-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.game-frame-wrap {
  display: flex;
  justify-content: center;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #060618, rgba(16, 16, 42, 0.94));
  border: 1px solid rgba(0, 229, 255, 0.12);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.08), inset 0 0 30px rgba(0, 229, 255, 0.04);
  position: relative;
  z-index: 1;
}

.game-frame {
  width: min(100%, 420px);
  aspect-ratio: 9 / 16;
  border: none;
  border-radius: 8px;
  background: #080818;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.1);
}

.game-hero__copy {
  position: relative;
  z-index: 1;
}

/* === Info Pages (About / Privacy) === */
.info-hero { margin-bottom: 24px; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-grid--single { grid-template-columns: minmax(0, 1fr); }

.info-panel {
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.info-panel:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
}

.info-panel--rich { max-width: 880px; }

.info-panel--rich h2 + p { margin-top: 0; }

.contact-line {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
}

/* === Status / Error Panel === */
.status-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.status-panel__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 64, 129, 0.1);
  border: 1px solid rgba(255, 64, 129, 0.2);
  color: var(--color-accent);
  font-size: 24px;
}


/* === Screenshot Showcase === */
.screenshot-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 229, 255, 0.2);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.1), inset 0 0 20px rgba(0, 229, 255, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-showcase:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.2), inset 0 0 30px rgba(0, 229, 255, 0.06);
}

.screenshot-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--radius-lg) - 1px);
  transition: transform 0.4s ease;
}

.screenshot-showcase:hover img {
  transform: scale(1.03);
}

.screenshot-slider {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.screenshot-slider .screenshot-showcase {
  aspect-ratio: 16 / 10;
}

.hero-screenshots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  grid-column: 1 / -1;
  margin-top: 8px;
}

.hero-screenshots .screenshot-showcase {
  aspect-ratio: 4 / 3;
}

/* === Responsive: 1100px === */
@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .header-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: var(--radius-lg);
    background: rgba(8, 8, 24, 0.96);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(20px);
  }

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

  .hero__content,
  .page-shell--split,
  .article-layout,
  .game-hero,
  .info-grid { grid-template-columns: 1fr; }

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

  .track-hero,
  .game-feature-grid { grid-template-columns: 1fr; }
  .screenshot-slider { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-screenshots { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .track-hero__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .side-panel--sticky { position: static; }
}

/* === Responsive: 768px === */
@media (max-width: 768px) {
  .page-shell,
  .header-inner,
  .footer-inner {
    width: min(var(--max-width), calc(100% - 24px));
  }

  .hero-copy,
  .hero-panel,
  .track-hero,
  .game-hero,
  .info-hero,
  .side-panel,
  .status-panel,
  .info-panel,
  .article-header { padding: 22px; }

  .hero-copy { min-height: auto; }

  .hero-copy h1 { font-size: 32px; }

  .section-heading h2,
  .article-body h2,
  .page-shell--page h1,
  .track-hero h1,
  .game-hero h1,
  .info-hero h1,
  .article-header h1 { font-size: 26px; }

  .category-card { grid-template-columns: 1fr; }

  .category-card__rail {
    grid-auto-flow: column;
    justify-content: start;
  }

  .category-card__rail span { width: 42px; height: 6px; }

  .article-grid,
  .footer-columns,
  .screenshot-slider,
  .track-hero__stats,
  .article-nav { grid-template-columns: 1fr; }

  .hero-screenshots { grid-template-columns: 1fr; }
  .article-header__intro { font-size: 15px; }

  .status-panel { grid-template-columns: 1fr; }
}
