:root {
  --fg: #fff;
  --dim: rgba(255, 255, 255, 0.68);
  --glass: linear-gradient(160deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.15) 55%, rgba(255, 255, 255, 0.21) 100%);
  --glass-hover: linear-gradient(160deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.2) 55%, rgba(255, 255, 255, 0.27) 100%);
  --spring: cubic-bezier(0.3, 1.5, 0.5, 1);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  background: #4b343e;
}

body {
  position: relative;
  min-height: 100vh;
  min-height: 100lvh;
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  display: flex;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background-color: #4b343e;
}

.bg::before {
  content: "";
  position: absolute;
  left: -40px;
  right: -40px;
  top: -40px;
  height: calc(100vh + 80px);
  height: calc(100lvh + 80px);
  background: url(release-cover.jpg) center / cover no-repeat;
  filter: blur(10px) saturate(1.25);
  transform: scale(1.5);
  transform-origin: 50% 12%;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #4b343e 0, rgba(75, 52, 62, 0) 110px),
    linear-gradient(0deg, #4b343e 0, rgba(75, 52, 62, 0) 160px),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 45%, rgba(0, 0, 0, 0.55) 100%);
}

.featured,
.link-btn,
.release-link,
.hint-btn {
  position: relative;
  background: var(--glass);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.45),
    inset 0 -1px 1px rgba(255, 255, 255, 0.12),
    0 10px 30px rgba(0, 0, 0, 0.28);
}

.featured::before,
.link-btn::before,
.release-link::before,
.hint-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.18) 30%, rgba(255, 255, 255, 0.06) 55%, rgba(255, 255, 255, 0.42) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.link-btn::after,
.release-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(180px circle at var(--x, 50%) var(--y, -60%), rgba(255, 255, 255, 0.2), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.link-btn:hover::after,
.release-link:hover::after {
  opacity: 1;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .featured, .link-btn, .release-link, .hint-btn {
    background: rgba(38, 38, 40, 0.88);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .featured, .link-btn, .release-link, .hint-btn {
    background: rgba(38, 38, 40, 0.94);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

.wrap {
  width: 100%;
  max-width: 460px;
  padding: calc(44px + env(safe-area-inset-top)) calc(20px + env(safe-area-inset-right)) calc(56px + env(safe-area-inset-bottom)) calc(20px + env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 16px 0 0;
  text-align: center;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

.featured {
  width: 100%;
  border-radius: 30px;
  padding: 22px 20px 4px;
  margin: 30px 0 34px;
  text-align: center;
}

.featured-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}

.featured-cover {
  display: block;
  width: 152px;
  height: 152px;
  object-fit: cover;
  border-radius: 18px;
  margin: 16px auto 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.featured-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.featured-sub {
  font-size: 14px;
  color: var(--dim);
  margin: 4px 0 18px;
}

.btn-primary {
  display: block;
  background: rgba(255, 255, 255, 0.92);
  color: #000;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  padding: 15px 20px;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 #fff, 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s var(--spring), background 0.2s ease;
}

.btn-primary:hover {
  background: #fff;
}

.btn-primary:active {
  transform: scale(0.97);
}

.featured-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.featured-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 14px 2px 13px;
  color: var(--fg);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  transition: transform 0.3s var(--spring), opacity 0.15s ease;
}

.featured-links a:hover {
  opacity: 0.75;
}

.featured-links a:active {
  transform: scale(0.92);
}

.featured-links svg {
  width: 22px;
  height: 22px;
}

.section {
  width: 100%;
  margin-bottom: 28px;
}

.section:last-of-type {
  margin-bottom: 12px;
}

.section-head {
  text-align: center;
  margin-bottom: 12px;
}

.section-head span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 18px;
  border-radius: 22px;
  color: var(--fg);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.3s var(--spring), background 0.2s ease;
}

.link-btn:hover {
  background: var(--glass-hover);
}

.link-btn:active {
  transform: scale(0.97);
}

.link-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-icon svg {
  width: 100%;
  height: 100%;
}

.link-icon img {
  width: 150%;
  height: 150%;
  flex-shrink: 0;
  object-fit: contain;
}

.link-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.link-label small {
  font-weight: 400;
  font-size: 12px;
  color: var(--dim);
}

.chevron {
  flex-shrink: 0;
  color: var(--dim);
}

.link-btn.feature {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
}

.link-btn.feature:hover {
  background: #fff;
}

.link-btn.feature .link-label small,
.link-btn.feature .chevron {
  color: rgba(0, 0, 0, 0.55);
}

footer {
  margin-top: 26px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

.scroll-hint {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.scroll-hint.is-hidden {
  opacity: 0;
}

.hint-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
  animation: hint-bounce 1.7s ease-in-out infinite;
}

@keyframes hint-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .hint-btn { animation: none; }
}

.release-cover {
  display: block;
  width: 100%;
  max-width: 196px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 22px;
  margin: 22px 0 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.release-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
  text-align: center;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

.release-sub {
  font-size: 14px;
  color: var(--dim);
  margin: 6px 0 0;
  text-align: center;
}

.release-links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

.release-link {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 15px 18px;
  border-radius: 22px;
  color: var(--fg);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.3s var(--spring), background 0.2s ease;
}

.release-link:hover {
  background: var(--glass-hover);
}

.release-link:active {
  transform: scale(0.97);
}

.back-link {
  margin-top: 24px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.back-link:hover {
  color: var(--fg);
}
