/* ============================================================
   AC EVO FFB Tuner — Promotional Website Styles
   Theme: GitHub Dark + Warm Orange Accent (#F0883E)
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-dark:     #0F1117;
  --bg-panel:    #161B22;
  --bg-card:     #1C2128;
  --bg-input:    #21262D;
  --accent:      #F0883E;
  --accent-hover:#FF9D5C;
  --green:       #00E676;
  --yellow:      #FFD600;
  --text:        #E6EDF3;
  --text-dim:    #8B949E;
  --border:      #30363D;
  --blue:        #79C0FF;
  --teal:        #56D4A0;
  --lavender:    #D2A8FF;
  --salmon:      #FF7B72;

  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Code', 'Consolas', monospace;
  --max-w: 1200px;
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

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

/* ---------- Utility ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-gradient {
  background: linear-gradient(135deg, var(--accent), #FFD600);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,136,62,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-donate {
  background: rgba(255,214,0,0.1);
  color: #FFD600;
  border: 1px solid rgba(255,214,0,0.25);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-donate:hover {
  background: rgba(255,214,0,0.2);
  border-color: rgba(255,214,0,0.5);
  color: #FFD600;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,214,0,0.15);
}
.btn svg { width: 20px; height: 20px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.nav-brand img {
  width: 36px;
  height: 36px;
}
.nav-brand span.accent { color: var(--accent); }
.nav-brand span.dim { color: var(--text-dim); font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}
.nav-links a {
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }

.nav-cta .btn { padding: 8px 20px; font-size: 0.875rem; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger svg { width: 28px; height: 28px; }

/* Mobile nav */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
  }
  .nav-cta.open {
    display: block;
    position: absolute;
    top: calc(64px + var(--links-height, 200px));
    left: 0;
    right: 0;
    background: var(--bg-panel);
    padding: 0 24px 16px;
  }
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 64px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(240,136,62,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(121,192,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 560px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240,136,62,0.1);
  border: 1px solid rgba(240,136,62,0.25);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-badge svg { width: 14px; height: 14px; }

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 .line { display: block; }
.hero h1 .thin { font-weight: 300; color: var(--text-dim); }

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stat { text-align: left; }
.hero-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-wheel {
  width: 420px;
  height: 420px;
  position: relative;
  animation: float 6s ease-in-out infinite;
}
.hero-wheel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 60px rgba(240,136,62,0.2));
}
.hero-ring {
  position: absolute;
  inset: -20px;
  border: 1px solid rgba(240,136,62,0.15);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}
.hero-ring::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-content { max-width: 100%; }
  .hero-subtitle { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-wheel { width: 280px; height: 280px; margin: 0 auto; }
}

/* ---------- Section Base ---------- */
section { padding: 100px 0; position: relative; }
section:nth-child(even) { background: var(--bg-panel); }

/* ---------- Blurred Background Sections ---------- */
.bg-blur {
  background-size: cover !important;
  background-position: center !important;
  isolation: isolate;
}
.bg-blur::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  filter: blur(50px) brightness(0.4) saturate(0.5);
  z-index: -1;
}
.bg-blur::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 23, 0.7);
  z-index: -1;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- Pipeline / Features ---------- */
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.pipeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.pipeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}
.pipeline-card:hover {
  border-color: rgba(240,136,62,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.pipeline-card:hover::before { opacity: 1; }

.pipeline-card .card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 16px;
  background: rgba(240,136,62,0.1);
  color: var(--accent);
  font-size: 1.2rem;
}
.pipeline-card .card-icon svg { width: 22px; height: 22px; }
.pipeline-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.pipeline-card p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.pipeline-card .card-stage {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-dim);
  opacity: 0.5;
}

/* ---------- Equalizer Visual ---------- */
.eq-section { overflow: hidden; }
.eq-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  height: 200px;
  margin-top: 48px;
  padding: 0 20px;
}
.eq-bar {
  flex: 0 0 auto;
  width: 40px;
  background: linear-gradient(to top, var(--accent), rgba(240,136,62,0.3));
  border-radius: 4px 4px 0 0;
  position: relative;
  animation: eqBounce 2s ease-in-out infinite alternate;
}
.eq-bar:nth-child(1)  { height: 40%;  animation-delay: 0s; }
.eq-bar:nth-child(2)  { height: 55%;  animation-delay: 0.1s; }
.eq-bar:nth-child(3)  { height: 70%;  animation-delay: 0.2s; }
.eq-bar:nth-child(4)  { height: 60%;  animation-delay: 0.3s; }
.eq-bar:nth-child(5)  { height: 80%;  animation-delay: 0.15s; }
.eq-bar:nth-child(6)  { height: 50%;  animation-delay: 0.25s; }
.eq-bar:nth-child(7)  { height: 65%;  animation-delay: 0.35s; }
.eq-bar:nth-child(8)  { height: 45%;  animation-delay: 0.4s; }
.eq-bar:nth-child(9)  { height: 35%;  animation-delay: 0.2s; }
.eq-bar:nth-child(10) { height: 25%;  animation-delay: 0.3s; }

.eq-bar-label {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  white-space: nowrap;
}
@keyframes eqBounce {
  0%   { transform: scaleY(0.7); transform-origin: bottom; }
  100% { transform: scaleY(1.0); transform-origin: bottom; }
}

/* ---------- Hardware Section ---------- */
.hw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.hw-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
}
.hw-card:hover {
  border-color: rgba(240,136,62,0.3);
  transform: translateY(-3px);
}
.hw-card .hw-vendor {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.hw-card .hw-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.hw-status.active { background: rgba(0,230,118,0.1); color: var(--green); }
.hw-status.stub { background: rgba(139,148,158,0.1); color: var(--text-dim); }
.hw-status.active::before, .hw-status.stub::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.hw-status.active::before { background: var(--green); }
.hw-status.stub::before { background: var(--text-dim); }
.hw-card .hw-features {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ---------- Screenshots ---------- */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}
.screenshot-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  aspect-ratio: 16 / 10;
  cursor: pointer;
  transition: all var(--transition);
}
.screenshot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  border-color: rgba(240,136,62,0.3);
}
.screenshot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.screenshot-card:hover img { transform: scale(1.03); }
.screenshot-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(15,17,23,0.9));
  font-size: 0.875rem;
  font-weight: 600;
}

/* Placeholder for screenshots */
.screenshot-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-input);
  color: var(--text-dim);
  gap: 8px;
}
.screenshot-placeholder svg { width: 48px; height: 48px; opacity: 0.3; }
.screenshot-placeholder span { font-size: 0.8rem; opacity: 0.5; }

/* ---------- Lightbox ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-size: 2rem;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.lightbox-close:hover { opacity: 1; }

/* ---------- CTA / Download Section ---------- */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(240,136,62,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
}
.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-inner p {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-meta {
  margin-top: 32px;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.cta-meta a { color: var(--accent); }

/* ---------- Footer ---------- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
}
.footer-brand img { width: 24px; height: 24px; }
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  color: var(--text-dim);
  font-size: 0.85rem;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .footer-inner { flex-direction: column; }
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ---------- Changelog ---------- */
.changelog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.changelog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}
.changelog-card:hover {
  border-color: rgba(240,136,62,0.3);
  transform: translateY(-2px);
}
.changelog-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.changelog-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.changelog-card code {
  background: var(--bg-input);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}
.cl-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 12px;
}
.cl-badge.new { background: rgba(0,230,118,0.1); color: var(--green); }
.cl-badge.fix { background: rgba(255,123,114,0.1); color: var(--salmon); }
.cl-badge.ui { background: rgba(121,192,255,0.1); color: var(--blue); }
/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ---------- Selection ---------- */
::selection { background: rgba(240,136,62,0.3); color: var(--text); }

/* ---------- Feature highlight cards ---------- */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
}
.highlight-card:hover {
  border-color: rgba(240,136,62,0.3);
  transform: translateY(-4px);
}
.highlight-card .hl-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}
.highlight-card .hl-icon svg { width: 28px; height: 28px; }
.highlight-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.highlight-card p { font-size: 0.875rem; color: var(--text-dim); line-height: 1.6; }

@media (max-width: 768px) {
  .highlight-grid { grid-template-columns: 1fr; }
  .screenshots-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Specs table ---------- */
.specs-table {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-collapse: collapse;
}
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table td {
  padding: 12px 16px;
  font-size: 0.9rem;
}
.specs-table td:first-child {
  color: var(--text-dim);
  font-weight: 500;
  width: 40%;
}
.specs-table td:last-child {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
}

/* ---------- Multi-Game Cards ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}
.game-card:hover {
  border-color: rgba(240,136,62,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.game-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.game-name {
  font-size: 1.15rem;
  font-weight: 700;
}
.game-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 10px;
}
.game-status.active { background: rgba(0,230,118,0.1); color: var(--green); }
.game-status.beta { background: rgba(121,192,255,0.1); color: var(--blue); }
.game-card p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
}
.game-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-input);
  color: var(--text-dim);
  border: 1px solid var(--border);
}

/* ---------- Feature Detail Cards ---------- */
.feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}
.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}
.detail-card:hover {
  border-color: rgba(240,136,62,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.detail-card .detail-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 16px;
  background: rgba(240,136,62,0.1);
  font-size: 1.2rem;
}
.detail-card .detail-icon svg { width: 22px; height: 22px; }
.detail-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.detail-card p {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ---------- HF8 Haptic Pad ---------- */
.hf8-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.hf8-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
}
.hf8-card:hover {
  border-color: rgba(240,136,62,0.3);
  transform: translateY(-3px);
}
.hf8-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--accent);
}
.hf8-card ul {
  list-style: none;
  padding: 0;
}
.hf8-card ul li {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.7;
  padding: 4px 0;
  position: relative;
  padding-left: 20px;
}
.hf8-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .games-grid { grid-template-columns: 1fr; }
  .feature-detail-grid { grid-template-columns: 1fr; }
  .hf8-grid { grid-template-columns: 1fr; }
}

