:root {
  --bg: #08111f;
  --bg-alt: #0c1a30;
  --surface: #10203a;
  --border: rgba(255, 255, 255, .08);
  --text: #e8eaf0;
  --muted: #9aa3b5;
  --gold: #d9a840;
  --gold-light: #f1c96a;
  /* Logo palette (logo_text_2.png): cream letters, navy outline */
  --cream: #f6edd6;
  --cream-light: #fcf9e7;
  --navy: #0d2550;
  --navy-deep: #031024;
  --radius: 10px;
  --font-display: 'Russo One', 'Arial Black', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.2; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
code { background: rgba(246, 237, 214, .1); color: var(--cream-light); padding: .1em .4em; border-radius: 6px; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: #cfd4df; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 600; color: #b9c6dc; margin-bottom: .75em; }
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: .02em; }

/* Logo-style text: cream fill, thick navy outline, 3D drop */
.logo-text, .section__title, .message h1 {
  font-family: var(--font-display); font-weight: 400; letter-spacing: .02em; color: var(--cream);
  -webkit-text-stroke: .16em var(--navy-deep); paint-order: stroke fill;
  text-shadow: 0 .09em 0 var(--navy-deep), 0 .14em .35em rgba(0, 0, 0, .55);
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .6em 1.2em; border-radius: 8px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; transition: background .2s, border-color .2s, transform .2s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: .85em 1.6em; font-size: 1rem; }
.btn--primary { background: var(--cream); color: var(--navy-deep); border-color: var(--navy-deep); box-shadow: 0 3px 0 var(--navy-deep); }
.btn--primary:hover { background: var(--cream-light); box-shadow: 0 4px 0 var(--navy-deep), 0 0 18px rgba(246, 237, 214, .25); }
.btn--ghost { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--cream); }
.btn .icon { width: 1.25em; height: 1.25em; flex: none; }
.btn--discord:hover { border-color: #5865f2; background: rgba(88, 101, 242, .18); }

/* Navigation */
.nav { position: fixed; inset: 10px 0 auto; z-index: 50; }
/* Floating translucent container (more opaque once scrolled) */
.nav__inner { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 60px; padding: 0 14px; border-radius: var(--radius); background: rgba(8, 17, 31, .5); border: 1px solid rgba(246, 237, 214, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: background .3s, border-color .3s; }
.nav.is-scrolled .nav__inner { background: rgba(8, 17, 31, .85); border-color: rgba(246, 237, 214, .18); }
.nav__brand { display: inline-flex; align-items: center; gap: .6em; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: .06em; }
.nav__brand > img { width: 42px; height: 42px; transition: transform .25s; }
.nav__brand:hover > img { transform: scale(1.06) rotate(-4deg); }
/* Desktop: logo left, links centered, account right */
.nav__menu { display: contents; }
.nav__links { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; justify-self: center; }
.nav__links a { color: #cfd4df; font-weight: 500; font-size: .95rem; position: relative; }
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--cream); border-radius: 2px; }
.nav__account { display: flex; gap: .6rem; justify-self: end; }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s, opacity .3s; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(11, 15, 23, .3) 0%, transparent 25%, transparent 65%, rgba(11, 15, 23, .35) 85%, var(--bg) 100%); }
.hero__content { position: relative; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; padding: clamp(76px, 9vh, 104px) 0 clamp(36px, 6vh, 64px); }
.hero__brand, .hero__body { display: flex; flex-direction: column; align-items: center; }
.hero__title { width: min(760px, 100%); margin: 0 auto; }
.hero__title img { width: 100%; margin-inline: auto; height: auto; filter: drop-shadow(0 6px 28px rgba(0, 0, 0, .65)); }
.hero__slogan { width: min(150px, 45vw); height: auto; filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .6)); }
/* Hover: subtle lift + golden glow */
.hero__title img, .hero__slogan { transition: transform .35s ease, filter .35s ease; }
.hero__title img:hover, .hero__slogan:hover { transform: scale(1.03); filter: brightness(1.12) drop-shadow(0 0 22px rgba(241, 201, 106, .45)) drop-shadow(0 6px 28px rgba(0, 0, 0, .65)); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; align-items: center; justify-content: center; }

/* Copy-address button */
.ip { display: inline-flex; align-items: center; gap: .9em; padding: .55em .6em .55em 1.2em; border-radius: 8px; border: 1px solid rgba(217, 168, 64, .6); background: rgba(11, 15, 23, .6); backdrop-filter: blur(8px); color: var(--text); font: inherit; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.ip:hover { border-color: var(--gold-light); box-shadow: 0 0 24px rgba(217, 168, 64, .25); }
.ip__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }
.ip__value { font-weight: 600; letter-spacing: .02em; }
.ip__hint { background: var(--gold); color: #1a1205; padding: .35em .9em; border-radius: 5px; font-size: .85rem; font-weight: 600; }

/* Sections */
.section { padding: 6rem 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section__head { max-width: 640px; margin-bottom: 3rem; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.section__title { font-size: clamp(1.9rem, 4.2vw, 2.8rem); line-height: 1.15; }

.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; transition: border-color .25s, transform .25s, opacity .6s; }
.card:hover { border-color: rgba(246, 237, 214, .4); }
.card p:last-child { margin: 0; }
.card__meta { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: 1rem; }
.tag { color: var(--cream); background: rgba(246, 237, 214, .1); padding: .2em .7em; border-radius: 5px; font-weight: 600; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 2rem; }
.steps__n { display: grid; place-items: center; width: 48px; height: 48px; clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); background: var(--cream); color: var(--navy-deep); font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 1rem; }

.cta { padding: 6rem 0; background: radial-gradient(ellipse at center, rgba(13, 37, 80, .9), transparent 70%); }
.cta__inner { text-align: center; max-width: 640px; }

.message { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 140px 0 80px; }
.message h1 { font-size: clamp(2.6rem, 7vw, 4.5rem); }

/* Footer */
.footer { position: relative; margin-top: 2rem; padding: 4rem 0 0; background: linear-gradient(180deg, var(--bg), #050c18); border-top: 1px solid rgba(246, 237, 214, .12); }
.footer::before { content: ''; position: absolute; top: -1px; left: 50%; width: min(420px, 60%); height: 2px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--cream), transparent); }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; padding-bottom: 3rem; }
.footer__logo { display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer__logo img { width: 52px; height: 52px; }
.footer__name { font-size: 1.7rem; }
.footer__brand p { max-width: 340px; font-size: .95rem; }
.footer__ip { display: inline-flex; align-items: center; gap: .7em; padding: .4em .45em .4em .9em; border-radius: 8px; border: 1px solid rgba(246, 237, 214, .25); background: rgba(255, 255, 255, .03); color: var(--text); font: inherit; font-size: .9rem; cursor: pointer; transition: border-color .2s; }
.footer__ip:hover { border-color: var(--cream); }
.footer__ip .ip__hint { background: var(--cream); color: var(--navy-deep); padding: .25em .7em; border-radius: 5px; font-size: .8rem; font-weight: 600; }
.footer__col h4 { font-family: var(--font-display); font-weight: 400; color: var(--cream); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; margin: .4rem 0 1rem; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer__col a { color: var(--muted); transition: color .2s; display: inline-flex; align-items: center; gap: .45em; }
.footer__col a:hover { color: var(--cream-light); }
.footer__discord .icon { width: 1.1em; height: 1.1em; }
.footer__discord:hover { color: #8c96ff !important; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--border); font-size: .85rem; color: var(--muted); }
.footer__bottom p { margin: 0; }
.footer__top-link:hover { color: var(--cream-light); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease, border-color .25s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__inner { display: flex; justify-content: space-between; }
  .nav__menu { display: flex; position: absolute; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 1.5rem; padding: 1.5rem 16px 2rem; background: rgba(8, 17, 31, .97); border: 1px solid rgba(246, 237, 214, .12); border-radius: var(--radius); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .nav.is-open .nav__inner { background: rgba(8, 17, 31, .97); }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__links { flex-direction: column; gap: 1rem; }
  .nav__account .btn { flex: 1; }
  .section { padding: 4rem 0; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Feature showcases: full-width panels like the hero */
/* Intro above the showcases */
.intro { position: relative; padding: clamp(5rem, 12vh, 8rem) 0 clamp(3rem, 8vh, 5rem); overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 50% 40%, rgba(13, 37, 80, .85), transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(246, 237, 214, .035) 47px 48px),
    repeating-linear-gradient(90deg, transparent 0 47px, rgba(246, 237, 214, .035) 47px 48px); }
.intro::after { content: ''; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.intro__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.intro__title { font-size: clamp(2.2rem, 5.5vw, 3.8rem); margin-bottom: .35em; }
.intro__divider { display: flex; align-items: center; gap: 14px; width: min(320px, 70%); margin-bottom: 1.5rem; }
.intro__divider::before, .intro__divider::after { content: ''; flex: 1; height: 2px; background: linear-gradient(90deg, transparent, rgba(246, 237, 214, .6)); }
.intro__divider::after { transform: scaleX(-1); }
.intro__divider span { width: 16px; height: 16px; background: var(--cream); clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%) }
.intro__text { max-width: 600px; }
.intro__stats { list-style: none; margin: 2.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.5rem, 6vw, 4.5rem); }
.intro__stats li { display: flex; flex-direction: column; align-items: center; }
.intro__stats strong { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.1; }
.intro__stats span { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; margin-top: .35rem; }
.showcase { position: relative; min-height: 85vh; min-height: 85svh; display: flex; align-items: flex-end; overflow: hidden; }
.showcase__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showcase__shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 55%, rgba(8, 17, 31, .75) 85%, var(--bg) 100%); }
.showcase__content { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: clamp(48px, 9vh, 96px); }
.showcase__title { margin: 0 0 .75rem; line-height: 0; }
.showcase__title img { height: clamp(70px, 9vw, 120px); width: auto; filter: drop-shadow(0 6px 22px rgba(0, 0, 0, .6)); transition: transform .35s ease, filter .35s ease; }
.showcase__title img:hover { transform: scale(1.03); filter: brightness(1.12) drop-shadow(0 0 22px rgba(241, 201, 106, .45)) drop-shadow(0 6px 22px rgba(0, 0, 0, .6)); }
.showcase__text { max-width: 560px; margin: 0; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }

@media (max-width: 600px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}

/* World map page */
.map-page { padding: 82px 0 16px; }
.map-page__frame { width: calc(100% - 24px); margin-inline: auto; height: calc(100vh - 98px); min-height: 520px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: 0 12px 40px rgba(0, 0, 0, .35); }
.map-page__notice { width: calc(100% - 24px); margin: 0 auto 10px; padding: .55em 1em; border-radius: 8px; background: rgba(217, 168, 64, .14); border: 1px solid rgba(217, 168, 64, .35); color: var(--gold-light); font-size: .9rem; text-align: center; }
.map-page__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .map-page__frame { width: calc(100% - 16px); height: calc(100svh - 92px); min-height: 400px; } }
