/* =========================================================
   The Predator Hunter — predhunter.com rebuild
   ========================================================= */

:root {
  --bg0: #050607;
  --bg1: #0a0c0f;
  --card: rgba(12, 14, 18, 0.72);
  --line: rgba(255, 255, 255, 0.10);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --red: #ff1b1b;
  --red2: #b80000;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.55);
  --radius: 18px;
  --font-display: "Bangers", cursive;
  --font-body: "Bai Jamjuree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --nav-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg0);
  overflow-x: hidden;
  line-height: 1.65;
}

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

a { color: var(--red); text-decoration: none; }

::selection { background: rgba(255, 27, 27, 0.45); color: #fff; }

/* =========================================================
   Background layers
   ========================================================= */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }

.bg-image {
  position: absolute; inset: 0;
  background-image: url("../assets/images/bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(0.9);
  animation: bgDrift 40s ease-in-out infinite alternate;
}

@keyframes bgDrift {
  from { transform: scale(1.02) translateY(0); }
  to   { transform: scale(1.08) translateY(-1.5%); }
}

.bg-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.42) 45%, rgba(0, 0, 0, 0.62) 100%),
    radial-gradient(120% 90% at 50% 10%, transparent 40%, rgba(0, 0, 0, 0.75) 100%);
}

.bg-glow {
  position: absolute;
  width: 60vw; height: 60vw;
  min-width: 480px; min-height: 480px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  mix-blend-mode: screen;
  will-change: transform;
}

.bg-glow-1 {
  top: -18vw; left: -12vw;
  background: radial-gradient(circle, rgba(255, 27, 27, 0.28) 0%, transparent 65%);
  animation: glowFloat1 18s ease-in-out infinite alternate;
}

.bg-glow-2 {
  bottom: -22vw; right: -14vw;
  background: radial-gradient(circle, rgba(184, 0, 0, 0.22) 0%, transparent 65%);
  animation: glowFloat2 24s ease-in-out infinite alternate;
}

@keyframes glowFloat1 { from { transform: translate(0, 0); } to { transform: translate(8vw, 6vh); } }
@keyframes glowFloat2 { from { transform: translate(0, 0); } to { transform: translate(-7vw, -8vh); } }

.bg-scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px);
  opacity: 0.5;
  pointer-events: none;
}

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(5, 6, 7, 0.94);
  border-bottom-color: var(--line);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 44px; width: auto; filter: drop-shadow(0 4px 14px rgba(255, 27, 27, 0.35)); }

.nav-brand-text {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  color: #fff;
  white-space: nowrap;
}
.nav-brand-text span { color: var(--red); }

.nav-links { display: flex; align-items: center; gap: 26px; }

.nav-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--red);
  transition: right 0.25s ease;
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after, .nav-links a.is-active::after { right: 0; }
.nav-links a.is-active { color: #fff; }

.nav-links a.nav-buy {
  color: #0a0a0a;
  background: linear-gradient(180deg, var(--red), var(--red2));
  padding: 10px 18px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(255, 27, 27, 0.28);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.nav-links a.nav-buy::after { display: none; }
.nav-links a.nav-buy:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 27, 27, 0.4); color: #000; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-block;
  appearance: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 24px;
  border-radius: 14px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  user-select: none;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(180deg, var(--red), var(--red2));
  color: #070809;
  box-shadow: 0 14px 35px rgba(255, 27, 27, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(255, 27, 27, 0.38); }

.btn-outline {
  background: rgba(255, 27, 27, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 27, 27, 0.45);
}
.btn-outline:hover { background: rgba(255, 27, 27, 0.18); border-color: var(--red); transform: translateY(-2px); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 22px 60px;
  position: relative;
}

.hero-inner { max-width: 900px; display: flex; flex-direction: column; align-items: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 27, 27, 0.4);
  background: rgba(255, 27, 27, 0.1);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 27, 27, 0.6);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 27, 27, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(255, 27, 27, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 27, 27, 0); }
}

.hero-logo {
  width: min(300px, 60vw);
  filter: drop-shadow(0 18px 50px rgba(255, 27, 27, 0.35));
  animation: heroFloat 6s ease-in-out infinite;
  margin-bottom: 8px;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 108px);
  line-height: 1;
  letter-spacing: 0.04em;
  color: #fff;
  position: relative;
  text-shadow:
    0 0 24px rgba(255, 27, 27, 0.45),
    0 6px 40px rgba(0, 0, 0, 0.8);
}

/* glitch layers */
.hero-title::before,
.hero-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.75;
  pointer-events: none;
}
.hero-title::before {
  color: var(--red);
  z-index: -1;
  animation: glitchA 3.2s steps(2, jump-none) infinite;
}
.hero-title::after {
  color: rgba(120, 200, 255, 0.7);
  z-index: -2;
  animation: glitchB 2.7s steps(2, jump-none) infinite;
}

@keyframes glitchA {
  0%, 91%, 100% { transform: translate(0, 0); clip-path: inset(0 0 0 0); }
  92% { transform: translate(-3px, 2px); clip-path: inset(10% 0 55% 0); }
  94% { transform: translate(3px, -1px); clip-path: inset(60% 0 8% 0); }
  96% { transform: translate(-2px, 1px); clip-path: inset(30% 0 40% 0); }
  98% { transform: translate(2px, -2px); clip-path: inset(0 0 70% 0); }
}

@keyframes glitchB {
  0%, 93%, 100% { transform: translate(0, 0); clip-path: inset(0 0 0 0); }
  94% { transform: translate(3px, 1px); clip-path: inset(45% 0 20% 0); }
  96% { transform: translate(-3px, -1px); clip-path: inset(5% 0 80% 0); }
  98% { transform: translate(1px, 2px); clip-path: inset(70% 0 5% 0); }
}

.hero-sub {
  margin-top: 16px;
  font-size: clamp(13px, 2vw, 16px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-sub strong { color: var(--red); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

.hero-socials { display: flex; gap: 14px; margin-top: 36px; }

.hero-socials a,
.footer-socials a {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.15s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.hero-socials a svg,
.footer-socials a svg { width: 20px; height: 20px; fill: rgba(255, 255, 255, 0.85); transition: fill 0.2s ease; }
.hero-socials a:hover,
.footer-socials a:hover { transform: translateY(-3px); border-color: var(--red); background: rgba(255, 27, 27, 0.14); }
.hero-socials a:hover svg,
.footer-socials a:hover svg { fill: var(--red); }

.hero-scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
}
.hero-scroll span {
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--red);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* =========================================================
   Ticker
   ========================================================= */
.ticker {
  overflow: hidden;
  border-top: 1px solid rgba(255, 27, 27, 0.35);
  border-bottom: 1px solid rgba(255, 27, 27, 0.35);
  background: rgba(120, 10, 10, 0.25);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 28s linear infinite;
}
.ticker-track span {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  padding: 12px 0;
  white-space: nowrap;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 110px 0; position: relative; }

.section-alt {
  background: linear-gradient(180deg, rgba(255, 27, 27, 0.045), rgba(0, 0, 0, 0.28));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 940px; }

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

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.live-kicker { border: 1px solid rgba(255, 27, 27, 0.4); background: rgba(0, 0, 0, 0.4); padding: 6px 14px 6px 6px; border-radius: 999px; }
.live-gif { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255, 27, 27, 0.5); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 64px);
  letter-spacing: 0.04em;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 0 22px rgba(255, 27, 27, 0.3), 0 6px 30px rgba(0, 0, 0, 0.7);
}

.section-desc {
  max-width: 820px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 15px;
}

/* =========================================================
   About
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text p { margin-bottom: 18px; color: rgba(255, 255, 255, 0.85); font-size: 16px; }
.about-text p:last-child { margin-bottom: 0; }

.about-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 27, 27, 0.3);
  box-shadow: var(--shadow), 0 0 70px rgba(255, 27, 27, 0.18);
  transform: rotate(1.5deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.about-frame:hover { transform: rotate(0deg) scale(1.02); box-shadow: var(--shadow), 0 0 100px rgba(255, 27, 27, 0.3); }
.about-frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(5, 6, 7, 0.45) 0%, transparent 40%);
  pointer-events: none;
}
.about-frame img { width: 100%; }

/* =========================================================
   Videos
   ========================================================= */
.video-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 38px;
}

.chip {
  appearance: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: 999px;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.chip:hover { color: #fff; transform: translateY(-2px); }
.chip.is-active {
  color: #0a0a0a;
  background: linear-gradient(180deg, var(--red), var(--red2));
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(255, 27, 27, 0.3);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  text-align: left;
  padding: 0;
  appearance: none;
  font-family: inherit;
}

.video-card:hover, .video-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(255, 27, 27, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 46px rgba(255, 27, 27, 0.2);
  outline: none;
}

.video-card.is-hidden { display: none; }

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.4s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.07); }

.video-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(5, 6, 7, 0.75) 0%, transparent 45%);
}

.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 62px; height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 27, 27, 0.85);
  box-shadow: 0 0 0 0 rgba(255, 27, 27, 0.45);
  transition: transform 0.25s ease, background-color 0.25s ease;
  z-index: 2;
}
.video-play svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.video-card:hover .video-play { transform: translate(-50%, -50%) scale(1.12); background: var(--red); animation: pulse 1.6s ease-out infinite; }

.video-tag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(5, 6, 7, 0.78);
  border: 1px solid rgba(255, 27, 27, 0.5);
  padding: 5px 10px;
  border-radius: 999px;
}

.video-meta { padding: 16px 18px 18px; }
.video-title {
  font-weight: 700;
  font-size: 15.5px;
  color: #fff;
  line-height: 1.35;
}
.video-series { margin-top: 5px; font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; }

/* =========================================================
   Story cards + feature video
   ========================================================= */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 46px;
}

.story-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 34px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.story-card:hover { border-color: rgba(255, 27, 27, 0.4); transform: translateY(-4px); }
.story-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
}
.story-card .section-title { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.story-card p { color: rgba(255, 255, 255, 0.82); font-size: 15px; margin-bottom: 14px; }
.story-card p:last-child { margin-bottom: 0; }

.feature-video { max-width: 940px; margin: 0 auto; }
.feature-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 27, 27, 0.35);
  box-shadow: var(--shadow), 0 0 80px rgba(255, 27, 27, 0.16);
  background: #000;
}
.feature-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =========================================================
   Tokenomics
   ========================================================= */
.token-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 34px;
}

.token-card {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 34px 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.token-card:hover { transform: translateY(-5px); border-color: rgba(255, 27, 27, 0.5); }
.token-card::after {
  content: "";
  position: absolute;
  inset: -40% 60% 60% -40%;
  background: radial-gradient(circle, rgba(255, 27, 27, 0.16), transparent 70%);
  pointer-events: none;
}

.token-card-value {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: 0.05em;
  color: var(--red);
  text-shadow: 0 0 26px rgba(255, 27, 27, 0.4);
}
.token-card-label {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contract-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 27, 27, 0.35);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.45);
  box-shadow: var(--shadow);
  padding: 18px 22px;
  margin-bottom: 30px;
}

.contract-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

.contract-address {
  flex: 1;
  min-width: 200px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  word-break: break-all;
}

.btn-copy { padding: 11px 20px; }
.btn-copy.is-copied { background: linear-gradient(180deg, #22c55e, #15803d); color: #04120a; }

.token-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* =========================================================
   Chart
   ========================================================= */
.chart-shell {
  border: 1px solid rgba(255, 27, 27, 0.28);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: var(--shadow), 0 0 90px rgba(255, 27, 27, 0.14);
  height: min(78vh, 720px);
}
.chart-shell iframe { width: 100%; height: 100%; border: 0; display: block; }

/* =========================================================
   Intake form
   ========================================================= */
.intake-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
}
.intake-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent 70%);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }

.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.field input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.34);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  color-scheme: dark;
}

.field input:focus {
  border-color: rgba(255, 27, 27, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 27, 27, 0.12);
}

.micro { font-size: 12px; color: rgba(255, 255, 255, 0.55); }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.form-status {
  display: none;
  margin-top: 16px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  line-height: 1.5;
  word-break: break-word;
}
.form-status.ok { display: block; border-color: rgba(78, 255, 140, 0.3); box-shadow: 0 0 0 4px rgba(78, 255, 140, 0.08); }
.form-status.err { display: block; border-color: rgba(255, 27, 27, 0.4); box-shadow: 0 0 0 4px rgba(255, 27, 27, 0.1); }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 6, 7, 0.85);
  padding: 54px 0 46px;
  text-align: center;
}

.footer-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 26px; }

.footer-disclaimer {
  max-width: 640px;
  margin: 0 auto 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-top {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 27, 27, 0.45);
  background: rgba(255, 27, 27, 0.1);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.footer-top svg { width: 20px; height: 20px; fill: var(--red); }
.footer-top:hover { transform: translateY(-4px); background: rgba(255, 27, 27, 0.22); }

/* =========================================================
   Video modal
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 5, 6, 0.94);
  animation: fadeIn 0.25s ease;
}

.modal-content {
  position: relative;
  width: min(1100px, 100%);
  animation: modalIn 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(26px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

.modal-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 26px);
  letter-spacing: 0.05em;
  color: #fff;
  text-shadow: 0 0 18px rgba(255, 27, 27, 0.4);
}

.modal-close {
  appearance: none;
  border: 1px solid rgba(255, 27, 27, 0.5);
  background: rgba(255, 27, 27, 0.12);
  color: var(--red);
  font-size: 26px;
  line-height: 1;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.modal-close:hover { background: var(--red); color: #fff; transform: rotate(90deg); }

.modal-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 27, 27, 0.4);
  background: #000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.8), 0 0 70px rgba(255, 27, 27, 0.2);
}
.modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.modal-nav {
  position: absolute;
  top: 50%;
  left: -8px; right: -8px;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.modal-arrow {
  pointer-events: auto;
  appearance: none;
  border: 0;
  cursor: pointer;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 20px;
  color: #fff;
  background: rgba(255, 27, 27, 0.75);
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.modal-arrow:hover { background: var(--red); transform: scale(1.1); }

/* =========================================================
   Reveal-on-scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-media { order: -1; max-width: 480px; margin: 0 auto; }
  .story-grid { grid-template-columns: 1fr; }
  .token-cards { grid-template-columns: 1fr 1fr; }
  .token-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --nav-h: 64px; }

  .nav-brand-text { font-size: 18px; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 22px 22px 28px;
    background: rgba(5, 6, 7, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }
  .nav-links.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a { font-size: 15px; padding: 10px 0; }
  .nav-links a.nav-buy { margin-top: 8px; }

  .section { padding: 76px 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .token-cards { grid-template-columns: 1fr; }
  .token-card:last-child { grid-column: auto; }
  .contract-box { flex-direction: column; align-items: stretch; text-align: center; }
  .modal-nav { left: 4px; right: 4px; }
  .chart-shell { height: 70vh; }
}
