/* ═══════════════════════════════════════════
   AGE OF CONQUEST — ETERNAL VOYAGE
   GameFi Protocol Website
   ═══════════════════════════════════════════ */

:root {
  --bg: #1a1610;
  --bg-dark: #12100c;
  --bg-card: #1e1b15;
  --bg-card-hover: #252117;
  --parchment: #2a2419;
  --parchment-light: #342d22;

  --gold: #c9a84c;
  --gold-light: #f0d68a;
  --gold-dark: #8b7332;
  --gold-dim: rgba(201, 168, 76, 0.1);
  --gold-glow: rgba(201, 168, 76, 0.15);

  --red-accent: #c0392b;
  --navy: #1a2744;

  --text: #d4c9a8;
  --text-bright: #ede4cc;
  --text-muted: #8a7e66;
  --text-dim: #5a5040;

  --border: rgba(201, 168, 76, 0.12);
  --border-hover: rgba(201, 168, 76, 0.25);

  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dark) var(--bg);
}

body {
  font-family: 'Crimson Text', Georgia, serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.03) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(26, 39, 68, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(192, 57, 43, 0.02) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

::selection {
  background: var(--gold);
  color: var(--bg);
}

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

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

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

/* ═══ NAV ═══ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.nav.scrolled {
  background: rgba(18, 16, 12, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

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

.nav-logo-img {
  border-radius: 50%;
  object-fit: cover;
  transition: transform var(--transition);
}

.nav-logo:hover .nav-logo-img {
  transform: rotate(15deg) scale(1.05);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.btn-wallet {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-wallet:hover {
  background: var(--gold);
  color: var(--bg);
}

.btn-wallet.wallet-connected {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold-dark);
  font-family: 'Inter', monospace;
  font-size: 12px;
}

.btn-wallet.wallet-connected:hover {
  background: rgba(192, 57, 43, 0.15);
  border-color: var(--red-accent);
  color: var(--red-accent);
}

/* Wallet Modal */
.wallet-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.wallet-modal-overlay.visible {
  opacity: 1;
}

.wallet-modal {
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  max-width: 400px;
  width: 100%;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.wallet-modal-overlay.visible .wallet-modal {
  transform: translateY(0);
}

.wallet-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  transition: color var(--transition);
  line-height: 1;
}

.wallet-modal-close:hover {
  color: var(--text-bright);
}

.wallet-modal h3 {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  color: var(--text-bright);
  margin: 20px 0 12px;
}

.wallet-modal p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.wallet-modal .btn-primary {
  display: inline-flex;
  text-decoration: none;
}

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

.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  transition: all var(--transition);
}

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0v60M0 30h60' stroke='%23c9a84c' stroke-width='0.3' opacity='0.06'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg width='400' height='400' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='200' cy='200' r='150' fill='none' stroke='%23c9a84c' stroke-width='0.5' opacity='0.04'/%3E%3Ccircle cx='200' cy='200' r='100' fill='none' stroke='%23c9a84c' stroke-width='0.3' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.6;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle 8s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  border: 1px solid var(--border-hover);
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--gold-dim);
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 8px;
}

.hero-title-line {
  display: block;
  font-size: clamp(42px, 6vw, 72px);
  color: var(--text-bright);
}

.hero-title-line.accent {
  color: var(--gold);
  text-shadow: 0 0 40px rgba(201, 168, 76, 0.2);
}

.hero-subtitle {
  font-family: 'Cinzel', serif;
  font-size: clamp(14px, 2vw, 20px);
  color: var(--text-muted);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-left: 4px;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.3);
}

.btn-primary.btn-lg {
  padding: 18px 40px;
  font-size: 16px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  background: transparent;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid var(--border-hover);
  border-radius: 6px;
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
}

.hero-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Logo */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-container {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-img {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  animation: logoFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(201, 168, 76, 0.25));
}

.hero-logo-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.12) 0%, transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
  z-index: 1;
}

.hero-logo-ring {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.15);
  animation: slowSpin 30s linear infinite;
  z-index: 1;
}

.hero-logo-ring::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 168, 76, 0.08);
}

/* Banner */
.banner-section {
  position: relative;
  z-index: 1;
  background: var(--bg-dark);
  padding: 0;
  overflow: hidden;
}

.banner-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.banner-img {
  width: 100%;
  display: block;
  object-fit: contain;
}

.banner-fade-left,
.banner-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.banner-fade-left {
  left: 0;
  background: linear-gradient(90deg, var(--bg-dark) 0%, transparent 100%);
}

.banner-fade-right {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-dark) 0%, transparent 100%);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll a {
  opacity: 0.5;
  transition: opacity var(--transition);
}

.hero-scroll a:hover {
  opacity: 1;
}

/* ═══ SECTIONS ═══ */
.section {
  position: relative;
  padding: 100px 0;
  z-index: 1;
}

.section-dark {
  background: var(--bg-dark);
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='1' fill='%23c9a84c' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ═══ FLOW DIAGRAM ═══ */
.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.flow-step {
  text-align: center;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  min-width: 130px;
  transition: all var(--transition);
}

.flow-step:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.flow-step h4 {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  color: var(--gold);
  margin: 12px 0 4px;
}

.flow-step p {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

.flow-arrow {
  opacity: 0.4;
  flex-shrink: 0;
}

.flow-icon {
  display: flex;
  justify-content: center;
}

/* Protocol Cards */
.protocol-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.p-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: all var(--transition);
}

.p-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.p-card-icon {
  margin-bottom: 20px;
}

.p-card h4 {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: var(--text-bright);
  margin-bottom: 12px;
}

.p-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══ VAULT CARDS ═══ */
.vault-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.vault-card {
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: all var(--transition);
  position: relative;
}

.vault-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.vault-card-featured {
  border-color: var(--gold-dark);
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.05) 0%, var(--bg-card) 100%);
}

.vault-featured-tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 12px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 10px;
}

.vault-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.vault-pct {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
}

.vault-card h4 {
  font-family: 'Cinzel', serif;
  font-size: 17px;
  color: var(--text-bright);
  margin-bottom: 10px;
}

.vault-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.vault-detail {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
}

.vault-detail span:first-child {
  color: var(--text-muted);
}

.vault-detail span:last-child {
  color: var(--text);
  font-weight: 500;
}

/* ═══ NFT CARDS ═══ */
.nft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.nft-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
  transition: all var(--transition);
}

.nft-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.nft-frame {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, var(--parchment) 0%, var(--bg-card) 100%);
  position: relative;
}

.nft-image {
  opacity: 0.7;
  transition: opacity var(--transition);
}

.nft-card:hover .nft-image {
  opacity: 1;
}

.nft-rarity-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
}

[data-rarity="common"] .nft-rarity-bar { background: var(--text-muted); }
[data-rarity="uncommon"] .nft-rarity-bar { background: #4a9e4a; }
[data-rarity="rare"] .nft-rarity-bar { background: #4a7ec9; }
[data-rarity="epic"] .nft-rarity-bar { background: #9b59b6; }
[data-rarity="legendary"] .nft-rarity-bar { background: #f0a830; }
[data-rarity="mythic"] .nft-rarity-bar { background: #e74c3c; }

[data-rarity="common"] .nft-tier { color: var(--text-muted); }
[data-rarity="uncommon"] .nft-tier { color: #4a9e4a; }
[data-rarity="rare"] .nft-tier { color: #4a7ec9; }
[data-rarity="epic"] .nft-tier { color: #9b59b6; }
[data-rarity="legendary"] .nft-tier { color: #f0a830; }
[data-rarity="mythic"] .nft-tier { color: #e74c3c; }

.nft-info {
  padding: 20px 24px 24px;
}

.nft-tier {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.nft-info h4 {
  font-family: 'Cinzel', serif;
  font-size: 17px;
  color: var(--text-bright);
  margin: 6px 0 16px;
}

.nft-stats {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nft-stats > div {
  display: flex;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
}

.nft-stats > div span:first-child {
  color: var(--text-muted);
}

.nft-stats > div span:last-child {
  color: var(--text);
  font-weight: 500;
}

/* ═══ FRAGMENTS ═══ */
.fragment-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.fragment-step {
  display: flex;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  margin-bottom: 16px;
  transition: all var(--transition);
}

.fragment-step:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.fragment-step-num {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold-dark);
  opacity: 0.5;
  min-width: 50px;
}

.fragment-step h4 {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  color: var(--text-bright);
  margin-bottom: 6px;
}

.fragment-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.fragment-progress-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.fragment-progress-card h4 {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: var(--text-bright);
  margin-bottom: 28px;
}

.fragment-bar-group {
  margin-bottom: 20px;
}

.fragment-bar-label {
  display: flex;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  margin-bottom: 6px;
}

.fragment-bar-label span:first-child {
  color: var(--text);
}

.fragment-bar-label span:last-child {
  color: var(--text-muted);
}

.fragment-bar {
  height: 6px;
  background: var(--parchment);
  border-radius: 3px;
  overflow: hidden;
}

.fragment-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 3px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fragment-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
}

.fragment-count {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
}

/* ═══ TREASURE ═══ */
.treasure-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 64px;
}

.treasure-step {
  text-align: center;
  padding: 32px 24px;
  max-width: 220px;
}

.treasure-step-icon {
  margin-bottom: 16px;
  opacity: 0.8;
  transition: all var(--transition);
}

.treasure-step:hover .treasure-step-icon {
  opacity: 1;
  transform: scale(1.1);
}

.treasure-step-num {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.treasure-step h4 {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.treasure-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.treasure-connector {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 48px;
  opacity: 0.4;
}

.treasure-line {
  width: 24px;
  height: 1px;
  background: var(--gold);
}

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

.treasure-cta-note {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ═══ TOKENOMICS ═══ */
.tokenomics-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.tokenomics-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.tax-ring {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tax-ring-center {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tax-total {
  font-family: 'Cinzel', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
}

.tax-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tax-legend {
  width: 100%;
  max-width: 240px;
}

.tax-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

.tax-legend-item:last-child {
  border-bottom: none;
}

.tax-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tax-legend-item span:nth-child(2) {
  flex: 1;
  color: var(--text);
}

.tax-legend-item span:last-child {
  font-weight: 600;
  color: var(--text-bright);
}

.tokenomics-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.token-detail-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: all var(--transition);
}

.token-detail-card:hover {
  border-color: var(--border-hover);
}

.token-detail-card h4 {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.token-detail-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.token-metric {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  border-top: 1px solid var(--border);
}

.token-metric span:first-child {
  color: var(--text-muted);
}

.token-metric-val {
  color: var(--gold);
  font-weight: 600;
}

/* ═══ FOOTER ═══ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--bg-dark);
  padding: 48px 0 24px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 6px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h5 {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  color: var(--text-bright);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col a {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
}

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

.footer-contract {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.footer-contract span {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-contract code {
  font-family: 'Inter', monospace;
  font-size: 13px;
  color: var(--text);
  background: var(--parchment);
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.copy-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
}

.copy-btn:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-dim);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: var(--text-muted);
  transition: all var(--transition);
}

.footer-socials a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

/* ═══ ANIMATIONS ═══ */
@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

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

@keyframes floatParticle {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  20% { opacity: 0.6; transform: translateY(-30px) scale(1); }
  80% { opacity: 0.3; transform: translateY(-100px) scale(0.8); }
  100% { opacity: 0; transform: translateY(-140px) scale(0); }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .vault-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .tokenomics-layout {
    grid-template-columns: 1fr;
  }

  .tokenomics-chart {
    flex-direction: row;
    justify-content: center;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(18, 16, 12, 0.96);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

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

  .nav-toggle {
    display: flex;
  }

  .btn-wallet {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-desc {
    margin: 0 auto 36px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .flow-diagram {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .protocol-cards {
    grid-template-columns: 1fr;
  }

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

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

  .fragment-layout {
    grid-template-columns: 1fr;
  }

  .treasure-steps {
    flex-direction: column;
    align-items: center;
  }

  .treasure-connector {
    transform: rotate(90deg);
    margin: 0;
  }

  .tokenomics-chart {
    flex-direction: column;
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links {
    gap: 32px;
    flex-wrap: wrap;
  }

  .footer-contract {
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .hero-logo-container {
    width: 260px;
    height: 260px;
  }

  .hero-logo-img {
    width: 220px;
    height: 220px;
  }

  .banner-img {
    width: 100%;
  }
}
