/* gamesbyigs.com — dark arcade / gold accent design system */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem;

  --radius-sm: 0.375rem; --radius-md: 0.5rem; --radius-lg: 0.75rem;
  --radius-xl: 1rem; --radius-full: 9999px;
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --content-wide: 1200px;

  --font-display: 'Clash Display', 'Arial Black', sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', sans-serif;
  --color-gold-solid: #e8af34;
}

:root, [data-theme='dark'] {
  --color-bg: #0f0e11;
  --color-surface: #16141a;
  --color-surface-2: #1c1a21;
  --color-surface-offset: #211e28;
  --color-divider: #262330;
  --color-border: #363243;
  --color-text: #e9e6ef;
  --color-text-muted: #a29daf;
  --color-text-faint: #6b6678;
  --color-gold: #e8af34;
  --color-gold-hover: #f6c85e;
  --color-gold-ink: #1a1405;
  --color-accent-soft: rgba(232, 175, 52, 0.12);
  --hero-glow: radial-gradient(ellipse 70% 90% at 75% 20%, rgba(232, 175, 52, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 80% at 15% 90%, rgba(122, 57, 187, 0.16), transparent 55%);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
}

[data-theme='light'] {
  --color-bg: #f6f4ef;
  --color-surface: #fdfcf9;
  --color-surface-2: #f1eee6;
  --color-surface-offset: #eae6db;
  --color-divider: #e0dcd1;
  --color-border: #cfc9ba;
  --color-text: #211e18;
  --color-text-muted: #6d6a60;
  --color-text-faint: #a5a196;
  --color-gold: #8a5b00;
  --color-gold-hover: #6d4700;
  --color-gold-ink: #ffffff;
  --color-accent-soft: rgba(138, 91, 0, 0.1);
  --hero-glow: radial-gradient(ellipse 70% 90% at 75% 20%, rgba(209, 153, 0, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 80% at 15% 90%, rgba(122, 57, 187, 0.08), transparent 55%);
  --shadow-md: 0 4px 14px rgba(40, 30, 5, 0.1);
  --shadow-lg: 0 14px 36px rgba(40, 30, 5, 0.14);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; scroll-behavior: smooth; scroll-padding-top: 5rem;
}
body {
  min-height: 100dvh; line-height: 1.6; font-family: var(--font-body);
  font-size: var(--text-base); color: var(--color-text); background-color: var(--color-bg);
}
img, svg { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; line-height: 1.12; }
p, li { text-wrap: pretty; }
::selection { background: rgba(232, 175, 52, 0.35); }
:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; border-radius: var(--radius-sm); }
a, button { transition: color var(--transition-interactive), background var(--transition-interactive),
  border-color var(--transition-interactive), box-shadow var(--transition-interactive),
  transform var(--transition-interactive); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
.wrap { max-width: var(--content-wide); margin-inline: auto; padding-inline: clamp(var(--space-4), 4vw, var(--space-8)); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--color-gold); color: var(--color-gold-ink);
  padding: var(--space-2) var(--space-4); z-index: 100; border-radius: 0 0 var(--radius-md) 0; }
.skip-link:focus { left: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-divider);
}
.header-inner { display: flex; align-items: center; gap: var(--space-6); height: 4.25rem; }
.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--color-text); }
.logo-mark { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; letter-spacing: 0.04em; }
.brand-name em { font-style: normal; color: var(--color-gold); font-size: 0.72em; padding-inline: 0.18em; vertical-align: 0.08em; }
.brand-sub { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-text-muted); }
.site-nav { display: flex; gap: var(--space-5); margin-inline: auto; }
.site-nav a { text-decoration: none; font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted); }
.site-nav a:hover { color: var(--color-text); }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.header-phone { display: inline-flex; align-items: center; gap: var(--space-2); text-decoration: none;
  font-weight: 700; font-size: var(--text-sm); color: var(--color-gold);
  border: 1px solid var(--color-border); border-radius: var(--radius-full); padding: 0.44rem var(--space-4); }
.header-phone:hover { border-color: var(--color-gold); background: var(--color-accent-soft); }
.theme-toggle { display: grid; place-items: center; width: 2.4rem; height: 2.4rem;
  border-radius: var(--radius-full); border: 1px solid var(--color-border); color: var(--color-text-muted); }
.theme-toggle:hover { color: var(--color-text); border-color: var(--color-text-faint); }

/* ---------- hero banners ---------- */
.hero { position: relative; background: var(--color-surface); border-bottom: 1px solid var(--color-divider); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: var(--hero-glow); pointer-events: none; }
.banner { position: relative; }
.banner[hidden] { display: none; }
.banner-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center;
  gap: clamp(var(--space-6), 4vw, var(--space-12)); padding-block: clamp(var(--space-10), 6vw, var(--space-20)); }
.eyebrow { display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--color-gold); margin-bottom: var(--space-4); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-gold); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232,175,52,.55); } 55% { box-shadow: 0 0 0 9px rgba(232,175,52,0); } }
.banner-title { font-family: var(--font-display); font-weight: 700; font-size: var(--text-3xl);
  letter-spacing: 0.01em; margin-bottom: var(--space-4); }
.banner-title.sm { font-size: var(--text-xl); line-height: 1.3; max-width: 60ch; margin-inline: auto; }
.title-gold { color: var(--color-gold); }
.banner-lede { color: var(--color-text-muted); max-width: 52ch; margin-bottom: var(--space-5); }
.banner-specs { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin-bottom: var(--space-6); }
.banner-specs li { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-text-muted); border: 1px solid var(--color-border); border-radius: var(--radius-full);
  padding: 0.3rem 0.75rem; background: var(--color-surface-2); }
.banner-ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.btn { display: inline-flex; align-items: center; gap: var(--space-2); text-decoration: none;
  font-weight: 700; font-size: var(--text-sm); border-radius: var(--radius-md); padding: 0.8rem 1.4rem; }
.btn-gold { background: var(--color-gold); color: var(--color-gold-ink); box-shadow: 0 6px 20px rgba(232, 175, 52, 0.25); }
.btn-gold:hover { background: var(--color-gold-hover); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--color-border); color: var(--color-text); }
.btn-ghost:hover { border-color: var(--color-gold); color: var(--color-gold); }
.btn-lg { font-size: var(--text-base); padding: 1rem 2rem; }
.banner-art img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); margin-inline: auto;
  max-height: 460px; width: auto; }
.banner-2-inner { padding-block: clamp(var(--space-10), 5vw, var(--space-16)); }
.banner-copy.centered { text-align: center; margin-bottom: var(--space-8); }
.banner-copy.centered .banner-ctas { justify-content: center; }
.screen-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3); align-items: end; }
.screen-strip img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--color-divider); }
.screen-strip img:nth-child(3) { transform: scale(1.06); z-index: 1; box-shadow: var(--shadow-lg); }
.hero-dots { position: relative; display: flex; justify-content: center; gap: var(--space-2); padding-bottom: var(--space-5); }
.dot { width: 26px; height: 6px; border-radius: var(--radius-full); background: var(--color-border); padding: 0; }
.dot.is-active { background: var(--color-gold); }

/* ---------- trust bar ---------- */
.trust-bar { border-bottom: 1px solid var(--color-divider); background: var(--color-bg); }
.trust-inner { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-8); justify-content: center;
  padding-block: var(--space-3); font-size: var(--text-xs); font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-muted); }

/* ---------- catalog ---------- */
.catalog { padding-block: clamp(var(--space-12), 7vw, var(--space-24)); }
.section-head { max-width: 640px; margin-bottom: var(--space-8); }
.section-head h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-2xl); margin-bottom: var(--space-3); }
.section-sub { color: var(--color-text-muted); }
.section-sub a { color: var(--color-gold); font-weight: 700; text-decoration: none; }
.section-sub a:hover { text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-8); }
.chip { font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted);
  border: 1px solid var(--color-border); border-radius: var(--radius-full); padding: 0.42rem 0.95rem; }
.chip span { color: var(--color-text-faint); font-size: var(--text-xs); margin-left: 0.25rem; }
.chip:hover { color: var(--color-text); border-color: var(--color-text-faint); }
.chip.active { background: var(--color-gold); border-color: var(--color-gold); color: var(--color-gold-ink); font-weight: 700; }
.chip.active span { color: color-mix(in oklab, var(--color-gold-ink) 65%, transparent); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--space-5); }
.card { display: flex; flex-direction: column; background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color var(--transition-interactive), transform var(--transition-interactive), box-shadow var(--transition-interactive); }
.card:hover { border-color: var(--color-border); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card.hidden { display: none; }
.card-media { position: relative; aspect-ratio: 4 / 3; background: #0c0b0e; display: grid; place-items: center; overflow: hidden; }
[data-theme='light'] .card-media { background: #14121a; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.card-badge { position: absolute; top: var(--space-3); left: var(--space-3); z-index: 2;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--color-gold-solid); color: #1a1405; border-radius: var(--radius-sm); padding: 0.2rem 0.55rem; }
.card-placeholder { display: grid; place-items: center; gap: var(--space-2); color: #6b6678; text-align: center; }
.card-placeholder span { font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.card-body { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-4); flex: 1; }
.card-name { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); }
.card-sub { font-size: var(--text-xs); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-faint); }
.card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-2); margin-top: var(--space-3); }
.price-num { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); color: var(--color-gold); white-space: nowrap; }
.price-call { font-family: var(--font-display); font-weight: 600; font-size: var(--text-base); color: var(--color-text-muted); white-space: nowrap; }
.price-note { font-size: var(--text-xs); color: var(--color-text-faint); }
.card-cta { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  margin-top: var(--space-3); text-decoration: none; font-weight: 700; font-size: var(--text-sm);
  color: var(--color-text); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 0.55rem; }
.card-cta:hover { background: var(--color-gold); border-color: var(--color-gold); color: var(--color-gold-ink); }

/* ---------- how to order ---------- */
.order { background: var(--color-surface); border-block: 1px solid var(--color-divider);
  padding-block: clamp(var(--space-12), 7vw, var(--space-24)); }
.order-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-bottom: var(--space-10); }
.step { background: var(--color-bg); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); padding: var(--space-6); }
.step-num { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: var(--radius-full);
  background: var(--color-accent-soft); color: var(--color-gold); font-family: var(--font-display);
  font-weight: 700; margin-bottom: var(--space-4); }
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); margin-bottom: var(--space-2); }
.step p { font-size: var(--text-sm); color: var(--color-text-muted); }
.step a { color: var(--color-gold); font-weight: 700; text-decoration: none; }
.step a:hover { text-decoration: underline; }
.order-cta { text-align: center; }

/* ---------- footer ---------- */
.site-footer { padding-block: clamp(var(--space-12), 6vw, var(--space-20)) var(--space-8); }
.footer-top { display: flex; justify-content: space-between; gap: var(--space-10); flex-wrap: wrap; margin-bottom: var(--space-10); }
.footer-brand { display: flex; gap: var(--space-3); align-items: center; }
.footer-brand .brand-name { font-family: var(--font-display); font-weight: 700; display: block; }
.footer-brand .brand-sub { display: block; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--color-text-muted); }
.footer-links { display: flex; gap: clamp(var(--space-8), 6vw, var(--space-20)); flex-wrap: wrap; }
.footer-links h3 { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-text-faint); margin-bottom: var(--space-3); }
.footer-links a, .footer-links span { display: block; font-size: var(--text-sm); color: var(--color-text-muted);
  text-decoration: none; margin-bottom: var(--space-2); }
.footer-links a:hover { color: var(--color-gold); }
.legal { border-top: 1px solid var(--color-divider); padding-top: var(--space-8); }
.legal h2 { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); margin-bottom: var(--space-4); }
.legal p { font-size: var(--text-sm); color: var(--color-text-muted); max-width: 90ch; margin-bottom: var(--space-3); }
.copyright { margin-top: var(--space-8); font-size: var(--text-xs); color: var(--color-text-faint); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .banner-grid { grid-template-columns: 1fr; text-align: center; }
  .banner-copy .banner-ctas, .banner-specs { justify-content: center; }
  .banner-lede { margin-inline: auto; }
  .banner-art { order: -1; }
  .banner-art img { max-height: 300px; }
  .order-steps { grid-template-columns: 1fr; }
  .screen-strip { grid-template-columns: repeat(5, 1fr); gap: var(--space-2); }
}
@media (max-width: 640px) {
  .header-phone span { display: none; }
  .header-phone { padding: 0.5rem; border-radius: var(--radius-full); }
  .screen-strip { grid-template-columns: repeat(3, 1fr); }
  .screen-strip img:nth-child(4), .screen-strip img:nth-child(5) { display: none; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--space-3); }
  .card-body { padding: var(--space-3); }
}
