:root {
  --ink: #07100e;
  --ink-soft: #10201d;
  --panel: #142b27;
  --paper: #edf4ed;
  --paper-muted: #c9d9ce;
  --teal: #36c9bd;
  --lime: #d7f238;
  --gold: #e1ad42;
  --danger: #d95757;
  --line: rgba(54, 201, 189, 0.45);
  --shadow: rgba(0, 0, 0, 0.35);
  --font-sans: Arial, "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.7;
}

button,
a {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

/* Age gate */

.age-gate {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(7, 16, 14, 0.88), rgba(7, 16, 14, 0.96)),
    repeating-linear-gradient(
      45deg,
      transparent 0 38px,
      rgba(54, 201, 189, 0.08) 39px 40px
    );
}

.age-panel {
  width: min(620px, 100%);
  text-align: center;
}

.logo-mark,
.brand-mark {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  min-height: 48px;
  color: var(--ink);
  background: var(--lime);
  font-weight: 900;
  letter-spacing: 0.08em;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}

.eyebrow,
.section-code {
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.age-panel h1 {
  margin: 18px 0 4px;
  color: var(--lime);
  font-size: clamp(2rem, 8vw, 4.8rem);
  line-height: 1.1;
}

.age-panel h2 {
  margin: 0 0 28px;
  color: var(--paper);
  font-size: clamp(1.1rem, 4vw, 1.8rem);
}

.age-copy {
  color: var(--paper-muted);
  text-align: left;
}

.age-copy strong {
  color: var(--lime);
}

.age-note {
  color: var(--paper);
  font-weight: 700;
}

.age-actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 58px;
  border: 1px solid transparent;
  padding: 10px 18px;
  color: white;
  font-weight: 700;
  transition: transform 160ms ease, filter 160ms ease;
}

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

.button span {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
}

.button-enter {
  background: #218e79;
  border-color: var(--teal);
}

.button-leave {
  background: #7c292f;
  border-color: var(--danger);
}

/* Main site */

.site-shell {
  min-height: 100svh;
  background:
    linear-gradient(180deg, var(--ink) 0, var(--ink-soft) 45%, var(--ink) 100%);
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 56px);
  background: rgba(7, 16, 14, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  min-width: 38px;
  min-height: 38px;
  font-size: 0.7rem;
}

.brand-name {
  overflow: hidden;
  color: var(--paper);
  font-size: clamp(0.78rem, 2vw, 1rem);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid transparent;
  color: var(--paper);
  background: transparent;
}

.icon-button:hover,
.icon-button:focus-visible {
  color: var(--lime);
  border-color: var(--line);
  outline: none;
}

.button-label {
  font-size: 0.8rem;
}

.menu-lines {
  display: grid;
  gap: 5px;
  width: 22px;
}

.menu-lines i {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.page-content {
  transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 420ms ease;
}

.hero-section {
  min-height: min(720px, 82svh);
  display: grid;
  align-items: end;
  padding: clamp(40px, 10vw, 140px) clamp(20px, 8vw, 120px);
  background:
    radial-gradient(circle at 72% 30%, rgba(54, 201, 189, 0.18), transparent 30%),
    linear-gradient(135deg, #07100e, #12332d 60%, #0a1715);
}

.hero-placeholder {
  max-width: 760px;
}

.hero-grid {
  display: block;
  width: 90px;
  height: 8px;
  margin-bottom: 24px;
  background: var(--lime);
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}

.hero-section h1 {
  max-width: 760px;
  margin: 0;
  color: var(--paper);
  font-size: clamp(2.8rem, 9vw, 7rem);
  line-height: 0.98;
}

.hero-note {
  color: var(--paper-muted);
}

.expression-section,
.cards-section,
.support-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 140px) 0;
}

.expression-section {
  color: var(--ink);
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100% - 1120px) / 2));
  padding-right: max(20px, calc((100% - 1120px) / 2));
  background: var(--paper);
}

.expression-section .section-code,
.expression-section h2 {
  color: var(--ink-soft);
}

.expression-section p {
  max-width: 720px;
}

.expression-section h2,
.cards-section h2,
.support-section h2 {
  margin-top: 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.1;
}

.card-placeholder {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) 1.1fr;
  min-height: 360px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.card-image-placeholder {
  display: grid;
  min-height: 300px;
  place-items: center;
  color: var(--paper-muted);
  background: #213d36;
}

.card-info-placeholder {
  position: relative;
  padding: clamp(24px, 4vw, 52px);
}

.card-info-placeholder h3 {
  margin-top: 34px;
  color: var(--lime);
}

.nsfw-label {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 3px 8px;
  color: white;
  background: var(--danger);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.support-section {
  border-top: 1px solid var(--line);
}

.telegram-link {
  color: #58a9ff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer {
  padding: 36px max(20px, calc((100% - 1120px) / 2));
  border-top: 1px solid var(--line);
  background: #050b0a;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--teal);
}

.footer-contact a:hover {
  color: var(--lime);
}

.footer-note {
  color: #71867f;
  font-size: 0.82rem;
}

/* Perspective menu */

.menu-backdrop {
  position: fixed;
  z-index: 29;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

.side-menu {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  width: min(360px, 68vw);
  height: 100svh;
  padding: 112px 28px 28px;
  color: var(--paper);
  background: #0b1916;
  border-left: 2px solid var(--teal);
  box-shadow: -24px 0 50px var(--shadow);
  transform: translateX(100%);
  transform-origin: left center;
  transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.menu-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 48px;
  color: var(--teal);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
}

.menu-code {
  color: var(--lime);
}

.menu-link {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(54, 201, 189, 0.2);
  font-size: 1.35rem;
  font-weight: 700;
}

.menu-link:hover {
  color: var(--lime);
}

.menu-number {
  color: var(--teal);
  font-size: 0.8rem;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .page-content {
  filter: brightness(0.62);
  transform: perspective(1100px) rotateY(7deg) translateX(-3vw) scale(0.96);
  transform-origin: right center;
}

body.menu-open .side-menu {
  transform: translateX(0);
}

body.menu-open .menu-lines i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .menu-lines i:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-lines i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 700px) {
  .button-label {
    display: none;
  }

  .topbar {
    min-height: 64px;
    padding: 10px 14px;
  }

  .brand {
    gap: 8px;
  }

  .brand-name {
    max-width: 42vw;
  }

  .hero-section {
    min-height: 620px;
    padding: 80px 20px;
  }

  .card-placeholder {
    grid-template-columns: 1fr;
  }

  .card-image-placeholder {
    min-height: 270px;
  }

  .card-info-placeholder {
    min-height: 270px;
  }

  .side-menu {
    width: 64vw;
    padding-left: 22px;
    padding-right: 22px;
  }

  body.menu-open .page-content {
    transform: perspective(900px) rotateY(4deg) translateX(-5vw) scale(0.98);
  }
}
.language-control {
  position: relative;
}

.language-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 10px);
  right: 0;
  width: 150px;
  padding: 6px;
  border: 1px solid var(--line);
  color: var(--paper);
  background: #0b1916;
  box-shadow: 0 18px 40px var(--shadow);
}

.language-menu button {
  width: 100%;
  min-height: 44px;
  border: 0;
  padding: 8px 12px;
  color: inherit;
  background: transparent;
  text-align: left;
}

.language-menu button:hover,
.language-menu button:focus-visible,
.language-menu button[aria-current="true"] {
  color: var(--lime);
  background: rgba(54, 201, 189, 0.1);
  outline: none;
}

.language-menu button[aria-current="true"]::before {
  content: "◆";
  margin-right: 8px;
  color: var(--teal);
  font-size: 0.65rem;
}
.contact-page {
  width: min(1040px, calc(100% - 40px));
  min-height: calc(100svh - 72px);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) 0;
}

.contact-intro {
  max-width: 680px;
  margin-bottom: 48px;
}

.contact-intro h1 {
  margin: 0;
  color: var(--lime);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1;
}

#contact-description {
  margin-top: 24px;
  color: var(--paper-muted);
}

.contact-list {
  display: grid;
  gap: 12px;
  perspective: 1000px;
}

.contact-item {
  display: grid;
  grid-template-columns: 48px 100px minmax(0, 1fr);
  align-items: center;
  min-height: 92px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  animation: contact-enter 520ms both;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.contact-item:nth-child(2) {
  animation-delay: 70ms;
}

.contact-item:nth-child(3) {
  animation-delay: 140ms;
}

.contact-item:hover,
.contact-item:focus-visible {
  border-color: var(--lime);
  transform: translateX(8px);
  outline: none;
}

.contact-item.is-focused {
  border-color: var(--lime);
  background: #1b3932;
  transform: scale(1.035);
  box-shadow: inset 4px 0 0 var(--lime);
}

.contact-item[aria-disabled="true"] {
  cursor: default;
}

.contact-index,
.contact-type {
  color: var(--teal);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.contact-value {
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 3vw, 1.45rem);
}

.contact-back {
  display: inline-block;
  margin-top: 48px;
  color: var(--teal);
}

.contact-back:hover {
  color: var(--lime);
}

@keyframes contact-enter {
  from {
    opacity: 0;
    transform: translateX(48px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@media (max-width: 700px) {
  .contact-page {
    min-height: calc(100svh - 64px);
  }

  .contact-item {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .contact-type {
    display: none;
  }

  .contact-item.is-focused {
    transform: scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-item {
    animation: none;
    transition: none;
  }
}
.support-page {
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100svh - 72px);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) 0;
}

.support-intro h1 {
  margin: 0;
  color: var(--lime);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1;
}

.support-intro > p:last-child {
  color: var(--paper-muted);
}

.support-workspace {
  display: grid;
  gap: 36px;
  margin-top: 56px;
  transition: grid-template-columns 420ms ease;
}

.support-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.support-channel {
  min-height: 150px;
  border: 1px solid var(--line);
  padding: 24px;
  color: var(--paper);
  background: var(--panel);
  text-align: left;
  transition: transform 300ms ease, border-color 300ms ease;
}

.support-channel strong,
.support-channel span {
  display: block;
}

.support-channel strong {
  color: var(--lime);
  font-size: 1.5rem;
}

.support-channel span {
  margin-top: 8px;
  color: var(--paper-muted);
}

.support-channel:hover,
.support-channel.is-selected {
  border-color: var(--lime);
  transform: scale(1.03);
}

.support-workspace.has-selection {
  grid-template-columns: minmax(230px, 0.75fr) minmax(320px, 1.25fr);
}

.has-selection .support-channels {
  grid-template-columns: 1fr;
}

.wallet-panel {
  padding: clamp(24px, 5vw, 48px);
  border-left: 1px solid var(--line);
  background: #0b1916;
}

.wallet-coin,
.wallet-label {
  color: var(--teal);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.wallet-panel h2 {
  color: var(--lime);
}

.qr-frame {
  width: min(280px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 16px 0 28px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#wallet-address {
  display: block;
  overflow-wrap: anywhere;
  padding: 16px;
  color: var(--paper);
  background: var(--panel);
}

.copy-button {
  min-height: 44px;
  margin-top: 12px;
  border: 1px solid var(--teal);
  padding: 8px 18px;
  color: var(--ink);
  background: var(--teal);
}

.copy-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.wallet-warning {
  margin-top: 28px;
  color: var(--gold);
  font-size: 0.86rem;
}

.support-telegram {
  display: inline-block;
  margin-top: 56px;
}

@media (max-width: 700px) {
  .support-channels,
  .support-workspace.has-selection {
    grid-template-columns: 1fr;
  }

  .support-channel {
    min-height: 104px;
  }

  .wallet-panel {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}
.home-support-channels {
  display: grid;
  gap: 10px;
  max-width: 440px;
  margin: 28px 0;
}

.home-support-channel {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
  min-height: 64px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.home-support-channel strong {
  color: var(--lime);
  font-size: 1.05rem;
}

.home-support-channel span {
  color: var(--paper-muted);
}

.home-support-channel:hover,
.home-support-channel:focus-visible {
  border-color: var(--lime);
  transform: translateX(8px);
  outline: none;
}

@media (max-width: 700px) {
  .home-support-channel {
    grid-template-columns: 74px minmax(0, 1fr);
  }
}
.character-card-list {
  display: grid;
  gap: 24px;
}

.character-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  min-height: 390px;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.character-card:hover,
.character-card:focus-visible {
  border-color: var(--lime);
  transform: translateY(-3px);
  outline: none;
}

.character-card-image {
  position: relative;
  min-width: 0;
  min-height: 330px;
  overflow: hidden;
  border: 0;
  padding: 0;
  color: var(--paper-muted);
  background: #213d36;
}

.character-card-image > span {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 330px;
  place-items: center;
}

.character-card-image img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  display: block;
  object-fit: cover;
  transform: scale(1.04);
  transition:
    filter 260ms ease,
    transform 260ms ease;
}

.character-card-image img.is-blurred {
  filter: blur(20px) brightness(0.65);
  transform: scale(1.12);
}

.character-card-image::after {
  content: "TAP TO REVEAL";
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 4px 8px;
  color: var(--paper);
  background: rgba(7, 16, 14, 0.8);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.character-card-image.is-revealed::after,
.character-card-image:not(:has(img))::after {
  display: none;
}

.character-card-info {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(28px, 5vw, 56px);
}

.character-card-info h3 {
  margin: 28px 80px 18px 0;
  color: var(--lime);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.character-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.character-card-tags span {
  border: 1px solid var(--line);
  padding: 4px 9px;
  color: var(--teal);
  font-size: 0.76rem;
}

.character-card-summary {
  max-width: 620px;
  color: var(--paper-muted);
}

.character-card-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding-top: 28px;
}

.character-card-languages span,
.character-card-languages strong {
  display: block;
}

.character-card-languages span {
  color: var(--teal);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.character-card-languages strong {
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.card-download {
  position: relative;
  flex: 0 0 auto;
}

.card-download-button {
  min-width: 104px;
  min-height: 46px;
  border: 1px solid var(--teal);
  padding: 8px 16px;
  color: var(--ink);
  background: var(--teal);
}

.card-download-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.card-download-menu {
  position: absolute;
  z-index: 8;
  top: calc(100% + 8px);
  right: 0;
  width: 180px;
  padding: 6px;
  border: 1px solid var(--line);
  color: var(--paper);
  background: #0b1916;
  box-shadow: 0 18px 38px var(--shadow);
}

.card-download-heading {
  display: block;
  padding: 8px 10px;
  color: var(--teal);
  font-size: 0.7rem;
}

.card-download-menu a {
  display: block;
  min-height: 42px;
  padding: 8px 10px;
}

.card-download-menu a:hover {
  color: var(--lime);
  background: rgba(54, 201, 189, 0.1);
}

@media (max-width: 700px) {
  .character-card {
    grid-template-columns: 1fr;
  }

  .character-card-image,
  .character-card-image > span {
    min-height: 290px;
  }

  .character-card-image img {
    min-height: 290px;
    aspect-ratio: 4 / 3;
  }

  .character-card-info {
    min-height: 310px;
  }

  .character-card-footer {
    align-items: end;
  }

  .card-download-menu {
    right: 0;
  }
}
