:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  background: #1b0033;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 1024px;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  overflow: hidden;
  background: #1b0033;
}

.download-page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 67vh 33vh;
  overflow: hidden;
  background: #1b0033;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(31, 0, 54, 0.34), rgba(109, 17, 74, 0.18), rgba(31, 0, 54, 0.35)),
    url("assets/golden-lutto-background.png") center / cover no-repeat;
  box-shadow: inset 0 -18px 30px rgba(10, 0, 26, 0.24);
}

.golden-lutto-logo {
  width: min(32vw, 430px);
  height: auto;
  filter: drop-shadow(0 18px 17px rgba(11, 0, 21, 0.54));
  transform: translateY(-2%);
}

.notice {
  position: absolute;
  z-index: 2;
  color: #ffe82d;
  border: 3px solid #ffbd00;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(82, 38, 142, 0.96), rgba(77, 31, 127, 0.95));
  box-shadow: 0 5px 13px rgba(16, 0, 34, 0.24), inset 0 1px rgba(255, 255, 255, 0.15);
  font-weight: 800;
}

.notice-register {
  top: 7.5%;
  right: 4.2%;
  width: clamp(350px, 31vw, 475px);
  padding: 14px 17px 15px;
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.5;
}

.notice-register strong,
.notice-register span {
  display: block;
}

.notice-age {
  left: 2.2%;
  bottom: 6.5%;
  min-width: clamp(330px, 32vw, 445px);
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 15px 10px 10px;
  color: #fff;
}

.notice-age strong,
.notice-age small {
  display: block;
}

.notice-age strong {
  font-size: clamp(11px, 0.85vw, 14px);
  line-height: 1.15;
}

.notice-age small {
  margin-top: 0;
  color: #ffde1a;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 800;
}

.age-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #722256;
  border: 3px solid #ffce18;
  border-radius: 50%;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
}

.download-button {
  position: absolute;
  right: 3.7%;
  bottom: 7.4%;
  min-width: 190px;
  height: 61px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  padding: 6px 7px 6px 25px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(180deg, #32ee00 0%, #19bd00 100%);
  box-shadow: 0 10px 22px rgba(9, 103, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.34);
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.015em;
  transition: transform 150ms ease, filter 150ms ease;
}

.download-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}

.download-button:focus-visible {
  outline: 4px solid #fff;
  outline-offset: 4px;
}

.download-button i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #111;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.08);
  font-style: normal;
}

.download-button i svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: #111;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.game-types {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  gap: clamp(50px, 9vw, 170px);
  padding: 2vh 4vw 3vh;
  background:
    linear-gradient(90deg, rgba(78, 8, 75, 0.4), rgba(176, 36, 92, 0.3), rgba(69, 5, 70, 0.42)),
    url("assets/golden-lutto-background.png") center 18% / cover no-repeat;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.game-types::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(217, 50, 121, 0.16), transparent 55%);
}

.game-badge {
  position: relative;
  width: clamp(120px, 10vw, 165px);
  aspect-ratio: 0.88;
  display: grid;
  place-items: center;
  isolation: isolate;
  clip-path: polygon(50% 0, 94% 14%, 88% 63%, 76% 80%, 50% 100%, 24% 80%, 12% 63%, 6% 14%);
  background: linear-gradient(110deg, #6f3d00 0%, #fff8a8 17%, #b76c00 34%, #fff2a0 53%, #7e4600 72%, #ffe286 88%, #6d3900 100%);
  filter: drop-shadow(0 12px 8px rgba(31, 0, 26, 0.46));
}

.game-badge::before {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: -1;
  clip-path: inherit;
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.2), transparent 30%),
    linear-gradient(180deg, #1d1d1d 0 46%, #f3170f 48%, #d00000 100%);
  box-shadow: inset 0 0 0 3px #1f1615;
}

.game-badge::after {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: -1;
  clip-path: inherit;
  border: 2px solid rgba(255, 214, 59, 0.62);
}

.game-badge span {
  transform: translateY(-7%);
  color: #ffcb10;
  font-family: Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(43px, 4.1vw, 66px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  -webkit-text-stroke: 4px #090909;
  paint-order: stroke fill;
  text-shadow: 0 5px 0 #7d0800, 0 7px 7px rgba(0, 0, 0, 0.68);
}

@media (max-height: 700px) {
  .download-page {
    grid-template-rows: 66vh 34vh;
  }

  .golden-lutto-logo {
    width: min(28vw, 350px);
  }

  .game-badge {
    width: min(9vw, 130px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-button {
    transition: none;
  }
}
