:root {
  color-scheme: light;
  --page: #e7e3db;
  --surface: #f8f7f4;
  --surface-strong: #fffefa;
  --surface-tint: #eee9e1;
  --panel: var(--surface);
  --panel-2: #dcd3c5;
  --line: rgba(85, 79, 66, .22);
  --line-soft: rgba(85, 79, 66, .12);
  --text: #2a2a2a;
  --muted: #68645b;
  --gold: #bfa57f;
  --gold-2: #a48456;
  --gold-dark: #725737;
  --cyan: #8a7250;
  --purple: #c9c2b1;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 5px 14px rgba(85, 79, 66, .1);
  --shadow: 0 14px 34px rgba(85, 79, 66, .15);
  --shadow-lift: 0 20px 40px rgba(85, 79, 66, .2);
  --ease: cubic-bezier(.2, .75, .25, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  margin: 0;
  min-width: 280px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -8rem, rgba(191, 165, 127, .38), transparent 34rem),
    linear-gradient(135deg, #ece8e0 0%, #dfdad0 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: .5rem;
  left: .5rem;
  padding: .7rem 1rem;
  color: #fff;
  background: #554f42;
  border-radius: .5rem;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  width: min(100%, 720px);
  min-height: 100svh;
  margin-inline: auto;
  overflow: hidden;
  background:
    linear-gradient(rgba(248, 247, 244, .97), rgba(248, 247, 244, .99)),
    repeating-linear-gradient(125deg, transparent 0 22px, rgba(85, 79, 66, .04) 22px 23px);
  border-inline: 1px solid var(--line-soft);
  box-shadow: 0 0 80px rgba(85, 79, 66, .22);
}

.brand-header {
  min-height: 94px;
  padding: 16px clamp(16px, 4.5vw, 32px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background:
    radial-gradient(circle at 28% 0, rgba(255, 255, 255, .82), transparent 50%),
    linear-gradient(110deg, #eee9e0, #d8cfbf);
  border-bottom: 1px solid var(--line-soft);
}

.brand-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #bfa57f 20%, #8c6d47 50%, #bfa57f 80%, transparent 100%);
}

.brand {
  width: clamp(150px, 36vw, 225px);
  flex: 0 1 auto;
}

.brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 7px 14px rgba(85, 79, 66, .23));
}

.security-mark {
  min-width: 138px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 13px;
  color: #fffaf2;
  background: linear-gradient(145deg, #696255, #49443a);
  border: 1px solid rgba(244, 223, 189, .62);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), var(--shadow-sm);
}

.security-mark svg {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: #f4dfbd;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-mark span {
  display: grid;
  gap: 1px;
}

.security-mark strong {
  font-size: 9px;
  line-height: 1.1;
}

.security-mark small {
  color: #e4d8c6;
  font-size: 7px;
  line-height: 1.1;
}

.hero {
  position: relative;
  padding-bottom: 30px;
  background: var(--surface-strong);
}

.hero-art {
  display: block;
  overflow: hidden;
  background: #cf9e7f;
  border-bottom: 1px solid rgba(114, 87, 55, .15);
}

.hero-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 1418 / 752;
  object-fit: contain;
}

.gold-button {
  min-height: 58px;
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #2a2a2a;
  font-size: clamp(15px, 3.8vw, 20px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(180deg, #f9ead1 0%, #dfc399 50%, #bea077 100%);
  border: 1px solid #fff2da;
  border-radius: 999px;
  box-shadow: 0 5px 0 #80633f, 0 14px 26px rgba(85, 79, 66, .22), inset 0 1px 0 #fff;
  transition: transform .2s var(--ease), filter .2s ease, box-shadow .2s ease;
}

.gold-button span {
  font-size: 1.4em;
  line-height: .7;
}

.hero-cta {
  width: min(72%, 430px);
  margin: -18px auto 0;
  position: relative;
  z-index: 2;
  display: flex;
}

.trust-strip {
  min-height: 88px;
  padding: 16px clamp(10px, 3.5vw, 24px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  background: linear-gradient(180deg, #e4dfd7, #d3ccbf);
  border-block: 1px solid var(--line-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.trust-strip article {
  min-width: 0;
  min-height: 48px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.trust-strip article + article::before {
  content: "";
  width: 1px;
  height: 34px;
  position: absolute;
  top: 50%;
  left: -4px;
  background: linear-gradient(transparent, rgba(85, 79, 66, .26), transparent);
  transform: translateY(-50%);
}

.trust-strip svg {
  width: clamp(22px, 5vw, 31px);
  height: clamp(22px, 5vw, 31px);
  flex: none;
  fill: none;
  stroke: #7b6341;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-strip span {
  min-width: 0;
  display: grid;
}

.trust-strip strong {
  font-size: clamp(10px, 2.4vw, 13px);
  line-height: 1.15;
}

.trust-strip small {
  color: var(--muted);
  font-size: clamp(7px, 1.8vw, 10px);
  line-height: 1.15;
}

.section {
  padding: clamp(30px, 6vw, 46px) clamp(16px, 4.6vw, 34px);
  border-bottom: 1px solid var(--line-soft);
}

.section-heading {
  margin-bottom: clamp(18px, 3vw, 24px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.section-heading.compact {
  align-items: start;
}

.eyebrow {
  margin: 0;
  color: #2a2a2a;
  font-size: clamp(18px, 4.7vw, 27px);
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.eyebrow span {
  margin-right: 6px;
}

h2 {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: clamp(11px, 2.6vw, 14px);
  font-weight: 600;
  line-height: 1.3;
}

.view-all {
  min-height: 38px;
  padding: 8px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: none;
  color: var(--gold-dark);
  font-size: clamp(10px, 2.4vw, 13px);
  font-weight: 800;
  background: rgba(191, 165, 127, .14);
  border: 1px solid rgba(164, 132, 86, .25);
  border-radius: 999px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 2.3vw, 16px);
}

.game-card {
  min-width: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface-strong);
  border: 1px solid rgba(164, 132, 86, .35);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: transform .22s var(--ease), border-color .2s ease, box-shadow .22s ease;
}

.game-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #d9d9d9;
  border-bottom: 1px solid var(--line-soft);
}

.game-card > span {
  min-height: 54px;
  margin-top: auto;
  padding: 10px 7px 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
  background: linear-gradient(180deg, #fffefa, #ece7de);
}

.game-card strong {
  max-width: 100%;
  overflow: hidden;
  color: #2a2a2a;
  font-size: clamp(10px, 2.4vw, 13px);
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-card small {
  color: var(--gold-dark);
  font-size: clamp(8px, 2vw, 10px);
  line-height: 1.1;
}

.promotions-section {
  background:
    radial-gradient(circle at 100% 0, rgba(191, 165, 127, .18), transparent 45%),
    linear-gradient(180deg, #ebe7df, #e2ddd4);
}

.promotion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2.8vw, 18px);
}

.promotion-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--surface-strong);
  border: 1px solid rgba(164, 132, 86, .34);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: transform .22s var(--ease), border-color .2s ease, box-shadow .22s ease;
}

.promotion-card:nth-child(2) {
  border-color: #bfa57f;
}

.promotion-card:nth-child(3) {
  border-color: #bfa57f;
}

.promotion-card:nth-child(4) {
  border-color: #bfa57f;
}

.promotion-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 690 / 332;
  display: block;
  object-fit: contain;
  background: #dcd3c5;
  border-bottom: 1px solid var(--line-soft);
}

.rescue-art {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  aspect-ratio: 690 / 332;
  overflow: hidden;
  background: #dcd3c5;
  border-bottom: 1px solid var(--line-soft);
}

.rescue-art img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  aspect-ratio: 690 / 332;
  object-fit: contain;
}

.rescue-art img:first-child {
  opacity: 1;
  animation: rescue-daily 8s ease-in-out infinite;
}

.rescue-art img:last-child {
  opacity: 0;
  animation: rescue-weekly 8s ease-in-out infinite;
}

@keyframes rescue-daily {
  0%, 44%, 100% { opacity: 1; }
  50%, 94% { opacity: 0; }
}

@keyframes rescue-weekly {
  0%, 44%, 100% { opacity: 0; }
  50%, 94% { opacity: 1; }
}

.promotion-card > span:last-child {
  min-height: 78px;
  padding: 12px 14px 14px;
  display: grid;
  align-content: center;
  gap: 3px;
}

.promotion-card strong {
  color: var(--gold-dark);
  font-size: clamp(12px, 2.8vw, 16px);
  line-height: 1.15;
  text-transform: uppercase;
}

.promotion-card small {
  color: #68645b;
  font-size: clamp(9px, 2.1vw, 11px);
  line-height: 1.25;
}

.advantages-section {
  background:
    radial-gradient(circle at 50% 20%, rgba(191, 165, 127, .16), transparent 58%),
    var(--surface);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(9px, 2.2vw, 14px);
}

.advantage {
  min-width: 0;
  min-height: 178px;
  padding: 16px 9px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  background: linear-gradient(180deg, #fffefa, #e6e0d6);
  border: 1px solid color-mix(in srgb, currentColor 42%, transparent);
  border-radius: var(--radius);
  box-shadow: inset 0 3px 0 currentColor, var(--shadow-sm);
}

.advantage.purple { color: #806947; }
.advantage.blue { color: #6b6456; }
.advantage.green { color: #776d55; }
.advantage.orange { color: #a16f30; }

.advantage svg {
  width: clamp(42px, 9vw, 54px);
  height: clamp(42px, 9vw, 54px);
  margin-bottom: 10px;
  padding: 9px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: color-mix(in srgb, currentColor 11%, #fffefa);
  border: 1px solid color-mix(in srgb, currentColor 26%, transparent);
  border-radius: 50%;
}

.advantage strong {
  color: var(--gold-dark);
  font-size: clamp(18px, 4.9vw, 28px);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.advantage b {
  margin-top: 3px;
  color: #2a2a2a;
  font-size: clamp(9px, 2.1vw, 12px);
  line-height: 1.1;
  text-transform: uppercase;
}

.advantage small {
  margin-top: 8px;
  color: #625e56;
  font-size: clamp(7px, 1.7vw, 9px);
  line-height: 1.25;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(8px, 1.8vw, 12px);
}

.providers-section {
  background: linear-gradient(180deg, #efebe4, #e7e2d9);
}

.provider {
  min-width: 0;
  min-height: 90px;
  padding: 10px 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
  background: linear-gradient(160deg, #fffefa, #d9d2c7);
  border: 1px solid rgba(164, 132, 86, .3);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), border-color .2s ease, box-shadow .22s ease;
}

.provider img {
  width: clamp(38px, 9vw, 56px);
  height: clamp(38px, 9vw, 56px);
  object-fit: contain;
}

.provider span {
  color: #3f3b34;
  font-size: clamp(8px, 1.9vw, 10px);
  font-weight: 800;
  line-height: 1;
}

.final-cta {
  min-height: 270px;
  padding: 38px clamp(20px, 7vw, 54px) 42px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 84%, rgba(164, 132, 86, .3), transparent 43%),
    radial-gradient(circle at 8% 40%, rgba(255, 255, 255, .72), transparent 36%),
    linear-gradient(135deg, #f4f0e9, #d9cdbb 55%, #b99a70);
  border-top: 1px solid #bfa57f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .5;
  background-image:
    linear-gradient(115deg, transparent 47%, rgba(255, 255, 255, .26) 49%, transparent 51%),
    linear-gradient(45deg, transparent 47%, rgba(85, 79, 66, .05) 49%, transparent 51%);
  background-size: 110px 110px;
}

.final-cta .eyebrow {
  color: #3f382e;
  font-size: clamp(21px, 5vw, 30px);
  text-shadow: 0 2px 12px rgba(255, 255, 255, .55);
}

.final-cta h2 {
  margin: 9px 0 24px;
  color: #554f42;
  font-size: clamp(12px, 3vw, 16px);
}

.final-cta .gold-button {
  width: min(78%, 430px);
}

.coin,
.treasure {
  position: absolute;
  z-index: -1;
  user-select: none;
}

.coin {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #5b4529;
  font-size: 17px;
  font-weight: 1000;
  background: radial-gradient(circle at 35% 30%, #fff6df, #d8bd90 50%, #87683f 72%);
  border: 4px solid #c9a96f;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(85, 79, 66, .3), inset 0 1px 0 rgba(255, 255, 255, .7);
}

.coin-one {
  top: 22px;
  left: 7%;
  transform: rotate(-18deg);
}

.coin-two {
  right: 18%;
  bottom: 20px;
  transform: rotate(14deg) scale(.7);
}

.treasure {
  right: 4%;
  bottom: 13px;
  font-size: 76px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .38));
}

.site-footer {
  padding: 22px 18px 26px;
  text-align: center;
  background: #554f42;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0 0 6px;
  color: #f7f2e9;
  font-size: 12px;
}

.site-footer strong {
  color: #f2d8aa;
}

.site-footer small {
  color: #d9d0c2;
  font-size: 9px;
}

a:focus-visible {
  outline: 3px solid #6d5534;
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .gold-button:hover {
    filter: brightness(1.035) saturate(1.06);
    box-shadow: 0 7px 0 #80633f, 0 18px 32px rgba(85, 79, 66, .26), inset 0 1px 0 #fff;
    transform: translateY(-3px);
  }

  .game-card:hover,
  .promotion-card:hover,
  .provider:hover {
    border-color: var(--gold-2);
    box-shadow: var(--shadow-lift);
    transform: translateY(-4px);
  }

  .view-all:hover {
    background: rgba(191, 165, 127, .23);
  }
}

.gold-button:active,
.game-card:active,
.promotion-card:active,
.provider:active {
  transform: translateY(1px);
}

@media (max-width: 480px) {
  .brand-header {
    min-height: 80px;
  }

  .security-mark {
    min-width: 118px;
    padding: 7px 8px;
  }

  .security-mark svg {
    width: 20px;
    height: 20px;
  }

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

  .advantage {
    min-height: 158px;
  }

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

@media (max-width: 380px) {
  .brand-header {
    gap: 10px;
  }

  .brand {
    width: 142px;
  }

  .security-mark {
    min-width: 110px;
  }

  .trust-strip {
    padding-inline: 7px;
    gap: 4px;
  }

  .section {
    padding-inline: 13px;
  }

  .eyebrow {
    font-size: 17px;
  }

  .view-all {
    padding-inline: 9px;
  }

  .trust-strip article {
    gap: 4px;
  }

  .promotion-grid {
    grid-template-columns: 1fr;
  }

  .promotion-card > span:last-child {
    min-height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .rescue-art img:first-child {
    opacity: 1;
  }

  .rescue-art img:last-child {
    opacity: 0;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: rgba(42, 42, 42, .72);
    --muted: #3f3b34;
  }

  .game-card,
  .promotion-card,
  .provider,
  .advantage {
    border-width: 2px;
  }
}
