/* ============================================================
   CYSTADS V2 — Shared Design System
   Import this on every v2 standalone page.
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

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

/* ════════════════════════════════════
   DESIGN TOKENS
   ════════════════════════════════════ */
:root {
  /* Backgrounds */
  --void: #0d0a18;
  --void-light: #120e22;
  --void-mid: #1a1530;

  /* Brand purple */
  --purple: #8a2be2;
  --purple-light: #a855f7;
  --purple-mid: rgba(138, 43, 226, 0.22);
  --purple-glow: rgba(138, 43, 226, 0.40);
  --purple-soft: rgba(138, 43, 226, 0.10);
  --purple-border: rgba(138, 43, 226, 0.25);

  /* Gold — heritage accent */
  --gold: #c8923a;
  --gold-light: #e8b96a;
  --gold-soft: rgba(200, 146, 58, 0.18);
  --gold-border: rgba(200, 146, 58, 0.35);

  /* Neutrals */
  --cream: #f0e8d8;
  --cream-muted: rgba(240, 232, 216, 0.50);
  --cream-dim: rgba(240, 232, 216, 0.30);
  --white: #ffffff;

  /* Glass surfaces */
  --glass-bg: rgba(13, 9, 26, 0.85);
  --glass-border: rgba(138, 43, 226, 0.22);
  --glass-hover: rgba(138, 43, 226, 0.12);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;

  /* Aliases for v2- namespace used across templates */
  --v2-gold-primary: #c8923a;
  --v2-gold-light: #e8b96a;
  --v2-purple-primary: #8a2be2;
  --v2-purple-light: #a855f7;
  --v2-bg-dark: #0d0a18;
  --v2-text-light: #f8fafc;
  --v2-text-muted: #cbd5e1;
  --v2-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --v2-font-serif: 'Playfair Display', Georgia, serif;
  --v2-font-sans: 'Inter', -apple-system, sans-serif;
  --v2-btn-gold-bg: linear-gradient(135deg, #c8923a 0%, #e8b96a 100%);
  --v2-btn-gold-text: #0d0a18;
}

/* ════════════════════════════════════
   BASE PAGE STYLES
   ════════════════════════════════════ */
html {
  scroll-behavior: smooth;
}

body.v2-page {
  background: var(--void);
  color: var(--cream);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

/* ════════════════════════════════════
   LAYOUT PRIMITIVES
   ════════════════════════════════════ */
.v2-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.v2-container--wide {
  max-width: 1400px;
}

.v2-container--narrow {
  max-width: 800px;
}

.v2-section {
  padding: var(--space-xl) 0;
}

.v2-section--sm {
  padding: var(--space-lg) 0;
}

.v2-section--lg {
  padding: var(--space-2xl) 0;
}

/* ════════════════════════════════════
   HERO
   ════════════════════════════════════ */
.v2-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--void);
  padding: 8rem 2rem 5rem;
}

.v2-hero--full {
  min-height: 100vh;
}

.v2-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.v2-hero:hover .v2-hero__bg {
  transform: scale(1.0);
}

.v2-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(13, 8, 30, 0.88) 0%,
    rgba(8, 5, 20, 0.62) 50%,
    rgba(10, 6, 26, 0.82) 100%
  );
}

.v2-hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.v2-hero__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s var(--ease-out) 0.2s forwards;
}

.v2-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease-out) 0.35s forwards;
}

.v2-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--cream-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease-out) 0.5s forwards;
}

.v2-hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.8s var(--ease-out) 0.65s forwards;
}

/* ════════════════════════════════════
   GLASS CARDS
   ════════════════════════════════════ */
.v2-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 2rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.v2-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.v2-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(138, 43, 226, 0.25);
  border-color: rgba(138, 43, 226, 0.45);
}

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

/* Gold accent variant */
.v2-card--gold::before {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 1;
}

.v2-card--gold:hover {
  box-shadow: 0 20px 60px rgba(200, 146, 58, 0.2);
  border-color: var(--gold-border);
}

/* Elevated variant */
.v2-card--elevated {
  background: rgba(18, 14, 34, 0.95);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(138, 43, 226, 0.1);
}

/* ════════════════════════════════════
   BUTTONS & VISIBILITY SYSTEM
   ════════════════════════════════════ */
.btn-v2-gold,
.v2-btn-gold,
.read-btn,
.ev-card-cta,
.ev-sidebar-cta,
.job-apply-btn,
.donate-submit-btn,
.v2-btn--primary,
.v2-auth-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.75rem 1.75rem !important;
  background: #c8923a !important; /* solid fallback */
  background: linear-gradient(135deg, #c8923a 0%, #e8b96a 100%) !important;
  color: #0d0a18 !important;
  font-family: var(--font-sans) !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  border: none !important;
  border-radius: var(--radius-pill, 50px) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(200, 146, 58, 0.4) !important;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease, filter 0.25s ease !important;
  white-space: nowrap !important;
}

.btn-v2-gold:hover,
.v2-btn-gold:hover,
.read-btn:hover,
.ev-card-cta:hover,
.ev-sidebar-cta:hover,
.job-apply-btn:hover,
.donate-submit-btn:hover,
.v2-btn--primary:hover,
.v2-auth-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 30px rgba(200, 146, 58, 0.6) !important;
  filter: brightness(1.08) !important;
  color: #0d0a18 !important;
}

.btn-v2-gold:active,
.v2-btn-gold:active,
.read-btn:active,
.ev-card-cta:active,
.ev-sidebar-cta:active {
  transform: translateY(-1px) !important;
}

.btn-v2-gold svg, .btn-v2-gold i,
.v2-btn-gold svg, .v2-btn-gold i,
.read-btn svg, .read-btn i,
.ev-card-cta svg, .ev-card-cta i,
.ev-sidebar-cta svg, .ev-sidebar-cta i {
  font-size: 1rem !important;
  transition: transform 0.2s ease !important;
}

.btn-v2-gold:hover svg, .btn-v2-gold:hover i,
.v2-btn-gold:hover svg, .v2-btn-gold:hover i,
.read-btn:hover svg, .read-btn:hover i,
.ev-card-cta:hover svg, .ev-card-cta:hover i,
.ev-sidebar-cta:hover svg, .ev-sidebar-cta:hover i {
  transform: translateX(3px) !important;
}

/* Outline / Secondary buttons */
.btn-v2-outline,
.v2-btn-outline,
.v2-btn--secondary,
.v2-btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.75rem 1.75rem !important;
  background: rgba(200, 146, 58, 0.08) !important;
  color: #e8b96a !important;
  font-family: var(--font-sans) !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  border: 1.5px solid #c8923a !important;
  border-radius: var(--radius-pill, 50px) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease-spring), color 0.25s ease !important;
  white-space: nowrap !important;
}

.btn-v2-outline:hover,
.v2-btn-outline:hover,
.v2-btn--secondary:hover,
.v2-btn-secondary:hover {
  background: rgba(200, 146, 58, 0.2) !important;
  border-color: #e8b96a !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

/* Purple button */
.btn-v2-purple {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.85rem 2rem !important;
  background: var(--purple, #8a2be2) !important;
  color: #ffffff !important;
  font-family: var(--font-sans) !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  border: none !important;
  border-radius: var(--radius-pill, 50px) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease, background 0.25s ease !important;
  white-space: nowrap !important;
}

.btn-v2-purple:hover {
  background: var(--purple-light, #a855f7) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 35px rgba(138, 43, 226, 0.45) !important;
  color: #ffffff !important;
}

/* ════════════════════════════════════
   TYPOGRAPHY
   ════════════════════════════════════ */
.v2-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 1rem;
}

.v2-eyebrow--gold {
  color: var(--gold);
}

.v2-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.v2-heading--lg {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.v2-heading--sm {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.v2-subheading {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--cream-muted);
  line-height: 1.75;
  max-width: 680px;
}

.v2-text {
  font-size: 1rem;
  color: var(--cream-muted);
  line-height: 1.75;
}

.v2-text--gold {
  color: var(--gold);
}

.v2-text--purple {
  color: var(--purple-light);
}

/* ════════════════════════════════════
   GRIDS
   ════════════════════════════════════ */
.v2-grid {
  display: grid;
  gap: 1.5rem;
}

.v2-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.v2-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.v2-grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ════════════════════════════════════
   BADGES
   ════════════════════════════════════ */
.v2-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.8rem;
  background: var(--purple-soft);
  border: 1px solid var(--purple-border);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--purple-light);
  text-transform: uppercase;
}

.v2-badge--gold {
  background: var(--gold-soft);
  border-color: var(--gold-border);
  color: var(--gold-light);
}

.v2-badge--green {
  background: rgba(74, 222, 128, 0.1);
  border-color: rgba(74, 222, 128, 0.25);
  color: #4ade80;
}

/* ════════════════════════════════════
   FORM ELEMENTS
   ════════════════════════════════════ */
.v2-form-group {
  margin-bottom: 1.5rem;
}

.v2-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cream-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.v2-input,
.v2-textarea,
.v2-select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(138, 43, 226, 0.25);
  border-radius: var(--radius-sm);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
}

.v2-input::placeholder,
.v2-textarea::placeholder {
  color: rgba(240, 232, 216, 0.3);
}

.v2-input:focus,
.v2-textarea:focus,
.v2-select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.15);
  background: rgba(138, 43, 226, 0.05);
}

.v2-textarea {
  min-height: 120px;
  resize: vertical;
}

.v2-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a2be2' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* ════════════════════════════════════
   DIVIDERS
   ════════════════════════════════════ */
.v2-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.3), transparent);
  margin: var(--space-md) 0;
}

.v2-divider--gold {
  background: linear-gradient(90deg, transparent, rgba(200, 146, 58, 0.3), transparent);
}

/* ════════════════════════════════════
   STAT COUNTERS
   ════════════════════════════════════ */
.v2-stat {
  text-align: center;
  padding: 1.5rem;
}

.v2-stat__number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.v2-stat__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

/* ════════════════════════════════════
   SCROLL ANIMATIONS
   ════════════════════════════════════ */
.v2-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.v2-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.v2-slide-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.v2-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.v2-slide-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.v2-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays for child elements */
.v2-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.v2-stagger > *:nth-child(2) { transition-delay: 0.12s; }
.v2-stagger > *:nth-child(3) { transition-delay: 0.19s; }
.v2-stagger > *:nth-child(4) { transition-delay: 0.26s; }
.v2-stagger > *:nth-child(5) { transition-delay: 0.33s; }
.v2-stagger > *:nth-child(6) { transition-delay: 0.40s; }
.v2-stagger > *:nth-child(7) { transition-delay: 0.47s; }

/* ════════════════════════════════════
   NAV — matches landing_v2.css exactly
   ════════════════════════════════════ */
#v2-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#v2-nav.scrolled {
  background: rgba(13, 9, 26, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 2.5rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0) 100%);
  position: relative;
  z-index: 2;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-mark {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.nav-logo-tagline {
  font-size: 0.56rem;
  color: var(--cream-muted);
  line-height: 1.5;
  max-width: 160px;
  padding-top: 0.1rem;
}

/* Center nav links */
.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-links li { position: relative; }

.nav-links a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 232, 216, 0.68);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

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

.nav-link-donate { color: rgba(200, 146, 58, 0.9) !important; }
.nav-link-donate:hover { color: var(--gold-light) !important; }

/* Active link underline */
.nav-links a.active {
  color: var(--cream);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* Right CTA strip */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

/* Buttons */
.btn-nav-signin {
  padding: 0.42rem 1rem;
  border: 1px solid rgba(240, 232, 216, 0.25);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cream-muted);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  letter-spacing: 0.04em;
}

.btn-nav-signin:hover {
  border-color: var(--cream);
  color: var(--cream);
}

.btn-nav-join {
  padding: 0.42rem 1.1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  color: #1a0f00;
  text-decoration: none;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease;
  letter-spacing: 0.04em;
}

.btn-nav-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 146, 58, 0.4);
  color: #1a0f00;
}

.btn-nav-dashboard {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 1rem;
  background: var(--purple);
  border: 1px solid rgba(138, 43, 226, 0.5);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: background 0.22s, box-shadow 0.22s;
  letter-spacing: 0.04em;
}

.btn-nav-dashboard i { font-size: 0.9rem; }

.btn-nav-dashboard:hover {
  background: var(--purple-light);
  box-shadow: 0 4px 18px rgba(138, 43, 226, 0.45);
  color: var(--white);
}

/* ── Currency selector ── */
.v2-currency-wrap { position: relative; }

.v2-currency-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.85rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.22s, border-color 0.22s;
  white-space: nowrap;
  user-select: none;
}

.v2-currency-btn i { font-size: 0.82rem; }

.v2-currency-btn:hover {
  background: rgba(138, 43, 226, 0.12);
  border-color: rgba(138, 43, 226, 0.4);
  color: var(--purple-light);
}

#v2-currency-caret {
  font-size: 0.7rem;
  transition: transform 0.25s;
  color: rgba(240, 232, 216, 0.45);
}

#v2-currency-caret.rotated { transform: rotate(180deg); }

.v2-currency-dropdown {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  width: 280px;
  background: rgba(13, 9, 26, 0.98);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(138, 43, 226, 0.22);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.85), 0 0 0 1px rgba(138,43,226,0.06);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s var(--ease-out);
  z-index: 300;
}

.v2-currency-dropdown.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.v2-currency-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: rgba(138,43,226,0.08);
  border-bottom: 1px solid rgba(138,43,226,0.15);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--purple-light);
  letter-spacing: 0.06em;
}

.v2-currency-options {
  max-height: 260px;
  overflow-y: auto;
  padding: 0.4rem 0;
}

.v2-currency-options::-webkit-scrollbar { width: 4px; }
.v2-currency-options::-webkit-scrollbar-thumb {
  background: rgba(138,43,226,0.3);
  border-radius: 4px;
}

.v2-currency-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background 0.18s, border-color 0.18s;
}

.v2-currency-option:hover {
  background: rgba(138,43,226,0.1);
  border-left-color: var(--purple);
}

.v2-currency-option.selected {
  background: rgba(138,43,226,0.14);
  border-left-color: var(--purple);
}

.v2-cur-symbol {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 26px;
  text-align: center;
}

.v2-cur-details {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  flex: 1;
}

.v2-cur-code { font-size: 0.78rem; font-weight: 600; color: var(--cream); }
.v2-cur-name { font-size: 0.65rem; color: var(--cream-muted); }

.v2-cur-check {
  font-size: 0.9rem;
  color: var(--purple-light);
  margin-left: auto;
}

.v2-currency-footer {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  background: rgba(138,43,226,0.05);
  border-top: 1px solid rgba(138,43,226,0.1);
  font-size: 0.64rem;
  color: var(--cream-muted);
}

.v2-currency-footer i { color: var(--purple-light); font-size: 0.8rem; }

/* ── Hamburger ── */
.v2-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.v2-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.v2-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.v2-hamburger.open span:nth-child(2) { opacity: 0; }
.v2-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile overlay menu ── */
.v2-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 9, 26, 0.98);
  backdrop-filter: blur(24px);
  padding: 5rem 2rem 2rem;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out);
  z-index: 999;
  overflow-y: auto;
}

.v2-mobile-menu.open {
  opacity: 1;
  transform: translateX(0);
}

.v2-mobile-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--cream-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.2s;
}

.v2-mobile-close:hover { color: var(--cream); }

.v2-mobile-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 2rem;
  text-decoration: none;
}

.v2-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
}

.v2-mobile-links > li > a {
  display: block;
  padding: 0.9rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(240, 232, 216, 0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s, padding-left 0.2s;
}

.v2-mobile-links > li > a:hover {
  color: var(--purple-light);
  padding-left: 0.5rem;
}

.v2-mobile-links .nav-link-donate { color: rgba(200,146,58,0.9) !important; }

.v2-mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.v2-mobile-cta .btn-nav-join,
.v2-mobile-cta .btn-nav-signin,
.v2-mobile-cta .btn-nav-dashboard {
  width: 100%;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  font-size: 0.9rem;
}

/* ════════════════════════════════════
   FOOTER
   ════════════════════════════════════ */
.v2-footer {
  background: rgba(5, 3, 12, 0.9);
  border-top: 1px solid rgba(200, 146, 58, 0.15);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.v2-footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.v2-footer__brand-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.v2-footer__brand-tagline {
  font-size: 0.78rem;
  color: var(--cream-muted);
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 1.5rem;
}

.v2-footer__socials {
  display: flex;
  gap: 0.75rem;
}

.v2-footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(138,43,226,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-muted);
  font-size: 0.85rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  text-decoration: none;
}

.v2-footer__social-link:hover {
  background: rgba(138,43,226,0.15);
  border-color: var(--purple);
  color: var(--purple-light);
  transform: translateY(-2px);
}

.v2-footer__col-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.v2-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.v2-footer__links a {
  font-size: 0.82rem;
  color: var(--cream-muted);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}

.v2-footer__links a:hover {
  color: var(--cream);
  padding-left: 0.35rem;
}

.v2-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  flex-wrap: wrap;
}

.v2-footer__copyright {
  font-size: 0.75rem;
  color: rgba(240,232,216,0.35);
}

.v2-footer__legal {
  display: flex;
  gap: 1.5rem;
}

.v2-footer__legal a {
  font-size: 0.72rem;
  color: rgba(240,232,216,0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.v2-footer__legal a:hover { color: var(--cream-muted); }

/* ════════════════════════════════════
   KEYFRAMES
   ════════════════════════════════════ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(138,43,226,0.3); }
  50%       { box-shadow: 0 0 40px rgba(138,43,226,0.6); }
}

@keyframes goldPulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

/* ════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════ */
@media (max-width: 1024px) {
  .v2-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .v2-currency-wrap { display: none; } /* shown in mobile menu instead */
  .v2-hamburger { display: flex; }
  .v2-mobile-menu { display: block; }

  .nav-cta .btn-nav-signin,
  .nav-cta .btn-nav-join { display: none; }

  .v2-container { padding: 0 1.25rem; }

  .v2-section { padding: var(--space-lg) 0; }

  .v2-grid--2,
  .v2-grid--3,
  .v2-grid--4 {
    grid-template-columns: 1fr;
  }

  .v2-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

@media (max-width: 480px) {
  .nav-inner { padding: 0.75rem 1.25rem; }

  .v2-hero { padding: 6rem 1.25rem 3rem; }

  .v2-hero__cta { flex-direction: column; align-items: center; }

  .btn-v2-gold,
  .btn-v2-outline,
  .btn-v2-purple {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}
