:root {
  --plum: #351344;
  --plum-deep: #210a2d;
  --plum-soft: #5b2770;
  --coral: #ff5e67;
  --coral-dark: #e64055;
  --mint: #63d8b5;
  --cream: #fff8f2;
  --paper: #ffffff;
  --lavender: #f5edf8;
  --ink: #281d2d;
  --muted: #706477;
  --line: #e7dce9;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: #8b2fa3;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}

strong { color: var(--plum); font-weight: 800; }

.skip-link {
  position: fixed;
  top: -70px;
  left: 20px;
  z-index: 100;
  padding: 14px 18px;
  background: var(--mint);
  color: var(--plum-deep);
  font-weight: 800;
}
.skip-link:focus { top: 12px; }

.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;
}

.reading-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 70;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), #ffb34d, var(--mint));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 242, .95);
  border-bottom: 1px solid rgba(71, 29, 82, .12);
  backdrop-filter: blur(15px);
}

.header-inner {
  max-width: 1320px;
  margin: auto;
  padding: 15px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.brand {
  width: 170px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.logo-image {
  display: block;
  width: 170px;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: contain;
}

.logo-caption {
  margin-top: -5px;
  padding-left: 7px;
  color: var(--plum-soft);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 5px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header nav > a,
.nav-parent {
  position: relative;
  padding: 13px 0;
  color: #49364d;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.site-header nav > a:hover,
.site-header nav > a.active,
.nav-parent:hover { color: var(--coral-dark); }

.site-header nav > a.active::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

.nav-group { position: relative; }
.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 190px;
  padding: 9px;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 8px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 20px 45px rgba(53, 19, 68, .16);
  transition: opacity .2s, transform .2s, visibility .2s;
}

.nav-group:hover .submenu,
.nav-group:focus-within .submenu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-header .submenu a {
  display: block;
  padding: 12px 13px;
  border-radius: 8px;
  color: var(--plum);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.site-header .submenu a:hover { background: var(--lavender); }

.menu-toggle {
  display: none;
  width: 43px;
  height: 43px;
  border: 0;
  border-radius: 12px;
  background: var(--plum);
  color: white;
  font-size: 21px;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 73% 15%, rgba(255, 94, 103, .32), transparent 28%),
    radial-gradient(circle at 94% 85%, rgba(99, 216, 181, .18), transparent 31%),
    linear-gradient(135deg, #25082f 0%, #471454 56%, #6d204f 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .11;
  background-image:
    radial-gradient(circle, white 1px, transparent 1.5px),
    linear-gradient(115deg, transparent 45%, white 45.2%, transparent 45.5%);
  background-size: 38px 38px, 140px 140px;
  mask-image: linear-gradient(90deg, transparent 10%, black 100%);
}

.hero-inner {
  position: relative;
  max-width: 1280px;
  min-height: 500px;
  margin: auto;
  padding: 70px 45px 65px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, .85fr);
  gap: 50px;
  align-items: center;
}

.hero-copy { min-width: 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffd5a0;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 2px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(99, 216, 181, .12), 0 0 18px var(--mint);
}

h1 {
  max-width: 760px;
  margin: 23px 0;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -2.5px;
  font-weight: 850;
}

p {
  margin: 18px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  overflow-wrap: break-word;
}

.hero p { max-width: 660px; color: #f0dfee; }
.hero strong { color: white; }
.hero a { color: #93f2d5; }

.hero-art { position: relative; height: 355px; perspective: 900px; }
.casino-machine {
  position: absolute;
  top: 48px;
  right: 4%;
  left: 4%;
  z-index: 2;
  padding: 18px 19px 20px;
  border: 2px solid #ff9e8d;
  border-radius: 29px;
  background: linear-gradient(140deg, #a93467, #4b155c 58%, #2b0c38);
  box-shadow: 0 0 0 8px #280d35, 0 0 0 9px #b8547a, 14px 22px 44px rgba(17, 3, 23, .55), inset 0 0 35px rgba(255, 255, 255, .08);
  transform: rotate(-7deg) rotateY(-9deg);
}
.machine-top { margin-bottom: 17px; color: #80e3c6; font-size: 25px; font-style: italic; font-weight: 900; letter-spacing: 2px; text-align: center; text-shadow: 0 0 13px rgba(99, 216, 181, .45); }
.machine-top span { margin-left: 3px; color: #ffb36d; }
.reels { display: flex; gap: 7px; padding: 9px; border: 1px solid #2a0b30; border-radius: 13px; background: #200626; }
.reels span {
  min-width: 0;
  flex: 1;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(#fff8ed, #ffd6ce 48%, #ff9785 52%, #ffe4c4);
  box-shadow: inset 0 5px 14px rgba(82, 26, 63, .28);
  color: var(--coral-dark);
  font-size: 78px;
  font-style: italic;
  font-weight: 900;
  line-height: 1.27;
  text-shadow: 2px 3px 0 #7c234d;
}
.machine-bottom { margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 12px; color: #ead7eb; font-size: 8px; letter-spacing: 1.5px; }
.machine-light { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.chip {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 5px dashed #fff3cd;
  border-radius: 50%;
  background: radial-gradient(#ff9c8c, #d63d67);
  box-shadow: inset 0 0 0 4px #a52b59, 5px 9px 18px rgba(19, 4, 25, .45);
  color: white;
  font-weight: 900;
}
.chip-one { bottom: 4px; left: -2px; width: 78px; height: 78px; font-size: 30px; transform: rotate(-20deg); }
.chip-two { top: 10px; right: -3px; width: 66px; height: 66px; font-size: 18px; transform: rotate(18deg); }
.art-star { position: absolute; color: #ffd29c; text-shadow: 0 0 20px rgba(255, 210, 156, .5); }
.star-one { top: 6px; left: 18px; font-size: 27px; }
.star-two { right: 12px; bottom: 10px; font-size: 36px; }
.art-floor { position: absolute; right: 8%; bottom: 18px; left: 8%; height: 26px; border-radius: 50%; background: var(--coral); filter: blur(34px); opacity: .48; }

.content-wrap { max-width: 1160px; margin: auto; padding: 64px 30px 80px; }
.section-heading, .story-heading { display: flex; align-items: flex-start; gap: 15px; }
.section-number {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--plum);
  color: white;
  font-size: 10px;
  font-weight: 850;
}
h2 { margin: 0; color: var(--plum); font-size: clamp(24px, 2.5vw, 34px); line-height: 1.2; letter-spacing: -.9px; }
.section-tag { margin: 12px 0 0 auto; color: #a16c96; font-size: 8px; font-weight: 800; letter-spacing: 1.5px; }
.topic-label { display: block; margin: 2px 0 7px; color: var(--coral-dark); font-size: 8px; font-weight: 850; letter-spacing: 1.6px; text-transform: uppercase; }

.download-section {
  position: relative;
  overflow: hidden;
  padding: 38px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f1e4f4, #fff 55%, #fff0e8);
  border: 1px solid #dfcde3;
}
.download-section::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 260px;
  height: 260px;
  border: 45px solid rgba(255, 94, 103, .07);
  border-radius: 50%;
  pointer-events: none;
}
.download-section > * { position: relative; z-index: 1; }
.download-section > p { max-width: 780px; }

.device-grid { margin: 28px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.device-card {
  --device-accent: var(--coral);
  position: relative;
  isolation: isolate;
  min-height: 225px;
  padding: 25px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid #e8dce8;
  border-radius: 19px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 26px rgba(72, 28, 77, .08);
  color: var(--ink);
  text-decoration: none;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.device-ios { --device-accent: #8458b8; }
.device-pc { --device-accent: #1bb6b0; }
.device-card:hover { transform: translateY(-8px); border-color: var(--device-accent); box-shadow: 0 22px 36px rgba(72, 28, 77, .16); }
.device-glow {
  position: absolute;
  z-index: -1;
  top: -58px;
  right: -48px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--device-accent);
  opacity: .1;
  transition: transform .3s, opacity .3s;
}
.device-card:hover .device-glow { transform: scale(1.22); opacity: .16; }
.device-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: color-mix(in srgb, var(--device-accent) 12%, white);
  color: var(--device-accent);
  animation: platform-float 3.8s ease-in-out infinite;
}
.device-ios .device-icon { animation-delay: -.8s; }
.device-pc .device-icon { animation-delay: -1.6s; }
.device-icon svg { width: 35px; height: 35px; fill: currentColor; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.device-name { color: var(--device-accent); font-size: 10px; font-weight: 850; letter-spacing: 1.7px; text-transform: uppercase; }
.device-card strong { max-width: 220px; padding-right: 15px; font-size: 15px; line-height: 1.5; }
.card-arrow { position: absolute; right: 23px; bottom: 22px; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: var(--device-accent); color: white; font-size: 16px; transition: transform .2s; }
.device-card:hover .card-arrow { transform: translateX(4px); }
@keyframes platform-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-5px) rotate(2deg); } }

.registration-block {
  position: relative;
  margin-top: 24px;
  padding: 34px 36px;
  overflow: hidden;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: 44px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 122, 112, .24), transparent 35%),
    linear-gradient(125deg, var(--plum-deep), #59205f);
  box-shadow: 0 17px 38px rgba(53, 19, 68, .14);
}
.registration-block::before {
  content: '';
  position: absolute;
  right: 44%;
  bottom: -120px;
  width: 220px;
  height: 220px;
  border: 35px solid rgba(255, 255, 255, .035);
  border-radius: 50%;
}
.registration-copy, .registration-actions { position: relative; z-index: 1; }
.registration-kicker { color: #ffb3aa; font-size: 8px; font-weight: 850; letter-spacing: 1.7px; }
.registration-copy h2 { margin-top: 9px; color: white; font-size: 30px; }
.registration-copy p { margin: 12px 0 0; color: #e7d7e8; font-size: 14px; }
.registration-copy strong { color: white; }
.registration-copy a { color: #8ce5ca; }
.registration-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.registration-button {
  min-height: 104px;
  padding: 18px;
  display: grid;
  grid-template-columns: 48px 1fr 28px;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 17px;
  color: white;
  text-decoration: none;
  box-shadow: 0 12px 25px rgba(17, 4, 23, .22);
  transition: transform .22s, box-shadow .22s, filter .22s;
}
.registration-button:hover { transform: translateY(-5px); filter: brightness(1.06); box-shadow: 0 19px 32px rgba(17, 4, 23, .3); }
.registration-button.whatsapp { background: linear-gradient(135deg, #168d5b, #25b56e); }
.registration-button.telegram { background: linear-gradient(135deg, #347da6, #4aaee0); }
.registration-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.registration-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.telegram .registration-icon svg { fill: currentColor; stroke: none; }
.registration-button small { display: block; margin-bottom: 7px; color: rgba(255, 255, 255, .7); font-size: 7px; font-weight: 800; letter-spacing: 1.2px; }
.registration-button span:nth-child(2) { font-size: 13px; font-weight: 850; line-height: 1.35; }
.registration-arrow { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .16); transition: transform .2s; }
.registration-button:hover .registration-arrow { transform: translateX(3px); }

.browse-header { max-width: 720px; margin: 75px auto 35px; text-align: center; }
.browse-header .eyebrow { justify-content: center; color: var(--coral-dark); }
.browse-header h2 { margin-top: 13px; font-size: clamp(30px, 4vw, 46px); }

.story-section { scroll-margin-top: 110px; }
.overview-section {
  padding: 42px;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 60px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.overview-section .story-content { display: grid; grid-template-columns: 1fr 1fr; gap: 27px; }
.overview-section .story-content p { margin-top: 0; }

.timeline-section {
  position: relative;
  margin: 42px 0;
  padding: 43px;
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 60px;
  border-radius: 22px;
  background: var(--lavender);
}
.timeline-section::after {
  content: '2017  ·  2018  ·  2019  ·  2023';
  position: absolute;
  right: 43px;
  bottom: 28px;
  color: rgba(91, 39, 112, .12);
  font-size: clamp(22px, 4vw, 45px);
  font-weight: 900;
  letter-spacing: -1px;
}
.timeline-section .story-content { position: relative; z-index: 1; padding-left: 27px; border-left: 3px solid var(--coral); }
.timeline-section .story-content p { margin-top: 0; margin-bottom: 19px; }

.feature-grid, .support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; }
.feature-section, .support-section { padding: 32px; border: 1px solid var(--line); border-radius: 19px; background: var(--paper); }
.feature-section .story-heading, .support-section .story-heading { margin-bottom: 18px; }
.feature-section h2, .support-section h2 { font-size: 25px; }
.feature-section p:last-child, .support-section p:last-child { margin-bottom: 0; }
.feature-section:nth-child(2) { background: #fff1ec; border-color: #f2d5cf; }
.feature-section:nth-child(2) .section-number { background: var(--coral-dark); }

.support-grid { margin-top: 42px; }
.support-section { background: #edfaf6; border-color: #cceae1; }
.support-section .section-number { background: #168d75; }
.alert-section { background: #fff2f1; border-color: #f4d2d2; }
.alert-section .section-number { background: var(--coral-dark); }

.closing-section {
  position: relative;
  margin: 44px 0;
  padding: 45px;
  overflow: hidden;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 60px;
  border-radius: 23px;
  background: linear-gradient(130deg, var(--plum-deep), #5e1d68);
}
.closing-section::after { content: '888'; position: absolute; right: -15px; bottom: -65px; color: rgba(255, 255, 255, .045); font-size: 220px; font-weight: 900; letter-spacing: -25px; }
.closing-section h2, .closing-section .story-content p, .closing-section strong { color: white; }
.closing-section .topic-label { color: #ffaaa8; }
.closing-section .section-number { background: var(--coral); }
.closing-section .story-heading, .closing-section .story-content { position: relative; z-index: 1; }
.closing-section .story-content p:first-child { margin-top: 0; }

.faq-section { margin-top: 55px; padding: 42px; border: 1px solid var(--line); border-radius: 23px; background: var(--paper); }
.faq-section > .section-heading { margin-bottom: 20px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
summary::-webkit-details-marker { display: none; }
.faq-item > summary { padding: 21px 0; display: flex; align-items: center; justify-content: space-between; gap: 22px; list-style: none; color: var(--plum); font-size: 14px; font-weight: 800; line-height: 1.5; cursor: pointer; }
.faq-item > summary > span { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--lavender); color: var(--coral-dark); font-size: 21px; transition: transform .2s; }
.faq-item[open] > summary > span { transform: rotate(45deg); }
.faq-item p { margin-top: 0; padding: 0 48px 19px 0; font-size: 14px; }

.site-footer { overflow: hidden; background: var(--plum-deep); color: white; }
.footer-inner { max-width: 1190px; margin: auto; padding: 44px 35px 24px; }
.footer-top { display: flex; align-items: center; gap: 34px; padding-bottom: 29px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-top .logo-caption { color: #cba8cc; }
.footer-tagline { color: #d9c4dc; font-size: 13px; }
.footer-top-link { width: 42px; height: 42px; margin-left: auto; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; color: #8ce5ca; text-decoration: none; transition: transform .2s, border-color .2s; }
.footer-top-link:hover { transform: translateY(-3px); border-color: #8ce5ca; }
.footer-top-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-links { padding: 36px 0; display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 40px; }
.footer-links h2 { margin-bottom: 17px; color: white; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-links a { display: block; margin: 13px 0; color: #cdb8d0; font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: #ffaaa8; }
address { color: #cdb8d0; font-size: 13px; font-style: normal; line-height: 1.9; }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255, 255, 255, .12); color: #a78eaa; font-size: 10px; }
.footer-bottom > span:last-child { font-size: 8px; letter-spacing: 1.6px; }

.back-top {
  position: fixed;
  right: 23px;
  bottom: 23px;
  z-index: 40;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 10px 25px rgba(53, 19, 68, .25);
  color: white;
  cursor: pointer;
  transition: transform .2s, background .2s;
}
.back-top:hover { transform: translateY(-4px); background: var(--coral-dark); }
.back-top svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.back-top[hidden] { display: none; }

@media (max-width: 1100px) {
  .header-inner { padding: 14px 24px; gap: 20px; }
  .site-header nav { gap: 16px; }
  .site-header nav > a, .nav-parent { font-size: 11px; }
  .hero-inner { padding: 58px 35px 64px; grid-template-columns: minmax(0, 1.2fr) minmax(310px, .8fr); gap: 25px; }
  .reels span { font-size: 63px; }
  .hero-art { height: 315px; }
  .overview-section, .timeline-section, .closing-section { gap: 35px; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .site-header nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    max-height: calc(100dvh - 82px);
    padding: 17px 24px;
    display: none;
    align-items: stretch;
    overflow-y: auto;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(53, 19, 68, .12);
  }
  .site-header nav.open { display: flex; flex-direction: column; gap: 0; }
  .site-header nav > a, .nav-parent { display: block; padding: 13px 0; font-size: 14px; }
  .site-header nav > a.active::after { display: none; }
  .nav-group { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .submenu { position: static; min-width: 0; padding: 0 0 8px 15px; visibility: visible; opacity: 1; transform: none; background: transparent; border: 0; box-shadow: none; }
  .site-header .submenu a { padding: 10px 0; color: #7b6880; }
  .hero-inner { min-height: 0; padding: 52px 28px 70px; grid-template-columns: 1fr; }
  .hero-copy { max-width: 700px; }
  .hero-art { display: none; }
  h1 { font-size: 49px; }
  .content-wrap { padding: 50px 25px 65px; }
  .registration-block { grid-template-columns: 1fr; gap: 24px; }
  .overview-section, .timeline-section, .closing-section { padding: 35px; grid-template-columns: 1fr; gap: 25px; }
  .overview-section .story-content { grid-template-columns: 1fr 1fr; }
  .timeline-section::after { opacity: .65; }
  .footer-links { gap: 25px; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 95px; }
  .header-inner { width: 100%; max-width: 100vw; padding: 12px 19px; }
  .brand, .logo-image { width: 145px; }
  .menu-toggle { flex: 0 0 43px; margin-left: auto; }
  .logo-caption { font-size: 7px; letter-spacing: 4px; }
  .hero-inner, .hero-copy { width: 100%; min-width: 0; }
  .hero-inner { padding: 42px 21px 60px; }
  h1 { max-width: 100%; font-size: 37px; letter-spacing: -1.3px; overflow-wrap: anywhere; }
  .eyebrow { font-size: 8px; letter-spacing: 1.4px; }
  .content-wrap { padding: 40px 17px 55px; }
  .download-section { padding: 25px 18px; border-radius: 19px; }
  .section-heading { align-items: flex-start; }
  .section-tag { display: none; }
  .section-number { width: 31px; height: 31px; }
  h2 { font-size: 26px; }
  .device-grid { grid-template-columns: 1fr; gap: 12px; }
  .device-card { min-height: 142px; padding: 20px; display: grid; grid-template-columns: 54px 1fr; column-gap: 16px; row-gap: 7px; }
  .device-icon { grid-row: 1 / 4; align-self: center; width: 54px; height: 54px; }
  .device-card strong { padding-right: 38px; font-size: 14px; }
  .card-arrow { right: 17px; bottom: 17px; }
  .registration-block { padding: 27px 20px; border-radius: 19px; }
  .registration-copy h2 { font-size: 27px; }
  .registration-actions { grid-template-columns: 1fr; }
  .registration-button { min-height: 88px; }
  .browse-header { margin: 57px auto 28px; }
  .browse-header h2 { font-size: 33px; }
  .overview-section, .timeline-section, .closing-section { padding: 27px 20px; gap: 22px; border-radius: 18px; }
  .overview-section .story-content { grid-template-columns: 1fr; gap: 0; }
  .timeline-section .story-content { padding-left: 19px; }
  .timeline-section::after { display: none; }
  .feature-grid, .support-grid { grid-template-columns: 1fr; gap: 14px; margin: 14px 0; }
  .feature-section, .support-section { padding: 25px 20px; }
  .feature-section h2, .support-section h2 { font-size: 23px; }
  p { font-size: 14px; }
  .closing-section { margin: 32px 0; }
  .faq-section { margin-top: 38px; padding: 26px 19px; border-radius: 18px; }
  .faq-item > summary { font-size: 13px; }
  .faq-item p { padding-right: 0; font-size: 13px; }
  .footer-inner { padding: 32px 22px 23px; }
  .footer-top { flex-wrap: wrap; gap: 18px; }
  .footer-tagline { order: 3; width: 100%; font-size: 12px; }
  .footer-top-link { width: 40px; height: 40px; }
  .footer-links { padding: 28px 0; grid-template-columns: 1fr 1fr; gap: 20px; }
  .address-block { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
  .footer-bottom { flex-direction: column; gap: 12px; line-height: 1.5; }
  .back-top { right: 14px; bottom: 15px; width: 45px; height: 45px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Keep the Download hero artwork at the same landscape scale as other pages. */
.download-hero-visual {
  position: relative;
  align-self: center;
  width: 100%;
  height: 330px;
  min-height: 330px;
  max-height: 330px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 24px;
  background: #240a2e;
  box-shadow: 0 26px 58px rgba(13,2,18,.32);
}
.download-hero-visual .igaming-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.download-hero-visual .visual-logo {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: 150px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 11px;
  background: rgba(20,4,27,.72);
}
.download-hero-visual .visual-logo img { width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .download-hero-visual { max-width: 680px; }
}

@media (max-width: 620px) {
  .download-hero-visual { height: 250px; min-height: 250px; max-height: 250px; border-radius: 19px; }
  .download-hero-visual .visual-logo { top: 13px; left: 13px; width: 132px; }
}

/* Download page */
.download-hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 94, 103, .34), transparent 30%),
    radial-gradient(circle at 95% 100%, rgba(99, 216, 181, .16), transparent 34%),
    linear-gradient(135deg, #25082f, #521658 62%, #79234e);
}
.download-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .1;
  background-image: linear-gradient(120deg, transparent 45%, white 45.2%, transparent 45.5%), radial-gradient(circle, white 1px, transparent 1.5px);
  background-size: 150px 150px, 42px 42px;
  mask-image: linear-gradient(90deg, transparent, black);
}
.download-hero-inner {
  position: relative;
  max-width: 1190px;
  min-height: 590px;
  margin: auto;
  padding: 70px 35px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  align-items: center;
  gap: 35px 70px;
}
.download-hero-copy { min-width: 0; }
.download-hero h1 { max-width: 760px; }
.download-hero p { max-width: 700px; color: #f0dfee; }
.download-hero strong { color: white; }
.download-hero a { color: #8ce5ca; }
.release-snapshot {
  position: relative;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 22px;
  background: rgba(34, 7, 43, .48);
  box-shadow: 0 25px 50px rgba(17, 3, 23, .3);
  backdrop-filter: blur(10px);
}
.release-snapshot .compact-igaming {
  width: 100%;
  height: 180px;
  min-height: 0;
  max-height: 180px;
  margin-bottom: 20px;
  aspect-ratio: 5 / 2;
}
.release-snapshot::after {
  content: '';
  position: absolute;
  top: -45px;
  right: -45px;
  width: 130px;
  height: 130px;
  border: 22px solid rgba(99, 216, 181, .12);
  border-radius: 50%;
}
.snapshot-label { position: relative; z-index: 1; color: #ffb5ac; font-size: 8px; font-weight: 850; letter-spacing: 1.6px; }
.release-snapshot > strong { position: relative; z-index: 1; display: block; margin: 13px 0 22px; font-size: 58px; letter-spacing: -3px; }
.release-snapshot > div { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.release-snapshot > div span { padding: 13px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: white; font-size: 13px; font-weight: 800; }
.release-snapshot small { display: block; margin-bottom: 6px; color: #cdb9d0; font-size: 7px; letter-spacing: 1.2px; }
.release-snapshot > a { position: relative; z-index: 1; display: inline-block; margin-top: 21px; font-size: 11px; font-weight: 750; text-decoration: none; }

.hero-downloads {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.hero-device-button {
  --hero-device-accent: #ff7c80;
  min-width: 0;
  min-height: 104px;
  padding: 16px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 16px;
  background: rgba(255, 255, 255, .09);
  color: white !important;
  text-decoration: none;
  box-shadow: 0 12px 25px rgba(22, 4, 28, .16);
  backdrop-filter: blur(8px);
  transition: transform .2s, background .2s, border-color .2s;
}
.hero-device-ios { --hero-device-accent: #c39ae8; }
.hero-device-pc { --hero-device-accent: #69ddc4; }
.hero-device-button:hover {
  transform: translateY(-5px);
  border-color: var(--hero-device-accent);
  background: rgba(255, 255, 255, .14);
}
.hero-device-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, .12);
  color: var(--hero-device-accent);
}
.hero-device-icon svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-device-copy { min-width: 0; }
.hero-device-name {
  display: block;
  margin-bottom: 6px;
  color: var(--hero-device-accent);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.hero-device-button strong {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}
.guide-cta {
  min-width: 92px;
  padding-left: 13px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  border-left: 1px solid rgba(255, 255, 255, .17);
  color: #f0dfef;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.25;
}
.guide-cta b {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--hero-device-accent);
  color: var(--plum-deep);
  font-size: 12px;
  transition: transform .2s;
}
.hero-device-button:hover .guide-cta b { transform: translateY(3px); }

.content-section { scroll-margin-top: 108px; }
.content-wrap { padding-top: 35px; }

.version-section {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 14px 40px rgba(53, 19, 68, .07);
}
.version-section > p { max-width: 840px; }
.version-layout { margin-top: 30px; display: grid; grid-template-columns: 1fr; gap: 28px; }
.file-card { overflow: hidden; border: 1px solid #decfe2; border-radius: 17px; background: #fbf7fc; }
.file-card-top { padding: 14px 18px; display: flex; justify-content: space-between; gap: 15px; background: var(--plum); color: white; font-size: 8px; font-weight: 850; letter-spacing: 1.3px; }
.verified-dot { color: #91e8cf; }
.verified-dot::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #63d8b5; box-shadow: 0 0 9px #63d8b5; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 13px 18px; border-bottom: 1px solid #e8dee9; font-size: 12px; line-height: 1.5; text-align: left; vertical-align: top; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
th { width: 42%; color: #826786; font-weight: 700; }
td { color: var(--plum); overflow-wrap: anywhere; }
.version-guidance { padding: 6px 0 4px 26px; border-left: 3px solid var(--coral); }
.version-guidance p:first-child { margin-top: 0; }
.version-guidance p:last-child { margin-bottom: 0; }

.install-section {
  margin-top: 30px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
}
.install-heading { display: flex; align-items: center; gap: 16px; }
.install-heading .section-number { margin-left: auto; }
.install-platform-icon { width: 58px; height: 58px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 17px; color: var(--coral); background: #fff0f0; }
.install-platform-icon svg { width: 35px; height: 35px; fill: currentColor; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.install-ios .install-platform-icon { color: #8458b8; background: #f0eaf7; }
.install-pc .install-platform-icon { color: #16aaa4; background: #e5f7f5; }
.install-section > p { max-width: 820px; }
.install-steps { margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; list-style: none; counter-reset: none; }
.install-steps li { min-height: 68px; padding: 16px 18px; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: center; border: 1px solid #eadfeb; border-radius: 14px; background: #fdfafd; color: #66566b; font-size: 13px; line-height: 1.65; }
.step-number { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--plum); color: white; font-size: 10px; font-weight: 850; }
.install-ios .step-number { background: #8458b8; }
.install-pc .step-number { background: #16aaa4; }
.device-note { margin-top: 22px; padding: 20px 22px; display: grid; grid-template-columns: 34px 1fr; gap: 15px; border-radius: 15px; background: #fff2ec; border: 1px solid #f1d7ce; }
.note-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: white; font-weight: 900; }
.device-note p { margin: 0 0 10px; color: #67565f; font-size: 13px; }
.device-note p:last-child { margin-bottom: 0; }

.browser-section {
  margin-top: 30px;
  padding: 42px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 55px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(130deg, var(--plum-deep), #602168);
}
.browser-copy h2, .browser-copy p, .browser-copy strong { color: white; }
.browser-copy .topic-label { color: #ffaea7; }
.browser-copy p:last-child { margin-bottom: 0; }
.browser-visual { position: relative; min-height: 230px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .16); border-radius: 20px; background: rgba(255, 255, 255, .07); }
.browser-visual > span { position: absolute; top: 19px; right: 19px; left: 19px; height: 13px; border-radius: 8px; background: rgba(255, 255, 255, .1); }
.browser-visual > div { position: absolute; top: 22px; left: 25px; display: flex; gap: 5px; }
.browser-visual i { width: 6px; height: 6px; border-radius: 50%; background: #ff7e79; }
.browser-visual i:nth-child(2) { background: #ffcf73; }
.browser-visual i:nth-child(3) { background: #63d8b5; }
.browser-visual strong { color: #8ce5ca; font-size: 40px; font-style: italic; letter-spacing: -2px; }

.check-section { margin-top: 30px; padding: 42px; border: 1px solid #cfe8e1; border-radius: 24px; background: #effaf7; }
.check-section > p { max-width: 900px; }
.check-grid { margin: 28px 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; list-style: none; }
.check-grid li { min-height: 100px; padding: 17px; display: flex; align-items: flex-start; gap: 11px; border: 1px solid #cfe8e1; border-radius: 13px; background: white; color: #615568; font-size: 13px; line-height: 1.6; }
.check-mark { width: 24px; height: 24px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #159578; color: white; font-size: 11px; font-weight: 900; }

.support-pair { margin-top: 30px; display: grid; grid-template-columns: 1fr; gap: 18px; }
.support-card { position: relative; padding: 35px; overflow: hidden; border-radius: 21px; }
.support-card > .section-number { position: absolute; top: 28px; right: 28px; }
.support-card h2 { max-width: 390px; margin: 8px 45px 22px 0; font-size: 27px; }
.support-card p:last-child { margin-bottom: 0; }
.update-card { border: 1px solid #ead4df; background: #fff2f4; }
.help-card { border: 1px solid #d4e5ee; background: #f0f8fb; }
.help-card .section-number { background: #347da6; }

.faq-section { scroll-margin-top: 108px; }

@media (max-width: 900px) {
  .download-hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .release-snapshot { max-width: 560px; }
  .hero-downloads { grid-template-columns: 1fr; }
  .version-layout, .browser-section { grid-template-columns: 1fr; }
  .version-guidance { padding: 0; border-left: 0; }
  .check-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .download-hero-inner { min-height: 0; padding: 43px 21px 48px; }
  .download-hero h1 { font-size: 39px; }
  .release-snapshot { padding: 23px; }
  .release-snapshot .compact-igaming { height: 145px; max-height: 145px; }
  .release-snapshot > strong { font-size: 48px; }
  .hero-device-button { min-height: 90px; padding: 14px; }
  .guide-cta { min-width: 88px; }
  .version-section, .install-section, .browser-section, .check-section { padding: 27px 19px; border-radius: 19px; }
  .version-layout { gap: 24px; }
  th, td { display: block; width: 100%; padding: 9px 14px; }
  th { padding-bottom: 2px; border-bottom: 0; font-size: 10px; }
  td { padding-top: 2px; }
  tr { display: block; padding: 6px 0; border-bottom: 1px solid #e8dee9; }
  tr:last-child { border-bottom: 0; }
  .install-heading { align-items: flex-start; }
  .install-heading .section-number { display: none; }
  .install-platform-icon { width: 50px; height: 50px; }
  .install-steps { grid-template-columns: 1fr; }
  .install-steps li { min-height: 0; }
  .device-note { padding: 17px; }
  .browser-section { gap: 27px; }
  .browser-visual { min-height: 165px; }
  .check-grid { grid-template-columns: 1fr; }
  .check-grid li { min-height: 0; }
  .support-pair { grid-template-columns: 1fr; }
  .support-card { padding: 27px 20px; }
  .support-card h2 { font-size: 24px; }
}
