:root {
  --bg: #050806;
  --bg-soft: #09110c;
  --panel: #0d1711;
  --panel-2: #101d15;
  --text: #f5f1e8;
  --muted: #a7b0a9;
  --green: #ccff00;
  --green-dark: #2d7a31;
  --gold: #c99b43;
  --line: rgba(255,255,255,.11);
  --shadow: 0 28px 80px rgba(0,0,0,.45);
  --radius: 24px;
  --container: 1500px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 20% 0%, rgba(42, 110, 55, .12), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand-copy {
  font-family: "Space Grotesk", sans-serif;
}

.container {
  width: min(var(--container), calc(100% - 24px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--green);
  color: #081006;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  min-height: var(--header-height);
  padding: 12px max(20px, 4vw);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  background: linear-gradient(to bottom, rgba(3, 7, 5, .92), rgba(3, 7, 5, .58));
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
  transition: background .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  background: rgba(3, 7, 5, .94);
  box-shadow: 0 10px 40px rgba(0,0,0,.24);
}

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

.brand-mark,
.footer-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: .16em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--gold);
  font-size: .58rem;
  letter-spacing: .28em;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
}

.nav a,
.footer-links a {
  color: #d8ddd9;
  font-size: .92rem;
  font-weight: 600;
  transition: color .2s ease;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  padding: 10px 16px;
  border: 1px solid rgba(201,155,67,.58);
  border-radius: 12px;
  color: #f6e9c9;
  font-weight: 700;
  font-size: .84rem;
  transition: transform .2s ease, background .2s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  background: rgba(201,155,67,.12);
}

.lang-button,
.menu-button {
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.lang-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 800;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #07100b;
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 7, 4, .93) 0%, rgba(2, 7, 4, .74) 34%, rgba(2, 7, 4, .24) 62%, rgba(2, 7, 4, .14) 100%),
    linear-gradient(0deg, rgba(3, 6, 4, .95) 0%, transparent 30%, rgba(3, 6, 4, .25) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 120px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--green);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 16px;
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  line-height: .84;
  letter-spacing: -.065em;
  text-transform: uppercase;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  color: var(--green);
  font-style: normal;
}

.hero-tagline {
  margin-bottom: 14px;
  color: #f5e8cc;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  font-weight: 600;
}

.hero-text {
  max-width: 600px;
  margin-bottom: 30px;
  color: #c5cdc7;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 50px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 14px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button.primary {
  background: linear-gradient(135deg, #386f29, #194a24);
  box-shadow: 0 18px 44px rgba(22, 85, 42, .34);
}

.button.secondary {
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(7, 12, 9, .38);
  backdrop-filter: blur(10px);
}

.hero-values {
  max-width: 620px;
  margin: 38px 0 0;
  padding: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  border-top: 1px solid rgba(255,255,255,.14);
  list-style: none;
}

.hero-values li {
  display: grid;
  gap: 3px;
}

.hero-values span {
  color: var(--gold);
  font-size: .72rem;
  letter-spacing: .12em;
}

.hero-values strong {
  font-size: .9rem;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 3;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #d7ddd8;
  font-size: .73rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.scroll-cue b {
  color: var(--green);
  font-size: 1.15rem;
}

.section {
  padding: 108px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading.split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
}

.section h2 {
  margin-bottom: 16px;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.text-link {
  min-width: max-content;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--gold);
  color: #f1dba9;
  font-weight: 700;
}

.story-section {
  background:
    radial-gradient(circle at 82% 12%, rgba(44, 114, 57, .16), transparent 26%),
    linear-gradient(180deg, #050806, #07100b);
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.chapter-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: 0 18px 55px rgba(0,0,0,.22);
  isolation: isolate;
}

.chapter-card.featured {
  grid-column: span 2;
  grid-row: span 1;
  min-height: 430px;
}

.chapter-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .55s ease;
}

.chapter-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2,6,4,.94) 0%, rgba(2,6,4,.22) 62%, transparent 100%);
}

.chapter-card-copy {
  position: absolute;
  inset: auto 20px 18px;
  z-index: 2;
}

.chapter-card small {
  color: var(--green);
  font-weight: 800;
  letter-spacing: .12em;
}

.chapter-card h3 {
  margin: 6px 0 0;
  font-size: 1.18rem;
  line-height: 1.08;
}

.chapter-card p {
  max-width: 360px;
  margin: 9px 0 0;
  color: #c4ccc6;
}

.chapter-card:hover img {
  transform: scale(1.045);
}

.characters-section {
  background:
    radial-gradient(circle at 12% 30%, rgba(201,155,67,.08), transparent 22%),
    #060a07;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.character-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  background: linear-gradient(180deg, #111d16, #09100c);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}

.character-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  background: #0b110d;
  transition: transform .45s ease;
}

.character-card div {
  padding: 18px;
}

.character-card small {
  color: var(--gold);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.character-card h3 {
  margin: 7px 0 4px;
  font-size: 1.4rem;
}

.character-card p {
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
}

.character-card:hover img {
  transform: scale(1.035);
}

.identity-section {
  background: #050806;
}

.identity-card {
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
  padding: clamp(28px, 5vw, 68px);
  overflow: hidden;
  border: 1px solid rgba(204,255,0,.18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 20%, rgba(204,255,0,.1), transparent 30%),
    linear-gradient(135deg, #0c1710, #07100b);
  box-shadow: var(--shadow);
}

.identity-copy p:not(.eyebrow) {
  color: var(--muted);
}

.identity-points {
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.identity-points li {
  position: relative;
  padding-left: 28px;
}

.identity-points li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--green);
}

.identity-image {
  margin: 0;
  transform: rotate(2deg);
}

.identity-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}

.token-section {
  background:
    linear-gradient(180deg, #050806, #08110c);
}

.token-panel {
  padding: clamp(28px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 36px;
  align-items: center;
  border: 1px solid rgba(201,155,67,.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 0%, rgba(201,155,67,.12), transparent 26%),
    #0a120d;
}

.token-copy p:not(.eyebrow) {
  color: var(--muted);
}

.contract-box {
  padding: 24px;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: rgba(0,0,0,.28);
}

.contract-box span {
  color: var(--gold);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.contract-box code {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 1.1rem;
}

.contract-box button {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: #1b2a20;
  color: #7f8a82;
  cursor: not-allowed;
}

.community-section {
  background: #07100b;
}

.community-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.community-links a {
  padding: 24px;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0b1510;
  transition: transform .2s ease, border-color .2s ease;
}

.community-links a:hover {
  transform: translateY(-4px);
  border-color: rgba(204,255,0,.35);
}

.community-links span {
  color: var(--muted);
  font-size: .82rem;
}

.community-links strong {
  font-size: 1.1rem;
}

.site-footer {
  padding: 44px 0 30px;
  border-top: 1px solid var(--line);
  background: #030604;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 30px;
}

.footer-brand {
  margin-bottom: 16px;
}

.site-footer p {
  max-width: 360px;
  margin-bottom: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.site-footer small:last-child {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #788079;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 20px;
    right: 20px;
    padding: 20px;
    display: grid;
    justify-content: stretch;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(4, 9, 6, .98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    padding: 12px 8px;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .header-actions {
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .chapter-grid,
  .character-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .chapter-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    padding-inline: 14px;
    gap: 12px;
  }

  .brand-mark,
  .footer-brand img {
    width: 32px;
    height: 32px;
  }

  .hero {
    min-height: 920px;
    align-items: end;
  }

  .hero-background {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(2,7,4,.98) 0%, rgba(2,7,4,.76) 46%, rgba(2,7,4,.18) 82%),
      linear-gradient(90deg, rgba(2,7,4,.65), transparent 70%);
  }

  .hero-content {
    padding-top: 280px;
    padding-bottom: 128px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 5.8rem);
  }

  .hero-values {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 82px 0;
  }

  .section-heading.split {
    align-items: flex-start;
    flex-direction: column;
  }

  .chapter-grid,
  .character-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chapter-card.featured {
    min-height: 420px;
  }

  .identity-card,
  .token-panel {
    grid-template-columns: 1fr;
  }

  .identity-image {
    transform: none;
  }

  .community-links {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .brand-copy strong {
    font-size: .9rem;
  }

  .brand-copy small {
    font-size: .5rem;
  }

  .hero {
    min-height: 780px;
  }

  .hero-background {
    object-position: 66% center;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 190px);
    padding-bottom: 88px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 4.2rem);
    line-height: .9;
  }

  .hero-tagline {
    font-size: 1.15rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .chapter-grid,
  .character-grid {
    grid-template-columns: 1fr;
  }

  .chapter-card,
  .chapter-card.featured {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .chapter-card img {
    object-position: center top;
  }

  .chapter-card-copy {
    inset: auto 18px 16px;
  }

  .chapter-card h3 {
    font-size: 1.08rem;
  }

  .chapter-card p {
    font-size: .9rem;
    line-height: 1.45;
  }

  .character-card img {
    aspect-ratio: 4 / 4.8;
  }

  .identity-card,
  .token-panel {
    padding: 24px;
    border-radius: 22px;
  }
}
.universe-map{

    padding:70px 0;

}

.map-wrapper{

    border-radius:18px;

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/*=========================
    UNIVERSE MAP
==========================*/

.universe-map{

    padding:120px 0;

}

.map-wrapper{

    overflow:hidden;

    border-radius:28px;

    border:1px solid rgba(255,255,255,.08);

    box-shadow:0 25px 80px rgba(0,0,0,.45);

    background:#09110a;

}

.map-wrapper img{

    width:100%;

    display:block;

}
#copyButton.copied{
    background:#00c46a;
    color:#fff;
    transition:.25s;
}
