:root {
  --bg: #3e1254;
  --bg-soft: #55206e;
  --panel: #5f2778;
  --line: #7f3e9d;
  --text: #fff;
  --muted: #e9dff1;
  --accent: #ffc809;
  --accent-2: #e2b009;
  --ok: #8be29f;
  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 520px at 92% -2%, rgba(255, 200, 9, 0.12), transparent 58%),
    radial-gradient(900px 430px at 2% 8%, rgba(107, 24, 145, 0.34), transparent 56%),
    linear-gradient(180deg, #4c1467 0%, #3a0f4f 100%);
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(var(--maxw), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(6px);
  background: rgba(80, 17, 109, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.brand strong {
  font-family: "Bree Serif", serif;
  font-size: 1.12rem;
  letter-spacing: 0.02em;
}

.nav {
  display: none;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: 8px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
}

.nav a:hover,
.nav a.is-active {
  color: #fff;
  border-color: rgba(240, 166, 66, 0.45);
  background: rgba(240, 166, 66, 0.14);
}

.search {
  margin-left: auto;
  min-width: 230px;
  max-width: 280px;
}

.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 320px;
}

.top-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid #ffcf1f;
  background: linear-gradient(180deg, #ffe45c, #ffc809);
  color: #4a2c00;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  box-shadow:
    0 0 0 1px rgba(255, 200, 9, 0.22),
    0 8px 18px rgba(0, 0, 0, 0.28),
    0 0 16px rgba(255, 200, 9, 0.45);
  white-space: nowrap;
}

.top-cta:hover {
  filter: brightness(1.05);
}

.hero-main-cta {
  margin-top: 14px;
}

.catbar-wrap {
  position: sticky;
  top: 74px;
  z-index: 25;
  background: rgba(49, 13, 67, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.catbar-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0 10px;
}

.catbar-primary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  color: #f7e6ff;
  font-weight: 600;
}

.cat-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.cat-pill.is-active {
  background: linear-gradient(180deg, #ffe45c, #ffc809);
  border-color: #ffcf1f;
  color: #4a2c00;
  font-weight: 700;
  box-shadow:
    0 0 0 1px rgba(255, 200, 9, 0.25),
    0 6px 14px rgba(0, 0, 0, 0.24);
}

.cat-pill-cta {
  border-color: #3ecc70;
  background: linear-gradient(180deg, #31b95f, #20984a);
  color: #f5fff8;
  font-weight: 800;
  font-size: 1.03em;
  box-shadow:
    0 0 0 1px rgba(62, 204, 112, 0.35),
    0 0 14px rgba(62, 204, 112, 0.4),
    inset 0 0 10px rgba(255, 255, 255, 0.12);
}

.cat-pill-cta:hover {
  filter: brightness(1.06);
}

.cat-pill-cta.is-active {
  background: linear-gradient(180deg, #34bf63, #239e4c);
  color: #fff;
  border-color: #ffd64a;
  box-shadow:
    0 0 0 2px rgba(255, 205, 42, 0.58),
    0 0 16px rgba(62, 204, 112, 0.45),
    inset 0 0 10px rgba(255, 255, 255, 0.12);
}

.catbar-more-wrap {
  position: relative;
  margin-left: auto;
  flex-shrink: 0;
}

.catbar-more-btn {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.catbar-more-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.catbar-more-btn.is-active {
  background: linear-gradient(180deg, #ffe45c, #ffc809);
  border-color: #ffcf1f;
  color: #4a2c00;
  box-shadow:
    0 0 0 1px rgba(255, 200, 9, 0.25),
    0 6px 14px rgba(0, 0, 0, 0.24);
}

.catbar-more-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(760px, calc(100vw - 30px));
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(77, 25, 102, 0.96), rgba(52, 14, 71, 0.96)),
    rgba(49, 13, 67, 0.96);
  box-shadow: var(--shadow);
  z-index: 35;
}

.catbar-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.catbar-more-grid .cat-pill {
  justify-content: flex-start;
  min-height: 36px;
  border-radius: 10px;
}

.search input {
  width: 100%;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 999px;
  padding: 0 14px;
  font: inherit;
}

.search input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.hero {
  padding: 24px 0 14px;
}

.hero-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(130deg, rgba(255, 200, 9, 0.14), rgba(104, 25, 140, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
  min-height: 240px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

body.page-home .hero-wrap {
  min-height: clamp(280px, 30vw, 360px);
  background:
    linear-gradient(100deg, rgba(22, 10, 32, 0.84) 0%, rgba(22, 10, 32, 0.56) 46%, rgba(22, 10, 32, 0.32) 100%),
    url("/assets/category-hero/registro-bono-casino-big.webp");
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  background-position: center center, center center;
}

.hero-copy {
  padding: 30px;
}

.kicker {
  margin: 0 0 8px;
  color: #ffe58d;
  font-size: 0.96rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-family: "Bree Serif", serif;
  font-size: clamp(2rem, 3vw, 2.85rem);
  max-width: 18ch;
}

.hero-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 48ch;
}

.hero-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.hero-stats span {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.18);
  font-size: 0.94rem;
}

.hero-side {
  padding: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-panel {
  width: min(350px, 100%);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 8, 8, 0.58);
  padding: 14px;
}

.hero-panel p {
  margin: 0;
  color: #f6e8ff;
}

main {
  padding: 10px 0 30px;
}

.section {
  margin: 24px 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.section-head h2 {
  font-family: "Bree Serif", serif;
  font-size: clamp(1.5rem, 2vw, 1.95rem);
}

.section-head a {
  color: #ffd7b0;
  border-bottom: 1px dashed rgba(255, 215, 176, 0.5);
}

.home-seo-copy {
  margin-top: 34px;
}

.seo-copy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.seo-copy-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    radial-gradient(120% 120% at 0% 0%, rgba(255, 200, 9, 0.07), rgba(255, 200, 9, 0));
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
  padding: 16px 16px 14px;
}

.seo-copy-card h2 {
  font-family: "Bree Serif", serif;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.2;
  margin: 0 0 10px;
  color: #fff;
}

.seo-copy-card p {
  margin: 0 0 10px;
  color: #e4ccbb;
  line-height: 1.5;
}

.seo-copy-card p:last-child {
  margin-bottom: 0;
}

.seo-year-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-year-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 200, 9, 0.8);
  background: rgba(255, 200, 9, 0.08);
  color: #ffefb8;
  font-weight: 700;
  line-height: 1;
  box-shadow:
    inset 0 0 0 1px rgba(255, 200, 9, 0.16),
    0 0 10px rgba(255, 200, 9, 0.26);
}

.seo-year-btn:hover {
  background: rgba(255, 200, 9, 0.18);
}

.year-copy-card h2,
.year-copy-card h3 {
  font-family: "Bree Serif", serif;
  color: #fff;
  line-height: 1.2;
}

.year-copy-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
}

.year-copy-card h3 {
  margin: 12px 0 8px;
  font-size: clamp(1.12rem, 1.5vw, 1.3rem);
}

.year-copy-card p,
.year-copy-card li {
  color: #e4ccbb;
  line-height: 1.5;
}

.year-copy-card p {
  margin: 0 0 10px;
}

.year-copy-card ul {
  margin: 0 0 10px 18px;
  padding: 0;
}

.year-copy-card li {
  margin: 4px 0;
}

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

/* Reserve home card section height while JS hydrates cards to avoid CLS. */
body.page-home .grid:empty {
  min-height: 360px;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 166, 66, 0.54);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}

.card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #000;
}

/* UI LOCK (IMMUTABLE): keep square tile; show full rectangular image inside tile with black fill.
   Do not modify this block unless user explicitly asks to change card tiles. */
.card-thumb img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #000;
}

.card-body {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-title {
  font-size: 1.06rem;
  line-height: 1.12;
  min-height: 2.45em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: #452700;
  font-weight: 700;
  padding: 0 12px;
}

.btn:hover {
  filter: brightness(1.04);
}

.btn-demo {
  background: rgba(255, 200, 9, 0.06);
  color: #ffeeb8;
  border: 1px solid rgba(255, 200, 9, 0.8);
  box-shadow:
    inset 0 0 0 1px rgba(255, 200, 9, 0.14),
    0 0 10px rgba(255, 200, 9, 0.34);
}

.btn-demo:hover {
  background: rgba(255, 200, 9, 0.14);
  filter: none;
}

.category-header {
  margin: 26px 0 12px;
}

.provider-filter-wrap {
  margin: 0 0 16px;
  padding: 10px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(27, 10, 39, 0.56);
}

.provider-filter-title {
  margin: 0 0 8px;
  color: #f6e8ff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.provider-filter-track {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.provider-pill {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #f7e6ff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.provider-pill:hover {
  background: rgba(255, 255, 255, 0.16);
}

.provider-pill.is-active {
  background: linear-gradient(180deg, #ffe45c, #ffc809);
  border-color: #ffcf1f;
  color: #4a2c00;
  box-shadow:
    0 0 0 1px rgba(255, 200, 9, 0.25),
    0 6px 14px rgba(0, 0, 0, 0.24);
}

.hero-category-placeholder {
  position: relative;
  overflow: hidden;
  margin: 18px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  min-height: clamp(220px, 30vw, 320px);
  background-color: rgba(18, 8, 28, 0.55);
  background-image:
    var(--hero-category-bg, none),
    linear-gradient(135deg, rgba(255, 200, 9, 0.12), rgba(155, 56, 200, 0.22));
  background-repeat: no-repeat, no-repeat;
  background-size: cover, cover;
  background-position: var(--hero-category-pos, center center), center center;
  box-shadow: var(--shadow);
}

.hero-category-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 8, 24, 0.84) 0%, rgba(16, 8, 24, 0.6) 45%, rgba(16, 8, 24, 0.28) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.34));
  z-index: 0;
}

.hero-category-placeholder-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 18px 20px 20px;
  max-width: min(670px, 100%);
}

.hero-category-kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffefad;
  font-size: 0.86rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.hero-category-placeholder h1 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  max-width: none;
  color: #fff;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.5);
}

.hero-category-placeholder p {
  margin: 8px 0 0;
  color: #f8f1ff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.hero-category-cta {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid #ffcf1f;
  background: linear-gradient(180deg, #ffe45c, #ffc809);
  color: #4a2c00;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow:
    0 0 0 1px rgba(255, 200, 9, 0.25),
    0 10px 20px rgba(0, 0, 0, 0.32),
    0 0 16px rgba(255, 200, 9, 0.5);
}

.hero-category-cta:hover {
  filter: brightness(1.06);
}

.category-header p {
  margin: 8px 0 0;
  color: var(--muted);
}

.category-seo-card {
  margin-top: 16px;
}

.category-seo-card-inner {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 18px 20px;
  background: linear-gradient(160deg, rgba(35, 20, 62, 0.72), rgba(66, 28, 108, 0.64));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.category-seo-card-inner h3 {
  margin: 0 0 10px;
  color: #ffe385;
  font-size: 1.15rem;
}

.category-seo-card-inner p {
  margin: 0;
  color: rgba(247, 240, 255, 0.95);
  line-height: 1.55;
}

.category-seo-card-inner p + p {
  margin-top: 10px;
}

.breadcrumbs {
  margin: 20px 0 10px;
  color: #dfc1ab;
  font-size: 0.95rem;
}

.breadcrumbs a {
  color: #ffe0c1;
}

.game-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.55fr 1fr;
}

.game-shell {
  background: #31103f;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.poster {
  aspect-ratio: 16 / 9;
  position: relative;
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.65));
}

.poster-overlay .btn {
  min-height: 42px;
  padding: 0 18px;
}

.player {
  display: none;
  width: 100%;
  min-height: 620px;
  border: 0;
  background: #050404;
}

.player.is-live {
  display: block;
}

.game-info,
.side-panel {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 16px;
}

.legacy-games-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.legacy-games-grid .games {
  float: left;
  width: 137px;
  height: 137px;
  border: 4px solid #6b1891;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 1px 1px 1px 0 rgba(50, 50, 50, 0.3);
  background: #000;
}

.legacy-games-grid .games.w2 {
  width: 282px;
  height: 281px;
}

.legacy-games-grid .games .thumb {
  width: 100%;
  height: 100%;
  position: relative;
  background: #000;
}

.legacy-games-grid .games img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.legacy-games-grid .games .gametitle {
  display: none;
  position: absolute;
  z-index: 2;
  top: 0;
  width: 100%;
  text-align: center;
  font-weight: 700;
  color: #fff;
  padding: 18px 10px;
  line-height: 1.15;
}

.legacy-games-grid .games .playbttn {
  display: none;
  position: absolute;
  z-index: 3;
  bottom: 0;
  margin: 20px 35px;
  border-radius: 4px;
  background: #ffc809;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 15px;
}

.legacy-games-grid .games:hover {
  border-color: #ffc809;
}

.legacy-games-grid .games:hover img {
  opacity: 0.22;
  filter: blur(2px);
}

.legacy-games-grid .games:hover .playbttn,
.legacy-games-grid .games:hover .gametitle {
  display: block;
}

.legacy-games-grid .games .playbttn:hover {
  background: #222;
  color: #ffc809;
}

#category-pagenavi .pagenavi {
  padding-top: 15px;
  width: 100%;
  float: left;
  text-align: center;
}

#category-pagenavi .pagenavi a {
  margin: 0 8px;
  color: #d9c3ff;
}

#category-pagenavi .pagenavi a:hover {
  color: #fff;
}

#category-pagenavi .pagenavi span.current {
  padding: 5px 10px;
  margin: 3px;
  font-weight: 700;
  color: #fff;
  background-color: #ffc809;
  border-radius: 50%;
}

.simple-pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.simple-pagination a {
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0 10px;
}

.simple-pagination a.is-current {
  background: #ffc809;
  border-color: #ffc809;
  color: #452700;
  font-weight: 700;
}

.simple-pagination a.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.slots-faq {
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(21, 8, 30, 0.62);
  padding: 14px;
}

.slots-faq-head h3 {
  margin: 0;
  font-family: "Bree Serif", serif;
  font-size: 1.2rem;
  color: #fff;
}

.slots-faq-list {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.slots-faq-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.slots-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 12px;
  color: #fff0c2;
  font-weight: 700;
  line-height: 1.35;
  position: relative;
}

.slots-faq-item summary::-webkit-details-marker {
  display: none;
}

.slots-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 12px;
  top: 8px;
  font-size: 1.12rem;
  color: #ffd347;
}

.slots-faq-item[open] summary::after {
  content: "-";
}

.slots-faq-item p {
  margin: 0;
  padding: 0 12px 12px;
  color: #eadacc;
  line-height: 1.5;
  white-space: pre-line;
}

.side-panel h3 {
  font-family: "Bree Serif", serif;
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.game-info h3 {
  display: none;
}

.game-info p,
.side-panel p,
.side-panel li {
  color: var(--muted);
  margin: 0;
}

#live-description p {
  margin: 0 0 12px;
  color: #f4ebff;
}

#live-description .live-desc-headline {
  font-family: "Bree Serif", serif;
  font-size: 1.25rem;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 10px;
}

#live-description strong {
  color: #fff9cc;
}

.info-list {
  margin: 10px 0 0;
  padding-left: 18px;
}

.info-list li {
  margin: 4px 0;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.meta-grid div {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
}

.meta-grid small {
  display: block;
  color: #d7ba9f;
}

.meta-grid strong {
  display: block;
  margin-top: 2px;
}

.slot-data-poster {
  margin-top: 14px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0a080d;
}

.slot-data-poster img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.btn-game-live {
  margin-top: 12px;
  width: 100%;
  min-height: 46px;
  font-size: 1.08rem;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
  padding: 20px 0 28px;
  color: #cfb6a4;
}

footer .foot-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

footer nav a {
  border-bottom: 1px dotted rgba(255, 255, 255, 0.35);
}

.foot-legal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f1dfca;
  font-weight: 600;
  text-align: center;
}

.foot-badges {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
}

.foot-badges img {
  max-height: 34px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.28));
}

.age-badge {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffcf1f;
  color: #ffcf1f;
  background: rgba(0, 0, 0, 0.28);
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 0 10px rgba(255, 207, 31, 0.32);
}

@media (max-width: 980px) {
  .hero-wrap,
  .game-layout {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    padding: 8px 0;
    flex-wrap: wrap;
  }

  .nav {
    display: none;
  }

  .search {
    min-width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .top-actions {
    width: 100%;
    margin-left: 0;
    justify-content: flex-end;
    min-width: 0;
  }

  .catbar-wrap {
    top: 66px;
  }

  .catbar-track {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .catbar-more-wrap {
    margin-left: 0;
  }

  .catbar-more-btn {
    width: 100%;
  }

  .catbar-more-menu {
    position: static;
    width: 100%;
    margin-top: 8px;
  }

  .catbar-more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .player {
    min-height: 520px;
  }

  .seo-copy-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 1180px) {
  body.page-home .grid:empty {
    min-height: 520px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--maxw), calc(100% - 20px));
  }

  .hero-copy,
  .hero-side {
    padding: 16px;
  }

  h1 {
    max-width: none;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .card-title {
    font-size: 0.98rem;
  }

  .player {
    min-height: 420px;
  }

  .top-actions {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  body.page-home .grid:empty {
    min-height: 860px;
  }

  .top-cta {
    min-height: 42px;
    font-size: 0.96rem;
    padding: 0 12px;
  }

  .foot-legal {
    font-size: 0.94rem;
  }

  .foot-badges {
    gap: 10px;
  }

  .foot-badges img {
    max-height: 28px;
  }

  .catbar-more-grid {
    grid-template-columns: 1fr;
  }

  .hero-category-cta {
    min-height: 46px;
    font-size: 1.02rem;
    padding: 0 16px;
  }
}
