/* ULTRATRUMP — USA / GIGA Theme */

:root {
  --red: #bf0a30;
  --red-dark: #8b0722;
  --navy: #002868;
  --navy-dark: #001845;
  --white: #ffffff;
  --gold: #d4af37;
  --gold-light: #f0d060;
  --gold-dark: #a8861e;
  --sky: #1a4a8a;
  --green: #2d6a2d;
  --bg: #060d1f;
  --bg-card: #0a1630;
  --text: #f0f4ff;
  --text-muted: #9bb0d4;
  --border: rgba(212, 175, 55, 0.35);
  --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.25);
  --font-display: "Bebas Neue", "Impact", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

/* Background */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(191, 10, 48, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(0, 40, 104, 0.35) 0%, transparent 55%),
    linear-gradient(180deg, #060d1f 0%, #0a1630 50%, #060d1f 100%);
}

.stars-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.06;
  background-image:
    radial-gradient(1px 1px at 10% 20%, white, transparent),
    radial-gradient(1px 1px at 30% 60%, white, transparent),
    radial-gradient(1.5px 1.5px at 50% 10%, white, transparent),
    radial-gradient(1px 1px at 70% 40%, white, transparent),
    radial-gradient(1px 1px at 90% 70%, white, transparent),
    radial-gradient(1.5px 1.5px at 20% 80%, white, transparent),
    radial-gradient(1px 1px at 60% 90%, white, transparent),
    radial-gradient(1px 1px at 85% 15%, white, transparent);
  background-size: 100% 100%;
}

.stripes-accent {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0px,
    var(--red) 40px,
    var(--white) 40px,
    var(--white) 80px,
    var(--navy) 80px,
    var(--navy) 120px
  );
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 13, 31, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

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

.nav-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-gold);
}

.nav-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(191, 10, 48, 0.4);
}

.nav-cta:hover {
  color: var(--white) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 1.4rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  padding-bottom: 0;
}

.hero-banner-wrap {
  position: relative;
  width: 100%;
  max-height: 520px;
  overflow: hidden;
}

.hero-banner {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 13, 31, 0.1) 0%,
    rgba(6, 13, 31, 0.55) 60%,
    var(--bg) 100%
  );
}

.hero-content {
  position: relative;
  margin-top: -6rem;
  padding-bottom: 3rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 40, 104, 0.7);
  border: 1px solid var(--gold);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-symbol {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.hero-title-gold {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.4));
}

.hero-title-white {
  color: var(--white);
  text-shadow: 0 4px 0 var(--navy), 0 6px 20px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-logo-float {
  width: 180px;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 8px 30px rgba(212, 175, 55, 0.45));
  animation: float 4s ease-in-out infinite;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 24px rgba(191, 10, 48, 0.45);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--navy-dark);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Ticker */
.ticker {
  background: var(--navy);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  overflow: hidden;
  padding: 0.75rem 0;
}

.ticker-track {
  display: flex;
  gap: 2rem;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.ticker-track span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--white);
}

.ticker-sep {
  color: var(--gold) !important;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-visual img {
  border-radius: 12px;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-gold), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.about-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  transition: border-color 0.2s, transform 0.2s;
}

.pillar:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.pillar-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.pillar-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Chart */
.chart-section {
  background: linear-gradient(180deg, transparent, rgba(0, 40, 104, 0.15), transparent);
}

.chart-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(0, 40, 104, 0.5);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chart-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.chart-live-dot {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.chart-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
}

.chart-link {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.875rem;
  transition: opacity 0.2s;
}

.chart-link:hover {
  opacity: 0.8;
}

.chart-wrap {
  position: relative;
  width: 100%;
  height: 560px;
  background: #0d1117;
}

.chart-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.chart-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(6, 13, 31, 0.95);
  text-align: center;
  padding: 2rem;
}

.chart-placeholder.hidden {
  display: none;
}

.chart-placeholder-icon {
  font-size: 3rem;
}

.chart-placeholder p {
  color: var(--text-muted);
  max-width: 400px;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--white), var(--navy));
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.step-desc a {
  color: var(--gold);
}

/* Contract */
.contract-section {
  padding: 0 0 5rem;
}

.contract-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(0, 40, 104, 0.6), rgba(191, 10, 48, 0.15));
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-gold);
}

.contract-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.contract-address {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.75rem, 2vw, 1rem);
  word-break: break-all;
  color: var(--white);
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.btn-copy:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-copy.copied {
  background: #22c55e;
  color: white;
}

/* Footer */
.footer {
  background: var(--navy-dark);
  border-top: 3px solid var(--gold);
  padding: 2.5rem 0;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer-links a {
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(155, 176, 212, 0.6);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--navy);
  border: 1px solid var(--gold);
  color: var(--white);
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 999;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

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

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

@media (max-width: 640px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(6, 13, 31, 0.98);
    padding: 1.5rem;
    border-bottom: 2px solid var(--border);
    gap: 1.25rem;
  }

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

  .nav-inner {
    position: relative;
  }

  .hero-banner {
    height: 280px;
  }

  .hero-content {
    margin-top: -3rem;
  }

  .hero-logo-float {
    width: 120px;
  }

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

  .chart-wrap {
    height: 420px;
  }

  .contract-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
