/* ===== RESET & VARS ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --red: #b91c1c;
  --red-bright: #dc2626;
  --blue: #0a1628;
  --blue-mid: #122240;
  --navy: #1e3a5f;
  --gold: #d4af37;
  --gold-light: #f0cc5a;
  --white: #ffffff;
  --gray: #94a3b8;
  --font-display: 'Anton', Impact, sans-serif;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--blue);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.center { text-align: center; }

/* ===== FLAG BAR ===== */
.flag-bar {
  height: 4px;
  background: linear-gradient(90deg,
    var(--red) 0%, var(--red) 33%,
    var(--white) 33%, var(--white) 66%,
    var(--navy) 66%, var(--navy) 100%);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: fixed;
  top: 4px;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.4s, box-shadow 0.4s;
}

.site-header.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}

.nav-logo span {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-menu a:hover { color: var(--gold-light); }

.nav-buy {
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
  transition: transform 0.3s, box-shadow 0.3s;
}

.nav-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(185, 28, 28, 0.45);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: kenburns 20s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.12) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(10, 22, 40, 0.7) 0%, rgba(10, 22, 40, 0.92) 100%);
}

.hero-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 50% 30%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 70% 70%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.5), transparent);
  animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

.hero-float {
  position: absolute;
  z-index: 2;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hero-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-float--left {
  width: 140px;
  height: 180px;
  left: 4%;
  bottom: 15%;
  animation: float-left 5s ease-in-out infinite;
  transform: rotate(-6deg);
}

.hero-float--right {
  width: 130px;
  height: 200px;
  right: 4%;
  bottom: 18%;
  animation: float-right 6s ease-in-out infinite;
  transform: rotate(5deg);
}

.hero-float--coin {
  width: 90px;
  height: 90px;
  top: 18%;
  right: 12%;
  border-radius: 50%;
  animation: float-coin 4s ease-in-out infinite;
}

@keyframes float-left {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-16px); }
}

@keyframes float-right {
  0%, 100% { transform: rotate(5deg) translateY(0); }
  50% { transform: rotate(5deg) translateY(-20px); }
}

@keyframes float-coin {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(10deg); }
}

.hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
}

.hero-letters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  margin-bottom: 8px;
}

.letter {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  line-height: 1;
  color: var(--white);
  text-shadow:
    0 0 40px rgba(212, 175, 55, 0.4),
    0 4px 0 rgba(0, 0, 0, 0.5);
  animation: letter-in 0.6s ease backwards;
  animation-delay: calc(var(--i) * 0.07s);
}

.letter-red {
  color: var(--red-bright);
  text-shadow: 0 0 40px rgba(220, 38, 38, 0.5), 0 4px 0 rgba(0, 0, 0, 0.5);
}

@keyframes letter-in {
  from { opacity: 0; transform: translateY(40px) scale(0.8); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-ticker {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--gold-light);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 12px;
  animation: letter-in 0.8s 0.5s ease backwards;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #fff 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: letter-in 0.8s 0.6s ease backwards;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.75;
  animation: letter-in 0.8s 0.7s ease backwards;
}

.btn-hero {
  display: inline-block;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-bright) 100%);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 48px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(185, 28, 28, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: letter-in 0.8s 0.8s ease backwards;
}

.btn-hero:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(185, 28, 28, 0.55);
}

.btn-outline {
  display: inline-block;
  color: var(--gold-light);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 28px;
  border: 2px solid var(--gold);
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--blue);
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.section-sub {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 48px;
}

/* ===== ABOUT ===== */
.about {
  background: var(--blue-mid);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.about-text .btn-outline { margin-top: 12px; }

.about-video {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.about-video video {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.video-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--red);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: 4px;
  animation: pulse-badge 2s ease infinite;
}

@keyframes pulse-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ===== GALLERY ===== */
.gallery {
  background: var(--blue);
}

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

.gallery-item {
  position: relative;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--blue-mid);
  transition: transform 0.35s, box-shadow 0.35s;
}

.gallery-item::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: rgba(10, 22, 40, 0.5);
  opacity: 0;
  transition: opacity 0.35s;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.gallery-item:hover::after { opacity: 1; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img { transform: scale(1.08); }

/* ===== BUY STEPS ===== */
.buy {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(185, 28, 28, 0.1) 0%, transparent 50%),
    var(--blue-mid);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.step-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.step-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-6px);
}

.step-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--red-bright);
  line-height: 1;
  margin-bottom: 12px;
}

.step-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
}

.ca-wrap {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.ca-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
}

.ca-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 8px;
  padding: 16px 20px;
}

.ca-row code {
  font-family: monospace;
  font-size: 0.95rem;
  color: var(--gold-light);
  word-break: break-all;
}

.copy-btn {
  background: var(--gold);
  color: var(--blue);
  border: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.copy-btn:hover { transform: scale(1.05); }

/* ===== TOKENOMICS ===== */
.tokenomics {
  background: var(--blue);
  padding-bottom: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.stat-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 36px 24px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.stat-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-4px);
}

.stat-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gold-light);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.stat-name {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.stat-detail {
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* marquee */
.marquee {
  overflow: hidden;
  background: var(--red);
  border-top: 3px solid var(--gold);
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 32px;
  color: var(--white);
}

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

/* ===== CHART CTA ===== */
.chart-cta {
  background: var(--blue-mid);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: #060d18;
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  margin: 0 auto 16px;
  object-fit: cover;
}

.footer-inner h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.footer-disclaimer {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  max-width: 680px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-social a:hover { color: var(--gold-light); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--red);
}

.lightbox-close { top: 24px; right: 24px; font-size: 2rem; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ===== FLOATING BUY ===== */
.float-buy {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(185, 28, 28, 0.5);
  animation: float-buy 3s ease-in-out infinite;
  transition: transform 0.3s;
}

.float-buy:hover { transform: scale(1.05); }

@keyframes float-buy {
  0%, 100% { box-shadow: 0 8px 32px rgba(185, 28, 28, 0.5); }
  50% { box-shadow: 0 8px 48px rgba(185, 28, 28, 0.75), 0 0 20px rgba(220, 38, 38, 0.3); }
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-float--left { width: 100px; height: 130px; left: 2%; }
  .hero-float--right { width: 90px; height: 140px; right: 2%; }
  .hero-float--coin { width: 70px; height: 70px; top: 14%; right: 6%; }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 22, 40, 0.98);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-menu.open { display: flex; }

  .nav-toggle { display: flex; }

  .nav-buy { display: none; }

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

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

  .hero-float { display: none; }
}

@media (max-width: 480px) {
  .steps-grid,
  .stats-grid,
  .gallery-grid { grid-template-columns: 1fr; }

  .letter { font-size: 2.4rem; }

  .float-buy {
    left: 16px;
    right: 16px;
    bottom: 16px;
    text-align: center;
  }
}
