:root {
  --black: #000000;
  --lavender: #e2a9f1;
  --lavender-soft: rgba(226, 169, 241, 0.34);
  --max-width: 980px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  color: var(--lavender);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--black);
  color: var(--lavender);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", Arial, sans-serif;
  letter-spacing: 0;
}

button,
a {
  font: inherit;
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: clamp(18px, 4vw, 48px) clamp(14px, 4vw, 40px) 48px;
}

.hero {
  display: grid;
  gap: clamp(14px, 3vw, 28px);
  justify-items: center;
}

.hero-frame {
  width: min(94vw, 860px);
  aspect-ratio: 1.22 / 1;
  border-radius: 50%;
  clip-path: ellipse(50% 48% at 50% 50%);
  background: var(--black);
  box-shadow: 0 0 26px rgba(226, 169, 241, 0.16);
  overflow: hidden;
}

.hero-frame img,
.hero-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  background: var(--black);
}

.title-capsule {
  margin: 0;
  width: min(100%, 900px);
}

.title-capsule img,
.story-card img,
.site-footer img {
  display: block;
  width: 100%;
  height: auto;
}

.story-card {
  margin: clamp(18px, 4vw, 36px) auto 0;
  width: min(100%, 900px);
}

.action-grid {
  width: min(100%, 860px);
  margin: clamp(24px, 5vw, 58px) auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 5vw, 54px);
  align-items: start;
}

.button-art {
  position: relative;
  width: 100%;
}

.button-art img {
  display: block;
  width: 100%;
  height: auto;
}

.hotspot {
  position: absolute;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: transparent;
  cursor: pointer;
  text-decoration: none;
}

.hotspot:focus-visible {
  outline: 4px solid #ffffff;
  outline-offset: 4px;
  box-shadow: 0 0 0 9px rgba(226, 169, 241, 0.58);
}

.social-telegram,
.social-instagram,
.social-facebook {
  left: 12%;
  width: 76%;
  height: 16%;
}

.social-telegram {
  top: 35.5%;
}

.social-instagram {
  top: 57.5%;
}

.social-facebook {
  top: 79.3%;
}

.support-bnb,
.support-trc,
.support-erc {
  left: 12%;
  width: 76%;
  height: 16%;
}

.support-bnb {
  top: 34.4%;
}

.support-trc {
  top: 57.2%;
}

.support-erc {
  top: 80.1%;
}

.gallery {
  width: min(100%, 900px);
  margin: clamp(20px, 5vw, 46px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 4vw, 38px);
  align-items: center;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 14px rgba(226, 169, 241, 0.12));
}

.site-footer {
  width: min(76%, 470px);
  margin: clamp(46px, 10vw, 120px) auto 0;
}

.site-footer a {
  display: block;
  border-radius: 999px;
}

.site-footer a:focus-visible {
  outline: 4px solid #ffffff;
  outline-offset: 6px;
  box-shadow: 0 0 0 10px rgba(226, 169, 241, 0.38);
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76);
}

.modal-panel {
  position: relative;
  width: min(100%, 620px);
  padding: clamp(22px, 5vw, 38px);
  border: 8px solid var(--lavender);
  border-radius: 34px;
  background: var(--black);
  box-shadow: inset 0 0 0 7px #000000, 0 0 30px rgba(226, 169, 241, 0.28);
  color: var(--lavender);
  text-align: center;
}

.modal-panel h2 {
  margin: 0 34px 18px;
  color: var(--lavender);
  line-height: 1.05;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 3px solid var(--lavender);
  border-radius: 50%;
  background: var(--black);
  color: var(--lavender);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.wallet-label,
.wallet-warning,
.copy-status {
  margin: 16px 0 0;
  font-family: Arial, sans-serif;
  font-weight: 700;
  line-height: 1.35;
}

.wallet-address {
  margin: 10px 0 0;
  padding: 14px;
  border: 3px solid var(--lavender);
  border-radius: 16px;
  background: rgba(226, 169, 241, 0.12);
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: clamp(0.8rem, 2.7vw, 1rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.copy-button,
.back-button {
  min-width: 150px;
  min-height: 48px;
  padding: 10px 22px;
  border: 4px solid var(--lavender);
  border-radius: 999px;
  cursor: pointer;
}

.copy-button {
  background: var(--lavender);
  color: var(--black);
}

.back-button {
  background: var(--black);
  color: var(--lavender);
}

.copy-button:focus-visible,
.back-button:focus-visible,
.modal-close:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

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

@media (max-width: 680px) {
  .page-shell {
    padding-inline: 10px;
  }

  .hero-frame {
    width: min(96vw, 640px);
  }

.hero-frame img {
    transform: none;
  }

  .action-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(100%, 430px);
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
  }

  .site-footer {
    width: min(88%, 430px);
  }
}

@media (max-width: 380px) {
  .gallery {
    grid-template-columns: 1fr;
    width: min(88%, 290px);
  }
}

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