@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@500;600;700;800&amp;display=swap");

:root {
  --bg: #eef7ff;
  --card: rgba(255, 255, 255, 0.88);
  --ink: #152238;
  --muted: #5b6b82;
  --blue: #1d72ff;
  --cyan: #15c8ff;
  --gold: #ffb000;
  --green: #18b35b;
  --shadow: 0 24px 70px rgba(38, 93, 160, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  min-height: 100dvh;
  color: var(--ink);
  font-family: "Be Vietnam Pro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(21, 200, 255, 0.38), transparent 30%),
    radial-gradient(circle at 84% 12%, rgba(255, 176, 0, 0.25), transparent 28%),
    linear-gradient(135deg, #fafdff 0%, var(--bg) 48%, #f7fff9 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(29, 114, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 114, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 35%, black, transparent 70%);
}

.download-page {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: 42px 18px;
}

.download-panel {
  width: min(100%, 920px);
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.logo-link {
  display: inline-block;
  width: min(310px, 72vw);
  filter: drop-shadow(0 10px 24px rgba(29, 114, 255, 0.22));
}

.logo-link img {
  display: block;
  width: 100%;
}

.eyebrow {
  margin: 24px 0 10px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.lead {
  max-width: 680px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.file-note {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin: 26px auto 0;
  padding: 11px 16px;
  color: #7a4b00;
  background: #fff3cf;
  border: 1px solid #ffd36a;
  border-radius: 999px;
}

.pass-note {
  position: relative;
  padding: 14px 22px;
  overflow: hidden;
  color: #8a1f00;
  background: linear-gradient(135deg, #fff6c7, #ffe27a 52%, #fff1ab);
  border: 2px solid #ffb000;
  box-shadow:
    0 0 0 4px rgba(255, 176, 0, 0.14),
    0 12px 28px rgba(255, 176, 0, 0.22);
  animation: passPulse 760ms ease-in-out infinite;
}

.pass-note strong {
  position: relative;
  z-index: 1;
  font-size: clamp(1.05rem, 2.5vw, 1.55rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.74),
    0 0 12px rgba(255, 96, 0, 0.34);
  animation: passTextBlink 760ms ease-in-out infinite;
}

.pass-note::before {
  content: "";
  position: absolute;
  inset: -40% -18%;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, 0.8) 48%, transparent 68%);
  transform: translateX(-120%) skewX(-18deg);
  animation: passShine 1300ms ease-in-out infinite;
}

.file-note span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.download-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.download-card {
  position: relative;
  min-height: 178px;
  padding: 24px;
  overflow: hidden;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid rgba(29, 114, 255, 0.13);
  border-radius: 26px;
  box-shadow: 0 16px 34px rgba(38, 93, 160, 0.13);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.download-card::after {
  content: "↓";
  position: absolute;
  right: 20px;
  bottom: 14px;
  color: rgba(29, 114, 255, 0.16);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
}

.download-card:hover,
.download-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(29, 114, 255, 0.42);
  box-shadow: 0 24px 46px rgba(38, 93, 160, 0.22);
}

.download-card:focus-visible,
.back-link:focus-visible {
  outline: 4px solid rgba(255, 176, 0, 0.55);
  outline-offset: 4px;
}

.download-card.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.download-card.primary::after {
  color: rgba(255, 255, 255, 0.2);
}

.card-kicker,
.download-card small {
  display: block;
  color: inherit;
  opacity: 0.72;
  font-weight: 700;
}

.card-kicker {
  margin-bottom: 18px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.download-card strong {
  display: block;
  max-width: 180px;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.2;
}

.download-card small {
  margin-top: 14px;
}

@keyframes passPulse {
  0%,
  100% {
    transform: scale(1);
    color: #8a1f00;
    background: linear-gradient(135deg, #fff6c7, #ffe27a 52%, #fff1ab);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.075);
    color: #ffffff;
    background: linear-gradient(135deg, #ff8a00, #ff2f00 55%, #ffb000);
    filter: brightness(1.28);
    box-shadow:
      0 0 0 8px rgba(255, 176, 0, 0.24),
      0 0 34px rgba(255, 96, 0, 0.76),
      0 18px 38px rgba(255, 47, 0, 0.32);
  }
}

@keyframes passTextBlink {
  0%,
  100% {
    color: inherit;
  }

  50% {
    color: #ffffff;
    text-shadow:
      0 2px 0 rgba(80, 0, 0, 0.5),
      0 0 16px rgba(255, 255, 255, 0.92),
      0 0 28px rgba(255, 242, 0, 0.8);
  }
}

@keyframes passShine {
  0%,
  34% {
    transform: translateX(-120%) skewX(-18deg);
    opacity: 0;
  }

  48% {
    opacity: 0.9;
  }

  72%,
  100% {
    transform: translateX(120%) skewX(-18deg);
    opacity: 0;
  }
}

.back-link {
  display: inline-flex;
  margin-top: 30px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.mobile-warning {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: 24px;
  color: var(--ink);
  background: rgba(240, 248, 255, 0.94);
  backdrop-filter: blur(12px);
}

body.mobile-blocked {
  overflow: hidden;
}

body.mobile-blocked .mobile-warning {
  display: grid;
}

.warning-card {
  width: min(100%, 420px);
  padding: 28px;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(29, 114, 255, 0.18);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.warning-card strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1.15;
}

.warning-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 760px) {
  .download-page {
    padding: 22px 14px;
  }

  .download-panel {
    padding: 26px 18px;
    border-radius: 26px;
  }

  .download-list {
    grid-template-columns: 1fr;
  }

  .download-card {
    min-height: 142px;
  }
}
