:root {
  --navy-950: #050b14;
  --navy-900: #0a1628;
  --navy-800: #12233d;
  --navy-700: #1a3358;
  --red-500: #e30613;
  --red-600: #c10510;
  --red-400: #ff2a37;
  --red-glow: rgba(227, 6, 19, 0.55);
  --white: #f7f8fb;
  --white-soft: rgba(247, 248, 251, 0.78);
  --white-mute: rgba(247, 248, 251, 0.5);
  --silver: #d7dde8;
  --blue-accent: #2f6bff;
  --font-display: "Bebas Neue", "Oswald", sans-serif;
  --font-head: "Oswald", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --radius: 4px;
  --nav-h: 78px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--white);
  background: var(--navy-950);
  overflow-x: hidden;
  line-height: 1.55;
}

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

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

button {
  font: inherit;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

/* ========== BACKGROUND ========== */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(227, 6, 19, 0.28), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(47, 107, 255, 0.22), transparent 50%),
    radial-gradient(800px 500px at 50% 100%, rgba(227, 6, 19, 0.18), transparent 55%),
    linear-gradient(180deg, #07101d 0%, #0a1628 45%, #071322 100%);
}

#starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.flag-wash {
  position: absolute;
  inset: -10%;
  background:
    repeating-linear-gradient(
      105deg,
      transparent 0 48px,
      rgba(227, 6, 19, 0.035) 48px 96px,
      transparent 96px 144px,
      rgba(47, 107, 255, 0.03) 144px 192px
    );
  animation: flagDrift 28s linear infinite;
  pointer-events: none;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  mix-blend-mode: screen;
}

.aurora-a {
  width: 55vw;
  height: 55vw;
  top: -18%;
  left: -12%;
  background: radial-gradient(circle, rgba(227, 6, 19, 0.35), transparent 68%);
  animation: auroraFloat 16s ease-in-out infinite;
}

.aurora-b {
  width: 45vw;
  height: 45vw;
  right: -10%;
  bottom: 5%;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.28), transparent 70%);
  animation: auroraFloat 20s ease-in-out infinite reverse;
}

.light-beams {
  position: absolute;
  inset: 0;
  background:
    conic-gradient(from 210deg at 70% 20%, transparent 0deg, rgba(255, 255, 255, 0.05) 18deg, transparent 40deg),
    conic-gradient(from 40deg at 20% 30%, transparent 0deg, rgba(227, 6, 19, 0.07) 20deg, transparent 42deg);
  animation: beamPulse 10s ease-in-out infinite;
  pointer-events: none;
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

@keyframes flagDrift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-96px, 20px, 0); }
}

@keyframes auroraFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(40px, 30px, 0) scale(1.08); }
}

@keyframes beamPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.95; }
}

/* ========== MARQUEE ========== */
.marquee {
  position: relative;
  z-index: 20;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 11, 20, 0.72);
  backdrop-filter: blur(10px);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  padding: 0.55rem 0;
  animation: marquee 28s linear infinite;
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-mute);
}

.marquee-track span strong {
  color: var(--red-400);
  font-weight: 600;
}

.marquee-track .dot {
  color: var(--white-mute);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ========== NAV ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(7, 16, 29, 0.88);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px var(--red-glow));
  animation: logoBob 4.5s ease-in-out infinite;
}

.nav-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.nav-name {
  font-size: 1.45rem;
  color: var(--white);
}

.nav-year {
  font-size: 1.2rem;
  color: var(--red-400);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-family: var(--font-head);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-menu > a:not(.nav-cta):not(.nav-icon) {
  color: var(--white-soft);
  position: relative;
  transition: color 0.2s ease;
}

.nav-menu > a:not(.nav-cta):not(.nav-icon)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--red-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-menu > a:not(.nav-cta):not(.nav-icon):hover {
  color: var(--white);
}

.nav-menu > a:not(.nav-cta):not(.nav-icon):hover::after {
  transform: scaleX(1);
}

.nav-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: var(--white);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-icon img {
  width: 15px;
  height: 15px;
  transition: filter 0.25s ease;
  filter: drop-shadow(0 0 4px rgba(247, 248, 251, 0.15));
}

.nav-icon:hover {
  border-color: var(--red-400);
  background: rgba(227, 6, 19, 0.15);
  transform: translateY(-2px);
}

.nav-icon:hover img {
  filter:
    brightness(0) saturate(100%)
    invert(22%) sepia(96%) saturate(5200%) hue-rotate(346deg) brightness(1.05)
    drop-shadow(0 0 8px rgba(227, 6, 19, 0.65));
}

.nav-cta {
  padding: 0.65rem 1.1rem;
  background: linear-gradient(180deg, var(--red-400), var(--red-600));
  color: var(--white) !important;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(227, 6, 19, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(227, 6, 19, 0.5);
  filter: brightness(1.05);
}

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.active span:nth-child(2) {
  opacity: 0;
}

.nav-burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== SHARED ========== */
.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.25rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  letter-spacing: 0.06em;
  line-height: 0.95;
  margin: 0.6rem 0 0.85rem;
  background: linear-gradient(180deg, #ffffff 20%, #c8d0de 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.08);
}

.section-head p {
  color: var(--white-soft);
  font-size: 1.08rem;
}

.star-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--red-400);
}

.star-rule .rule-line {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
}

.star-rule .stars {
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  animation: starTwinkle 2.8s ease-in-out infinite;
}

.star-rule.light {
  color: #ffd7db;
}

@keyframes starTwinkle {
  0%, 100% { opacity: 0.65; text-shadow: none; }
  50% { opacity: 1; text-shadow: 0 0 12px rgba(255, 80, 90, 0.8); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 50px;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-icon {
  width: 18px;
  height: 18px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
  transition: filter 0.25s ease, transform 0.25s ease;
}

.btn-red .btn-icon {
  /* crisp white on MAGA red */
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.btn-ghost .btn-icon {
  opacity: 0.95;
  filter: drop-shadow(0 0 6px rgba(247, 248, 251, 0.2));
}

.btn-ghost:hover .btn-icon {
  filter:
    brightness(0) saturate(100%)
    invert(22%) sepia(96%) saturate(5200%) hue-rotate(346deg) brightness(1.05)
    drop-shadow(0 0 8px rgba(227, 6, 19, 0.55));
}

.btn-red {
  background: linear-gradient(180deg, var(--red-400) 0%, var(--red-600) 100%);
  color: var(--white);
  box-shadow:
    0 10px 28px rgba(227, 6, 19, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-red::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: shimmer 4.5s ease-in-out infinite;
}

.btn-red:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(227, 6, 19, 0.55);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

@keyframes shimmer {
  0%, 70%, 100% { transform: translateX(-120%); }
  85% { transform: translateX(120%); }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.22s; }
.delay-3 { transition-delay: 0.32s; }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h) - 38px);
  display: flex;
  align-items: center;
  padding: 3.5rem 1.25rem 5.5rem;
}

.hero-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  font-family: var(--font-head);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--red-400);
  margin: 1rem 0 0.8rem;
}

.hero-title {
  display: flex;
  flex-direction: column;
  line-height: 0.86;
  margin-bottom: 1rem;
}

.title-trump {
  font-family: var(--font-display);
  font-size: clamp(4.6rem, 11vw, 8.2rem);
  letter-spacing: 0.04em;
  background: linear-gradient(180deg, #ffffff 10%, #b8c2d4 55%, #7e8aa0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
  animation: titleRise 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.title-year {
  font-family: var(--font-display);
  font-size: clamp(4.8rem, 12vw, 8.8rem);
  letter-spacing: 0.05em;
  background: linear-gradient(180deg, #ff4d57 0%, #e30613 45%, #8f040c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 24px rgba(227, 6, 19, 0.35));
  animation: titleRise 1.2s 0.08s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes titleRise {
  from { opacity: 0; transform: translateY(28px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-symbol {
  font-family: var(--font-head);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-mute);
  margin-bottom: 0.7rem;
}

.hero-symbol strong {
  color: var(--white);
}

.hero-tagline {
  max-width: 34rem;
  font-size: 1.15rem;
  color: var(--white-soft);
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}

.ca-box {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 18, 32, 0.72);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.ca-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-400);
}

.ca-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  color: var(--silver);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(48vw, 280px);
}

.ca-copy {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  color: var(--white-soft);
  transition: background 0.2s ease, color 0.2s ease;
}

.ca-copy:hover,
.ca-copy.copied {
  background: rgba(227, 6, 19, 0.2);
  color: var(--white);
}

.hero-stage {
  display: grid;
  place-items: center;
  min-height: 420px;
}

.hat-orbit {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transition: transform 0.35s ease-out;
  will-change: transform;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.orbit-1 {
  inset: 8%;
  border-color: rgba(227, 6, 19, 0.35);
  animation: spin 18s linear infinite;
  box-shadow: inset 0 0 40px rgba(227, 6, 19, 0.08);
}

.orbit-2 {
  inset: 18%;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.18);
  animation: spin 26s linear infinite reverse;
}

.orbit-3 {
  inset: 28%;
  border-color: rgba(47, 107, 255, 0.3);
  animation: spin 14s linear infinite;
}

.hat-glow {
  position: absolute;
  width: 62%;
  height: 62%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 6, 19, 0.45), transparent 70%);
  filter: blur(18px);
  animation: glowPulse 3.2s ease-in-out infinite;
}

.hero-logo {
  position: relative;
  z-index: 2;
  width: 58%;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
  animation: logoFloat 5s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.08); }
}

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

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

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-mute);
}

.scroll-cue i {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--red-400), transparent);
  animation: scrollLine 1.6s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0.3); opacity: 0.2; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.3); opacity: 0.2; transform-origin: bottom; }
}

/* ========== ABOUT ========== */
.about {
  background: linear-gradient(180deg, transparent, rgba(18, 35, 61, 0.35), transparent);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.about-frame {
  position: relative;
  display: grid;
  place-items: center;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 50% 40%, rgba(227, 6, 19, 0.22), transparent 60%),
    rgba(8, 18, 32, 0.55);
  overflow: hidden;
}

.about-frame::before,
.about-frame::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  border: 2px solid rgba(227, 6, 19, 0.55);
}

.about-frame::before {
  top: 12px;
  left: 12px;
  border-right: 0;
  border-bottom: 0;
}

.about-frame::after {
  right: 12px;
  bottom: 12px;
  border-left: 0;
  border-top: 0;
}

.about-logo {
  width: min(280px, 70%);
  position: relative;
  z-index: 1;
  animation: logoFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}

.about-shine {
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.12) 50%, transparent 60%);
  animation: frameShine 5s linear infinite;
}

@keyframes frameShine {
  from { transform: translateX(-30%) rotate(12deg); }
  to { transform: translateX(30%) rotate(12deg); }
}

.about-copy h3 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.about-copy p {
  color: var(--white-soft);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about-points {
  margin-top: 1.6rem;
  display: grid;
  gap: 1rem;
}

.about-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-left: 3px solid var(--red-500);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.25s ease, transform 0.25s ease;
}

.about-points li:hover {
  background: rgba(227, 6, 19, 0.08);
  transform: translateX(4px);
}

.point-star {
  color: var(--red-400);
  margin-top: 0.15rem;
}

.about-points strong {
  display: block;
  font-family: var(--font-head);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.about-points span {
  color: var(--white-mute);
  font-size: 0.95rem;
}

/* ========== HOW TO BUY ========== */
.buy-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.2rem;
  counter-reset: none;
}

.buy-step {
  position: relative;
  padding: 1.5rem 1.2rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.buy-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-400), transparent);
  transform: scaleX(0.3);
  transition: transform 0.35s ease;
}

.buy-step:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 6, 19, 0.45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.buy-step:hover::before {
  transform: scaleX(1);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 0.08em;
  color: var(--red-400);
  line-height: 1;
  margin-bottom: 0.7rem;
}

.buy-step h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.buy-step p {
  color: var(--white-mute);
  font-size: 0.96rem;
}

.buy-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 18, 32, 0.55);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(18, 35, 61, 0.75);
}

.link-card-primary {
  border-color: rgba(227, 6, 19, 0.5);
  background: linear-gradient(135deg, rgba(227, 6, 19, 0.22), rgba(8, 18, 32, 0.7));
}

.link-card-primary:hover {
  border-color: var(--red-400);
  box-shadow: 0 12px 30px rgba(227, 6, 19, 0.25);
}

.link-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  transition: filter 0.25s ease, transform 0.25s ease;
  filter: drop-shadow(0 0 6px rgba(247, 248, 251, 0.18));
}

.link-card:hover .link-icon {
  transform: scale(1.06);
  filter:
    brightness(0) saturate(100%)
    invert(22%) sepia(96%) saturate(5200%) hue-rotate(346deg) brightness(1.05)
    drop-shadow(0 0 10px rgba(227, 6, 19, 0.55));
}

.link-card-primary .link-icon {
  filter:
    brightness(0) saturate(100%)
    invert(22%) sepia(96%) saturate(5200%) hue-rotate(346deg) brightness(1.08)
    drop-shadow(0 0 8px rgba(227, 6, 19, 0.45));
}

.link-card-primary:hover .link-icon {
  filter:
    brightness(0) saturate(100%)
    invert(95%) sepia(8%) saturate(180%) hue-rotate(185deg) brightness(1.05)
    drop-shadow(0 0 10px rgba(247, 248, 251, 0.35));
}

.link-card strong {
  display: block;
  font-family: var(--font-head);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.link-card span {
  color: var(--white-mute);
  font-size: 0.9rem;
}

/* ========== CHART ========== */
.chart-shell {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 11, 20, 0.7);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.chart-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(227, 6, 19, 0.15);
  z-index: 1;
}

.chart-shell iframe {
  display: block;
  width: 100%;
  height: min(70vh, 620px);
  border: 0;
  background: #0d1117;
}

.chart-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

/* ========== JOIN US ========== */
.joinus {
  padding-top: 0;
  overflow: hidden;
}

.join-banner-wrap {
  position: relative;
  width: 100%;
  max-height: min(52vh, 520px);
  overflow: hidden;
  isolation: isolate;
}

.join-banner {
  width: 100%;
  height: min(52vh, 520px);
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: bannerKen 18s ease-in-out infinite alternate;
  filter: saturate(1.08) contrast(1.05);
}

.join-banner-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 11, 20, 0.15) 0%, rgba(5, 11, 20, 0.55) 55%, rgba(5, 11, 20, 0.95) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(5, 11, 20, 0.45) 100%);
  pointer-events: none;
}

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

.join-content {
  position: relative;
  margin-top: -4rem;
  padding-bottom: 1rem;
}

.joinus .section-head h2 {
  background: linear-gradient(180deg, #fff 10%, #ffb3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.join-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.join-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1.5rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 18, 32, 0.72);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.join-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 6, 19, 0.55);
  box-shadow: 0 16px 40px rgba(227, 6, 19, 0.18);
}

.join-icon {
  width: 26px;
  height: 26px;
  margin-bottom: 0.35rem;
  transition: filter 0.25s ease, transform 0.25s ease;
  filter: drop-shadow(0 0 6px rgba(247, 248, 251, 0.18));
}

.join-card:hover .join-icon {
  transform: scale(1.08);
  filter:
    brightness(0) saturate(100%)
    invert(22%) sepia(96%) saturate(5200%) hue-rotate(346deg) brightness(1.05)
    drop-shadow(0 0 10px rgba(227, 6, 19, 0.55));
}

.join-card strong {
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.join-card span {
  color: var(--white-mute);
}

/* ========== FOOTER ========== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0 2.4rem;
  background: rgba(5, 11, 20, 0.65);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-head);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.footer-note {
  color: var(--white-mute);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 0.65rem;
}

.footer-links a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--white);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.footer-links a img {
  width: 16px;
  height: 16px;
  transition: filter 0.25s ease;
  filter: drop-shadow(0 0 4px rgba(247, 248, 251, 0.15));
}

.footer-links a:hover {
  border-color: var(--red-400);
  background: rgba(227, 6, 19, 0.15);
  transform: translateY(-2px);
}

.footer-links a:hover img {
  filter:
    brightness(0) saturate(100%)
    invert(22%) sepia(96%) saturate(5200%) hue-rotate(346deg) brightness(1.05)
    drop-shadow(0 0 8px rgba(227, 6, 19, 0.65));
}

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  .hero-grid,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
    min-height: auto;
  }

  .hero-stage {
    order: -1;
    min-height: 320px;
  }

  .hat-orbit {
    width: min(100%, 340px);
  }

  .buy-steps,
  .buy-links,
  .join-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .nav-burger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: calc(var(--nav-h) + 34px);
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 1rem;
    background: rgba(7, 16, 29, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu > a {
    padding: 0.8rem 0.7rem;
  }

  .nav-icon {
    width: 100%;
    border-radius: var(--radius);
  }

  .nav-cta {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .buy-steps,
  .buy-links,
  .join-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .ca-value {
    max-width: 46vw;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .join-banner,
  .join-banner-wrap {
    height: 38vh;
    max-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
