/* ==========================================================================
   Top PNG Casino — shared stylesheet
   ========================================================================== */

:root {
  --maroon-950: #2c0509;
  --maroon-900: #3d0810;
  --maroon-800: #5c0e18;
  --maroon-700: #7a1220;
  --maroon-600: #9c1a2a;
  --red-600: #c81e2e;
  --red-500: #e0202f;
  --red-text: #ff5c6c;

  --gold-300: #f4d789;
  --gold-400: #eec25f;
  --gold-500: #d9a441;
  --gold-600: #b5822a;

  --cream-50: #18151a;
  --cream-100: #121014;
  --ink-900: #f3ede7;
  --ink-700: #c9bfba;
  --ink-500: #8f848a;

  --surface: #1c191e;
  --border-soft: rgba(255, 255, 255, 0.08);

  --header-h: 76px;
  --sidebar-w: 248px;

  --shadow-card: 0 10px 24px rgba(44, 5, 9, 0.10), 0 2px 6px rgba(44, 5, 9, 0.06);
  --shadow-lift: 0 18px 34px rgba(44, 5, 9, 0.18), 0 4px 10px rgba(44, 5, 9, 0.10);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: var(--cream-100);
  color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Layout shell ---------- */

.app-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: linear-gradient(180deg, var(--maroon-950), var(--maroon-900) 90%);
  border-bottom: 2px solid var(--gold-500);
  box-shadow: 0 4px 18px rgba(0,0,0,0.28);
}

.header-left { display: flex; align-items: center; gap: 14px; }

.header-title {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1.5px solid var(--gold-500);
  background: rgba(238, 194, 95, 0.08);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--gold-400);
  white-space: nowrap;
}
.header-title span { color: var(--red-500); }

.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--maroon-700);
  border: 1px solid rgba(244, 215, 137, 0.25);
  color: var(--gold-300);
  transition: transform .18s var(--ease), background .18s var(--ease);
}
.icon-btn:hover { background: var(--red-600); transform: translateY(-1px); }
.icon-btn svg { width: 18px; height: 18px; }

.menu-toggle { display: none; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo-plate {
  display: flex;
  align-items: center;
  height: 52px;
  padding: 4px 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, #fffaf0, #f4e9d0);
  border: 1px solid rgba(238, 194, 95, 0.55);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.brand-logo-img { height: 40px; width: auto; display: block; }
.brand-mark { display: flex; align-items: center; }
.brand-wordmark {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .5px;
  color: var(--gold-400);
}
.brand-wordmark span { color: var(--red-500); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .3px;
  border: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-login {
  background: transparent;
  color: var(--gold-300);
  border: 1.5px solid var(--gold-500);
}
.btn-login:hover { background: rgba(238, 194, 95, 0.12); }

.btn-register {
  background: linear-gradient(135deg, var(--red-500), var(--maroon-700));
  color: #fff5e6;
  box-shadow: 0 8px 18px rgba(200, 30, 46, 0.35);
}
.btn-register:hover { filter: brightness(1.08); box-shadow: 0 10px 22px rgba(200, 30, 46, 0.45); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-600));
  color: var(--maroon-950);
  box-shadow: 0 8px 18px rgba(181, 130, 42, 0.35);
}
.btn-gold:hover { filter: brightness(1.06); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--maroon-600);
  color: var(--gold-300);
}
.btn-outline:hover { background: rgba(238, 194, 95, 0.08); }

.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ---------- Sidebar ---------- */

.sidebar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  overflow-y: auto;
  background: linear-gradient(180deg, var(--maroon-900), var(--maroon-800) 60%, var(--maroon-700));
  z-index: 90;
  padding-bottom: 24px;
  border-right: 1px solid rgba(0,0,0,0.2);
}

.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(244,215,137,.3); border-radius: 4px; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 22px;
  color: #f1dfd1;
  font-weight: 600;
  font-size: 14.5px;
  border-left: 3px solid transparent;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .18s var(--ease), border-color .18s var(--ease), padding-left .18s var(--ease);
}
.nav-item .nav-icon {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--gold-400);
}
.nav-item .nav-icon svg { width: 20px; height: 20px; }
.nav-item:hover {
  background: rgba(224, 32, 47, 0.18);
  border-left-color: var(--gold-500);
  padding-left: 26px;
}
.nav-item.active {
  background: linear-gradient(90deg, rgba(224,32,47,0.35), rgba(224,32,47,0.05));
  border-left-color: var(--gold-400);
  color: #fff;
}
.nav-item.gold {
  background: linear-gradient(90deg, var(--gold-500), var(--gold-600));
  color: var(--maroon-950);
  margin-top: 6px;
}
.nav-item.gold .nav-icon { color: var(--maroon-950); }
.nav-item.gold:hover { filter: brightness(1.05); padding-left: 22px; }

/* ---------- Main content ---------- */

.app-main {
  margin-left: var(--sidebar-w);
  padding-top: var(--header-h);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 32px 60px;
  flex: 1;
}

.page-header {
  margin-bottom: 26px;
}
.page-eyebrow {
  color: var(--red-text);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.page-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink-900);
  margin-top: 6px;
}
.page-subtitle {
  color: var(--ink-500);
  font-size: 15px;
  margin-top: 8px;
  max-width: 640px;
  line-height: 1.6;
}

/* ---------- Hero banner ---------- */

.hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 420px;
  background: linear-gradient(120deg, var(--maroon-950) 0%, var(--maroon-800) 45%, var(--red-600) 100%);
  box-shadow: var(--shadow-lift);
}

.hero-panels {
  position: absolute;
  inset: 0;
  display: flex;
}
.hero-panel {
  flex: 1;
  position: relative;
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
  margin-left: -12%;
}
.hero-panel:first-child { margin-left: 0; clip-path: none; }
.hero-panel:nth-child(1) { background: linear-gradient(160deg, #6e1b26, #3d0810); }
.hero-panel:nth-child(2) { background: linear-gradient(160deg, #2f6a73, #123338); }
.hero-panel:nth-child(3) { background: linear-gradient(160deg, #8a1c1c, #3d0810); }
.hero-panel:nth-child(4) { background: linear-gradient(160deg, #1c1c1c, #3a3a3a); }
.hero-panel:nth-child(5) { background: linear-gradient(160deg, #6e5312, #3d2f08); }
.hero-panel:nth-child(6) { background: linear-gradient(160deg, #7a1220, #2c0509); }

.hero-suit {
  position: absolute;
  opacity: .16;
  color: #fff;
}
.hero-suit svg { width: 100%; height: 100%; }

.hero-content {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-wordmark {
  font-size: 68px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--gold-400);
  text-shadow: 0 6px 0 rgba(0,0,0,.25), 0 0 40px rgba(238,194,95,.35);
  line-height: 1;
}
.hero-wordmark span { color: var(--red-500); }
.hero-tagline {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #fff;
  text-transform: uppercase;
}
.hero-cta { margin-top: 26px; display: flex; gap: 14px; }

.hero-dots {
  position: absolute;
  bottom: 6px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 6;
}
.hero-dots button {
  width: 10px; height: 10px;
  padding: 17px;
  background-clip: content-box;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.45);
  transition: background .2s, width .2s;
}
.hero-dots button.active { background: var(--gold-400); width: 26px; border-radius: 6px; }

.hero-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  display: grid; place-items: center;
  z-index: 6;
  transition: background .18s;
}
.hero-arrow:hover { background: rgba(0,0,0,0.5); }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }
.hero-arrow svg { width: 18px; height: 18px; }

/* ---------- Section header ---------- */

.section {
  margin-top: 44px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red-600);
}
.section-controls { display: flex; align-items: center; gap: 10px; }
.round-arrow {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--border-soft);
  background: var(--surface);
  display: grid; place-items: center;
  color: var(--ink-700);
  transition: background .18s, color .18s, border-color .18s;
}
.round-arrow:hover { background: var(--maroon-800); color: #fff; border-color: var(--maroon-800); }
.round-arrow svg { width: 15px; height: 15px; }

/* ---------- Card grids ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px;
}

.game-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

.game-thumb {
  aspect-ratio: 3 / 4;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.92);
  overflow: hidden;
}
.game-thumb svg { width: 46%; height: 46%; opacity: .9; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }

.thumb-1 { background: linear-gradient(160deg, #8a1c1c, #3d0810); }
.thumb-2 { background: linear-gradient(160deg, #1f6f78, #0e2f33); }
.thumb-3 { background: linear-gradient(160deg, #6e5312, #3a2c08); }
.thumb-4 { background: linear-gradient(160deg, #2c2c2c, #050505); }
.thumb-5 { background: linear-gradient(160deg, #7a1220, #2c0509); }
.thumb-6 { background: linear-gradient(160deg, #365e2f, #12210f); }
.thumb-7 { background: linear-gradient(160deg, #4b2c6e, #1c0f2e); }
.thumb-8 { background: linear-gradient(160deg, #a3771f, #4a3308); }

.badge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.badge-hot { background: var(--red-500); color: #fff; }
.badge-new { background: var(--gold-400); color: var(--maroon-950); }

.fav-btn {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 3;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  border: none;
  color: #fff;
  display: grid; place-items: center;
  transition: background .18s, color .18s;
}
.fav-btn:hover { background: var(--red-500); }
.fav-btn svg { width: 14px; height: 14px; }

.game-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20, 4, 7, 0.55);
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.game-card:hover .game-play { opacity: 1; }
.play-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gold-400);
  color: var(--maroon-950);
  display: grid; place-items: center;
  transform: scale(.8);
  transition: transform .2s var(--ease);
}
.game-card:hover .play-btn { transform: scale(1); }
.play-btn svg { width: 20px; height: 20px; margin-left: 2px; }

.game-info {
  padding: 12px 14px 14px;
}
.game-provider {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--red-text);
  text-transform: uppercase;
  letter-spacing: .6px;
}
.game-name {
  margin-top: 3px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.view-all-row { text-align: center; margin-top: 26px; }

/* ---------- Category tiles (Casino Games page) ---------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}
.category-card {
  border-radius: 16px;
  padding: 26px 22px;
  background: linear-gradient(150deg, var(--maroon-900), var(--maroon-700));
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.category-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(238,194,95,0.16);
  display: grid; place-items: center;
  color: var(--gold-400);
  margin-bottom: 18px;
}
.category-icon svg { width: 26px; height: 26px; }
.category-card h3 { font-size: 18px; font-weight: 800; }
.category-card p { margin-top: 6px; font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.5; }
.category-count {
  margin-top: 16px;
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: var(--gold-300);
}
.category-glow {
  position: absolute; right: -30px; bottom: -30px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,32,47,0.45), transparent 70%);
}

/* ---------- Filter bar ---------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.filter-chip {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1.5px solid var(--border-soft);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-700);
  transition: background .18s, color .18s, border-color .18s;
}
.filter-chip:hover { border-color: var(--maroon-700); }
.filter-chip.active {
  background: linear-gradient(135deg, var(--maroon-800), var(--maroon-700));
  color: #fff;
  border-color: var(--maroon-800);
}

.search-row {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.search-input {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1.5px solid var(--border-soft);
}
.search-input svg { width: 17px; height: 17px; color: var(--ink-500); flex-shrink: 0; }
.search-input input {
  border: none; outline: none; width: 100%;
  font-size: 14px; background: transparent; color: var(--ink-900);
}

/* ---------- Promotions page ---------- */

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}
.promo-card {
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
  display: flex;
  flex-direction: column;
}
.promo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.promo-banner {
  height: 150px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.promo-banner svg { width: 40%; height: 40%; color: rgba(255,255,255,0.9); }
.promo-1 .promo-banner { background: linear-gradient(135deg, var(--red-600), var(--maroon-900)); }
.promo-2 .promo-banner { background: linear-gradient(135deg, var(--gold-500), #7a5a12); }
.promo-3 .promo-banner { background: linear-gradient(135deg, #1f6f78, #123338); }
.promo-4 .promo-banner { background: linear-gradient(135deg, #4b2c6e, #1c0f2e); }
.promo-5 .promo-banner { background: linear-gradient(135deg, #365e2f, #12210f); }
.promo-6 .promo-banner { background: linear-gradient(135deg, var(--maroon-700), #1c1c1c); }

.promo-ribbon {
  position: absolute; top: 14px; left: -34px;
  transform: rotate(-45deg);
  background: var(--gold-400);
  color: var(--maroon-950);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 40px;
  letter-spacing: .5px;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}

.promo-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.promo-body h3 { font-size: 18px; font-weight: 800; color: var(--ink-900); }
.promo-body p { margin-top: 8px; font-size: 13.5px; color: var(--ink-500); line-height: 1.6; flex: 1; }
.promo-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-soft);
}
.promo-code { font-size: 12px; color: var(--ink-500); }
.promo-code b { color: var(--red-text); letter-spacing: 1px; }

/* ---------- Trust strip ---------- */

.trust-strip {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.trust-item {
  background: var(--surface);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
}
.trust-item .nav-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--maroon-800), var(--maroon-700));
  color: var(--gold-400);
  flex-shrink: 0;
}
.trust-item h4 { font-size: 14.5px; font-weight: 800; }
.trust-item p { font-size: 12.5px; color: var(--ink-500); margin-top: 4px; line-height: 1.5; }

/* ---------- Platforms page ---------- */

.platforms-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.placeholder-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(217, 164, 65, 0.1);
  border: 1px dashed var(--gold-500);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--ink-700);
  line-height: 1.55;
  margin-bottom: 26px;
}
.placeholder-note strong { color: var(--gold-600); }

.sort-group { display: flex; align-items: center; gap: 8px; }
.sort-label { font-size: 12.5px; font-weight: 700; color: var(--ink-500); text-transform: uppercase; letter-spacing: .4px; }
.sort-btn {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1.5px solid var(--border-soft);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-700);
  transition: background .18s, color .18s, border-color .18s;
}
.sort-btn:hover { border-color: var(--maroon-700); }
.sort-btn.active {
  background: linear-gradient(135deg, var(--maroon-800), var(--maroon-700));
  color: #fff;
  border-color: var(--maroon-800);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.platform-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
  position: relative;
}
.platform-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.platform-sample-badge {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--gold-600);
  background: rgba(217, 164, 65, 0.14);
  padding: 4px 9px;
  border-radius: 999px;
}
.platform-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.platform-logo {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: #fff;
  flex-shrink: 0;
  font-weight: 900;
  font-size: 18px;
}
.platform-logo-framed {
  width: 54px; height: 54px;
  border-radius: 14px;
  padding: 6px;
  background: linear-gradient(180deg, #221f26, #17151a);
  border: 1.5px solid var(--gold-500);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.platform-logo-framed img { width: 100%; height: 100%; object-fit: contain; }

.platform-name { font-size: 17px; font-weight: 800; color: var(--ink-900); }
.platform-rating { display: flex; align-items: center; gap: 5px; margin-top: 3px; }
.platform-stars { display: flex; gap: 2px; color: var(--gold-500); }
.platform-stars svg { width: 13px; height: 13px; }
.platform-rating-num { font-size: 12.5px; font-weight: 700; color: var(--ink-500); }

.platform-desc { font-size: 13.5px; color: var(--ink-500); line-height: 1.6; margin-bottom: 18px; min-height: 42px; }
.platform-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px dashed var(--border-soft);
}
.platform-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--red-text);
  text-transform: uppercase;
  letter-spacing: .4px;
}

/* ---------- Article / blog ---------- */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-500);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--red-text); }
.breadcrumb .sep { opacity: .5; }

.article-header { max-width: 760px; margin: 0 auto 30px; text-align: left; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-500);
}
.article-meta .tag {
  background: var(--maroon-900);
  color: var(--gold-300);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 18px;
  padding: 36px 40px 44px;
  box-shadow: var(--shadow-card);
  line-height: 1.75;
  font-size: 15.5px;
  color: var(--ink-700);
}
.article-body p { margin-bottom: 18px; }
.article-body h2 {
  font-size: 21px;
  font-weight: 800;
  color: var(--ink-900);
  margin: 34px 0 14px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink-900);
  margin: 22px 0 10px;
}
.article-body ul { margin: 0 0 18px; padding-left: 0; }
.article-body ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red-600);
}
.article-body a { color: var(--red-text); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255,92,108,0.4); }
.article-body a:hover { text-decoration-color: var(--red-text); }

.compare-table-wrap { overflow-x: auto; margin-bottom: 22px; border-radius: 12px; border: 1px solid var(--border-soft); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th, .compare-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border-soft); }
.compare-table thead th { background: var(--maroon-900); color: var(--gold-300); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:nth-child(even) { background: var(--cream-100); }

.callout-box {
  background: linear-gradient(150deg, var(--maroon-900), var(--maroon-700));
  color: #fff;
  border-radius: 14px;
  padding: 24px 26px;
  margin: 24px 0;
}
.callout-box h3 { color: var(--gold-300); margin-top: 0; }
.callout-box ul li::before { background: var(--gold-400); }
.callout-box p, .callout-box li { color: rgba(255,255,255,0.85); }

.guide-teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.guide-teaser {
  border: 1.5px dashed var(--border-soft);
  border-radius: 14px;
  padding: 18px 20px;
  position: relative;
}
.guide-teaser .badge-soon {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--gold-400);
  background: rgba(217, 164, 65, 0.14);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.guide-teaser h4 { font-size: 14.5px; font-weight: 800; color: var(--ink-900); }
.guide-teaser p { font-size: 13px; color: var(--ink-500); margin: 6px 0 0; line-height: 1.5; }

.article-cta {
  text-align: center;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px dashed var(--border-soft);
}
.article-cta p { color: var(--ink-500); margin-bottom: 16px; }
.article-cta .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.responsible-note {
  max-width: 760px;
  margin: 22px auto 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-500);
  line-height: 1.6;
}

/* ---------- Footer ---------- */

.app-footer {
  background: linear-gradient(180deg, var(--maroon-900), var(--maroon-950));
  color: rgba(255,255,255,0.75);
  padding: 46px 32px 26px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
}
.footer-brand .brand-wordmark { color: var(--gold-400); }
.footer-brand p { margin-top: 12px; font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.55); max-width: 320px; }
.footer-col h5 {
  font-size: 12.5px; text-transform: uppercase; letter-spacing: 1px;
  color: var(--gold-300); margin-bottom: 14px;
}
.footer-col li { margin-bottom: 10px; font-size: 13.5px; }
.footer-col a:hover { color: var(--gold-300); }
.footer-bottom {
  max-width: 1280px;
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-400);
  color: var(--gold-400);
  font-weight: 800;
  font-size: 11px;
  margin-right: 8px;
}

/* ---------- Overlay (mobile sidebar) ---------- */

.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 85;
}
.sidebar-overlay.show { display: block; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-wordmark { font-size: 46px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .menu-toggle { display: grid; }
  .sidebar {
    transform: translateX(-100%);
    transition: transform .25s var(--ease);
    box-shadow: 10px 0 30px rgba(0,0,0,.3);
  }
  .sidebar.open { transform: translateX(0); }
  .app-main { margin-left: 0; }
  .page-container { padding: 22px 18px 50px; }
  .hero { height: 340px; }
  .hero-wordmark { font-size: 34px; }
  .hero-tagline { letter-spacing: 2px; font-size: 12px; }
}

@media (max-width: 600px) {
  .app-header { padding: 0 14px; }
  .brand-wordmark { font-size: 17px; }
  .header-title { font-size: 13px; letter-spacing: .5px; height: 34px; padding: 0 12px; }
  .btn { padding: 9px 14px; font-size: 12.5px; }
  .hero-cta { flex-direction: column; align-items: stretch; padding: 0 30px; }
  .footer-inner { grid-template-columns: 1fr; }
  .page-title { font-size: 24px; }
  .article-body { padding: 24px 20px 30px; font-size: 14.5px; }

  .card-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .game-info { padding: 8px 10px 10px; }
  .game-name { font-size: 12px; }
  .game-provider { font-size: 9px; }
  .badge { font-size: 9px; padding: 3px 7px; top: 7px; left: 7px; }
  .fav-btn { width: 22px; height: 22px; top: 7px; right: 7px; }
  .fav-btn svg { width: 11px; height: 11px; }
  .play-btn { width: 36px; height: 36px; }
  .play-btn svg { width: 15px; height: 15px; }

  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .category-card { padding: 16px 14px; }
  .category-icon { width: 38px; height: 38px; margin-bottom: 10px; }
  .category-icon svg { width: 19px; height: 19px; }
  .category-card h3 { font-size: 14px; }
  .category-card p { font-size: 11.5px; }

  .promo-grid { grid-template-columns: 1fr; gap: 14px; }
  .platform-grid { grid-template-columns: 1fr; gap: 14px; }

  .promo-banner { height: 100px; }
  .promo-banner svg { width: 32%; height: 32%; }
  .promo-ribbon { font-size: 10px; padding: 3px 30px; top: 10px; left: -28px; }
  .promo-body { padding: 14px 16px 16px; }
  .promo-body h3 { font-size: 15px; }
  .promo-body p { font-size: 12px; }
  .promo-meta { margin-top: 12px; padding-top: 12px; }

  .section-title { font-size: 18px; }
  .section-controls .btn-sm { padding: 7px 12px; font-size: 11.5px; }
}
