/* ==========================================================================
   ARTHA DAO — Sacred DeFi & Web3 Collective Stylesheet
   Theme: Golden Temple Sanctuary, Deep Obsidian, Cyber Emerald, Glassmorphism
   Sections: Pure 3D Animated Hero, The Mythos, The 4 Pillars, Footer
   ========================================================================== */

:root {
  --bg-deep: #060b14;
  --bg-surface: #0a1220;
  --bg-card: rgba(13, 23, 40, 0.72);
  --bg-card-hover: rgba(18, 32, 54, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  
  --gold-primary: #f59e0b;
  --gold-light: #fef08a;
  --gold-bright: #fbbf24;
  --gold-dark: #b45309;
  --gold-glow: rgba(245, 158, 11, 0.45);
  --gold-subtle: rgba(245, 158, 11, 0.14);

  --emerald-primary: #10b981;
  --emerald-light: #6ee7b7;
  --emerald-dark: #065f46;
  --emerald-glow: rgba(16, 185, 129, 0.35);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-gold: rgba(245, 158, 11, 0.22);
  --border-gold-strong: rgba(245, 158, 11, 0.55);
  --border-glass: rgba(255, 255, 255, 0.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
  --font-serif: 'Cinzel', serif, Georgia;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --shadow-gold: 0 12px 32px rgba(245, 158, 11, 0.15);
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.55);
}

/* Base Reset & Smooth Scroll */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-deep);
}

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

/* Background Atmosphere Layers */
.cosmic-bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.09) 0%, transparent 60%),
    radial-gradient(circle at 10% 30%, rgba(16, 185, 129, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
}

/* Header & Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 36px;
  background: rgba(6, 11, 20, 0.75);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-gold);
  transition: all 0.3s ease;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 0 8px var(--gold-glow));
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, #ffffff 20%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  font-weight: 600;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s, text-shadow 0.2s;
  position: relative;
  padding: 4px 0;
}

.nav-link:hover {
  color: var(--gold-light);
  text-shadow: 0 0 10px var(--gold-glow);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sound-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sound-toggle-btn:hover {
  background: rgba(245, 158, 11, 0.18);
  border-color: var(--gold-primary);
  transform: translateY(-1px);
}

.sound-active {
  background: rgba(245, 158, 11, 0.25);
  box-shadow: 0 0 14px var(--gold-glow);
}

.btn-link-icon {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  transition: all 0.2s ease;
}

.btn-link-icon:hover {
  color: var(--gold-light);
  border-color: var(--border-gold);
  background: rgba(245, 158, 11, 0.12);
}

/* CA Pill Button (Navbar) */
.btn-ca-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-ca-pill:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--gold-bright);
  box-shadow: 0 0 14px var(--gold-glow);
  transform: translateY(-1px);
}

.btn-ca-pill .ca-tag {
  color: var(--gold-primary);
  font-weight: 700;
}

.btn-ca-pill .ca-icon {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* four.meme Nav Button */
.btn-four-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #a7f3d0;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-four-nav:hover {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(6, 182, 212, 0.3));
  border-color: #34d399;
  color: #fff;
  box-shadow: 0 0 16px rgba(52, 211, 153, 0.45);
  transform: translateY(-1px);
}

.four-meme-icon-nav {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(34, 197, 94, 0.6));
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #050911;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 0 16px var(--gold-glow);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px var(--gold-bright);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: rgba(6, 11, 20, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gold);
  padding: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-drawer.nav-drawer-open {
  display: flex;
}

.mobile-nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-glass);
}

/* ==========================================================================
   HERO SECTION: PURE 3D ANIMATED TORII ARCH
   Only the 3D animated Three.js canvas remains in all its visual glory!
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  max-height: 1080px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 48px;
  overflow: hidden;
}

#three-hero-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
  overflow: hidden;
}

#three-hero-container canvas {
  width: 100% !important;
  height: 100% !important;
  max-width: 100vw !important;
  display: block;
}

.hero-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 220px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-deep) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Subtle Floating Scroll Cue */
.hero-scroll-cue {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(10, 18, 32, 0.75);
  border: 1px solid var(--border-gold-strong);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px var(--gold-glow);
  transition: all 0.25s ease;
  animation: bounceCue 2.2s infinite ease-in-out;
}

.hero-scroll-cue:hover {
  background: var(--gold-primary);
  color: #050911;
  border-color: var(--gold-bright);
  box-shadow: 0 12px 32px var(--gold-bright);
  transform: translateY(-2px);
}

.scroll-arrow {
  font-size: 1.1rem;
  line-height: 1;
}

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

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section-wrapper {
  position: relative;
  z-index: 5;
  padding: 90px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 12px;
  background: rgba(245, 158, 11, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-gold);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 40%, #fef08a 80%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   LAUNCH ON FOUR.MEME & CONTRACT CARD (SECTION 1)
   ========================================================================== */
.launch-ca-banner {
  background: linear-gradient(135deg, rgba(10, 18, 32, 0.95), rgba(15, 23, 42, 0.92));
  border: 1px solid var(--border-gold-strong);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  margin: 0 auto 36px auto;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(245, 158, 11, 0.12);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.launch-ca-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #22c55e, var(--gold-bright), transparent);
}

.launch-ca-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.launch-ca-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.launch-ca-network {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.launch-ca-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.launch-ca-box {
  display: flex;
  align-items: center;
  background: rgba(5, 9, 17, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 8px 12px 8px 16px;
  flex: 1;
  min-width: 290px;
  gap: 12px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

.launch-ca-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.launch-ca-code {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: #fff;
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  user-select: all;
}

.btn-copy-main {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-copy-main:hover {
  background: var(--gold-primary);
  color: #050911;
  box-shadow: 0 0 14px var(--gold-bright);
  transform: translateY(-1px);
}

.btn-trade-four {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.btn-trade-four:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(52, 211, 153, 0.6);
  color: #fff;
}

.four-meme-logo-trade {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

/* ==========================================================================
   SECTION 1: THE MYTHOS — BANNER EXPLORER & CULTURAL LORE
   ========================================================================== */
.banner-explorer-container {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}

.banner-interactive-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1500 / 500;
  overflow: hidden;
  background: #000;
}

.banner-full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hotspot Pins on Artwork */
.hotspot-pin {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.9);
  color: #050911;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 16px var(--gold-glow);
  transition: all 0.25s ease;
  z-index: 10;
  border: 2px solid #fff;
}

.hotspot-pin::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  border: 2px solid var(--gold-bright);
  animation: pinRadar 2s infinite ease-out;
}

@keyframes pinRadar {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hotspot-pin:hover,
.hotspot-pin.pin-active {
  background: #ffffff;
  color: var(--gold-dark);
  transform: translate(-50%, -50%) scale(1.25);
  box-shadow: 0 0 24px #fff, 0 0 40px var(--gold-bright);
}

/* Pin Positions mapped to artwork coordinates */
#pin-monk { top: 68%; left: 50%; }
#pin-dragon { top: 22%; left: 22%; }
#pin-pantheon { top: 78%; left: 28%; }
#pin-rocket { top: 26%; left: 74%; }
#pin-pillars { top: 38%; left: 8%; }

/* Lore Card Display */
.lore-card {
  padding: 36px 42px;
  background: rgba(10, 18, 32, 0.9);
  border-top: 1px solid var(--border-gold);
  transition: all 0.3s ease;
}

.lore-card-highlight {
  animation: cardGlowAnim 0.6s ease;
}

@keyframes cardGlowAnim {
  0% { background: rgba(245, 158, 11, 0.22); }
  100% { background: rgba(10, 18, 32, 0.9); }
}

.lore-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.lore-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(245, 158, 11, 0.15);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.lore-hint {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.lore-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.lore-subtitle {
  font-size: 0.98rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 16px;
}

.lore-desc {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.7;
}

/* ==========================================================================
   SECTION 2: THE FOUR PILLARS
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 38px 28px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-bright);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65), 0 0 20px rgba(245, 158, 11, 0.15);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
}

.pillar-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.pillar-sanskrit {
  font-size: 0.78rem;
  color: var(--gold-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.pillar-text {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-gold);
  background: #040810;
  padding: 60px 24px 40px 24px;
  position: relative;
  z-index: 5;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-link-four {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-color: rgba(34, 197, 94, 0.4);
  color: #6ee7b7;
}

.btn-link-four:hover {
  border-color: #34d399;
  background: rgba(34, 197, 94, 0.15);
  color: #fff;
}

.four-meme-icon-sm {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
}

.footer-ca-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  background: rgba(10, 18, 32, 0.7);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 12px 18px;
}

.footer-ca-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-ca-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-ca-code {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--gold-light);
  user-select: all;
  letter-spacing: 0.03em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.btn-copy-address {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-copy-address:hover {
  background: var(--gold-primary);
  color: #050911;
  box-shadow: 0 0 12px var(--gold-bright);
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 900px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-glass);
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* Toast System */
.artha-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: rgba(10, 18, 32, 0.95);
  border: 1px solid var(--border-gold-strong);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  color: #fff;
  font-size: 0.88rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 440px;
}

.artha-toast.toast-show {
  transform: translateY(0);
  opacity: 1;
}

.artha-toast code {
  color: var(--gold-bright);
  background: rgba(245, 158, 11, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  word-break: break-all;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS & MOBILE VIEWPORT FIXES
   ========================================================================== */

/* Universal mobile containment */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

main, section, footer {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Mobile CA Box in Drawer */
.mobile-ca-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.btn-mobile-ca {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  cursor: pointer;
}

.mobile-four-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}

/* Tablet & Smaller Laptops (<= 1160px) */
@media (max-width: 1160px) {
  .btn-ca-pill {
    display: none;
  }
}

/* Intermediate screens (<= 960px) */
@media (max-width: 960px) {
  .btn-link-icon:not(.btn-four-nav) {
    display: none;
  }
  .nav-menu {
    gap: 20px;
  }
}

/* Mobile & Tablet Portrait (<= 768px) */
@media (max-width: 768px) {
  /* Navbar Layout */
  .navbar {
    padding: 10px 14px;
    width: 100%;
    max-width: 100vw;
  }

  .nav-menu {
    display: none;
  }

  .btn-nav-cta {
    display: none; /* Accessible in the mobile drawer */
  }

  .nav-actions {
    gap: 6px;
    align-items: center;
  }

  /* Sound toggle as a compact round icon button on mobile */
  .sound-toggle-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
  }
  #sound-label {
    display: none;
  }

  /* On mobile navbar: Keep clean and uncluttered (Logo + Title left, Sound + Menu right) */
  .btn-four-nav {
    display: none;
  }

  .nav-brand {
    gap: 10px;
    flex-shrink: 0;
  }

  .nav-logo-img {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 1.1rem;
    letter-spacing: 0.08em;
  }

  .brand-sub {
    display: none; /* Subtitle hidden on mobile to avoid overcrowding */
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 1.35rem;
    color: var(--gold-bright);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex-shrink: 0;
  }

  .mobile-nav-drawer {
    top: 56px;
    padding: 20px 18px 24px 18px;
    gap: 14px;
  }

  /* Hero adjustments */
  .hero-section {
    min-height: 520px;
    max-height: 85vh;
  }

  .hero-scroll-cue {
    bottom: 20px;
    padding: 7px 16px;
    font-size: 0.78rem;
  }

  /* Section Wrappers */
  .section-wrapper {
    padding: 56px 14px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-title {
    font-size: clamp(1.65rem, 6vw, 2.2rem);
    margin-bottom: 12px;
  }

  .section-desc {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  /* Launch CA Banner Card */
  .launch-ca-banner {
    padding: 16px 14px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    gap: 12px;
  }

  .launch-ca-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .launch-ca-badge {
    font-size: 0.72rem;
    padding: 4px 10px;
  }

  .launch-ca-network {
    font-size: 0.74rem;
  }

  .launch-ca-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .launch-ca-box {
    width: 100%;
    min-width: 0;
    padding: 8px 10px;
    gap: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .launch-ca-label {
    font-size: 0.72rem;
  }

  .launch-ca-code {
    font-size: 0.78rem;
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .btn-copy-main {
    padding: 6px 10px;
    font-size: 0.76rem;
    flex-shrink: 0;
  }

  .btn-trade-four {
    width: 100%;
    justify-content: center;
    padding: 11px 16px;
    font-size: 0.88rem;
  }

  /* The Mythos Banner & Hotspots */
  .banner-interactive-viewport {
    min-height: 180px;
  }

  .hotspot-pin {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
    border-width: 1.5px;
  }

  .lore-card {
    padding: 18px 14px;
  }

  .lore-title {
    font-size: 1.25rem;
  }

  .lore-subtitle {
    font-size: 0.86rem;
    margin-bottom: 10px;
  }

  .lore-desc {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  /* Section 2: The 4 Pillars */
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pillar-card {
    padding: 24px 18px;
  }

  .pillar-icon-box {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    margin-bottom: 14px;
  }

  .pillar-name {
    font-size: 1.2rem;
  }

  .pillar-text {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  /* Footer */
  .footer {
    padding: 40px 14px 28px 14px;
  }

  .footer-inner {
    gap: 24px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-ca-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }

  .footer-ca-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    min-width: 0;
  }

  .footer-ca-code {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.78rem;
  }

  .btn-copy-address {
    width: 100%;
    justify-content: center;
    display: flex;
    padding: 9px;
  }

  .footer-social-links {
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .artha-toast {
    left: 14px;
    right: 14px;
    bottom: 16px;
    max-width: calc(100vw - 28px);
    font-size: 0.82rem;
    padding: 12px 16px;
  }
}

/* Extra Small Screens (<= 400px - iPhone SE, compact phones) */
@media (max-width: 400px) {
  .brand-sub {
    display: none;
  }
  .brand-name {
    font-size: 0.98rem;
  }
  .navbar {
    padding: 8px 10px;
  }
  .nav-actions {
    gap: 6px;
  }
  .btn-four-nav span {
    display: none;
  }
  .btn-four-nav {
    padding: 6px;
    border-radius: var(--radius-full);
  }
  .four-meme-icon-nav {
    width: 18px;
    height: 18px;
  }
}
