:root {
  --bg: #16091d;
  --bg-2: #24102f;
  --panel: #fff8e9;
  --panel-2: #fffdf7;
  --ink: #170f1d;
  --muted: #695f70;
  --gold: #ffc545;
  --gold-2: #e3a41a;
  --green: #12b970;
  --green-dark: #087245;
  --red: #e34a3a;
  --purple: #8e185e;
  --cream: #fbf1dc;
  --line: rgba(23, 15, 29, 0.12);
  --light-line: rgba(255, 255, 255, 0.16);
  --shadow: 0 18px 40px rgba(17, 6, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 8px 14px;
  color: #fff;
  background: rgba(18, 8, 25, 0.96);
  border-bottom: 1px solid var(--light-line);
  backdrop-filter: blur(14px);
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 2px solid var(--gold);
  background: #0c0711;
}

.brand-logo img {
  width: 82px;
  max-width: none;
  transform: translate(-14px, -6px);
}

.brand-text {
  display: grid;
  min-width: 0;
  line-height: 1;
}

.brand-text span {
  overflow: hidden;
  font-weight: 900;
  font-size: 17px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.brand-text small {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-toggle {
  display: inline-grid;
  place-items: center;
  gap: 4px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
}

.site-nav {
  position: absolute;
  top: 66px;
  left: 12px;
  right: 12px;
  display: none;
  flex-direction: column;
  padding: 8px;
  background: #1b0b25;
  border: 1px solid var(--light-line);
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 11px 12px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--gold);
}

.home-hero {
  position: relative;
  min-height: calc(100svh - 66px);
  display: flex;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #130819;
}

.home-hero-bg,
.home-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-bg {
  object-fit: cover;
  object-position: 64% center;
}

.home-hero-shade {
  background:
    linear-gradient(0deg, rgba(15, 5, 22, 0.94), rgba(15, 5, 22, 0.5) 54%, rgba(15, 5, 22, 0.14)),
    radial-gradient(circle at 80% 22%, rgba(255, 197, 69, 0.22), transparent 26%);
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 54px;
}

.hero-panel h1,
.demo-hero h1,
.utility-hero h1 {
  margin: 0;
  font-size: 39px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-panel p,
.demo-hero p,
.utility-hero p {
  max-width: 650px;
  font-size: 17px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: grid;
  gap: 10px;
  margin: 24px 0 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 900;
  text-decoration: none;
  text-align: center;
}

.btn.primary {
  color: #160c05;
  background: linear-gradient(180deg, #ffdc5d, var(--gold-2));
}

.btn.secondary {
  color: #fff;
  background: linear-gradient(180deg, #1adf86, var(--green-dark));
}

.btn.casino {
  width: 100%;
  color: #fff;
  background: linear-gradient(180deg, #23cf7d, #07804e);
}

.microcopy,
.demo-primary-cta p,
.game-note {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.microcopy {
  margin-bottom: 0;
}

.hero-review {
  display: none;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  color: #fff;
  background: #2a1237;
  border-top: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
}

.trust-row article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.trust-row span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #160c05;
  background: var(--gold);
  font-weight: 900;
  font-size: 12px;
}

.trust-row p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.section {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 48px 0;
}

.section h2 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.1;
}

.section h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.18;
}

.section-head {
  margin-bottom: 20px;
}

.section-head p {
  max-width: 780px;
  color: var(--muted);
}

.review-layout,
.features-split,
.apk-section,
.demo-info-grid,
.demo-guide,
.casino-cta-section,
.review-details,
.demo-apk-safe {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.score-card,
.fact-grid article,
.process-grid article,
.feature-cards article,
.casino-grid article,
.check-panel,
.slot-table-card,
.bonus-list article,
.editorial-grid article,
.pros-cons article,
.money-grid article,
.mobile-safety-card,
.utility-grid article,
.utility-content {
  background: var(--panel-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.score-card,
.check-panel,
.slot-table-card {
  padding: 22px;
}

.rating {
  width: fit-content;
  margin-bottom: 12px;
  padding: 8px 12px;
  color: #160c05;
  background: var(--gold);
  font-weight: 900;
}

.text-link {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.fact-grid article {
  padding: 18px;
  text-align: center;
}

.fact-grid strong {
  display: block;
  color: var(--green-dark);
  font-size: 26px;
}

.fact-grid span {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.how-section,
.casino-section,
.faq-section {
  padding-top: 24px;
}

.process-grid,
.feature-cards,
.casino-grid,
.bonus-list {
  display: grid;
  gap: 14px;
}

.process-grid article,
.feature-cards article,
.casino-grid article {
  padding: 20px;
}

.process-grid span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  color: #160c05;
  background: var(--gold);
  font-weight: 900;
}

.feature-cards strong {
  display: block;
  color: var(--purple);
  font-size: 24px;
}

.casino-grid article {
  display: grid;
  gap: 12px;
}

.casino-grid strong {
  font-size: 24px;
  color: var(--green-dark);
}

.apk-section {
  align-items: start;
}

.editorial-section,
.review-details,
.local-advice,
.money-section,
.reader-guide,
.demo-editorial,
.demo-apk-safe,
.demo-money-note,
.demo-long-guide,
.demo-observation {
  padding-top: 26px;
}

.editorial-grid,
.pros-cons,
.money-grid,
.compare-grid {
  display: grid;
  gap: 14px;
}

.editorial-grid article,
.pros-cons article,
.money-grid article,
.mobile-safety-card {
  padding: 20px;
}

.pros-cons ul,
.mobile-safety-card ul {
  margin: 0;
  padding-left: 20px;
}

.pros-cons li,
.mobile-safety-card li {
  margin: 8px 0;
}

.money-grid strong {
  display: block;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.check-list {
  margin: 0;
  padding-left: 20px;
}

.check-list li {
  margin: 9px 0;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  background: var(--panel-2);
  border: 1px solid var(--line);
  padding: 16px 18px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin-bottom: 0;
  color: var(--muted);
}

.demo-page {
  color: #fff;
  background:
    radial-gradient(circle at 84% 0%, rgba(255, 197, 69, 0.18), transparent 26%),
    linear-gradient(180deg, #170820 0%, #23102e 38%, #120817 100%);
}

.demo-hero {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 30px 0 18px;
}

.breadcrumb {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.demo-game-section {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 10px 0 22px;
}

.demo-game-frame {
  overflow: hidden;
  border: 2px solid rgba(255, 197, 69, 0.8);
  background: #09060d;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.demo-game-top,
.demo-game-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  color: #170c05;
  background: linear-gradient(180deg, #ffdc5d, var(--gold-2));
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.demo-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 290px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #08050b;
}

.demo-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.play-button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.86);
  color: #fff;
  background: rgba(0, 0, 0, 0.46);
  font-size: 28px;
  cursor: pointer;
}

.demo-primary-cta {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.demo-primary-cta .btn {
  width: 100%;
}

.demo-page .section h2,
.demo-page .section h3 {
  color: var(--ink);
}

.demo-page .section p,
.demo-page .section li,
.demo-page .section td,
.demo-page .section th {
  color: var(--ink);
}

.slot-table-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.slot-table-card th,
.slot-table-card td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.slot-table-card th {
  color: var(--muted);
  width: 44%;
}

.bonus-section,
.demo-guide,
.casino-cta-section,
.demo-info-grid,
.demo-page .faq-section {
  color: var(--ink);
}

.bonus-list article {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
}

.bonus-list strong {
  display: grid;
  place-items: center;
  min-height: 58px;
  color: #160c05;
  background: var(--gold);
  font-weight: 900;
}

.session-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.session-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  padding: 14px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.session-list span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #160c05;
  background: var(--gold);
  font-weight: 900;
}

.casino-cta-section {
  align-items: center;
  padding: 28px;
  background: linear-gradient(135deg, #8e185e, #e34a3a);
  color: #fff;
}

.casino-cta-section h2,
.casino-cta-section p {
  color: inherit;
}

.mobile-bottom-nav {
  position: sticky;
  bottom: 0;
  z-index: 25;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: #fff;
  background: rgba(17, 8, 24, 0.98);
  border-top: 1px solid var(--light-line);
}

.mobile-bottom-nav a {
  min-height: 54px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 34px 14px 84px;
  color: #fff;
  background: #120817;
}

.site-footer p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.utility-page {
  width: min(980px, calc(100% - 28px));
  margin: 0 auto;
  padding: 44px 0 70px;
}

.utility-hero {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.utility-hero h1 {
  color: var(--ink);
}

.utility-hero p {
  color: var(--muted);
}

.utility-grid {
  display: grid;
  gap: 14px;
  padding-top: 26px;
}

.utility-grid article,
.utility-content {
  padding: 22px;
}

.utility-grid h2,
.utility-content h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.utility-grid p,
.utility-content p {
  margin: 0;
  color: var(--muted);
}

.utility-content {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

@media (min-width: 720px) {
  .site-header {
    grid-template-columns: auto 1fr;
    min-height: 76px;
    padding: 10px clamp(22px, 4vw, 56px);
  }

  .brand-logo {
    width: 62px;
    height: 56px;
  }

  .brand-logo img {
    width: 94px;
    transform: translate(-16px, -8px);
  }

  .brand-text span {
    font-size: 20px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 18px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav a {
    min-height: auto;
    padding: 0;
    font-size: 14px;
  }

  .home-hero {
    min-height: 560px;
    align-items: center;
  }

  .home-hero-shade {
    background:
      linear-gradient(90deg, rgba(15, 5, 22, 0.9), rgba(15, 5, 22, 0.54) 45%, rgba(15, 5, 22, 0.18)),
      radial-gradient(circle at 78% 32%, rgba(255, 197, 69, 0.2), transparent 26%);
  }

  .home-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 32px;
    align-items: center;
    padding: 62px 0;
  }

  .hero-panel h1,
  .demo-hero h1 {
    font-size: clamp(50px, 5.4vw, 72px);
  }

  .hero-panel p,
  .demo-hero p {
    font-size: 19px;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .hero-review {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
  }

  .hero-review img {
    width: 100%;
    max-height: 330px;
    object-fit: cover;
  }

  .hero-review-body {
    display: grid;
    gap: 6px;
    padding: 16px;
  }

  .provider-badge {
    width: fit-content;
    padding: 4px 8px;
    color: #160c05;
    background: var(--gold);
    font-size: 12px;
    font-weight: 900;
  }

  .trust-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-row article {
    justify-content: center;
    padding: 18px;
  }

  .section,
  .demo-hero,
  .demo-game-section {
    width: min(1120px, calc(100% - 44px));
  }

  .section {
    padding: 66px 0;
  }

  .section h2 {
    font-size: 38px;
  }

  .review-layout,
  .features-split,
  .apk-section,
  .demo-info-grid,
  .demo-guide,
  .casino-cta-section,
  .review-details,
  .demo-apk-safe {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 28px;
  }

  .fact-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .process-grid,
  .feature-cards,
  .casino-grid,
  .editorial-grid,
  .money-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pros-cons,
  .compare-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .demo-game-section {
    padding-top: 10px;
  }

  .demo-screen {
    aspect-ratio: 16 / 7.8;
    min-height: 420px;
  }

  .demo-primary-cta {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .bonus-list {
    grid-template-columns: 1fr;
  }

  .casino-cta-section .btn {
    justify-self: end;
  }

  .mobile-bottom-nav {
    display: none;
  }

  .site-footer {
    flex-direction: row;
    justify-content: space-between;
    padding: 36px clamp(22px, 4vw, 56px);
  }

  .utility-page {
    width: min(980px, calc(100% - 44px));
    padding: 62px 0 84px;
  }

  .utility-hero h1 {
    font-size: 54px;
  }

  .utility-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .brand-text span {
    max-width: 210px;
  }

  .hero-panel h1,
  .demo-hero h1 {
    font-size: 35px;
  }

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

/* Fortune Gems demo page visual repair */
.site-header .brand {
  gap: 10px;
}

.site-header .brand-logo {
  width: 108px;
  height: 50px;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.site-header .brand-logo img {
  width: 108px;
  height: 50px;
  max-width: 100%;
  object-fit: contain;
  transform: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55));
}

.site-header .brand-text {
  display: none;
}

.demo-page {
  padding-bottom: 24px;
}

.demo-hero {
  padding: 34px 0 22px;
}

.demo-hero h1,
.demo-hero p {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.demo-game-section {
  padding-bottom: 34px;
}

.demo-game-frame {
  border-radius: 14px;
  border: 2px solid rgba(255, 197, 69, 0.95);
  background:
    linear-gradient(180deg, rgba(255, 197, 69, 0.16), rgba(255, 197, 69, 0.02)),
    #08050b;
}

.demo-screen {
  min-height: 0;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 197, 69, 0.2), transparent 34%),
    #09060d;
}

.demo-screen img {
  object-fit: contain;
  padding: 18px;
  opacity: 1;
}

.play-button::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid #fff;
}

.demo-page .section {
  margin-top: 18px;
  margin-bottom: 18px;
  padding: 28px;
  color: var(--ink);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.demo-page .section h2,
.demo-page .section h3,
.demo-page .section p,
.demo-page .section li,
.demo-page .section td,
.demo-page .section th,
.demo-page .section-kicker {
  opacity: 1;
}

.demo-guide {
  align-items: start;
}

.session-list li {
  color: var(--ink);
}

.demo-page .casino-cta-section,
.demo-page .casino-cta-section h2,
.demo-page .casino-cta-section h3,
.demo-page .casino-cta-section p,
.demo-page .casino-cta-section .section-kicker {
  color: var(--ink) !important;
  text-shadow: none;
}

@media (min-width: 760px) {
  .site-header .brand-logo {
    width: 142px;
    height: 58px;
  }

  .site-header .brand-logo img {
    width: 142px;
    height: 58px;
  }

  .demo-page .section {
    border-radius: 8px;
  }
}
