/* ─────────────────────────────────────────────────────────
   FENNEXT G — Gaming Sub-Brand (dark theme)
   Tokens: Bold Teal + Signal Gold on Deep Navy/Black
   Fonts: Sora (Headings) · Inter (Body)
   ───────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  --teal-300: #51f2df;
  --teal-400: #1edecb;
  --teal-500: #06c2b1;
  --gold-400: #ffde11;
  --navy-900: #2d3651;
  --navy-950: #1a1f30;
  --ink: #0c0f17;
  --ink-2: #131826;
  --line: rgba(255,255,255,0.1);
  --txt: #e8ecf4;
  --txt-dim: #8b95a5;
  --h: 'Sora', ui-sans-serif, system-ui, sans-serif;
  --b: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--b);
  background: var(--ink);
  color: var(--txt);
  font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--h); }
button { font-family: var(--b); }
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* ── HEADER ──────────────────────────────────── */
.announce {
  background: #000; color: var(--txt-dim);
  text-align: center; font-size: 13px; padding: 9px 40px; letter-spacing: 0.02em;
}
.announce a { color: var(--teal-400); }
.header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(12,15,23,0.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { max-width: 1400px; margin: 0 auto; height: 70px; padding: 0 40px; display: flex; align-items: center; gap: 36px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--h); font-weight: 800; font-size: 20px; letter-spacing: 0.08em; color: #fff; }
.logo .g {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--teal-400); color: var(--ink); font-size: 18px; font-weight: 800;
  box-shadow: 0 0 24px -2px var(--teal-500);
}
.nav { display: flex; gap: 4px; flex: 1; }
.nav a { font-size: 13px; font-weight: 600; color: var(--txt-dim); padding: 8px 14px; border-radius: 8px; transition: color 0.15s, background 0.15s; }
.nav a:hover, .nav a.active { color: #fff; background: rgba(255,255,255,0.06); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.back-link { font-size: 12px; color: var(--txt-dim); display: inline-flex; align-items: center; gap: 6px; }
.back-link:hover { color: var(--teal-400); }
.cart-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-500); color: var(--ink); font-size: 13px; font-weight: 700;
  padding: 9px 16px; border-radius: 10px;
}
.cart-pill .count { background: var(--ink); color: var(--teal-400); font-size: 11px; padding: 1px 7px; border-radius: 10px; }

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--b); font-size: 14px; font-weight: 700;
  padding: 15px 28px; border-radius: 12px; cursor: pointer; border: none;
  transition: transform 0.12s ease, box-shadow 0.15s, background 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-teal { background: var(--teal-400); color: var(--ink); box-shadow: 0 0 32px -6px var(--teal-500); }
.btn-teal:hover { background: var(--teal-300); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--teal-400); color: var(--teal-400); }
.btn-lg { padding: 17px 34px; font-size: 15px; }

/* ── HERO ────────────────────────────────────── */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 75% 10%, rgba(6,194,177,0.25), transparent 50%),
              linear-gradient(180deg, rgba(12,15,23,0.5) 0%, var(--ink) 95%);
}
.hero__inner { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; padding: 110px 40px 120px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: rgba(255,255,255,0.04);
  padding: 7px 14px; border-radius: 100px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--teal-300); margin-bottom: 24px;
}
.hero h1 { font-size: clamp(44px, 7vw, 92px); font-weight: 800; line-height: 1.0; letter-spacing: -0.03em; color: #fff; max-width: 14ch; margin-bottom: 22px; }
.hero h1 .hl { color: var(--teal-400); text-shadow: 0 0 40px rgba(6,194,177,0.5); }
.hero p { font-size: 18px; color: var(--txt-dim); max-width: 50ch; margin-bottom: 36px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── SECTION ─────────────────────────────────── */
.section { padding: 90px 0; }
.section-head { margin-bottom: 44px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-400); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 3.5vw, 46px); font-weight: 800; letter-spacing: -0.02em; color: #fff; line-height: 1.1; }
.section-head p { font-size: 16px; color: var(--txt-dim); max-width: 56ch; margin-top: 12px; }

/* ── CATEGORY GRID ───────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px;
  padding: 26px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden; transition: transform 0.15s ease, border-color 0.15s;
}
.cat:hover { transform: translateY(-4px); border-color: var(--teal-500); }
.cat::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(6,194,177,0.18), transparent 70%); pointer-events: none;
}
.cat__icon { font-size: 36px; }
.cat h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.cat p { font-size: 13px; color: var(--txt-dim); line-height: 1.5; }
.cat__arrow { font-size: 13px; font-weight: 700; color: var(--teal-400); margin-top: 14px; }

/* ── PRODUCTS ────────────────────────────────── */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prod { background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform 0.15s ease, border-color 0.15s; }
.prod:hover { transform: translateY(-4px); border-color: var(--teal-500); }
.prod__img { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 56px; position: relative; }
.prod__img.g1 { background: radial-gradient(circle at 50% 40%, rgba(6,194,177,0.35), var(--ink-2)); }
.prod__img.g2 { background: radial-gradient(circle at 50% 40%, rgba(255,222,17,0.22), var(--ink-2)); }
.prod__img.g3 { background: radial-gradient(circle at 50% 40%, rgba(86,108,167,0.4), var(--ink-2)); }
.prod__img.g4 { background: radial-gradient(circle at 50% 40%, rgba(81,242,223,0.25), var(--ink-2)); }
.prod__badge { position: absolute; top: 12px; left: 12px; background: var(--teal-400); color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: 0.04em; padding: 4px 9px; border-radius: 7px; }
.prod__body { padding: 16px; }
.prod__cat { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-400); margin-bottom: 6px; }
.prod h3 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.prod__foot { display: flex; align-items: center; justify-content: space-between; }
.prod__price { font-size: 17px; font-weight: 700; color: #fff; }
.prod__add { width: 36px; height: 36px; border-radius: 10px; border: none; cursor: pointer; background: rgba(6,194,177,0.15); color: var(--teal-400); font-size: 20px; display: flex; align-items: center; justify-content: center; transition: background 0.15s, color 0.15s; }
.prod__add:hover { background: var(--teal-400); color: var(--ink); }

/* ── BACK TO FENNEXT ─────────────────────────── */
.back-band {
  border: 1px solid var(--line); border-radius: 20px; padding: 32px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--ink-2);
}
.back-band h4 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.back-band p { font-size: 14px; color: var(--txt-dim); }

/* ── FOOTER ──────────────────────────────────── */
.footer { border-top: 1px solid var(--line); margin-top: 40px; }
.footer__inner { max-width: 1400px; margin: 0 auto; padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 13px; color: var(--txt-dim); flex-wrap: wrap; }
.footer .logo { font-size: 16px; }
.footer .logo .g { width: 24px; height: 24px; font-size: 14px; }
.footer a:hover { color: var(--teal-400); }

@media (max-width: 980px) {
  .cat-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
}
