/* ==========================================================================
   PURALAB â€” Ultimate Dark Crypto Theme & Aesthetics v2.0
   ========================================================================== */

/* 1. CSS VARIABLES OVERRIDES */
:root {
  --bg: #030307;
  --bg-card: #0A0A12;
  --bg-elevated: #11111E;
  --accent: #FFD700;
  --accent-hover: #F5C842;
  --text: #F3F4F6;
  --text-muted: #9CA3AF;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 215, 0, 0.2);
  --success: #00E676;
  --gold: #FFD700;
  --gold-glow: rgba(255, 215, 0, 0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset overrides */
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.02) 0%, transparent 45%);
}

/* 2. HEADER & NAVIGATION */
.header {
  background: rgba(3, 3, 7, 0.8);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-weight: 800;
  letter-spacing: -0.03em;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}
.logo span {
  color: var(--gold);
}
.nav a {
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition);
}
.nav a:hover, .nav a.active {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}
.nav-pura {
  color: var(--gold) !important;
  position: relative;
}
.nav-pura::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  border-radius: 2px;
}
.header-social a {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border);
  color: #fff;
}
.header-social a:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
  color: #fff;
  box-shadow: 0 0 15px var(--gold-glow);
  transform: translateY(-2px);
}
.cart-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.cart-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}
.cart-count {
  background: var(--gold);
  color: #000;
  font-weight: 700;
  box-shadow: 0 0 8px var(--gold);
}

/* 3. HERO & SPECIAL SECTIONS */
.hero {
  position: relative;
  background: #030307;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 215, 0, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 215, 0, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 1;
}
.hero-overlay {
  background: radial-gradient(circle at 50% 50%, transparent 20%, #030307 80%);
}
.hero h1 {
  color: #fff;
  text-shadow: 0 4px 30px rgba(0,0,0,0.8);
}
.hero p {
  color: #9CA3AF;
}
.hero-badge {
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.25);
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

/* 4. STATS BAR (CRITICAL FIX) */
.token-stats-bar {
  background: rgba(10, 10, 18, 0.7) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border) !important;
  border-bottom: 1px solid var(--border) !important;
  display: flex;
  justify-content: space-around;
  padding: 0 !important;
  overflow-x: auto;
}
.token-stat {
  border-right: 1px solid var(--border) !important;
  flex: 1;
  min-width: 150px;
  padding: 2rem 1.5rem !important;
  text-align: center;
  background: transparent !important;
  transition: var(--transition);
}
.token-stat:hover {
  background: rgba(255, 215, 0, 0.02) !important;
}
.token-stat:last-child {
  border-right: none !important;
}
.token-stat-val {
  color: var(--gold) !important;
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.token-stat-lbl {
  color: var(--text-muted) !important;
  font-size: 0.68rem !important;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Dark section panels (Roadmap, Community, etc.) */
.dark-section, section.dark-section {
  background: #06060c !important;
  border-top: 1px solid var(--border) !important;
  border-bottom: 1px solid var(--border) !important;
}

/* 5. TOKENOMICS PROGRESS BARS & FACTS */
.alloc-row {
  margin-bottom: 1.75rem;
}
.alloc-name {
  color: #fff !important;
  font-weight: 600;
}
.alloc-desc-small {
  color: var(--text-muted) !important;
}
.alloc-pct {
  color: var(--gold) !important;
  font-weight: 800;
}
.alloc-track {
  background: rgba(255, 255, 255, 0.04) !important;
  height: 6px !important;
  border-radius: 4px;
}
.alloc-fill {
  background: linear-gradient(90deg, var(--gold) 0%, #FFA500 100%) !important;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}
.fact-item {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius);
  padding: 1.25rem !important;
  transition: var(--transition);
}
.fact-item:hover {
  border-color: var(--border-hover) !important;
  background: rgba(255, 215, 0, 0.01) !important;
  transform: translateY(-2px);
}
.fact-label {
  color: var(--text-muted) !important;
  font-size: 0.65rem !important;
  font-weight: 600;
}
.fact-val {
  color: #fff !important;
  font-weight: 700 !important;
}

/* 6. ROADMAP (CRITICAL FIX) */
.rm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem !important;
  background: transparent !important;
}
.rm-card {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 2.25rem 2rem !important;
  transition: var(--transition) !important;
}
.rm-card:hover {
  border-color: rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.03) !important;
}
.rm-card.active {
  border-color: var(--gold) !important;
  background: rgba(255, 215, 0, 0.04) !important;
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.06);
}
.rm-num {
  color: var(--text-muted) !important;
  font-weight: 700;
}
.rm-card.active .rm-num {
  color: var(--gold) !important;
}
.rm-card h3 {
  color: #fff !important;
  font-size: 1.25rem !important;
  font-weight: 700;
  margin-top: 0.5rem;
}
.rm-card ul li {
  color: var(--text-muted) !important;
  font-size: 0.88rem !important;
}
.rm-card ul li::before {
  color: rgba(255,255,255,0.2) !important;
}
.rm-card.active ul li::before {
  color: var(--gold) !important;
}
.rm-badge-active {
  background: rgba(255, 215, 0, 0.1) !important;
  color: var(--gold) !important;
  border: 1px solid rgba(255, 215, 0, 0.2);
}
.rm-badge-pending {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--text-muted) !important;
  border: 1px solid var(--border);
}

/* 7. HOW TO BUY (CRITICAL FIX) */
.buy-grid {
  background: transparent !important;
  border: none !important;
  gap: 1.25rem !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.buy-card {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 2.25rem 2rem !important;
  transition: var(--transition);
}
.buy-card:hover {
  border-color: rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-4px);
}
.buy-card-num {
  color: rgba(255, 215, 0, 0.08) !important;
  font-size: 3.5rem !important;
  font-weight: 900 !important;
  line-height: 0.8;
  margin-bottom: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  transition: var(--transition);
}
.buy-card:hover .buy-card-num {
  color: rgba(255, 215, 0, 0.15) !important;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}
.buy-card h4 {
  color: #fff !important;
  font-size: 1.1rem !important;
  font-weight: 700;
}
.buy-card p {
  color: var(--text-muted) !important;
  font-size: 0.88rem !important;
  line-height: 1.6;
}
.buy-link {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-muted) !important;
  border-radius: var(--radius-sm) !important;
  transition: var(--transition) !important;
}
.buy-link:hover {
  background: var(--gold) !important;
  color: #000 !important;
  border-color: var(--gold) !important;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
  font-weight: 600;
}

/* 8. PRODUCTS GRID & CARDS */
.product-card {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
  transition: var(--transition) !important;
}
.product-card:hover {
  border-color: var(--gold) !important;
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.08) !important;
  transform: translateY(-4px);
}
.product-img {
  background: rgba(255, 255, 255, 0.01) !important;
  border-bottom: 1px solid var(--border);
}
.product-name {
  color: #fff !important;
  font-size: 1.05rem !important;
  font-weight: 700;
}
.product-desc {
  color: var(--text-muted) !important;
  font-size: 0.82rem !important;
}
.product-price {
  color: var(--gold) !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
}

/* 9. COMMUNITY SECTIONS & FOOTER */
.feature-card {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  padding: 2rem !important;
  transition: var(--transition) !important;
}
.feature-card:hover {
  border-color: var(--gold) !important;
  background: rgba(255, 215, 0, 0.02) !important;
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.06);
}
.feature-card h3 {
  color: #fff !important;
}
.feature-card p {
  color: var(--text-muted) !important;
}

/* Age verification overlay custom styling */
.age-overlay {
  background: rgba(3, 3, 7, 0.98) !important;
}
.age-modal {
  background: #0A0A12 !important;
  border: 1px solid rgba(255, 215, 0, 0.15) !important;
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.08) !important;
}

/* Footer layout fixes */
.footer {
  background: #040408 !important;
  border-top: 1px solid var(--border) !important;
}
.footer-disclaimer {
  background: rgba(255, 255, 255, 0.01) !important;
  border-color: var(--border) !important;
  color: var(--text-muted) !important;
}
.footer-col h4 {
  color: #fff !important;
  font-weight: 700;
}
.footer-col a {
  color: var(--text-muted) !important;
}
.footer-col a:hover {
  color: var(--gold) !important;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}
.footer-bottom {
  color: rgba(255, 255, 255, 0.15) !important;
}

/* 10. RESPONSIVE MOBILE FIXES */
@media (max-width: 768px) {
  /* Fix stats bar cut-off on mobile */
  .token-stats-bar {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1px !important;
    background: var(--border) !important;
    overflow-x: hidden !important;
  }
  .token-stat {
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
    padding: 1.5rem 1rem !important;
    background: #0A0A12 !important;
  }
  .token-stat:nth-child(odd) {
    border-right: 1px solid var(--border) !important;
  }
  .token-stat:last-child {
    grid-column: span 2;
    border-bottom: none !important;
    border-right: none !important;
  }

  /* Header adjustments */
  .header {
    padding: 0.85rem 1rem !important;
  }
  .logo {
    font-size: 1.2rem !important;
  }
  .header-right {
    gap: 0.5rem !important;
  }

  /* Font resizing for headings */
  .token-hero h1 {
    font-size: 2.5rem !important;
    line-height: 1.1 !important;
  }
  .section-header h2 {
    font-size: 1.75rem !important;
  }
  
  /* Fix spacing */
  .token-hero {
    padding: 7rem 1.25rem 3.5rem !important;
  }
  .section {
    padding: 3rem 1.25rem !important;
  }
  
  /* Stack tokenomics columns on mobile */
  .tokenomics-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .tokenomics-layout > div:nth-child(2) {
    order: -1; /* Place image at the top or middle */
    max-width: 280px;
    margin: 0 auto;
  }

  /* Stack how to buy layout on mobile */
  .how-to-buy-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .how-to-buy-layout > div:nth-child(2) {
    max-width: 280px;
    margin: 0 auto;
  }
  .buy-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Stack community layout on mobile */
  .community-layout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .community-layout > div:nth-child(1) {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .community-layout > div:nth-child(2) {
    max-width: 320px;
    margin: 0 auto;
  }
}

.footer-bottom {
  color: rgba(255, 255, 255, 0.15) !important;
}

/* 11. SHOP TOOLBAR & FILTER BUTTON OVERRIDES */
.shop-toolbar input, .shop-toolbar select {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  color: #fff !important;
}
.shop-toolbar input::placeholder {
  color: var(--text-muted) !important;
}
.shop-toolbar input:focus, .shop-toolbar select:focus {
  border-color: var(--gold) !important;
}
.shop-toolbar select option {
  background: var(--bg-card) !important;
  color: #fff !important;
}
.shop-toolbar-label {
  color: var(--text-muted) !important;
}
.filter-btn {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-muted) !important;
  transition: var(--transition) !important;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: #000 !important;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.25) !important;
}

/* 12. PAGE HERO (all pages) */
.page-hero {
  background: var(--bg) !important;
  border-bottom: 1px solid var(--border) !important;
}
.page-hero h1 {
  color: #fff !important;
}
.page-hero p {
  color: var(--text-muted) !important;
}

/* 13. TRUST BAR / MARQUEE */
.trust-bar {
  background: var(--bg-card) !important;
  border-top: 1px solid var(--border) !important;
  border-bottom: 1px solid var(--border) !important;
}
.trust-bar span {
  color: var(--text-muted) !important;
}

/* 14. DARK SECTION (ironic name â€” was light!) */
.dark-section {
  background: var(--bg) !important;
  border-color: var(--border) !important;
}

/* 15. CONTACT PAGE */
.contact-form {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
}
.contact-card {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: var(--border) !important;
}
.contact-card:hover {
  border-color: var(--gold) !important;
}
.contact-grid-section {
  background: var(--bg) !important;
}

/* 16. FORM INPUTS (global) */
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-elevated) !important;
  border-color: var(--border) !important;
  color: #fff !important;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold) !important;
}
.form-group select option {
  background: var(--bg-card) !important;
  color: #fff !important;
}
.form-group label {
  color: var(--text-muted) !important;
}

/* 17. FAQ PAGE */
.faq-item {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: var(--border) !important;
}
.faq-item:hover {
  border-color: var(--border-hover) !important;
}
.faq-question {
  color: #fff !important;
}
.faq-answer, .faq-answer p {
  color: var(--text-muted) !important;
}
.faq-icon {
  color: var(--text-muted) !important;
  border-color: var(--border) !important;
}
.faq-item.open .faq-icon {
  background: var(--gold) !important;
  color: #000 !important;
}

/* 18. CART PANEL */
.cart-panel {
  background: var(--bg-card) !important;
  border-left: 1px solid var(--border) !important;
}
.cart-panel h3, .cart-panel h4 {
  color: #fff !important;
}
.cart-item-name {
  color: #fff !important;
}
.cart-item-variant, .cart-item-price {
  color: var(--text-muted) !important;
}
.qty-btn {
  background: var(--bg-elevated) !important;
  border-color: var(--border) !important;
  color: #fff !important;
}
.qty-btn:hover {
  background: var(--gold) !important;
  color: #000 !important;
  border-color: var(--gold) !important;
}

/* 19. AGE VERIFICATION (reinforced) */
.age-badge {
  background: rgba(255, 50, 50, 0.1) !important;
  border-color: rgba(255, 50, 50, 0.2) !important;
  color: #ff6666 !important;
}

/* 20. SITE MODALS */
.site-modal-dialog {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6) !important;
}
.site-modal-close {
  background: var(--bg-elevated) !important;
  border-color: var(--border) !important;
  color: #fff !important;
}
.site-modal-close:hover {
  background: var(--gold) !important;
  color: #000 !important;
}

/* 21. PRODUCT DETAIL PAGE */
.product-detail-media {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
}
.product-detail-copy {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
}
.product-detail-copy h1 {
  color: #fff !important;
}
.product-detail-copy p {
  color: var(--text-muted) !important;
}
.variant-pill {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: var(--border) !important;
  color: #fff !important;
}
.variant-pill:hover, .variant-pill.selected {
  border-color: var(--gold) !important;
  background: rgba(255, 215, 0, 0.05) !important;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.1) !important;
}
.variant-pill .variant-label {
  color: #fff !important;
}
.variant-pill .variant-price {
  color: var(--gold) !important;
}
.qty-stepper button {
  background: var(--bg-elevated) !important;
  color: #fff !important;
  border-color: var(--border) !important;
}
.qty-stepper button:hover {
  background: var(--gold) !important;
  color: #000 !important;
}
.qty-stepper input {
  background: var(--bg-card) !important;
  color: #fff !important;
}
.product-purity-chip {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: var(--border) !important;
  color: var(--text-muted) !important;
}
.product-highlight {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: var(--border) !important;
}
.product-highlight h4, .product-highlight strong {
  color: #fff !important;
}
.product-highlight p, .product-highlight li {
  color: var(--text-muted) !important;
}
.product-detail-panel {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
}
.product-detail-panel h3 {
  color: #fff !important;
}
.product-detail-panel p, .product-detail-panel li {
  color: var(--text-muted) !important;
}
.stock-pill.stock-urgent {
  background: rgba(255, 50, 50, 0.1) !important;
  color: #ff6666 !important;
  border-color: rgba(255, 50, 50, 0.2) !important;
}
.product-benefit-icon {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: var(--border) !important;
  color: var(--text-muted) !important;
}
.product-trust-badges {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: var(--border) !important;
}
.product-trust-badges li {
  color: var(--text-muted) !important;
}
.product-testimonial {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: var(--border) !important;
}
.product-testimonial p {
  color: var(--text-muted) !important;
}
.product-testimonial strong {
  color: #fff !important;
}
.product-faq-item {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: var(--border) !important;
}
.product-faq-item summary {
  color: #fff !important;
}
.product-faq-item p {
  color: var(--text-muted) !important;
}

/* 22. BUTTONS GLOBAL OVERRIDES */
.btn.btn-glow {
  background: linear-gradient(135deg, var(--gold), #FFA500) !important;
  border-color: var(--gold) !important;
  color: #000 !important;
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.25) !important;
}
.btn.btn-glow:hover {
  box-shadow: 0 8px 28px rgba(255, 215, 0, 0.4) !important;
  transform: translateY(-2px);
}
.btn.btn-secondary {
  background: var(--bg-elevated) !important;
  border-color: var(--border) !important;
  color: #fff !important;
}
.btn.btn-ghost {
  background: transparent !important;
  border-color: var(--border) !important;
  color: var(--text-muted) !important;
}
.btn.btn-ghost:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

/* 23. PRODUCT IMAGE CONTAINERS â€” fix visibility on dark background */
.product-img img, .product-card img, .catalog-card img {
  mix-blend-mode: normal !important;
  filter: brightness(1.2) contrast(1.05) !important;
}
.product-img, .product-card .card-img, .catalog-card .card-img {
  background: #fff !important;
  border-radius: 10px;
  overflow: hidden;
}
.product-detail-media img {
  mix-blend-mode: normal !important;
  filter: brightness(1.15) contrast(1.05) !important;
}


/* 24. MISCELLANEOUS WHITE KILLS */
.order-lookup-form {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
}
.order-card {
  background: var(--bg-card) !important;
  border-color: var(--border) !important;
}
.lookup-alert.error {
  background: rgba(255, 50, 50, 0.08) !important;
  color: #ff6666 !important;
  border-color: rgba(255, 50, 50, 0.15) !important;
}
.status-pending {
  background: rgba(255, 165, 0, 0.08) !important;
  color: #FFA500 !important;
  border-color: rgba(255, 165, 0, 0.15) !important;
}
.status-cancelled {
  background: rgba(255, 50, 50, 0.08) !important;
  color: #ff6666 !important;
  border-color: rgba(255, 50, 50, 0.15) !important;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.15);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 215, 0, 0.3);
}

/* Selection color */
::selection {
  background: rgba(255, 215, 0, 0.25);
  color: #fff;
}

/* â”€â”€ ROADMAP VERTICAL TIMELINE â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.rm-timeline {
  max-width: 780px;
  margin: 0 auto;
  padding-top: 1rem;
}

.rm-phase {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 0 1.5rem;
  margin-bottom: 0;
}

.rm-phase-last .rm-phase-body {
  padding-bottom: 0;
}

.rm-phase-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rm-phase-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 215, 0, 0.2);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}

.rm-dot-active {
  border-color: var(--gold) !important;
  background: rgba(255, 215, 0, 0.12) !important;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.25);
  color: var(--gold);
}

.rm-dot-num {
  font-size: 10px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.02em;
}

.rm-phase-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(to bottom, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.04));
  margin: 6px 0;
  min-height: 32px;
}

.rm-phase-active .rm-phase-line {
  background: linear-gradient(to bottom, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.08));
}

.rm-phase-body {
  padding-bottom: 2.5rem;
}

.rm-phase-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding-top: 0.6rem;
}

.rm-phase-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

.rm-tag-active {
  color: var(--gold) !important;
  background: rgba(255, 215, 0, 0.1) !important;
  border: 1px solid rgba(255, 215, 0, 0.2) !important;
}

.rm-tag-pending {
  color: rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.rm-tag-vision {
  color: #c084fc !important;
  background: rgba(192, 132, 252, 0.08) !important;
  border: 1px solid rgba(192, 132, 252, 0.15) !important;
}

.rm-phase-quarter {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.25);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.rm-phase-card {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 16px !important;
  padding: 1.5rem 1.75rem !important;
  transition: border-color 0.3s ease;
}

.rm-phase-active .rm-phase-card {
  border-color: rgba(255, 215, 0, 0.12) !important;
  background: rgba(255, 215, 0, 0.02) !important;
}

.rm-phase-card:hover {
  border-color: rgba(255, 215, 0, 0.15) !important;
}

.rm-phase-num {
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.2) !important;
  margin-bottom: 0.35rem !important;
}

.rm-phase-title {
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin: 0 0 0.5rem !important;
  letter-spacing: -0.02em;
}

.rm-phase-desc {
  font-size: 0.83rem !important;
  color: var(--text-muted) !important;
  line-height: 1.6 !important;
  margin-bottom: 1.1rem !important;
}

.rm-checklist {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rm-checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem !important;
  font-weight: 500;
}

.rm-check-done {
  color: rgba(255, 255, 255, 0.7) !important;
}

.rm-check-active {
  color: var(--gold) !important;
}

.rm-check-pending {
  color: rgba(255, 255, 255, 0.25) !important;
}

.rm-check-icon {
  font-size: 0.75rem;
  width: 16px;
  flex-shrink: 0;
  color: var(--gold);
}

.rm-check-now {
  color: var(--gold) !important;
}

.rm-check-empty {
  color: rgba(255, 255, 255, 0.15) !important;
}

@media (max-width: 600px) {
  .rm-phase {
    grid-template-columns: 32px 1fr;
    gap: 0 1rem;
  }
  .rm-phase-dot {
    width: 32px;
    height: 32px;
  }
  .rm-phase-card {
    padding: 1.1rem 1.25rem !important;
  }
  .rm-phase-title {
    font-size: 1rem !important;
  }
}

/* â”€â”€ 3D FLOATING IMAGE LAYERS (token page only) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.token-hero {
  position: relative !important;
  overflow: hidden !important;
}

.token-hero .hero-3d-layers {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.token-hero .layer-3d {
  position: absolute;
  opacity: 0;
  border-radius: 0;
  will-change: transform, opacity;
  mix-blend-mode: screen;
  filter: brightness(0.6) saturate(1.4);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

/* Molecule â€” large, top-right, slow drift + rotate */
.token-hero .layer-molecule {
  width: clamp(300px, 55vw, 720px);
  top: -8%;
  right: -8%;
  opacity: 0.12;
  animation: float-molecule 18s ease-in-out infinite;
  transform-origin: center center;
}

/* DNA â€” medium, bottom-left, opposite drift */
.token-hero .layer-dna {
  width: clamp(220px, 40vw, 520px);
  bottom: -10%;
  left: -5%;
  opacity: 0.09;
  animation: float-dna 22s ease-in-out infinite;
  transform-origin: center center;
}

/* Particles â€” full cover, slow drift */
.token-hero .layer-particles {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  opacity: 0.06;
  animation: float-particles 30s linear infinite;
}

@keyframes float-molecule {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.12; }
  25%  { transform: translate(-20px, 18px) rotate(8deg) scale(1.04); opacity: 0.16; }
  50%  { transform: translate(-10px, 35px) rotate(-4deg) scale(0.97); opacity: 0.11; }
  75%  { transform: translate(15px, 12px) rotate(12deg) scale(1.06); opacity: 0.15; }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.12; }
}

@keyframes float-dna {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.09; }
  33%  { transform: translate(25px, -20px) rotate(-10deg) scale(1.05); opacity: 0.13; }
  66%  { transform: translate(-15px, -35px) rotate(6deg) scale(0.95); opacity: 0.08; }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.09; }
}

@keyframes float-particles {
  0%   { transform: translate(0, 0) scale(1.0); opacity: 0.06; }
  50%  { transform: translate(-20px, -15px) scale(1.03); opacity: 0.09; }
  100% { transform: translate(0, 0) scale(1.0); opacity: 0.06; }
}


/* â”€â”€ MOBILE RESPONSIVE FIXES â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Base mobile fixes */
@media (max-width: 768px) {
  /* Hero */
  .hero {
    min-height: 100svh !important;
    padding: 0 !important;
  }

  .hero-inner {
    padding: 7rem 1.25rem 3rem !important;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 10vw, 3.2rem) !important;
    line-height: 1.1 !important;
  }

  .hero-content p {
    font-size: 0.9rem !important;
  }

  .hero-badge {
    font-size: 0.65rem !important;
  }

  .hero-ctas {
    flex-direction: column !important;
    gap: 0.75rem !important;
    align-items: flex-start !important;
  }

  .hero-ctas .btn {
    width: 100% !important;
    text-align: center !important;
  }

  /* Token hero */
  .token-hero {
    min-height: 100svh !important;
    padding: 0 !important;
  }

  .token-hero-inner {
    padding: 7rem 1.25rem 3rem !important;
    flex-direction: column !important;
    gap: 2rem !important;
    align-items: flex-start !important;
  }

  .token-hero-inner h1 {
    font-size: clamp(2.2rem, 11vw, 3.5rem) !important;
  }

  .token-hero-ctas {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }

  .token-hero-ctas .btn {
    width: 100% !important;
    text-align: center !important;
  }

  .token-ca-box {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }

  .token-ca-val {
    font-size: 0.65rem !important;
    word-break: break-all !important;
  }

  /* Navigation */
  .site-header .nav-links {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  /* Sections */
  .section {
    padding: 3.5rem 0 !important;
  }

  .container {
    padding: 0 1.25rem !important;
  }

  /* Tokenomics grid */
  .tknm-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }

  /* Roadmap */
  .rm-phase {
    grid-template-columns: 28px 1fr !important;
    gap: 0 0.75rem !important;
  }

  .rm-phase-dot {
    width: 28px !important;
    height: 28px !important;
  }

  /* How to buy */
  .buy-grid {
    grid-template-columns: 1fr !important;
  }

  .how-to-buy-layout {
    grid-template-columns: 1fr !important;
  }

  /* Products / shop grid */
  .products-grid,
  .catalog-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }

  /* Trust bar */
  .trust-bar {
    padding: 0.75rem 0 !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem !important;
  }

  /* 3D layers â€” reduced on mobile for performance */
  .layer-molecule {
    width: 80vw !important;
    right: -15% !important;
    top: 5% !important;
    opacity: 0.08 !important;
  }

  .layer-dna {
    width: 60vw !important;
    left: -10% !important;
    bottom: 5% !important;
    opacity: 0.06 !important;
  }

  /* Token stats */
  .token-stats {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }

  /* Section headers */
  .section-header h2 {
    font-size: clamp(1.6rem, 8vw, 2.4rem) !important;
  }
}

/* Extra small screens */
@media (max-width: 400px) {
  .tknm-grid {
    grid-template-columns: 1fr !important;
  }

  .products-grid,
  .catalog-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .token-hero-inner h1 {
    font-size: 2rem !important;
  }
}
/* -- TOKENOMICS TEXT VISIBILITY FIX ----------------------------------------- */
#tokenomics .section-label,
#tokenomics h2,
#tokenomics h3,
#tokenomics p,
#tokenomics li,
#tokenomics strong {
  color: #fff !important;
}
#tokenomics .section-label {
  color: var(--gold) !important;
  opacity: 1 !important;
}
#tokenomics h2 {
  color: #fff !important;
  opacity: 1 !important;
}
#tokenomics p {
  color: rgba(255,255,255,0.75) !important;
  opacity: 1 !important;
}
.tokenomics-layout,
.tokenomics-layout * {
  color: inherit;
}
.tknm-item strong {
  color: #fff !important;
}
.tknm-item span,
.tknm-item p {
  color: rgba(255,255,255,0.65) !important;
}
.token-stats-col .stat-label,
.token-stat-label {
  color: rgba(255,255,255,0.5) !important;
}
.token-stats-col .stat-value,
.token-stat-value {
  color: #fff !important;
  font-weight: 700 !important;
}

/* â”€â”€ PURA TOKEN PAGE â€” sections semi-transparent so GLOBE shows through â”€â”€â”€â”€â”€ */
body.pura-token-page {
  background: #030307 !important;
}

body.pura-token-page .section,
body.pura-token-page .dark-section {
  background: rgba(3, 3, 7, 0.70) !important;
}

body.pura-token-page .rm-phase-card,
body.pura-token-page .tknm-card,
body.pura-token-page .buy-card,
body.pura-token-page .feature-card,
body.pura-token-page .community-card,
body.pura-token-page .token-stat-box {
  background: rgba(10, 10, 18, 0.88) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

body.pura-token-page .site-header {
  background: rgba(3, 3, 7, 0.92) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* -- FLOATING IMAGE ANIMATION ------------------------------------------------ */
@keyframes float-img {
  0%   { transform: translateY(0px) scale(1); }
  50%  { transform: translateY(-16px) scale(1.02); }
  100% { transform: translateY(0px) scale(1); }
}

/* Ensure section content sits above per-section Vanta canvases */
body.pura-token-page .section .container,
body.pura-token-page .section > .container {
  position: relative;
  z-index: 2;
}
/* -- PURA COIN HERO ANIMATION ------------------------------------------------ */
@keyframes coin-float-glow {
  0%   { transform: translateY(0px) rotate(-3deg) scale(1);
         filter: drop-shadow(0 0 30px rgba(200,150,12,0.6)) drop-shadow(0 0 60px rgba(255,200,0,0.3)); }
  25%  { transform: translateY(-14px) rotate(0deg) scale(1.03);
         filter: drop-shadow(0 0 50px rgba(255,215,0,1.0)) drop-shadow(0 0 100px rgba(200,150,12,0.5)); }
  50%  { transform: translateY(-22px) rotate(3deg) scale(1.05);
         filter: drop-shadow(0 0 60px rgba(255,215,0,0.9)) drop-shadow(0 0 120px rgba(200,150,12,0.6)); }
  75%  { transform: translateY(-10px) rotate(1deg) scale(1.02);
         filter: drop-shadow(0 0 45px rgba(255,200,0,0.8)) drop-shadow(0 0 80px rgba(200,150,12,0.4)); }
  100% { transform: translateY(0px) rotate(-3deg) scale(1);
         filter: drop-shadow(0 0 30px rgba(200,150,12,0.6)) drop-shadow(0 0 60px rgba(255,200,0,0.3)); }
}

.pura-coin-hero {
  animation: coin-float-glow 6s ease-in-out infinite;
  will-change: transform, filter;
  transform-origin: center center;
}
/* ------------------------------------------------------
   PURA TOKEN PAGE — COMPREHENSIVE MOBILE FIX
   ------------------------------------------------------ */

/* -- HERO -------------------------------------------- */
@media (max-width: 768px) {
  .token-hero {
    min-height: 100svh;
    padding: 80px 0 40px;
  }

  .token-hero-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 2rem !important;
    padding: 0 1.25rem !important;
  }

  .token-hero-inner > div:first-child {
    order: 2;
  }

  .token-hero-inner > div:last-child {
    order: 1;
  }

  .pura-coin-hero {
    max-width: 260px !important;
    margin: 0 auto !important;
  }

  .token-hero h1 {
    font-size: clamp(2.4rem, 10vw, 3.5rem) !important;
    line-height: 1.1 !important;
    text-align: center !important;
  }

  .token-hero p {
    font-size: 0.95rem !important;
    text-align: center !important;
    max-width: 340px !important;
    margin: 0 auto !important;
  }

  .token-hero-badge {
    justify-content: center !important;
    font-size: 0.7rem !important;
    flex-wrap: wrap !important;
  }

  .token-hero-ctas {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .token-hero-ctas .btn {
    width: 100% !important;
    max-width: 300px !important;
    text-align: center !important;
    padding: 0.85rem 1rem !important;
  }

  /* CA box */
  .token-ca-box {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1rem !important;
    word-break: break-all !important;
  }

  .token-ca-val {
    font-size: 0.72rem !important;
    text-align: center !important;
    max-width: 280px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .token-ca-copy {
    width: 100% !important;
    max-width: 200px !important;
  }

  /* Stats bar — 2 columns */
  .token-stats-bar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    padding: 0 !important;
  }

  .token-stat {
    padding: 1rem 0.75rem !important;
    border-right: 1px solid rgba(255,255,255,0.06) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    text-align: center !important;
  }

  .token-stat-val {
    font-size: 1rem !important;
    line-height: 1.2 !important;
  }

  .token-stat-lbl {
    font-size: 0.6rem !important;
  }

  /* Tokenomics layout — single column */
  .tokenomics-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
  }

  .tokenomics-layout > * {
    width: 100% !important;
  }

  /* Roadmap — full width cards */
  .rm-timeline {
    padding-left: 1rem !important;
  }

  .rm-phase-card {
    padding: 1.25rem !important;
  }

  .rm-phase-card h3 {
    font-size: 1.1rem !important;
  }

  /* How to buy — single column */
  .buy-steps {
    grid-template-columns: 1fr !important;
  }

  .buy-card {
    padding: 1.25rem !important;
  }

  /* Community grid — single column */
  .community-grid,
  .social-grid {
    grid-template-columns: 1fr !important;
  }

  /* Section headers */
  .section-header h2 {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
  }

  /* Images in sections */
  .tokenomics-layout img,
  .buy-layout img,
  .community-layout img {
    max-width: 280px !important;
    margin: 0 auto !important;
    display: block !important;
  }

  /* Allocation items */
  .tknm-list {
    grid-template-columns: 1fr !important;
  }

  /* Token stat boxes right column */
  .token-stats-col {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
  }
}

/* -- SMALL PHONES (iPhone SE, 375px) ----------------- */
@media (max-width: 430px) {
  .token-hero h1 {
    font-size: 2.2rem !important;
  }

  .pura-coin-hero {
    max-width: 220px !important;
  }

  .token-stat-val {
    font-size: 0.85rem !important;
  }

  .section-header h2 {
    font-size: 1.7rem !important;
  }

  .rm-phase-card,
  .buy-card {
    padding: 1rem !important;
  }
}
/* ------------------------------------------------------
   MOBILE HERO — TARGETED FIX (override previous)
   ------------------------------------------------------ */
@media (max-width: 768px) {

  /* Hero section — proper containment */
  .token-hero {
    min-height: 100svh !important;
    padding: 70px 1.25rem 40px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  /* Hero inner — coin on top, text below */
  .token-hero-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1.5rem !important;
    padding: 0 !important;
    width: 100% !important;
  }

  /* Coin — first, contained, no overflow */
  .token-hero-inner > div:last-child {
    order: 1 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }

  /* Text block — second */
  .token-hero-inner > div:first-child {
    order: 2 !important;
    width: 100% !important;
  }

  /* Coin size — small enough to not overflow */
  .pura-coin-hero {
    max-width: 200px !important;
    width: 200px !important;
    height: 200px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
  }

  /* Badge — single line, smaller */
  .token-hero-badge {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.06em !important;
    gap: 4px !important;
    padding: 6px 10px !important;
    margin: 0 auto 0.75rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }

  /* Heading */
  .token-hero h1 {
    font-size: 2.4rem !important;
    line-height: 1.1 !important;
    text-align: center !important;
    margin-bottom: 0.75rem !important;
  }

  /* Paragraph */
  .token-hero > * p,
  .token-hero p {
    font-size: 0.92rem !important;
    text-align: center !important;
    margin: 0 auto 1rem !important;
    max-width: 320px !important;
  }

  /* CTA buttons */
  .token-hero-ctas {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.6rem !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
  }

  .token-hero-ctas .btn {
    width: 100% !important;
    max-width: 320px !important;
    text-align: center !important;
    padding: 0.8rem !important;
    font-size: 0.95rem !important;
  }

  /* Tokenomics button fix */
  .token-hero-ctas .btn-secondary {
    background: transparent !important;
    border: 1.5px solid rgba(255,255,255,0.2) !important;
    color: #ccc !important;
  }

  /* CA box */
  .token-ca-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  .token-ca-val {
    font-size: 0.7rem !important;
    max-width: 260px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: block !important;
    text-align: center !important;
  }

  .token-ca-copy {
    width: 100% !important;
    max-width: 200px !important;
  }
}