:root {
  color-scheme: light;
  --white: #ffffff;
  --ink: #14281f;
  --muted: #485b52;
  --green: #087456;
  --green-dark: #05563e;
  --rule: #dce7e1;
  --mint: #eff8f3;
  --footer: #19132a;
  --shell: 1120px;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-synthesis: none;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--white); }
img { display: block; max-inline-size: 100%; block-size: auto; }
button { font: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }
ul { margin: 0; }
h1, h2, h3 { line-height: 1.14; text-wrap: balance; }
p { color: var(--muted); }
a { color: inherit; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 112px; }
:focus-visible { outline: 3px solid #1675c8; outline-offset: 4px; }

.shell { width: min(var(--shell), calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: 72px 0; }
.section-title { margin-bottom: 28px; font-size: clamp(1.7rem, 3.25vw, 2.6rem); letter-spacing: -.045em; }

.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 3;
  inset: 12px auto auto 12px;
  padding: 12px 16px;
  border-radius: 7px;
  background: var(--green-dark);
  color: var(--white);
}

.site-header {
  position: sticky;
  z-index: 2;
  inset-block-start: 0;
  border-top: 4px solid var(--green);
  border-bottom: 1px solid var(--rule);
  background: var(--white);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-block-size: 71px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 9px;
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -.04em;
  text-decoration: none;
  white-space: nowrap;
}

.brand img { width: 35px; border-radius: 9px; }
.site-header nav { display: flex; gap: clamp(14px, 2.5vw, 32px); }
.site-header nav a { display: grid; place-items: center; min-height: 44px; color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 600; }
.site-header nav a:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: 4px; }

.header-download {
  justify-self: end;
  padding: 8px 16px;
  border: 1px solid #acd1c1;
  border-radius: 8px;
  color: var(--green-dark);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}

.header-download:hover { background: var(--mint); border-color: var(--green); }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(38px, 7vw, 106px);
  padding-block: 52px 40px;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.25vw, 4.65rem);
  font-weight: 760;
  line-height: .99;
  letter-spacing: -.072em;
  text-wrap: initial;
}

.hero h1 span { display: block; color: var(--green); }
.hero-description { max-inline-size: 35ch; margin-top: 21px; font-size: clamp(1rem, 1.55vw, 1.17rem); }

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  margin-top: 27px;
  padding: 12px 22px;
  border: 1px solid var(--green);
  border-radius: 9px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.download-button:hover { background: var(--green-dark); }
.download-button img { width: 16px; flex: 0 0 auto; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 16px 23px; margin-top: 32px; }
.hero-stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.hero-stats div + div { padding-inline-start: 23px; border-inline-start: 1px solid var(--rule); }
.hero-stats dt { font-size: .82rem; color: var(--muted); }
.hero-stats dd { font-size: 1.18rem; font-weight: 720; letter-spacing: -.025em; }

.hero-art {
  display: grid;
  place-items: center;
  min-width: 0;
  aspect-ratio: 1.13;
  padding: 18px;
  border: 1px solid #05775d;
  border-radius: 28px;
  background: radial-gradient(ellipse at 52% 26%, #139879 0%, #087d63 62%, #075c49 100%);
}

.hero-art img { width: min(78%, 317px); }

.withdrawal-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  align-items: center;
  min-height: 105px;
  border: 1px solid var(--rule);
  border-radius: 15px;
  padding: 15px 18px 15px 24px;
}

.withdrawal-strip h2 { font-size: 1.23rem; letter-spacing: -.03em; }
.withdrawal-strip p { margin-top: 6px; font-size: .9rem; }

.transfer-option {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  min-height: 54px;
  padding-inline: 10px;
  border-inline-start: 1px solid var(--rule);
  color: var(--muted);
  text-align: center;
  font-size: .83rem;
  font-weight: 600;
}

.transfer-option img { width: 91px; height: 25px; object-fit: contain; }

.feature-grid, .games-grid, .reward-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature-card { padding: 22px 24px; border: 1px solid var(--rule); border-radius: 15px; }
.feature-heading { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-bottom: 17px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.feature-heading h3 { font-size: 1.16rem; letter-spacing: -.025em; }
.feature-heading img { width: 39px; flex: 0 0 auto; }
.feature-list { display: grid; gap: 9px; padding: 0; list-style: none; color: var(--muted); font-size: .95rem; }
.feature-list li { display: grid; grid-template-columns: 7px minmax(0, 1fr); align-items: baseline; gap: 11px; }
.feature-list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); transform: translateY(-.16em); }

.game-card {
  display: grid;
  grid-template-columns: clamp(76px, 11vw, 124px) 1fr;
  align-items: start;
  gap: 20px;
  padding: 21px;
  border: 1px solid var(--rule);
  border-radius: 15px;
}

.game-art { border-radius: 12px; }
.game-card h3, .game-catalog h3, .reward-card h3, .review h3 { font-size: 1.18rem; letter-spacing: -.025em; }
.game-card p, .reward-card p { margin-top: 7px; font-size: .93rem; }
.game-card details { margin-top: 9px; }

.game-card summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 37px;
  max-width: 100%;
  color: var(--green-dark);
  font-size: .87rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.game-card summary::-webkit-details-marker { display: none; }
.game-card summary::before { content: "+"; flex: none; font-size: 1.18rem; line-height: 1; }
.game-card details[open] summary::before { content: "−"; }
.game-card summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.game-card details p { margin-top: 3px; }

.game-catalog { margin-top: 18px; padding: 21px 24px; border: 1px solid var(--rule); border-radius: 15px; background: #f8fbf9; }
.game-catalog ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin-top: 13px; list-style: none; }
.game-catalog li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border: 1px solid var(--rule); border-radius: 40px; background: var(--white); color: var(--muted); font-size: .85rem; }
.game-catalog img { width: 17px; }

.app-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 25px;
  overflow: hidden;
  padding: clamp(24px, 4.2vw, 55px);
  border: 1px solid #d8eee3;
  border-radius: 22px;
  background: var(--mint);
}

.app-copy h2 { margin-bottom: 17px; font-size: clamp(1.75rem, 3.6vw, 3rem); letter-spacing: -.055em; }
.app-copy .feature-list { gap: 10px; font-size: 1rem; }
.app-art { width: min(100%, 450px); justify-self: center; }

.reward-card {
  display: grid;
  grid-template-columns: clamp(55px, 8vw, 100px) 1fr;
  align-items: center;
  gap: 19px;
  padding: 22px;
  border: 1px solid #ebdbf2;
  border-radius: 15px;
  background: #faeffc;
}

.reward-card--creator { border-color: #f0e4aa; background: #fff8d9; }

.reviews-grid { display: grid; grid-template-columns: .89fr 1.11fr; align-items: start; gap: 16px; }
.rating-card, .review-card { min-height: 214px; padding: 23px; border: 1px solid var(--rule); border-radius: 15px; }
.rating-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 16px; }
.rating-value p:not(.rating-score) { margin-top: 6px; font-size: .86rem; }
.rating-value img { width: min(100%, 90px); }
.rating-score { margin-bottom: 6px; color: var(--ink); font-size: clamp(2.15rem, 3.3vw, 3rem); line-height: 1; font-weight: 760; letter-spacing: -.07em; white-space: nowrap; }
.rating-score span { color: var(--muted); font-size: .91rem; font-weight: 500; letter-spacing: normal; }
.rating-bars { display: grid; grid-template-columns: .7em 1fr; align-items: center; gap: 4px 9px; color: var(--muted); font-size: .75rem; }
.bar { height: 7px; border-radius: 10px; }
.bar--five { width: 100%; background: #479c78; }
.bar--four { width: 40%; background: #80ae73; }
.bar--three { width: 30%; background: #ddb444; }
.bar--two { width: 10%; background: #da8b42; }
.bar--one { width: 10%; background: #d67247; }
.player-count { grid-column: 1 / -1; padding-top: 9px; border-top: 1px solid var(--rule); font-size: .88rem; }
.review-card { display: grid; align-content: space-between; }
.review + .review:not([hidden]) { margin-top: 20px; }
.review[hidden] + .review:not([hidden]) { margin-top: 0; }
.review-header { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.review-rating { display: block; padding: 3px 8px; border-radius: 6px; color: var(--green-dark); background: var(--mint); font-size: .82rem; line-height: 1.4; font-weight: 720; }
.review p { font-size: .94rem; }
.review .review-winnings { margin-bottom: 8px; font-size: .85rem; color: var(--green-dark); font-weight: 630; }
.review-controls { display: flex; justify-content: center; margin-top: 15px; }

.review-controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.review-controls button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #819a8e; }
.review-controls button[aria-pressed="true"]::before { width: 12px; height: 12px; background: var(--green); }
.review-controls button:hover::before { background: var(--green-dark); }

.payment-section { padding-bottom: 69px; }
.payment-section p { max-width: 70ch; margin-top: 12px; font-size: .94rem; }
.payment-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-methods img { width: 84px; border: 1px solid #ddd5e5; border-radius: 7px; background: #251f36; }

.site-footer { padding: 38px 0 24px; background: var(--footer); color: var(--white); }
.footer-logo { width: 155px; }
.footer-content { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 17px; margin-top: 25px; }
.playing-age { padding: 5px 9px; border: 1px solid #9d8dac; border-radius: 6px; color: #f4eafb; font-size: .85rem; font-weight: 730; white-space: nowrap; }
.footer-content h2 { margin-bottom: 6px; font-size: 1.17rem; }
.footer-content p { color: #dfd8e9; max-width: 80ch; font-size: .9rem; }
.footer-content p + p { margin-top: 8px; }
.footer-copyright { margin-top: 24px; padding-top: 15px; border-top: 1px solid #493d58; color: #d0c5dc; font-size: .8rem; }

@media (max-width: 850px) {
  .shell { width: calc(100% - 52px); }
  .hero { gap: 29px; padding-block: 40px 29px; }
  .hero h1 { font-size: clamp(2.55rem, 6.3vw, 4rem); }
  .hero-art { aspect-ratio: 1; }
  .section { padding-top: 56px; }
}

@media (max-width: 640px) {
  [id] { scroll-margin-top: 122px; }
  .shell { width: calc(100% - 32px); }
  .header-inner { grid-template-columns: 1fr auto; gap: 0 7px; min-height: auto; padding-top: 9px; }
  .brand { min-height: 38px; }
  .brand img { width: 30px; }
  .header-download { grid-column: 2; grid-row: 1; }
  .site-header nav { grid-column: 1 / -1; justify-content: space-between; gap: 5px; }
  .site-header nav a { min-height: 40px; font-size: .82rem; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding-block: 20px 27px; }
  .hero-art { grid-row: 1; aspect-ratio: 1.62; padding: 9px; border-radius: 18px; }
  .hero-art img { width: min(49%, 267px); }
  .hero h1 { max-inline-size: 15ch; font-size: clamp(2.3rem, 9.8vw, 3.3rem); line-height: 1.015; }
  .hero-description { margin-top: 12px; }
  .download-button { margin-top: 16px; min-height: 49px; }
  .hero-stats { margin-top: 19px; }
  .hero-stats dd { font-size: 1.03rem; }
  .withdrawal-strip { grid-template-columns: 1fr 1fr; padding: 14px; }
  .withdrawal-strip > :first-child { grid-column: 1 / -1; padding-bottom: 12px; }
  .transfer-option:nth-child(2) { border-inline-start: 0; }
  .section { padding-top: 47px; }
  .section-title { margin-bottom: 18px; text-wrap: pretty; }
  .feature-grid, .games-grid, .reward-grid, .reviews-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card, .game-card, .reward-card, .rating-card, .review-card, .game-catalog { padding: 16px; }
  .feature-heading { padding-bottom: 10px; margin-bottom: 12px; }
  .feature-heading img { width: 34px; }
  .game-card, .reward-card { gap: 15px; }
  .app-panel { grid-template-columns: 1fr; gap: 14px; padding: 20px; border-radius: 16px; }
  .app-art { width: min(100%, 315px); }
  .rating-card, .review-card { min-height: auto; }
  .review-card { min-height: 194px; }
  .payment-section { padding-bottom: 47px; }
  .site-footer { padding-top: 28px; }
  .footer-content { grid-template-columns: 1fr; gap: 9px; }
  .playing-age { justify-self: start; }
}
