/* ============================================================
   T.O.P. Games — Global Stylesheet
   Dark premium theme · Gold accents · Playfair + DM Sans
   ============================================================ */

/* ---------- VARIABLES ---------- */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --bg-elevated: #1c1c28;
  --gold-primary: #c9a84c;
  --gold-light: #e4cc7a;
  --gold-dim: #8a7235;
  --gold-glow: rgba(201, 168, 76, 0.15);
  --text-primary: #e8e6e1;
  --text-secondary: #9a9a9a;
  --text-muted: #666;
  --border-subtle: rgba(201, 168, 76, 0.12);
  --border-gold: rgba(201, 168, 76, 0.3);
  --accent-blue: #8ab4f8;
  --accent-blue-bg: rgba(100,140,200,0.15);
  --accent-green: #81c995;
  --accent-green-bg: rgba(129,201,149,0.15);
  --accent-red: #f28b82;
  --accent-red-bg: rgba(242,139,130,0.15);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --max-width: 1280px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

/* ---------- TOPBAR ---------- */
.topbar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar-left { display: flex; gap: 24px; align-items: center; }
.topbar-left span { display: flex; align-items: center; gap: 6px; }
.topbar-left svg { width: 13px; height: 13px; stroke: var(--gold-primary); fill: none; stroke-width: 2; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.lang-switch {
  display: flex; gap: 4px;
  background: var(--bg-card); border-radius: 4px; padding: 2px;
}
.lang-switch button {
  background: none; border: none; color: var(--text-muted);
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  padding: 3px 8px; border-radius: 3px; cursor: pointer;
  transition: var(--transition); letter-spacing: 0.5px;
}
.lang-switch button.active { background: var(--gold-primary); color: var(--bg-primary); }
.topbar-social { display: flex; gap: 10px; }
.topbar-social a { color: var(--text-muted); transition: var(--transition); }
.topbar-social a:hover { color: var(--gold-primary); }
.topbar-social svg { width: 14px; height: 14px; fill: currentColor; }

/* ---------- HEADER ---------- */
.header {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky; top: 0; z-index: 100;
}
.header .container {
  display: flex; justify-content: space-between;
  align-items: center; height: 72px;
}
.logo {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 800;
  letter-spacing: 1px;
}
.logo span { color: var(--gold-primary); }

/* Nav + Mega Menu */
.main-nav { display: flex; gap: 0; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-item > a {
  font-size: 13px; font-weight: 600; color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 1.2px;
  padding: 0 16px; height: 100%;
  display: flex; align-items: center;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}
.nav-item > a:hover, .nav-item:hover > a,
.nav-item > a.active {
  color: var(--gold-primary);
  border-bottom-color: var(--gold-primary);
}
.mega-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--gold-primary);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 28px 32px; min-width: 700px;
  display: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  z-index: 200;
}
.nav-item:hover .mega-menu { display: flex; }
.mega-cols { display: flex; gap: 32px; flex: 1; }
.mega-col h4 {
  font-family: var(--font-display); font-size: 14px;
  color: var(--gold-primary); margin-bottom: 14px; letter-spacing: 0.5px;
}
.mega-col li { margin-bottom: 8px; }
.mega-col a {
  color: var(--text-secondary); font-size: 13px; transition: var(--transition);
}
.mega-col a:hover { color: var(--gold-light); padding-left: 4px; }
.mega-promo {
  width: 220px; background: var(--bg-card);
  border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border-subtle); flex-shrink: 0;
}
.mega-promo-img {
  width: 100%; height: 120px;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, #1a1830 100%);
  display: flex; align-items: center; justify-content: center; font-size: 42px;
}
.mega-promo-text { padding: 14px; }
.mega-promo-text h5 { font-family: var(--font-display); font-size: 13px; margin-bottom: 4px; }
.mega-promo-text p { font-size: 11px; color: var(--gold-dim); text-transform: uppercase; letter-spacing: 0.8px; }

.header-actions { display: flex; gap: 16px; align-items: center; }
.header-search {
  background: var(--bg-secondary); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); padding: 8px 14px;
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; transition: var(--transition);
}
.header-search:hover { border-color: var(--border-gold); }
.header-search svg { width: 16px; height: 16px; stroke: var(--text-muted); fill: none; stroke-width: 2; }
.header-search span { font-size: 12px; color: var(--text-muted); }

/* ---------- BUTTONS ---------- */
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold-primary) 0%, #b8943f 100%);
  color: var(--bg-primary); font-family: var(--font-body);
  font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 14px 28px; border: none; border-radius: var(--radius-sm);
  cursor: pointer; transition: var(--transition);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.3); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--gold-primary);
  font-family: var(--font-body); font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 14px 28px; border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition);
}
.btn-outline:hover { background: var(--gold-glow); border-color: var(--gold-primary); }
.btn-sm { padding: 10px 20px; font-size: 12px; }

/* ---------- SECTION HELPERS ---------- */
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--border-subtle); }
.section-header {
  display: flex; justify-content: space-between;
  align-items: baseline; margin-bottom: 28px;
}
.section-title {
  font-family: var(--font-display); font-size: 28px; font-weight: 700;
}
.section-title em { font-style: normal; color: var(--gold-primary); }
.section-link {
  font-size: 12px; color: var(--gold-dim); text-transform: uppercase;
  letter-spacing: 1px; font-weight: 600; transition: var(--transition);
}
.section-link:hover { color: var(--gold-primary); }
.section-intro {
  font-size: 16px; color: var(--text-secondary); line-height: 1.7;
  max-width: 640px; margin-bottom: 32px;
}

/* ---------- PAGE HERO ---------- */
.page-hero {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 30% 50%, rgba(201,168,76,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-glow); border: 1px solid var(--border-gold);
  border-radius: 100px; padding: 6px 16px;
  font-size: 11px; font-weight: 600; color: var(--gold-light);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: 42px; font-weight: 800;
  line-height: 1.15; margin-bottom: 16px;
}
.page-hero h1 em { font-style: normal; color: var(--gold-primary); }
.page-hero p {
  font-size: 16px; color: var(--text-secondary);
  line-height: 1.7; max-width: 560px;
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  padding: 14px 0; font-size: 12px; color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}
.breadcrumb a { color: var(--text-muted); transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold-primary); }
.breadcrumb span { color: var(--text-secondary); }

/* ---------- CARDS ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--transition);
}
.card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.card-img {
  height: 200px;
  background: linear-gradient(135deg, #12121f 0%, #1a1530 50%, #0f1520 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 56px; position: relative;
}
.card-body { padding: 24px; }

/* Meta tags */
.meta-tag {
  display: inline-flex; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
  padding: 4px 10px; border-radius: 4px;
}
.meta-tag.analysis { background: var(--gold-glow); color: var(--gold-primary); }
.meta-tag.game { background: var(--accent-blue-bg); color: var(--accent-blue); }
.meta-tag.guide { background: var(--accent-green-bg); color: var(--accent-green); }
.meta-tag.meta-report { background: var(--accent-red-bg); color: var(--accent-red); }
.meta-tag.combo { background: rgba(187,134,252,0.15); color: #bb86fc; }
.meta-tag.torneo { background: rgba(255,167,38,0.15); color: #ffa726; }
.meta-tags { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }

/* Read more link */
.read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--gold-primary);
  text-transform: uppercase; letter-spacing: 1px; transition: var(--transition);
}
.read-more:hover { gap: 10px; color: var(--gold-light); }

/* ---------- TRUST STRIP ---------- */
.trust-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 0;
}
.trust-items { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-icon {
  width: 44px; height: 44px;
  background: var(--gold-glow); border: 1px solid var(--border-gold);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 22px; height: 22px; stroke: var(--gold-primary); fill: none; stroke-width: 1.8; }
.trust-text strong { display: block; font-size: 14px; font-weight: 700; }
.trust-text span { font-size: 11px; color: var(--text-muted); }

/* ---------- GAMES STRIP ---------- */
.games-grid {
  display: flex; gap: 12px; overflow-x: auto;
  padding-bottom: 8px; scrollbar-width: none;
}
.games-grid::-webkit-scrollbar { display: none; }
.game-tag {
  flex-shrink: 0; background: var(--bg-card);
  border: 1px solid var(--border-subtle); border-radius: 10px;
  padding: 14px 22px; font-size: 13px; font-weight: 600;
  color: var(--text-secondary); cursor: pointer;
  transition: var(--transition); white-space: nowrap;
}
.game-tag:hover, .game-tag.active {
  background: var(--gold-glow); border-color: var(--gold-primary);
  color: var(--gold-light);
}

/* ---------- PRODUCT CARDS ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition);
}
.product-card:hover {
  border-color: var(--border-gold); transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.product-img {
  height: 180px;
  background: linear-gradient(135deg, #13131f 0%, #18182a 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 56px; position: relative;
}
.product-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; padding: 4px 8px; border-radius: 4px;
  background: var(--gold-primary); color: var(--bg-primary);
}
.product-badge.preorder { background: #4a6cf7; color: #fff; }
.product-badge.sale { background: var(--accent-red); color: #fff; }
.product-body { padding: 18px; }
.product-game {
  font-size: 10px; color: var(--gold-dim); text-transform: uppercase;
  letter-spacing: 1px; font-weight: 600; margin-bottom: 6px;
}
.product-body h4 {
  font-size: 14px; font-weight: 600; margin-bottom: 10px;
  line-height: 1.3;
}
.product-price {
  font-family: var(--font-display); font-size: 20px;
  font-weight: 700; color: var(--gold-primary);
}
.product-price .old {
  font-size: 13px; color: var(--text-muted);
  text-decoration: line-through; font-weight: 400; margin-left: 8px;
}

/* ---------- COMMUNITY ---------- */
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.community-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 28px 24px;
  text-align: center; transition: var(--transition); cursor: pointer;
}
.community-card:hover {
  border-color: var(--border-gold); transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.community-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 28px;
}
.community-icon.whatsapp { background: rgba(37,211,102,0.12); }
.community-icon.discord { background: rgba(88,101,242,0.12); }
.community-icon.telegram { background: rgba(0,136,204,0.12); }
.community-card h4 {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  margin-bottom: 6px;
}
.community-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 16px; }
.community-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--gold-primary);
  text-transform: uppercase; letter-spacing: 1px; transition: var(--transition);
}
.community-btn:hover { color: var(--gold-light); }

/* ---------- NEWSLETTER ---------- */
.newsletter-box {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border-gold); border-radius: var(--radius-xl);
  padding: 48px; display: flex; align-items: center;
  justify-content: space-between; gap: 40px;
  position: relative; overflow: hidden;
}
.newsletter-box::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.newsletter-content { position: relative; z-index: 1; flex: 1; }
.newsletter-content h3 {
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  margin-bottom: 8px;
}
.newsletter-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.newsletter-form { position: relative; z-index: 1; display: flex; gap: 10px; flex-shrink: 0; }
.newsletter-input {
  background: var(--bg-primary); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); padding: 14px 18px;
  font-family: var(--font-body); font-size: 14px; color: var(--text-primary);
  width: 280px; outline: none; transition: var(--transition);
}
.newsletter-input::placeholder { color: var(--text-muted); }
.newsletter-input:focus { border-color: var(--gold-primary); }

/* ---------- MARKETPLACE LINKS ---------- */
.marketplace-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.marketplace-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 32px;
  display: flex; align-items: center; gap: 24px; transition: var(--transition);
}
.marketplace-card:hover { border-color: var(--border-gold); transform: translateY(-2px); }
.marketplace-logo {
  width: 64px; height: 64px; background: var(--bg-elevated);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 14px;
  color: var(--gold-primary); flex-shrink: 0; border: 1px solid var(--border-subtle);
}
.marketplace-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.marketplace-info p { font-size: 13px; color: var(--text-muted); }
.marketplace-arrow {
  margin-left: auto; color: var(--gold-dim); font-size: 20px; transition: var(--transition);
}
.marketplace-card:hover .marketplace-arrow { color: var(--gold-primary); transform: translateX(4px); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand .logo { font-size: 24px; display: block; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.footer-address { font-size: 12px; color: var(--text-muted); line-height: 1.8; }
.footer h5 {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: var(--gold-primary); margin-bottom: 16px; letter-spacing: 0.5px;
}
.footer li { margin-bottom: 8px; }
.footer a { font-size: 13px; color: var(--text-muted); transition: var(--transition); }
.footer a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid var(--border-subtle); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: var(--text-muted);
}

/* ---------- ARTICLE DETAIL ---------- */
.article-layout {
  display: grid; grid-template-columns: 1fr 340px; gap: 48px;
}
.article-content h2 {
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  margin: 32px 0 16px; color: var(--text-primary);
}
.article-content h3 {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  margin: 28px 0 12px; color: var(--gold-light);
}
.article-content p {
  font-size: 15px; color: var(--text-secondary); line-height: 1.8;
  margin-bottom: 16px;
}
.article-content blockquote {
  border-left: 3px solid var(--gold-primary);
  padding: 16px 24px; margin: 24px 0;
  background: var(--gold-glow); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; color: var(--gold-light);
}
.article-sidebar .sidebar-block {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 24px; margin-bottom: 20px;
}
.article-sidebar .sidebar-block h4 {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  margin-bottom: 16px; color: var(--gold-primary);
}

/* ---------- GRIDS ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- TOURNAMENT TABLE ---------- */
.tournament-table {
  width: 100%; border-collapse: collapse;
}
.tournament-table th {
  text-align: left; font-size: 11px; text-transform: uppercase;
  letter-spacing: 1px; color: var(--gold-dim); padding: 12px 16px;
  border-bottom: 1px solid var(--border-gold);
}
.tournament-table td {
  padding: 16px; font-size: 14px; color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}
.tournament-table tr:hover td { background: var(--bg-card); }
.tournament-table .game-name { color: var(--text-primary); font-weight: 600; }
.status-badge {
  display: inline-flex; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  padding: 4px 10px; border-radius: 4px;
}
.status-badge.open { background: var(--accent-green-bg); color: var(--accent-green); }
.status-badge.closed { background: var(--accent-red-bg); color: var(--accent-red); }
.status-badge.upcoming { background: var(--accent-blue-bg); color: var(--accent-blue); }

/* ---------- CHI SIAMO SPECIFIC ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-text h2 {
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  margin-bottom: 16px;
}
.about-text h2 em { font-style: normal; color: var(--gold-primary); }
.about-text p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.about-visual {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); height: 360px;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
}
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: 28px; text-align: center;
}
.value-icon {
  font-size: 32px; margin-bottom: 14px;
}
.value-card h4 {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  margin-bottom: 8px;
}
.value-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ---------- CONTACT / MAP PLACEHOLDER ---------- */
.map-placeholder {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); height: 300px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-muted);
}

/* ---------- ANNOTATION (dev notes) ---------- */
.annotation {
  background: rgba(201,168,76,0.08);
  border-left: 3px solid var(--gold-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px; margin: 10px 0;
  font-size: 12px; color: var(--gold-dim); font-style: italic;
}
.annotation strong { color: var(--gold-primary); font-style: normal; }

/* ---------- FILTERS ---------- */
.filters { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.filter-btn {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm); padding: 8px 18px;
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  color: var(--text-secondary); cursor: pointer;
  transition: var(--transition); text-transform: uppercase; letter-spacing: 0.8px;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gold-glow); border-color: var(--gold-primary);
  color: var(--gold-light);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .product-grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .topbar-left { display: none; }
  .main-nav { display: none; }
  .page-hero h1 { font-size: 32px; }
  .section-title { font-size: 22px; }
  .product-grid, .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .marketplace-grid, .grid-2 { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .newsletter-box { flex-direction: column; padding: 32px; }
  .newsletter-input { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   WORDPRESS-SPECIFIC ADDITIONS
   ============================================================ */

/* ---------- HERO (homepage) ---------- */
.hero { position: relative; padding: 80px 0 70px; overflow: hidden; min-height: 440px; display: flex; align-items: center; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 50% at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 60%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--gold-glow); border: 1px solid var(--border-gold); border-radius: 100px; padding: 6px 16px; font-size: 11px; font-weight: 600; color: var(--gold-light); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 24px; }
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--gold-primary); border-radius: 50%; animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero h1 { font-family: var(--font-display); font-size: 48px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold-primary); }
.hero > .container > .hero-grid > div:first-child > p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.hero-cta { display: flex; gap: 14px; }
.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 22px 18px; text-align: center; transition: var(--transition); }
.stat-card:hover { border-color: var(--border-gold); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.stat-number { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--gold-primary); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }
.stat-sub { font-size: 11px; color: var(--gold-dim); margin-top: 4px; }

/* ---------- CONTENT GRID (homepage articles) ---------- */
.content-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.featured-article { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 16px; overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; color: inherit; }
.featured-article:hover { border-color: var(--border-gold); }
.featured-img { height: 200px; background: linear-gradient(135deg, #12121f 0%, #1a1530 50%, #0f1520 100%); display: flex; align-items: center; justify-content: center; font-size: 64px; overflow: hidden; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; }
.featured-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.featured-body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.featured-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.side-articles { display: flex; flex-direction: column; gap: 16px; }
.side-card { background: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 22px; flex: 1; transition: var(--transition); color: inherit; }
.side-card:hover { border-color: var(--border-gold); }
.side-card h4 { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.side-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ---------- MOBILE MENU ---------- */
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; z-index: 200; }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text-primary); margin: 5px 0; transition: var(--transition); }
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10,10,15,0.97); z-index: 150; justify-content: center; align-items: center; }
.mobile-menu.open { display: flex; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 16px; text-align: center; }
.mobile-menu nav a { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--text-primary); transition: var(--transition); }
.mobile-menu nav a:hover { color: var(--gold-primary); }

/* ---------- SEARCH OVERLAY ---------- */
.search-overlay { display: none; position: fixed; inset: 0; background: rgba(10,10,15,0.95); z-index: 300; justify-content: center; align-items: center; }
.search-overlay.open { display: flex; }
.search-overlay-inner { display: flex; gap: 12px; align-items: center; width: 90%; max-width: 600px; position: relative; }
.search-overlay-inner input { flex: 1; background: var(--bg-card); border: 1px solid var(--border-gold); border-radius: var(--radius-sm); padding: 16px 20px; font-family: var(--font-body); font-size: 16px; color: var(--text-primary); outline: none; }
.search-overlay-inner input::placeholder { color: var(--text-muted); }
.search-close { position: absolute; top: -40px; right: 0; background: none; border: none; color: var(--text-muted); font-size: 24px; cursor: pointer; }

/* ---------- HEADER CART ---------- */
.header-cart { position: relative; color: var(--text-secondary); transition: var(--transition); display: flex; align-items: center; }
.header-cart:hover { color: var(--gold-primary); }
.cart-count { position: absolute; top: -6px; right: -8px; background: var(--gold-primary); color: var(--bg-primary); font-size: 10px; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* ---------- HEADER SCROLLED ---------- */
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.3); }

/* ---------- FREE SHIPPING NOTICE ---------- */
.topgames-free-shipping-notice { background: var(--gold-glow); border: 1px solid var(--border-gold); border-radius: var(--radius-sm); padding: 12px 20px; margin-bottom: 20px; font-size: 14px; color: var(--gold-light); text-align: center; }

/* ---------- API CATALOG ---------- */
.api-toolbar { display: flex; gap: 12px; padding: 16px 20px; align-items: center; border-bottom: 1px solid var(--border-subtle); flex-wrap: wrap; background: var(--bg-card); border-radius: var(--radius-lg) var(--radius-lg) 0 0; border: 1px solid var(--border-subtle); border-bottom: none; }
.api-search { flex: 1; min-width: 200px; background: var(--bg-primary); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: 10px 14px; font-family: var(--font-body); font-size: 13px; color: var(--text-primary); outline: none; }
.api-search::placeholder { color: var(--text-muted); }
.api-filter { background: var(--bg-elevated); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: 10px 14px; font-family: var(--font-body); font-size: 12px; color: var(--text-secondary); cursor: pointer; min-width: 140px; }
.api-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1px; background: var(--border-subtle); border: 1px solid var(--border-subtle); border-radius: 0 0 var(--radius-lg) var(--radius-lg); overflow: hidden; }
.api-card { background: var(--bg-card); padding: 16px; display: flex; gap: 14px; align-items: center; transition: var(--transition); cursor: pointer; text-decoration: none; color: inherit; }
.api-card:hover { background: var(--bg-elevated); }
.api-card-img { width: 52px; height: 72px; background: var(--bg-elevated); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; border: 1px solid var(--border-subtle); overflow: hidden; }
.api-card-img img { width: 100%; height: 100%; object-fit: cover; }
.api-card-info { flex: 1; min-width: 0; }
.api-card-name { font-size: 12px; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.api-card-set { font-size: 10px; color: var(--text-muted); margin: 2px 0; }
.api-card-condition { font-size: 10px; color: var(--gold-dim); }
.api-card-price { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--gold-primary); flex-shrink: 0; }
.api-card-buy { display: block; font-size: 9px; text-align: right; color: var(--text-muted); margin-top: 4px; }
.api-loading { padding: 40px; text-align: center; color: var(--text-muted); font-size: 14px; grid-column: 1 / -1; background: var(--bg-card); }

/* ---------- RESPONSIVE mobile additions ---------- */
@media (max-width: 768px) {
  .mobile-menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 32px; }
  .content-grid { grid-template-columns: 1fr; }
}
