:root {
  --navy: #0a1628;
  --navy-deep: #050d18;
  --navy-soft: #12243d;
  --patriot-red: #b22234;
  --patriot-red-deep: #7a1524;
  --white: #f8f9fc;
  --muted: #9aa8bc;

  --gold-1: #fff4c4;
  --gold-2: #e8c547;
  --gold-3: #c9a227;
  --gold-4: #8b6914;
  --gold-glow: rgba(232, 197, 71, 0.45);

  --silver-1: #ffffff;
  --silver-2: #d4dce8;
  --silver-3: #9aa8b8;
  --silver-4: #5c6b7d;
  --silver-glow: rgba(212, 220, 232, 0.35);

  --panel: rgba(10, 22, 40, 0.62);
  --line: rgba(232, 197, 71, 0.18);
  --line-silver: rgba(212, 220, 232, 0.14);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --font-display: "Cinzel", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--navy-deep);
}

body {
  font-family: var(--font-body);
  color: var(--white);
}

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

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

code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.88em;
  color: var(--gold-2);
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

/* —— Fixed video background (full site) —— */
.fixed-video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.fixed-video-bg__media {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.fixed-video-bg__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 13, 24, 0.42);
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(5, 13, 24, 0.88);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.nav-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-row {
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.25s ease;
}

.brand:hover {
  transform: scale(1.02);
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-3);
  box-shadow:
    0 0 20px var(--gold-glow),
    0 8px 24px rgba(0, 0, 0, 0.4);
}

.brand strong,
.brand span {
  display: block;
}

.brand strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-3), var(--gold-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand span {
  margin-top: 2px;
  color: var(--silver-3);
  font-size: 0.82rem;
  font-weight: 600;
}

.nav-links,
.nav-actions,
.footer-links,
.hero-actions,
.join-actions,
.how-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--gold-2);
  text-shadow: 0 0 12px var(--gold-glow);
}

/* —— Buttons —— */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

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

.button:hover::after {
  transform: translateX(120%);
}

.button-gold {
  color: #1a1204;
  border-color: rgba(255, 244, 196, 0.5);
  background: linear-gradient(
    135deg,
    var(--gold-1) 0%,
    var(--gold-2) 22%,
    var(--gold-3) 48%,
    var(--gold-2) 72%,
    var(--gold-1) 100%
  );
  box-shadow:
    0 16px 40px var(--gold-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -2px 0 rgba(139, 105, 20, 0.4);
}

.button-gold:hover {
  box-shadow:
    0 22px 50px rgba(232, 197, 71, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.button-silver {
  color: var(--white);
  border-color: var(--line-silver);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(212, 220, 232, 0.08) 40%,
    rgba(154, 168, 184, 0.12) 100%
  );
  box-shadow:
    0 14px 32px var(--silver-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.button-silver:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 18px 42px rgba(212, 220, 232, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* —— Shine cards —— */
.shine-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.shine-card::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(232, 197, 71, 0.12),
    rgba(255, 255, 255, 0.08),
    rgba(212, 220, 232, 0.1),
    transparent
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  animation: none;
  pointer-events: none;
}

.shine-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 197, 71, 0.35);
  box-shadow:
    var(--shadow),
    0 0 40px rgba(232, 197, 71, 0.12);
}

.shine-card:hover::before {
  opacity: 1;
  animation: card-spin 4s linear infinite;
}

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

/* —— Hero —— */
.hero-section {
  position: relative;
  padding: 72px 0 48px;
}

.hero-grid,
.join-panel {
  display: grid;
  gap: 32px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: center;
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.eyebrow-gold {
  color: var(--gold-2);
  text-shadow: 0 0 20px var(--gold-glow);
}

.eyebrow-silver {
  color: var(--silver-2);
  text-shadow: 0 0 16px var(--silver-glow);
}

.metallic-title {
  margin: 0 0 8px;
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.04em;
  background: linear-gradient(
    180deg,
    var(--gold-1) 0%,
    var(--gold-2) 25%,
    var(--gold-4) 50%,
    var(--gold-2) 75%,
    var(--gold-1) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 12px rgba(232, 197, 71, 0.35));
  animation: title-shimmer 6s ease-in-out infinite;
}

@keyframes title-shimmer {
  0%,
  100% {
    filter: drop-shadow(0 4px 12px rgba(232, 197, 71, 0.35));
  }
  50% {
    filter: drop-shadow(0 6px 24px rgba(232, 197, 71, 0.55));
  }
}

.hero-symbol {
  margin: 0 0 18px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--silver-2);
  letter-spacing: 0.08em;
}

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

h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, var(--silver-1), var(--silver-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-2);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-pill:hover {
  transform: translateY(-2px);
}

.pill-gold {
  border: 1px solid rgba(232, 197, 71, 0.45);
  background: linear-gradient(135deg, rgba(232, 197, 71, 0.2), rgba(139, 105, 20, 0.15));
  color: var(--gold-1);
  box-shadow: 0 8px 24px rgba(232, 197, 71, 0.15);
}

.pill-silver {
  border: 1px solid var(--line-silver);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(154, 168, 184, 0.08));
  color: var(--silver-1);
}

.pill-patriot {
  border: 1px solid rgba(178, 34, 52, 0.5);
  background: linear-gradient(135deg, rgba(178, 34, 52, 0.25), rgba(10, 22, 40, 0.5));
  color: #ffc9d0;
}

.hero-description,
.section-heading p,
.feature-card p,
.step-card p,
.join-lead,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-description {
  max-width: 62ch;
}

.hero-actions {
  margin: 28px 0 30px;
  flex-wrap: wrap;
}

.token-stats,
.card-grid,
.steps-grid {
  display: grid;
  gap: 18px;
}

.token-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card,
.feature-card,
.step-card,
.join-panel,
.chart-shell,
.social-card,
.contract-strip {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(232, 197, 71, 0.06), transparent 40%, rgba(212, 220, 232, 0.04)),
    var(--panel);
  box-shadow: var(--shadow);
}

.stat-card,
.feature-card,
.step-card {
  padding: 22px;
}

.stat-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-3);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stat-card strong {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--silver-1);
}

/* —— Hero logo —— */
.hero-media {
  display: flex;
  justify-content: center;
}

.medallion-frame {
  position: relative;
  width: min(100%, 500px);
  padding: 20px;
  border-radius: 50%;
  border: 3px solid transparent;
  background:
    linear-gradient(var(--navy-deep), var(--navy-deep)) padding-box,
    linear-gradient(135deg, var(--gold-2), var(--silver-2), var(--gold-3), var(--silver-3)) border-box;
  box-shadow:
    0 0 60px rgba(232, 197, 71, 0.2),
    0 24px 60px rgba(0, 0, 0, 0.5),
    inset 0 0 40px rgba(232, 197, 71, 0.06);
  animation: medallion-float 5s ease-in-out infinite;
}

@keyframes medallion-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.medallion-frame:hover {
  animation-play-state: paused;
  box-shadow:
    0 0 80px rgba(232, 197, 71, 0.35),
    0 28px 70px rgba(0, 0, 0, 0.55);
}

.frame-shine {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%
  );
  opacity: 0.6;
  animation: shine-sweep 3.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine-sweep {
  0%,
  100% {
    transform: translateX(-30%) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translateX(30%) rotate(0deg);
    opacity: 0.7;
  }
}

.medallion-frame img {
  width: 100%;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1;
}

/* —— CA copy —— */
.ca-copy {
  width: 100%;
  max-width: 100%;
  margin: 24px 0 28px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(232, 197, 71, 0.35);
  cursor: pointer;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.ca-copy:hover {
  border-color: rgba(232, 197, 71, 0.6);
  box-shadow: 0 0 32px rgba(232, 197, 71, 0.15);
}

.ca-copy.copied {
  border-color: rgba(126, 232, 154, 0.55);
  box-shadow: 0 0 28px rgba(76, 185, 99, 0.2);
}

.ca-copy__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.ca-copy__label {
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ca-copy__hint {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.ca-copy.copied .ca-copy__hint {
  color: #7ee89a;
}

.ca-copy__body {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ca-copy .contract-address {
  flex: 1;
  min-width: 0;
  overflow: auto;
  color: var(--silver-1);
  font-size: clamp(0.72rem, 2.2vw, 0.92rem);
  line-height: 1.4;
  word-break: break-all;
  scrollbar-width: none;
}

.ca-copy .contract-address::-webkit-scrollbar {
  display: none;
}

.copy-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-silver);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--silver-2);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.copy-btn:hover:not(:disabled) {
  background: rgba(232, 197, 71, 0.15);
  border-color: var(--gold-3);
  color: var(--gold-1);
}

.copy-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.copy-btn.copied {
  background: rgba(45, 138, 78, 0.25);
  border-color: #4cb963;
  color: #7ee89a;
}

.copy-btn svg {
  width: 18px;
  height: 18px;
}

/* —— Sections —— */
.content-section {
  padding: 58px 0;
  background: transparent;
}

.alt-section {
  background: transparent;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
  line-height: 1;
}

.gold-icon {
  color: var(--gold-2);
  text-shadow: 0 0 16px var(--gold-glow);
}

.silver-icon {
  color: var(--silver-2);
  text-shadow: 0 0 12px var(--silver-glow);
}

.patriot-icon {
  font-size: 1.4rem;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-3), var(--silver-2), var(--gold-2));
  opacity: 0.7;
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-number {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1;
  background: linear-gradient(180deg, var(--gold-1), var(--gold-4));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.how-cta {
  margin-top: 32px;
  flex-wrap: wrap;
}

/* —— Chart —— */
.chart-shell {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

#dexscreener-embed {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
  background: transparent;
}

.chart-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  background: linear-gradient(180deg, rgba(18, 36, 61, 0.95), rgba(5, 13, 24, 0.98));
}

.chart-placeholder-inner {
  display: grid;
  justify-items: center;
  gap: 16px;
  max-width: 420px;
}

.chart-placeholder p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* —— Join —— */
.join-section {
  padding-bottom: 84px;
}

.join-panel {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  border-radius: var(--radius-lg);
  padding: 24px;
}

.banner-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(232, 197, 71, 0.25);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.banner-frame:hover {
  transform: scale(1.01);
  box-shadow:
    0 28px 60px rgba(232, 197, 71, 0.15),
    0 20px 50px rgba(0, 0, 0, 0.5);
}

.banner-frame img {
  width: 100%;
  object-fit: cover;
}

.join-lead {
  margin-bottom: 22px;
  font-size: 1.03rem;
}

.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.social-card {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  transition: transform 0.25s ease;
}

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

.social-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.social-card strong {
  font-size: 1rem;
  color: var(--gold-2);
}

.join-actions {
  flex-wrap: wrap;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(3, 8, 16, 0.55);
  backdrop-filter: blur(12px);
}

.footer-row {
  min-height: 82px;
  padding: 16px 0;
}

.site-footer p {
  margin: 0;
  font-size: 0.88rem;
}

/* —— Responsive —— */
@media (max-width: 1080px) {
  .hero-grid,
  .join-panel,
  .card-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .metallic-title {
    max-width: 100%;
  }

  .token-stats {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }
}

@media (max-width: 860px) {
  .site-header {
    position: static;
  }

  .nav-row,
  .footer-row {
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .nav-links,
  .nav-actions,
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-section {
    padding-top: 42px;
  }

  .content-section {
    padding: 44px 0;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .chart-shell,
  #dexscreener-embed {
    min-height: 460px;
    height: 460px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 20px, 1180px);
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .join-actions,
  .how-cta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-pills {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .medallion-frame {
    padding: 10px;
  }

  .stat-card,
  .feature-card,
  .step-card,
  .join-panel {
    padding: 18px;
  }

  .ca-copy__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .ca-copy__body {
    flex-direction: column;
    align-items: stretch;
  }

  .copy-btn {
    align-self: flex-end;
  }

  .chart-shell,
  #dexscreener-embed {
    min-height: 380px;
    height: 380px;
  }
}

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