:root {
  color-scheme: light;
  --ink: #15202b;
  --muted: #596676;
  --line: #d9e0e8;
  --panel: #f6f8fb;
  --accent: #0b6bcb;
  --accent-dark: #084b8a;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.58;
}

a {
  color: var(--accent-dark);
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent-dark);
}

main {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 56px;
}

.hero {
  padding: 34px 0 28px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin: 34px 0 12px;
  font-size: 24px;
  letter-spacing: 0;
}

h3 {
  margin: 26px 0 8px;
  font-size: 18px;
  letter-spacing: 0;
}

p,
li {
  font-size: 16px;
}

.lead {
  max-width: 780px;
  margin: 20px 0 0;
  font-size: 18px;
  color: var(--muted);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 12px;
}

.summary-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--panel);
}

.summary-item strong {
  display: block;
  margin-bottom: 4px;
}

.policy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 0;
}

.policy-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  text-decoration: none;
  color: var(--ink);
  background: #ffffff;
}

.policy-card:hover,
.policy-card:focus {
  border-color: var(--accent);
}

.policy-card span {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  font-size: 14px;
}

.notice {
  border-left: 4px solid var(--accent);
  background: var(--panel);
  padding: 16px 18px;
  margin: 24px 0;
}

.document {
  max-width: 860px;
}

.document h1 {
  font-size: clamp(30px, 4vw, 44px);
}

.updated {
  color: var(--muted);
  margin-top: 12px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f8fafc;
  color: var(--muted);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 34px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 14px;
}

.footer-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .summary-grid,
  .policy-list {
    grid-template-columns: 1fr;
  }

  main {
    padding-top: 30px;
  }
}

.topbar-dark {
  border-bottom: 1px solid #252a31;
  background: #101318;
}

.topbar-dark .brand,
.topbar-dark .nav-links a {
  color: #f8fbff;
}

.topbar-dark .nav-links a {
  opacity: 0.78;
}

.topbar-dark .nav-links a:hover,
.topbar-dark .nav-links a:focus {
  color: #f3c766;
  opacity: 1;
}

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

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: #f3c766;
  color: #101318;
  font-weight: 800;
}

.casino-main {
  width: min(1160px, calc(100% - 32px));
  padding-top: 30px;
}

.casino-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: 28px;
  align-items: stretch;
  min-height: 520px;
  padding: 34px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 19, 24, 0.92), rgba(35, 26, 22, 0.86)),
    linear-gradient(90deg, #101318, #1d5d45);
  color: #ffffff;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
}

.casino-hero .eyebrow,
.lobby-section .eyebrow {
  color: #f3c766;
}

.casino-hero h1 {
  font-size: clamp(42px, 6vw, 78px);
  max-width: 850px;
}

.casino-hero .lead {
  color: #d9e0e8;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.primary-action {
  background: #f3c766;
  color: #101318;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #ffffff;
}

.hero-machine {
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 18px;
  background: #171b22;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.machine-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #b8c2cf;
  font-size: 13px;
}

.machine-top strong {
  color: #f3c766;
}

.reels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.reels span {
  display: grid;
  min-height: 128px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff5dc, #f1cf81 45%, #915628);
  color: #16120d;
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 900;
  box-shadow: inset 0 -16px 32px rgba(0, 0, 0, 0.22);
}

.machine-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.machine-stats span {
  padding: 10px 8px;
  border-radius: 8px;
  background: #242a33;
  color: #d9e0e8;
  text-align: center;
  font-size: 13px;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0 42px;
}

.quick-strip div {
  border: 1px solid #d8dde4;
  border-radius: 8px;
  padding: 16px;
  background: #ffffff;
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip strong {
  font-size: 28px;
  line-height: 1;
}

.quick-strip span {
  margin-top: 6px;
  color: #596676;
  font-size: 14px;
}

.lobby-section {
  margin: 42px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-heading h2,
.section-heading .eyebrow {
  margin: 0;
}

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

.game-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border-radius: 8px;
  padding: 16px;
  color: #ffffff;
  text-decoration: none;
  background: #171b22;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.game-card:hover,
.game-card:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(16, 19, 24, 0.18);
}

.game-card strong {
  position: relative;
  z-index: 2;
  display: block;
  font-size: 24px;
  line-height: 1.05;
}

.game-card > span:last-child {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.game-badge {
  position: absolute;
  z-index: 3;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(16, 19, 24, 0.62);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.game-art {
  position: absolute;
  inset: 0;
  display: block;
}

.game-art::before,
.game-art::after,
.game-art i,
.game-art b {
  content: "";
  position: absolute;
  display: block;
}

.game-card-gold {
  background: linear-gradient(160deg, #2a2114, #8b5d1e);
}

.game-card-red {
  background: linear-gradient(160deg, #351717, #8f2f2f);
}

.game-card-green {
  background: linear-gradient(160deg, #102c25, #237354);
}

.game-card-blue {
  background: linear-gradient(160deg, #142236, #255a86);
}

.jump-art::before {
  width: 70px;
  height: 70px;
  right: 40px;
  top: 68px;
  border-radius: 50%;
  background: #f3c766;
}

.jump-art::after {
  width: 180px;
  height: 16px;
  left: 34px;
  top: 170px;
  transform: rotate(-16deg);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.38);
}

.jump-art i {
  width: 58px;
  height: 110px;
  right: 92px;
  top: 118px;
  border-radius: 40px 40px 12px 12px;
  background: #101318;
}

.pirate-art::before {
  width: 168px;
  height: 116px;
  right: 22px;
  top: 72px;
  transform: rotate(-8deg);
  border: 8px solid #f3c766;
  border-radius: 8px;
}

.pirate-art::after {
  width: 54px;
  height: 54px;
  right: 88px;
  top: 112px;
  border-radius: 50%;
  background: #f3c766;
}

.pirate-art i {
  width: 150px;
  height: 10px;
  right: 42px;
  top: 210px;
  background: rgba(255, 255, 255, 0.45);
}

.pots-art::before,
.pots-art::after,
.pots-art i {
  width: 62px;
  height: 72px;
  top: 104px;
  border-radius: 12px 12px 34px 34px;
  background: #f3c766;
}

.pots-art::before {
  left: 36px;
}

.pots-art::after {
  left: 118px;
  background: #dfe8f1;
}

.pots-art i {
  left: 200px;
  background: #f08a5d;
}

.gems-art::before,
.gems-art::after,
.gems-art i,
.gems-art b {
  width: 64px;
  height: 64px;
  transform: rotate(45deg);
  border-radius: 8px;
}

.gems-art::before {
  right: 58px;
  top: 84px;
  background: #f3c766;
}

.gems-art::after {
  right: 130px;
  top: 150px;
  background: #67d1b0;
}

.gems-art i {
  right: 44px;
  top: 190px;
  background: #ffffff;
}

.gems-art b {
  right: 154px;
  top: 70px;
  background: #ef6b68;
}

.category-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.category-tile {
  display: block;
  min-height: 124px;
  border: 1px solid #d8dde4;
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
  color: #15202b;
  text-decoration: none;
}

.category-tile strong,
.category-tile span {
  display: block;
}

.category-tile span {
  margin-top: 8px;
  color: #596676;
  font-size: 14px;
}

.casino-notice {
  border-left-color: #f3c766;
}

.casino-footer {
  background: #101318;
  color: #c4ccd6;
  border-top-color: #252a31;
}

.casino-footer a {
  color: #f3c766;
}

.featured-home-hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.9fr);
  gap: 30px;
  min-height: 610px;
  background:
    linear-gradient(135deg, rgba(9, 13, 20, 0.88), rgba(24, 27, 35, 0.55)),
    url("/jumpador/jumpador-social-card-bb-v1.png") center / cover;
  position: relative;
}

.featured-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 20%, rgba(243, 199, 102, 0.25), transparent 28%),
    linear-gradient(90deg, rgba(16, 19, 24, 0.92), rgba(16, 19, 24, 0.32));
  pointer-events: none;
}

.featured-home-hero > * {
  position: relative;
  z-index: 1;
}

.featured-home-hero h1 {
  max-width: 780px;
  font-size: clamp(44px, 5.8vw, 76px);
}

.featured-home-hero .lead {
  max-width: 620px;
  font-size: 19px;
}

.hero-feature-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 520px;
}

.hero-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 250px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(16, 19, 24, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.hero-feature:hover,
.hero-feature:focus,
.headline-game:hover,
.headline-game:focus {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(16, 19, 24, 0.22);
}

.hero-feature::before,
.hero-feature::after {
  content: "";
  position: absolute;
  display: block;
}

.hero-feature-jump {
  background:
    linear-gradient(180deg, rgba(12, 18, 28, 0.18), rgba(12, 18, 28, 0.82)),
    url("/jumpador/jumpador-original-card-bb-v1.png") center / cover;
}

.hero-feature-jump::before {
  width: 78px;
  height: 78px;
  right: 34px;
  top: 32px;
  border-radius: 50%;
  background: #f3c766;
  box-shadow: 0 0 36px rgba(243, 199, 102, 0.42);
}

.hero-feature-jump::after {
  width: 180px;
  height: 12px;
  right: 72px;
  top: 154px;
  transform: rotate(-14deg);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.hero-feature-pirate {
  background:
    linear-gradient(180deg, rgba(31, 15, 14, 0.28), rgba(31, 15, 14, 0.88)),
    linear-gradient(135deg, #3c1718, #9a342c 54%, #161a21);
}

.hero-feature-pirate::before {
  width: min(300px, 72%);
  height: 92px;
  right: 22px;
  top: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(90deg, #ffd36b 0 18%, #f8fbff 18% 36%, #65d49a 36% 54%, #f28b5c 54% 72%, #86c9ff 72%);
  box-shadow: inset 0 -18px 28px rgba(0, 0, 0, 0.25);
}

.hero-feature-pirate::after {
  width: 110px;
  height: 110px;
  right: 92px;
  top: 70px;
  border: 10px solid rgba(243, 199, 102, 0.92);
  transform: rotate(-10deg);
}

.hero-feature strong,
.hero-feature > span:not(.game-badge) {
  position: relative;
  z-index: 1;
}

.hero-feature strong {
  font-size: 36px;
  line-height: 1;
}

.hero-feature > span:not(.game-badge) {
  max-width: 360px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.section-link {
  color: #084b8a;
  font-weight: 700;
  text-decoration: none;
}

.main-featured-games {
  margin-top: 34px;
}

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

.headline-game {
  display: grid;
  grid-template-columns: minmax(230px, 0.86fr) minmax(0, 1fr);
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #d8dde4;
  color: #ffffff;
  text-decoration: none;
  background: #171b22;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.headline-media {
  min-height: 360px;
  display: block;
}

.headline-jump .headline-media {
  background:
    linear-gradient(180deg, rgba(11, 16, 25, 0.08), rgba(11, 16, 25, 0.24)),
    url("/jumpador/jumpador-original-card-v2.png") center / cover;
}

.headline-pirate .headline-media {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  align-content: center;
  padding: 24px;
  background: linear-gradient(160deg, #3b1819, #a13b2f);
}

.headline-pirate .headline-media i {
  display: grid;
  min-height: 146px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(180deg, #fff4d2, #f3c766 48%, #7a4624);
  color: #17120c;
  font-size: 30px;
  font-style: normal;
  font-weight: 900;
  box-shadow: inset 0 -18px 32px rgba(0, 0, 0, 0.25);
}

.headline-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 24px;
  background: linear-gradient(180deg, #202632, #101318);
}

.headline-copy .game-badge {
  position: static;
  align-self: flex-start;
  background: rgba(243, 199, 102, 0.14);
  border: 1px solid rgba(243, 199, 102, 0.36);
  color: #f3c766;
}

.headline-copy strong {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.95;
}

.headline-copy span:not(.game-badge) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.headline-copy b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  background: #f3c766;
  color: #101318;
  font-size: 14px;
}

@media (max-width: 980px) {
  .casino-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .featured-home-hero {
    grid-template-columns: 1fr;
  }

  .hero-feature-stack {
    min-height: auto;
  }

  .headline-games {
    grid-template-columns: 1fr;
  }

  .game-grid,
  .category-row,
  .quick-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .casino-hero {
    padding: 22px;
  }

  .headline-game {
    grid-template-columns: 1fr;
  }

  .headline-media,
  .headline-pirate .headline-media i {
    min-height: 120px;
  }

  .headline-pirate .headline-media {
    padding: 16px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .game-grid,
  .category-row,
  .quick-strip,
  .machine-stats {
    grid-template-columns: 1fr;
  }

  .reels span {
    min-height: 92px;
  }

  .game-card {
    min-height: 260px;
  }
}
