:root {
  --bg: #171221;
  --surface: #251d32;
  --light: #f7f0fa;
  --muted: #c2b6cd;
  --coral: #ffa18c;
  --line: #4c3c59;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0 auto;
  padding: 26px 30px 0;
  max-width: 1340px;
  background: var(--bg);
  color: var(--light);
  font:
    17px/1.7 "Trebuchet MS",
    Arial,
    sans-serif;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
a:hover {
  color: #ffd2c1;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #ffa18c;
  outline-offset: 5px;
}
header {
  grid-column: 2 / 12;
  background: linear-gradient(115deg, #392b45, #251e32);
  border: 1px solid #574363;
  border-radius: 60px;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 15px 26px;
  box-shadow: 0 12px 35px #0004;
  position: relative;
  z-index: 3;
}
.brand {
  display: block;
  flex-shrink: 0;
}
.logo {
  width: 150px;
  height: 39px;
  background: url("/logo.png") center / contain no-repeat;
}
.logo img {
  max-width: 100%;
  height: auto;
}
header > nav {
  display: flex;
  gap: 25px;
  margin-left: auto;
}
header a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
header details {
  position: relative;
  font-size: 13px;
}
summary {
  cursor: pointer;
  padding: 8px;
}
details nav {
  position: absolute;
  top: 45px;
  right: 0;
  width: 220px;
  padding: 18px;
  border: 1px solid #755e88;
  border-radius: 18px;
  background: #30243c;
  box-shadow: 0 15px 30px #0008;
  display: grid;
  gap: 15px;
}
.section {
  grid-column: 2 / 12;
  min-width: 0;
  padding: 42px 0;
  scroll-margin-top: 20px;
}
#aplikace {
  grid-column: 1 / -1;
  padding: 36px 0 28px;
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 22px;
}
#aplikace > .eyebrow,
#aplikace > h1,
#aplikace > .actions {
  grid-column: 1 / -1;
}
.eyebrow {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 20px;
}
.eyebrow span {
  letter-spacing: 0.5px;
}
h1,
h2,
h3 {
  font-family: "Arial Black", "Trebuchet MS", sans-serif;
}
h1 {
  font-size: clamp(38px, 5.1vw, 70px);
  line-height: 1.06;
  letter-spacing: -2.5px;
  margin: 0 0 28px;
}
h1 span {
  color: #cdb4f1;
}
h2 {
  font-size: clamp(27px, 2.8vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.9px;
  margin: 0 0 28px;
}
h3 {
  font-size: 20px;
  line-height: 1.35;
  margin: 0 0 15px;
}
p {
  margin: 0 0 22px;
}
p:last-child {
  margin-bottom: 0;
}
picture {
  display: block;
}
picture img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-banner {
  position: relative;
  border-radius: 28px 28px 72px 28px;
  overflow: hidden;
  background: #28182b;
  box-shadow: 0 25px 55px #05030960;
}

.hero-copy {
  padding: 28px 32px;
  background: linear-gradient(120deg, #492735, #2d1e35);
  font-size: 20px;
  line-height: 1.5;
}
.advantages {
  display: grid;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 16px;
}
.advantages li {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid #62425c;
  border-radius: 20px 20px 36px 20px;
  padding: 22px;
  background: linear-gradient(135deg, #4b2b3c, #2a2035);
  box-shadow:
    inset 0 1px #a46b7c50,
    0 8px 0 #0c08124a;
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}
.advantages li:nth-child(2) {
  background: linear-gradient(135deg, #44305e, #2c2138);
  border-color: #68507e;
}
.advantages li:nth-child(3) {
  background: linear-gradient(135deg, #243d50, #242436);
  border-color: #3c6377;
}
.icon {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 5px 4px #0004);
}
.actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px 0;
}
.action {
  display: inline-flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffcfb8;
  border-radius: 18px;
  background: linear-gradient(145deg, #ffc2a0, #ff896f);
  color: #301724;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.3;
  padding: 10px 25px 10px 12px;
  box-shadow:
    0 5px 0 #9b4646,
    0 10px 25px #ec786927,
    inset 0 1px 1px #fff;
}
.action:hover {
  color: #301724;
  background: #ffd0b5;
  transform: translateY(-1px);
}
.action.secondary {
  background: linear-gradient(145deg, #e2c9ff, #b891ef);
  border-color: #e3c6ff;
  color: #2e173d;
  box-shadow:
    0 5px 0 #68418d,
    0 10px 25px #9963d52b,
    inset 0 1px #fff;
}
#prehled {
  max-width: 870px;
  justify-self: center;
  border-bottom: 1px solid var(--line);
}
#android,
#ios {
  grid-column: span 6;
  padding: 32px;
  margin: 30px 0;
  background: var(--surface);
  border: 1px solid #574066;
  border-radius: 30px 30px 60px 30px;
}
#ios {
  background: #eee4f5;
  color: #302237;
  border-color: #dac6e7;
}
.heading-inline {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(8px, 2cqw, 14px);
  container-type: inline-size;
}
.heading-inline .icon {
  display: block;
  width: clamp(28px, 8cqw, 45px);
  height: auto;
  margin: 0;
}
.heading-inline span {
  white-space: nowrap;
  font-size: clamp(14px, 5.6cqw, 38px);
  letter-spacing: -0.6px;
}
#android .heading-inline span,
#ios .heading-inline span {
  font-size: clamp(14px, 5.6cqw, 28px);
}
#android h2,
#ios h2 {
  font-size: 28px;
}
#ios picture {
  border-radius: 18px;
  overflow: hidden;
  margin: 25px 0;
}
ul,
ol {
  margin: 24px 0;
  padding-left: 24px;
}
li {
  margin-bottom: 18px;
  padding-left: 4px;
}
.steps {
  padding-left: 30px;
}
.steps li {
  padding: 0 0 23px 8px;
  border-bottom: 1px solid #6a547449;
}
.steps li::marker {
  font-size: 22px;
  font-weight: 800;
  color: var(--coral);
}
#ios .steps li::marker {
  color: #784098;
}
[data-kind="wide"],
#faq {
  grid-column: 1 / -1;
}
#bonusy {
  padding: 40px;
  background: linear-gradient(130deg, #453050, #2c243b);
  border-radius: 32px;
  margin: 10px 0 20px;
}
.reward-list {
  list-style: none;
  padding: 0;
}
.reward-list li {
  padding: 22px 26px;
  border-left: 5px solid #ffa18c;
  background: #17122155;
  border-radius: 0 22px 22px 0;
}
.reward-list li:nth-child(2) {
  margin-left: 5%;
  border-color: #c7a5f8;
}
.reward-list li:nth-child(3) {
  margin-left: 10%;
  border-color: #80d4ce;
}
#hry {
  padding-bottom: 25px;
}
.game-list {
  list-style: square;
}
#platby {
  padding: 40px;
  border-radius: 30px;
  background: #251929;
}
#platby picture {
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 28px;
}
.payments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  list-style: none;
  padding: 0;
}
.payments li {
  border-top: 2px solid #9a6a8b;
  padding: 18px 12px 8px 0;
  margin: 0;
}
#bezpecnost {
  max-width: 850px;
  justify-self: center;
}
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
blockquote {
  margin: 0;
  padding: 24px 0 24px 22px;
  border-left: 2px solid #b996d8;
}
blockquote p:last-child {
  color: #cfacd8;
  font-size: 14px;
}
.questions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 50px;
}
.qa {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
#zodpovedne {
  max-width: 870px;
  justify-self: center;
}
footer {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 30px;
  padding: 35px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.footer-age {
  font-family: "Arial Black", sans-serif;
  font-size: 65px;
  line-height: 1.2;
  color: #cba5dd;
}
footer p {
  font-size: 13px;
  color: var(--muted);
}
footer nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
}
footer .action {
  grid-column: 2;
  justify-self: start;
}
@media (max-width: 1000px) {
  body {
    padding: 20px 22px 0;
    gap: 18px;
  }
  header {
    grid-column: 1 / -1;
    gap: 18px;
    padding: 13px 22px;
  }
  header > nav {
    gap: 16px;
  }
  .hero-copy {
    padding: 22px;
    font-size: 17px;
  }
  .advantages li {
    display: block;
    padding: 18px;
    font-size: 14px;
  }
  .advantages .icon {
    margin-bottom: 8px;
    width: 42px;
    height: 45px;
  }
  #android,
  #ios {
    padding: 25px;
  }
  #android h2,
  #ios h2 {
    font-size: 24px;
  }
  .quotes {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  body {
    display: block;
    padding: 15px 16px 0;
    font-size: 16px;
    line-height: 1.6;
  }
  header {
    padding: 12px 16px;
    border-radius: 25px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .logo {
    width: 128px;
    height: 33px;
  }
  header > nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
  }
  header > nav a {
    font-size: 11px;
  }
  header details {
    position: absolute;
    right: 18px;
    top: 12px;
  }
  details nav {
    top: 38px;
  }
  .section,
  #aplikace {
    padding: 28px 0;
  }
  #aplikace {
    display: block;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.7px;
    flex-wrap: wrap;
  }
  h1 {
    font-size: clamp(31px, 8.3vw, 48px);
    letter-spacing: -1.2px;
    margin-bottom: 24px;
  }
  .hero-banner {
    border-radius: 24px 24px 40px 24px;
  }

  .hero-copy {
    position: static;
    width: auto;
    padding: 22px;
    background: linear-gradient(135deg, #422436, #2c1b30);
  }
  .advantages {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 18px 0;
  }
  .advantages li {
    display: flex;
    padding: 16px;
    gap: 15px;
  }
  .advantages .icon {
    margin: 0;
  }
  .actions {
    flex-direction: column;
    gap: 18px;
    padding: 4px 2px 12px;
  }
  .action {
    justify-content: flex-start;
    padding: 9px 17px;
    font-size: 15px;
  }
  h2 {
    font-size: 27px;
    margin-bottom: 22px;
  }

  #android,
  #ios {
    margin: 12px 0 24px;
    padding: 24px 20px;
    border-radius: 24px 24px 40px 24px;
  }
  #bonusy,
  #platby {
    padding: 25px 20px;
    border-radius: 24px;
  }
  .reward-list li {
    padding: 18px;
  }
  .reward-list li:nth-child(2),
  .reward-list li:nth-child(3) {
    margin-left: 0;
  }
  .payments,
  .questions {
    display: block;
  }
  .quotes {
    gap: 18px;
  }
  blockquote {
    padding: 12px 0 12px 18px;
  }
  footer {
    display: block;
    padding: 26px 0;
  }
  .footer-age {
    font-size: 54px;
    margin-bottom: 20px;
  }
  footer .action {
    display: flex;
    margin-top: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* обёртки layout.hbs не должны ломать grid у body */
.mainContent,
.content,
.contentMain,
.content-block {
  display: contents;
}
.section.wide {
  grid-column: 1 / -1;
}
.scrollToTop {
  display: none;
}
