/* ==========================================================================
   DEAR VAN HOOD ($VANHOOD) - STARRY NIGHT MASTERPIECE STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&family=Playfair+Display:ital,wght@0,500;0,700;0,900;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* Color Palette - Van Gogh x Robinhood, tuned rich (no muddy slate) */
  --bg-deep-indigo: #05081A;
  --bg-starry-blue: #0C1440;
  --bg-canvas-dark: #101A4A;

  --gold-primary: #FFC42E;
  --gold-glow: #FFAA00;
  --gold-light: #FFE9A3;

  --robinhood-green: #00D80A;
  --robinhood-emerald: #10B981;
  --robinhood-glow: rgba(0, 216, 10, 0.4);

  --cobalt-accent: #4F7CFF;
  --ultramarine: #2743B8;

  --text-main: #FBFAF4;
  --text-muted: #ADB8E6;
  --text-parchment: #FDF3D9;

  --border-gold: rgba(255, 196, 46, 0.35);
  --border-green: rgba(0, 216, 10, 0.3);
  --border-glass: rgba(158, 176, 255, 0.16);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  --shadow-gold: 0 10px 30px -5px rgba(255, 196, 46, 0.3);
  --shadow-green: 0 10px 30px -5px rgba(0, 216, 10, 0.3);
  --shadow-frame: 0 20px 40px rgba(2, 4, 14, 0.85), inset 0 0 15px rgba(255, 196, 46, 0.2);
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep-indigo);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  background:
    radial-gradient(ellipse 70% 45% at 80% 8%, rgba(39, 67, 184, 0.5) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 15% 30%, rgba(30, 48, 140, 0.4) 0%, transparent 70%),
    radial-gradient(circle at 50% 0%, #1B2C74 0%, #0A1236 45%, #05081A 100%);
}

/* Background Canvas Layer */
#starry-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

/* Ambient Canvas Texture Overlay */
.canvas-texture {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

/* Anchor sections land below the fixed navbar */
section {
  scroll-margin-top: 90px;
}

/* Container */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* Utility Classes */
.gold-text {
  background: linear-gradient(135deg, #FFF3B8 0%, #FFC42E 48%, #F09000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.green-text {
  background: linear-gradient(135deg, #5CF07C 0%, #00D80A 50%, #05A56B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-title {
  background: linear-gradient(135deg, #FFFFFF 0%, #FDE68A 40%, #00C805 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 196, 46, 0.1);
}

.navbar.scrolled {
  background: rgba(5, 8, 26, 0.9);
  padding: 0.85rem 0;
  border-bottom-color: rgba(255, 196, 46, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 15px rgba(255, 196, 46, 0.4);
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-ticker {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--robinhood-green);
  background: rgba(0, 216, 10, 0.15);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 216, 10, 0.3);
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-primary);
  transition: width 0.3s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #00D80A 0%, #047857 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-green);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 216, 10, 0.5);
  background: linear-gradient(135deg, #10B981 0%, #00D80A 100%);
}

.btn-gold {
  background: linear-gradient(135deg, #FFDF7E 0%, #FFC42E 45%, #ED9A00 100%);
  color: #241600;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 196, 46, 0.5);
  background: linear-gradient(135deg, #FFEFB0 0%, #FFCE4D 50%, #FFAA00 100%);
}

.btn-secondary {
  background: rgba(12, 19, 55, 0.7);
  color: var(--text-main);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 196, 46, 0.15);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

/* Audio Synth Control Toggle */
.audio-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.audio-toggle:hover {
  background: rgba(255, 196, 46, 0.2);
  transform: scale(1.08);
}

/* HERO SECTION */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 216, 10, 0.12);
  border: 1px solid rgba(0, 216, 10, 0.35);
  padding: 0.4rem 1.1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--robinhood-green);
  margin-bottom: 1.5rem;
}

.badge-tag svg {
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--text-parchment);
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--gold-primary);
  padding-left: 1rem;
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

/* Contract Address Copy Box */
.ca-box {
  background: rgba(12, 19, 55, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  backdrop-filter: blur(10px);
  max-width: 540px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.ca-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ca-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-primary);
  letter-spacing: 1px;
}

.ca-address {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ca-pending {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-light);
}

.ca-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.ca-link {
  color: var(--gold-primary);
  text-decoration: none;
}

.ca-link:hover {
  text-decoration: underline;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 196, 46, 0.15);
  color: var(--gold-primary);
  border: 1px solid var(--border-gold);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
}

.btn-copy:hover {
  background: var(--gold-primary);
  color: #241600;
}

/* Hero Visual Art Frame */
.hero-art-wrapper {
  position: relative;
  perspective: 1000px;
}

.art-frame {
  position: relative;
  border-radius: 20px;
  padding: 14px;
  background: linear-gradient(145deg, #3B2D13, #1A1305, #4A3A19);
  box-shadow: var(--shadow-frame);
  border: 2px solid var(--gold-primary);
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.art-frame:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.art-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.art-plaque {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #1A2560, #0C1440);
  border: 2px solid var(--gold-primary);
  padding: 0.6rem 1.6rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.plaque-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.plaque-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Floating Letter Badge */
.floating-letter-card {
  position: absolute;
  top: -20px;
  right: -20px;
  background: rgba(12, 19, 55, 0.9);
  border: 1px solid var(--border-green);
  padding: 0.85rem 1.25rem;
  border-radius: 16px;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  animation: float 4s ease-in-out infinite;
}

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

.letter-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 216, 10, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--robinhood-green);
}

/* SECTION HEADERS */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem auto;
}

.section-subtitle {
  font-family: var(--font-mono);
  color: var(--gold-primary);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

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

/* LORE & LETTERS SECTION */
.letters-section {
  padding: 100px 0;
  position: relative;
}

.letters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.parchment-container {
  background: radial-gradient(circle at top left, #38290F, #1A1206);
  border: 2px solid var(--border-gold);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
}

.parchment-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--gold-primary), var(--robinhood-green), var(--gold-primary));
}

.wax-seal {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle, #00D80A 0%, #044E35 100%);
  border: 2px solid var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F3FFE9;
  box-shadow: 0 4px 15px rgba(0, 216, 10, 0.5);
  margin-bottom: 1.5rem;
}

.letter-heading {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.letter-quote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-parchment);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.letter-signature {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed rgba(255, 196, 46, 0.2);
  padding-top: 1.25rem;
}

.signature-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold-primary);
  font-style: italic;
}

.letter-tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tab-card {
  background: rgba(12, 19, 55, 0.7);
  border: 1px solid var(--border-glass);
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tab-card.active, .tab-card:hover {
  background: rgba(255, 196, 46, 0.1);
  border-color: var(--gold-primary);
  transform: translateX(8px);
}

.tab-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-main);
}

.tab-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--robinhood-green);
}

/* TOKENOMICS SECTION */
.tokenomics-section {
  padding: 100px 0;
  background: rgba(10, 15, 30, 0.5);
  backdrop-filter: blur(10px);
}

.tok-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.tok-card {
  background: rgba(12, 19, 55, 0.75);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.tok-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.tok-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 196, 46, 0.12);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  font-size: 1.4rem;
}

.tok-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.tok-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Interactive Chart Area */
.tok-detail-box {
  background: rgba(12, 19, 55, 0.85);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.chart-canvas-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.tok-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.tok-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border-left: 4px solid var(--gold-primary);
}

.tok-item:nth-of-type(2) { border-left-color: var(--robinhood-green); }
.tok-item:nth-of-type(3) { border-left-color: var(--cobalt-accent); }

/* MEME GALLERY SECTION */
.gallery-section {
  padding: 100px 0;
}

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

.meme-card {
  background: rgba(12, 19, 55, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.meme-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.meme-img-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

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

.meme-card:hover .meme-img {
  transform: scale(1.08);
}

.meme-content {
  padding: 1.5rem;
}

.meme-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.meme-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* INTERACTIVE MEME GENERATOR STUDIO */
.studio-section {
  padding: 100px 0;
  background: radial-gradient(circle at bottom, #232C7E 0%, #05081A 72%);
}

.studio-box {
  background: rgba(12, 19, 55, 0.9);
  border: 2px solid var(--gold-primary);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(0,0,0,0.7);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.canvas-preview-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

#meme-studio-canvas {
  width: 100%;
  max-width: 440px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  border: 3px solid var(--gold-primary);
}

.controls-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-input, .form-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: #FFF;
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease;
}

.form-input:focus, .form-select:focus {
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.08);
}

.template-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.template-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.template-thumb.active, .template-thumb:hover {
  border-color: var(--gold-primary);
  transform: scale(1.05);
}

/* ROADMAP EXHIBITION SECTION */
.roadmap-section {
  padding: 100px 0;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: linear-gradient(180deg, var(--gold-primary), var(--robinhood-green), var(--cobalt-accent));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 3rem;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 3rem;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-primary);
  border: 4px solid #05081A;
  box-shadow: 0 0 15px var(--gold-primary);
}

.timeline-item:nth-child(odd) .timeline-dot { right: -11px; }
.timeline-item:nth-child(even) .timeline-dot { left: -11px; }

.timeline-card {
  background: rgba(12, 19, 55, 0.85);
  border: 1px solid var(--border-gold);
  padding: 1.75rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.phase-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--robinhood-green);
  font-weight: 700;
  text-transform: uppercase;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-light);
  margin: 0.4rem 0 0.8rem 0;
}

.timeline-list {
  list-style: none;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.timeline-list li {
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 1.1rem;
}

.timeline-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--gold-primary);
  transform: rotate(45deg);
}

.timeline-item:nth-child(odd) .timeline-list li {
  padding-left: 0;
  padding-right: 1.1rem;
}

.timeline-item:nth-child(odd) .timeline-list li::before {
  left: auto;
  right: 0;
}

.timeline-item:nth-child(2) .timeline-list li::before { background: var(--robinhood-green); }
.timeline-item:nth-child(3) .timeline-list li::before { background: var(--cobalt-accent); }

/* FOOTER */
.footer {
  background: #03050F;
  border-top: 1px solid var(--border-gold);
  padding: 4rem 0 2rem 0;
  text-align: center;
  position: relative;
  z-index: 10;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

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

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  background: rgba(158, 176, 255, 0.07);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: var(--gold-primary);
  color: #241600;
  border-color: var(--gold-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(255, 196, 46, 0.4);
}

.footer-disclaimer {
  max-width: 680px;
  margin: 0 auto 2rem auto;
  font-size: 0.8rem;
  color: #8790BC;
  line-height: 1.6;
}

.copy-right {
  font-size: 0.85rem;
  color: #656E9E;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

.toast {
  background: linear-gradient(135deg, #1A2560, #0C1440);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 1rem 1.5rem;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  animation: slideInRight 0.4s ease forwards;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .hero-grid, .letters-grid, .tok-detail-box, .studio-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .tok-grid, .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-title {
    font-size: 3.2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .brand-name {
    font-size: 1rem;
    white-space: nowrap;
  }
  .brand-ticker {
    display: none;
  }
  .brand-avatar {
    width: 38px;
    height: 38px;
  }
  .audio-toggle {
    width: 38px;
    height: 38px;
  }
  .nav-btn-label {
    display: none;
  }
  .nav-actions .btn {
    padding: 0.6rem 0.7rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .tok-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }
  .ca-box {
    flex-direction: column;
    align-items: flex-start;
  }
  .floating-letter-card {
    right: 0;
  }
  .timeline-item:nth-child(odd) .timeline-list li {
    padding-left: 1.1rem;
    padding-right: 0;
  }
  .timeline-item:nth-child(odd) .timeline-list li::before {
    left: 0;
    right: auto;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 50px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }
  .timeline-item:nth-child(even) {
    left: 0;
  }
  .timeline-dot {
    left: 9px !important;
  }
}

/* Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}
