/* ==========================================================================
   TOUCANSHOOD — Design System & Custom Stylesheet
   ========================================================================== */

:root {
  /* Primary Theme Colors */
  --bg-dark: #090d12;
  --bg-card: rgba(18, 26, 36, 0.75);
  --bg-card-hover: rgba(26, 38, 52, 0.9);
  --bg-glass: rgba(14, 21, 30, 0.65);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(0, 245, 160, 0.4);

  /* Accents */
  --neon-green: #00f5a0;
  --neon-cyan: #00d2ff;
  --neon-orange: #ff6b4a;
  --neon-purple: #9d4edf;
  --neon-yellow: #ffd166;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Typography */
  --font-heading: 'Silkscreen', cursive, sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows & Effects */
  --shadow-glow-green: 0 0 25px rgba(0, 245, 160, 0.25);
  --shadow-glow-cyan: 0 0 25px rgba(0, 210, 255, 0.25);
  --shadow-card: 0 20px 40px rgba(0, 0, 0, 0.4);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

/* Light Mode Overrides */
body.light-mode {
  --bg-dark: #f0f4f8;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(255, 255, 255, 0.75);
  --border-glass: rgba(0, 0, 0, 0.08);
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Ambient Canvas Particle Background */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Crisp Pixel Art Rendering */
.pixelated {
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 245, 160, 0.3);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-green);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  padding: 16px 0;
  transition: all 0.3s ease;
}

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

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

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--neon-green);
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.4);
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.nav-link:hover, .nav-link.active {
  color: var(--neon-green);
}

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

.icon-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.1rem;
}

.icon-btn:hover {
  background: rgba(0, 245, 160, 0.15);
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
  color: #050a0e;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: var(--shadow-glow-green);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(0, 245, 160, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  background: rgba(0, 210, 255, 0.1);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 80px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(0, 245, 160, 0.1);
  border: 1px solid rgba(0, 245, 160, 0.3);
  color: var(--neon-green);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  line-height: 1.25;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 520px;
}

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

/* Stats Counter Grid */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--neon-green);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Showcase Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.showcase-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card), var(--shadow-glow-cyan);
  transition: transform 0.4s ease;
  position: relative;
  overflow: hidden;
}

.showcase-card:hover {
  transform: translateY(-8px) rotate(1deg);
  border-color: var(--neon-cyan);
}

.showcase-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle, rgba(0, 245, 160, 0.15) 0%, rgba(12, 20, 28, 0.8) 100%);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

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

.showcase-card:hover .showcase-img {
  transform: scale(1.06);
}

.showcase-info {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.showcase-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.showcase-badge {
  background: rgba(157, 78, 223, 0.2);
  border: 1px solid var(--neon-purple);
  color: #d8b4fe;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}

/* ==========================================================================
   MINT ANNOUNCEMENT POSTER SECTION (Matches Image 2)
   ========================================================================== */
.announcement-section {
  padding: 40px 0 60px;
}

.announcement-poster {
  background: #7cd354;
  border: 4px solid #488d2d;
  border-radius: var(--radius-md);
  padding: 24px 32px 36px;
  box-shadow: 0 0 30px rgba(124, 211, 84, 0.4), inset 0 0 15px rgba(0, 0, 0, 0.15);
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.poster-header-tag {
  background: #092109;
  border: 2px solid #eeff41;
  color: #eeff41;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  text-align: center;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin: 0 auto 28px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.poster-body {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: center;
}

/* Variant: no artwork image — specs centred */
.poster-body-noart {
  display: flex;
  justify-content: center;
}

.poster-body-noart .poster-specs {
  max-width: 520px;
  width: 100%;
}

.poster-art-wrap {
  border: 3px solid #eeff41;
  background: #7cd354;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.poster-art-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.poster-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-pill {
  background: #061706;
  border: 1px solid rgba(238, 255, 65, 0.3);
  border-radius: 20px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.spec-pill:hover {
  transform: translateX(4px);
  border-color: #eeff41;
}

.spec-bullet {
  color: #ffffff;
  font-size: 1.2rem;
}

.spec-key {
  color: #eeff41;
}

.spec-val {
  color: #eeff41;
  margin-left: auto;  /* always pushes value to the far right */
  text-align: right;
  white-space: nowrap;
}

/* No more PRICE AND LIMIT sub-items — kept for backwards compat */
.spec-group-header { margin-top: 4px; }
.spec-sub { margin-left: 0; background: #061706; }
.spec-sub .spec-key { color: #a3ff70; font-size: 0.85rem; }
.spec-sub .spec-val { color: #eeff41; font-size: 0.85rem; }

/* ==========================================================================
   WALLETS ELIGIBILITY CHECKER
   ========================================================================== */
.checker-section {
  padding: 60px 0 80px;
}

.checker-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-card), var(--shadow-glow-green);
  position: relative;
  overflow: hidden;
}

.checker-input-box {
  display: flex;
  gap: 12px;
  max-width: 680px;
  margin: 0 auto 20px;
}

.checker-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: all 0.2s ease;
}

.checker-input:focus {
  border-color: var(--neon-green);
  box-shadow: 0 0 15px rgba(0, 245, 160, 0.3);
}

.sample-wallets {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.sample-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--neon-cyan);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sample-btn:hover {
  background: rgba(0, 210, 255, 0.15);
  border-color: var(--neon-cyan);
}

.checker-result-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px dashed var(--border-glass);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-placeholder {
  color: var(--text-dim);
}

.result-success {
  width: 100%;
  background: rgba(0, 245, 160, 0.1);
  border: 1px solid var(--neon-green);
  padding: 24px;
  border-radius: var(--radius-sm);
  animation: slideIn 0.3s ease;
}

.result-public {
  width: 100%;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid var(--neon-cyan);
  padding: 24px;
  border-radius: var(--radius-sm);
  animation: slideIn 0.3s ease;
}

.result-badge {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* ==========================================================================
   FILTER & GALLERY SECTION
   ========================================================================== */
.gallery-section {
  padding: 80px 0;
}

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

.section-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--neon-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 16px;
}

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

/* Controls Bar */
.gallery-controls {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  backdrop-filter: blur(12px);
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.search-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  padding: 12px 16px 12px 42px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  border-color: var(--neon-green);
  box-shadow: 0 0 10px rgba(0, 245, 160, 0.2);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.select-custom {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.select-custom option {
  background: #0f172a;
  color: #ffffff;
}

.select-custom:focus {
  border-color: var(--neon-cyan);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.toucan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.toucan-card:hover {
  transform: translateY(-8px);
  border-color: var(--neon-green);
  box-shadow: var(--shadow-card), var(--shadow-glow-green);
  background: var(--bg-card-hover);
}

.card-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #111a24;
  margin-bottom: 16px;
  position: relative;
}

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

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

.card-rank {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--neon-yellow);
  border: 1px solid rgba(255, 209, 102, 0.3);
}

.card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.card-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tier-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
}

.tier-Mythic { background: rgba(255, 107, 74, 0.2); color: var(--neon-orange); border: 1px solid var(--neon-orange); }
.tier-Legendary { background: rgba(255, 209, 102, 0.2); color: var(--neon-yellow); border: 1px solid var(--neon-yellow); }
.tier-Epic { background: rgba(157, 78, 223, 0.2); color: var(--neon-purple); border: 1px solid var(--neon-purple); }
.tier-Rare { background: rgba(0, 210, 255, 0.2); color: var(--neon-cyan); border: 1px solid var(--neon-cyan); }
.tier-Uncommon { background: rgba(0, 245, 160, 0.2); color: var(--neon-green); border: 1px solid var(--neon-green); }
.tier-Common { background: rgba(148, 163, 184, 0.2); color: var(--text-muted); border: 1px solid var(--text-muted); }

.trait-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trait-pill {
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--text-muted);
}

/* No Results State */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--border-glass);
  border-radius: var(--radius-md);
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

/* ==========================================================================
   RANDOMIZER / CUSTOMIZER WIDGET
   ========================================================================== */
.interactive-section {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 245, 160, 0.03) 50%, transparent 100%);
}

.widget-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.widget-preview-box {
  background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, rgba(12, 20, 28, 0.9) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-glow-cyan);
}

.widget-preview-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.widget-content h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.widget-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.widget-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   ROADMAP & ABOUT SECTION
   ========================================================================== */
.roadmap-section {
  padding: 80px 0;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.roadmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  transition: transform 0.3s ease;
}

.roadmap-card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-cyan);
}

.roadmap-phase {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--neon-green);
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.roadmap-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.roadmap-list {
  list-style: none;
}

.roadmap-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.roadmap-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--neon-green);
  font-weight: bold;
}

/* ==========================================================================
   MODAL DIALOG
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 8, 12, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #0d1520;
  border: 1px solid var(--neon-green);
  box-shadow: 0 0 40px rgba(0, 245, 160, 0.25);
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 107, 74, 0.4);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  padding: 36px;
}

.modal-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #111a24;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.modal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-details {
  display: flex;
  flex-direction: column;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.modal-subtitle {
  color: var(--neon-cyan);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.modal-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.modal-traits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.modal-trait-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.trait-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.trait-value {
  font-weight: 600;
  color: var(--neon-green);
  font-size: 0.9rem;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #0f1923;
  border: 1px solid var(--neon-green);
  color: var(--text-main);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-glass);
  padding: 40px 0;
  background: var(--bg-glass);
  margin-top: 80px;
}

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

.footer-text {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
    max-width: 560px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .poster-body {
    grid-template-columns: 1fr;
  }
  .poster-art-wrap {
    max-width: 280px;
    margin: 0 auto;
  }
  .checker-input-box {
    flex-direction: column;
  }
  .widget-card {
    grid-template-columns: 1fr;
  }
  .modal-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  /* Hide wallet checker CTA button in navbar on mobile — it crowds the hamburger area */
  .nav-checker-btn {
    display: none !important;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .announcement-poster {
    padding: 24px 18px;
  }
  .poster-body-noart {
    padding: 0 8px;
  }
  .spec-pill {
    font-size: 0.8rem;
    padding: 10px 14px;
  }
  .checker-card {
    padding: 28px 20px;
  }
  .checker-input-box {
    flex-direction: column;
  }
  .checker-input {
    width: 100%;
  }
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-badge {
    font-size: 0.65rem;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat-value {
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .sample-wallets {
    flex-direction: column;
    align-items: stretch;
  }
  .sample-btn {
    width: 100%;
    text-align: center;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
