/*
 * Dealer Canada – Clean, professional design
 * Cross-platform: Apple (macOS/iOS), Windows PC, Android, mobile
 */

/* Cross-platform reset & base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

@media (max-width: 640px) {
  html {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

:root {
  /* Primary palette – professional dealer blue & neutrals */
  --dc-primary: #0066cc;
  --dc-primary-hover: #0052a3;
  --dc-primary-light: #e6f0fa;
  --dc-bg: #ffffff;
  --dc-bg-soft: #f8f9fa;
  --dc-bg-section: #f1f3f5;
  --dc-border: #e2e6ea;
  --dc-border-light: #eef0f2;
  --dc-text: #1a1d21;
  --dc-text-soft: #4a4e54;
  --dc-text-muted: #6c757d;
  --dc-white: #ffffff;
  --dc-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --dc-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --dc-radius: 12px;
  --dc-radius-lg: 16px;
  --dc-transition: 0.2s ease;
  /* Safe areas for notched devices (iPhone X+, etc.) */
  --dc-safe-top: env(safe-area-inset-top, 0px);
  --dc-safe-right: env(safe-area-inset-right, 0px);
  --dc-safe-bottom: env(safe-area-inset-bottom, 0px);
  --dc-safe-left: env(safe-area-inset-left, 0px);
}

/* Dark theme (OpenSea/DeFi style) */
[data-theme="dark"] {
  --dc-primary: #3b82f6;
  --dc-primary-hover: #2563eb;
  --dc-primary-light: rgba(59, 130, 246, 0.15);
  --dc-bg: #0d0d0d;
  --dc-bg-soft: #141414;
  --dc-bg-section: #1a1a1a;
  --dc-border: #2a2a2a;
  --dc-border-light: #252525;
  --dc-text: #fafafa;
  --dc-text-soft: #a3a3a3;
  --dc-text-muted: #737373;
  --dc-white: #171717;
  --dc-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  --dc-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .dc-button {
  background: #3b82f6;
  border-color: #3b82f6;
}

[data-theme="dark"] .dc-button:hover {
  background: #2563eb;
}

[data-theme="dark"] .dc-button-secondary {
  background: transparent;
  color: #3b82f6;
  border-color: #3b82f6;
}

[data-theme="dark"] .dc-button-vote {
  background: #eab308;
  color: #fff;
  border-color: #eab308;
}

[data-theme="dark"] .dc-button-vote:hover {
  background: #facc15;
  border-color: #facc15;
  color: #fff;
}

[data-theme="dark"] .dc-buy-disclaimer {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
}

[data-theme="dark"] .dc-buy-disclaimer p {
  color: #fecaca;
}

[data-theme="dark"] .dc-jupiter-error {
  background: rgba(239, 68, 68, 0.15);
  color: #fecaca;
}

.dc-skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  padding: 8px 16px;
  background: var(--dc-primary);
  color: var(--dc-white);
  font-weight: 600;
  text-decoration: none;
  z-index: 1000;
  transition: top 0.2s;
}

.dc-skip-link:focus {
  top: 0;
}

body {
  margin: 0;
  padding-left: var(--dc-safe-left);
  padding-right: var(--dc-safe-right);
  padding-bottom: var(--dc-safe-bottom);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dc-text);
  background: var(--dc-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

.dc-main {
  min-height: 100vh;
  transition: margin-left 0.25s ease;
}

body:has(.dc-sidebar) .dc-main {
  margin-left: 96px;
}

/* Momentum scrolling on iOS */
body,
.dc-section-inner {
  -webkit-overflow-scrolling: touch;
}

/* Layout */
.dc-section {
  position: relative;
  padding: 64px 0;
  background: var(--dc-bg);
}

.dc-section:nth-child(even) {
  background: var(--dc-bg-soft);
}

.dc-hero {
  padding-top: 80px;
}

.dc-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
.dc-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dc-primary);
  margin-bottom: 8px;
}

.dc-heading {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--dc-text);
}

.dc-heading span,
.dc-accent-text {
  color: var(--dc-text-soft);
}

.dc-subheading {
  margin: 0 0 16px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dc-text);
}

.dc-copy {
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dc-text-soft);
  max-width: 580px;
}

.dc-copy strong {
  color: var(--dc-text);
}

.dc-small-copy {
  margin: 8px 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--dc-text-soft);
}

/* Pills & badges */
.dc-pill,
.dc-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--dc-primary-light);
  color: var(--dc-primary);
}

.dc-badge {
  background: var(--dc-bg-soft);
  color: var(--dc-text-soft);
  border: 1px solid var(--dc-border);
}

.dc-badge-row,
.dc-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Buttons – min 44px touch target (iOS HIG, Android) */
.dc-button,
.dc-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 44px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background var(--dc-transition), color var(--dc-transition), border-color var(--dc-transition);
  -webkit-tap-highlight-color: transparent;
}

.dc-button {
  background: var(--dc-primary);
  color: var(--dc-white);
  border: 1px solid var(--dc-primary);
}

.dc-button:hover {
  background: var(--dc-primary-hover);
  border-color: var(--dc-primary-hover);
}

.dc-button:focus-visible,
.dc-button-secondary:focus-visible {
  outline: 2px solid var(--dc-primary);
  outline-offset: 2px;
}

.dc-button-secondary {
  background: var(--dc-white);
  color: var(--dc-primary);
  border: 1px solid var(--dc-primary);
}

.dc-button-secondary:hover {
  background: var(--dc-primary-light);
}

/* Vote Your Ride – yellow large button with white coin+star icon */
.dc-vote-cta-wrap {
  margin-top: 12px;
}
.dc-button-vote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  min-height: 72px;
  padding: 20px 40px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: #eab308;
  color: #fff;
  border: 2px solid #eab308;
  text-decoration: none;
}
.dc-button-vote:hover {
  background: #facc15;
  border-color: #facc15;
  color: #fff;
}
.dc-vote-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
[data-theme="light"] .dc-button-vote {
  background: #eab308;
  color: #fff;
  border-color: #eab308;
}
[data-theme="light"] .dc-button-vote:hover {
  background: #facc15;
  border-color: #facc15;
  color: #fff;
}

/* Cards */
.dc-card {
  border-radius: var(--dc-radius-lg);
  padding: 24px;
  background: var(--dc-white);
  border: 1px solid var(--dc-border-light);
  box-shadow: var(--dc-shadow);
}

.dc-stat-card,
.dc-faq-item,
.dc-milestone-card {
  padding-bottom: 20px;
}

.dc-milestone-card .dc-subheading {
  margin: 0 0 12px;
}

.dc-milestone-card .dc-small-copy {
  margin: 0;
}

.dc-milestone-item {
  border-radius: var(--dc-radius);
  padding: 20px;
  background: var(--dc-white);
  border: 1px solid var(--dc-border-light);
  transition: border-color var(--dc-transition), box-shadow var(--dc-transition);
}

.dc-stat-card:hover,
.dc-milestone-item:hover {
  border-color: var(--dc-border);
  box-shadow: var(--dc-shadow);
}

/* Grid layouts */
.dc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.dc-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.dc-three-col {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

/* Milestones */
.dc-milestone-item {
  text-align: center;
}

.dc-milestone-item h4 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dc-primary);
}

.dc-milestone-item p {
  margin: 8px 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--dc-text-soft);
}

.dc-milestone-item-5m {
  margin-bottom: 24px;
}

/* Lists */
.dc-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.dc-list li {
  position: relative;
  padding-left: 20px;
  margin-top: 10px;
  color: var(--dc-text-soft);
  line-height: 1.6;
}

.dc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dc-primary);
}

/* FAQ */
.dc-faq-item {
  margin-top: 12px;
}

.dc-faq-item:first-child {
  margin-top: 0;
}

.dc-faq-item[open] {
  border-color: var(--dc-primary);
  box-shadow: var(--dc-shadow);
}

.dc-faq-trigger {
  all: unset;
  display: block;
  width: 100%;
  min-height: 44px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.dc-faq-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.dc-faq-question {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dc-text);
}

.dc-faq-answer {
  margin: 12px 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--dc-text-soft);
}

.dc-faq-icon {
  font-size: 18px;
  color: var(--dc-primary);
  font-weight: 400;
  flex-shrink: 0;
}

.dc-divider {
  height: 1px;
  background: var(--dc-border);
  margin: 24px 0;
}

/* Highlight box */
.dc-highlight-box {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--dc-radius);
  background: var(--dc-primary-light);
  border: 1px solid rgba(0, 102, 204, 0.15);
}

.dc-highlight-box .dc-eyebrow {
  color: var(--dc-primary);
}

.dc-teaser-wrap {
  padding: 32px;
  border-radius: var(--dc-radius-lg);
  background: var(--dc-white);
  border: 1px solid var(--dc-border-light);
  box-shadow: var(--dc-shadow-md);
}

/* Disclaimer */
.dc-disclaimer {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--dc-text-muted);
}

/* Nav link */
.dc-nav-link {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--dc-transition);
}

.dc-nav-link:hover {
  color: var(--dc-primary);
}

.dc-nav-link:focus-visible {
  outline: 2px solid var(--dc-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Hero section */
.dc-hero {
  padding: 48px 0 64px;
  text-align: center;
}

.dc-hero .dc-section-inner {
  max-width: 720px;
}

.dc-hero .dc-heading {
  font-size: clamp(2rem, 4vw, 3rem);
}

.dc-hero .dc-cta-row {
  justify-content: center;
  margin-top: 32px;
}

/* Site header */
.dc-site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dc-white);
  border-bottom: 1px solid var(--dc-border);
  box-shadow: var(--dc-shadow);
  padding-top: var(--dc-safe-top);
}

.dc-site-header .dc-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dc-site-header .dc-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dc-text);
}

.dc-site-header .dc-logo:hover {
  color: var(--dc-primary);
}

.dc-site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
}

.dc-site-header .dc-nav-link {
  padding: 10px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--dc-text-soft);
  -webkit-tap-highlight-color: transparent;
}

.dc-site-header .dc-nav-link:hover {
  color: var(--dc-primary);
}

.dc-site-header .dc-nav-link.dc-nav-active {
  color: var(--dc-primary);
  font-weight: 600;
}

.dc-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--dc-border);
  border-radius: 8px;
  background: var(--dc-bg-soft);
  color: var(--dc-text-soft);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color var(--dc-transition), background var(--dc-transition), border-color var(--dc-transition);
  -webkit-tap-highlight-color: transparent;
}

.dc-theme-toggle:hover {
  color: var(--dc-primary);
  background: var(--dc-primary-light);
  border-color: var(--dc-primary);
}

.dc-theme-toggle:focus-visible {
  outline: 2px solid var(--dc-primary);
  outline-offset: 2px;
}

/* Sidebar – Coinbase Wallet style, hover expand */
.dc-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 96px;
  height: 100vh;
  padding-top: var(--dc-safe-top);
  background: var(--dc-bg-section);
  border-right: 1px solid var(--dc-border);
  overflow: hidden;
  transition: width 0.25s ease, box-shadow 0.25s ease;
}

.dc-sidebar:hover {
  width: 220px;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .dc-sidebar:hover {
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
}

.dc-sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px 0;
}

.dc-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  margin-bottom: 24px;
  text-decoration: none;
  color: var(--dc-text);
  font-weight: 700;
  font-size: 1.125rem;
  white-space: nowrap;
  min-height: 48px;
}

.dc-sidebar-logo:hover {
  color: var(--dc-primary);
}

.dc-sidebar-logo-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: block;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
}

.dc-sidebar-label {
  opacity: 0;
  overflow: hidden;
  width: 0;
  transition: opacity 0.2s ease, width 0.2s ease;
}

.dc-sidebar:hover .dc-sidebar-label {
  opacity: 1;
  width: auto;
}

.dc-sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dc-sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--dc-text-soft);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: color var(--dc-transition), background var(--dc-transition);
  -webkit-tap-highlight-color: transparent;
}

.dc-sidebar-item:hover {
  color: var(--dc-primary);
  background: var(--dc-primary-light);
}

.dc-sidebar-item.dc-sidebar-active {
  color: var(--dc-primary);
  background: var(--dc-primary-light);
}

.dc-sidebar-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.dc-sidebar .dc-theme-toggle .dc-sidebar-icon {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dc-sidebar-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--dc-border);
}

.dc-sidebar-footer .dc-sidebar-item {
  flex: 1;
  min-width: 0;
}

.dc-sidebar .dc-login-btn.dc-icon-only .dc-sidebar-label {
  display: none;
}

/* Expand main when sidebar is hovered */
body:has(.dc-sidebar:hover) .dc-main {
  margin-left: 220px;
}

/* Token hero – OpenSea-style (chart left, swap right) */
.dc-token-hero {
  padding: 48px 0 48px;
  background: var(--dc-bg) !important;
}

/* Pump.fun token page – dark default, light mode via [data-theme="light"] */
.dc-pumpfun-style {
  --pf-bg: #0a0a0a;
  --pf-bg-card: #0f0f0f;
  --pf-bg-elevated: #141414;
  --pf-border: #1f1f1f;
  --pf-text: #fafafa;
  --pf-text-secondary: #a1a1aa;
  --pf-text-muted: #52525b;
  --pf-accent: #eab308;
  --pf-accent-hover: #ca8a04;
  --pf-red: #ef4444;
  padding: 0;
  background: var(--pf-bg) !important;
}

[data-theme="light"] .dc-pumpfun-style {
  --pf-bg: #fafafa;
  --pf-bg-card: #ffffff;
  --pf-bg-elevated: #f4f4f5;
  --pf-border: #e4e4e7;
  --pf-text: #18181b;
  --pf-text-secondary: #52525b;
  --pf-text-muted: #71717a;
  --pf-accent: #ca8a04;
  --pf-accent-hover: #a16207;
}

.dc-pumpfun-style .dc-pf-banner-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}

.dc-pumpfun-style .dc-pf-banner {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
}

.dc-pumpfun-style .dc-pf-main {
  max-width: min(1280px, 100%);
  margin: 0 auto;
  padding: 32px 24px 56px;
  width: 100%;
}

.dc-pumpfun-style .dc-pf-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dc-pumpfun-style .dc-pf-token-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: -52px;
  position: relative;
  z-index: 2;
}

.dc-pumpfun-style .dc-pf-coin-img {
  flex-shrink: 0;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 3px solid var(--pf-bg);
  background: var(--pf-bg-card);
  object-fit: cover;
}

.dc-pumpfun-style .dc-pf-token-meta {
  flex: 1;
  min-width: 0;
}

.dc-pumpfun-style .dc-pf-token-name {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pf-text);
}

.dc-pumpfun-style .dc-pf-token-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dc-pumpfun-style .dc-pf-symbol,
.dc-pumpfun-style .dc-pf-network {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--pf-text-secondary);
  padding: 4px 10px;
  background: var(--pf-bg-elevated);
  border: 1px solid var(--pf-border);
  border-radius: 999px;
}

.dc-pumpfun-style .dc-pf-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.dc-pumpfun-style .dc-pf-share-btn,
.dc-pumpfun-style .dc-pf-copy-btn {
  padding: 10px 16px;
  min-height: 40px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--pf-text-secondary);
  background: var(--pf-bg-elevated);
  border: 1px solid var(--pf-border);
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.dc-pumpfun-style .dc-pf-share-btn:hover,
.dc-pumpfun-style .dc-pf-copy-btn:hover {
  color: var(--pf-text);
  border-color: var(--pf-text-muted);
}

.dc-pumpfun-style .dc-pf-stats-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.dc-pumpfun-style .dc-pf-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dc-pumpfun-style .dc-pf-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--pf-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dc-pumpfun-style .dc-pf-stat-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--pf-text);
}

.dc-pumpfun-style .dc-pf-login-card {
  padding: 24px 28px;
  background: var(--pf-bg-card);
  border: 1px solid var(--pf-border);
  border-radius: 16px;
}

.dc-pumpfun-style .dc-pf-login-prompt,
.dc-pumpfun-style .dc-pf-login-connected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.dc-pumpfun-style .dc-pf-login-label {
  font-size: 0.9375rem;
  color: var(--pf-text-secondary);
}

.dc-pumpfun-style .dc-pf-login-btn {
  padding: 14px 28px;
  min-height: 48px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--pf-accent);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, opacity 0.2s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}

.dc-pumpfun-style .dc-pf-login-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.dc-pumpfun-style .dc-pf-login-btn:focus-visible {
  outline: 2px solid var(--pf-accent);
  outline-offset: 2px;
}

.dc-pumpfun-style .dc-pf-login-btn:hover:not(:disabled) {
  background: var(--pf-accent-hover);
}

.dc-pumpfun-style .dc-pf-login-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.dc-pumpfun-style .dc-pf-login-connected .dc-pf-wallet-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pf-accent);
}

.dc-pumpfun-style .dc-pf-login-connected .dc-pf-wallet-addr {
  font-family: ui-monospace, monospace;
  font-size: 0.875rem;
  color: var(--pf-text-secondary);
}

.dc-pumpfun-style .dc-pf-login-disconnect {
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--pf-text-muted);
  background: transparent;
  border: 1px solid var(--pf-border);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s, border-color 0.2s;
}

.dc-pumpfun-style .dc-pf-login-disconnect:hover {
  color: var(--pf-text);
  border-color: var(--pf-text-muted);
}

.dc-pumpfun-style .dc-pf-login-disconnect:focus-visible {
  outline: 2px solid var(--pf-text-muted);
  outline-offset: 2px;
}

.dc-pumpfun-style .dc-pf-chart-tabs {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.dc-pumpfun-style .dc-pf-tab {
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--pf-text-muted);
  background: transparent;
  border: 1px solid var(--pf-border);
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.dc-pumpfun-style .dc-pf-tab:hover,
.dc-pumpfun-style .dc-pf-tab.active {
  color: var(--pf-accent);
  border-color: var(--pf-accent);
}

.dc-pumpfun-style .dc-pf-chart-trade-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
  width: 100%;
}

.dc-pumpfun-style .dc-pf-chart-card {
  min-width: 0;
}

.dc-pumpfun-style .dc-pf-chart-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--pf-border);
  background: var(--pf-bg-card);
  height: 418px;
}

.dc-pumpfun-style .dc-pf-chart-iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
  margin-bottom: -32px;
}

.dc-pumpfun-style .dc-pf-chart-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--pf-text-muted);
}

.dc-pumpfun-style .dc-pf-chart-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: var(--pf-accent);
  text-decoration: none;
  font-weight: 500;
}

.dc-pumpfun-style .dc-pf-chart-link:hover {
  color: var(--pf-accent-hover);
  text-decoration: underline;
}

.dc-pumpfun-style .dc-pf-bonding {
  padding: 16px 20px;
  background: var(--pf-bg-card);
  border: 1px solid var(--pf-border);
  border-radius: 12px;
}

.dc-pumpfun-style .dc-pf-bonding-title {
  margin: 0 0 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pf-text);
}

.dc-pumpfun-style .dc-pf-bonding-bar {
  height: 8px;
  background: var(--pf-bg-elevated);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.dc-pumpfun-style .dc-pf-bonding-fill {
  height: 100%;
  background: var(--pf-accent);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.dc-pumpfun-style .dc-pf-bonding-text {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--pf-text-muted);
}

.dc-pumpfun-style .dc-pf-trade-card {
  background: var(--pf-bg-card);
  border: 1px solid var(--pf-border);
  border-radius: 16px;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.dc-pumpfun-style .dc-pf-trade-inner {
  padding: 24px;
  flex: 1;
}

.dc-pumpfun-style .dc-pf-trade-title {
  margin: 0 0 20px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--pf-text);
  letter-spacing: -0.02em;
}

.dc-pumpfun-style .dc-pf-trade-card .dc-buy-widget-wrap {
  min-height: 300px;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: none;
  overflow: hidden;
}

.dc-pumpfun-style .dc-pf-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 8px;
}

.dc-pumpfun-style .dc-pf-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--pf-accent);
  text-decoration: none;
}

.dc-pumpfun-style .dc-pf-link:hover {
  color: var(--pf-accent-hover);
  text-decoration: underline;
}

.dc-pumpfun-style .dc-pf-description {
  padding: 24px 0 8px;
}

.dc-pumpfun-style .dc-pf-description p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--pf-text-secondary);
}

/* Jupiter swap – Pump.fun dark theme */
.dc-pumpfun-style .dc-pf-trade-inner {
  min-width: 0;
}

.dc-pumpfun-style .jup-swap-form {
  min-width: 0;
  background: var(--pf-bg-elevated);
  border: 1px solid var(--pf-border);
}

.dc-pumpfun-style .jup-tab-row {
  background: var(--pf-bg-card);
  border-color: var(--pf-border);
}

.dc-pumpfun-style .jup-tab {
  color: var(--pf-text-muted);
}

.dc-pumpfun-style .jup-tab:hover {
  color: var(--pf-text);
}

.dc-pumpfun-style .jup-tab.active {
  background: var(--pf-accent);
  color: #fff;
}

.dc-pumpfun-style .jup-wallet-btn {
  background: var(--pf-accent);
}

.dc-pumpfun-style .jup-wallet-btn:hover:not(:disabled) {
  background: var(--pf-accent-hover);
}

.dc-pumpfun-style .jup-wallet-btn.jup-connected {
  background: transparent;
  border-color: var(--pf-border);
  color: var(--pf-text-secondary);
}

.dc-pumpfun-style .jup-input-row {
  min-width: 0;
  background: var(--pf-bg-card);
  border-color: var(--pf-border);
}

.dc-pumpfun-style .jup-amount-wrap {
  min-width: 0;
}

.dc-pumpfun-style .jup-field-label {
  color: var(--pf-text-muted);
}

.dc-pumpfun-style .jup-amount-input {
  color: var(--pf-text);
}

.dc-pumpfun-style .jup-amount-input::placeholder {
  color: var(--pf-text-muted);
}

.dc-pumpfun-style .jup-amount-output {
  color: var(--pf-text-secondary);
}

.dc-pumpfun-style .jup-token-trigger {
  background: var(--pf-bg-elevated);
  border-color: var(--pf-border);
  color: var(--pf-text);
}

.dc-pumpfun-style .jup-token-trigger:hover {
  background: var(--pf-border);
}

.dc-pumpfun-style .jup-token-dropdown {
  background: var(--pf-bg-elevated);
  border-color: var(--pf-border);
}

.dc-pumpfun-style .jup-token-option {
  color: var(--pf-text);
}

.dc-pumpfun-style .jup-token-option:hover {
  background: var(--pf-border);
}

.dc-pumpfun-style .jup-token-option.selected {
  color: var(--pf-accent);
}

.dc-pumpfun-style .jup-slippage-opts button.active,
.dc-pumpfun-style .jup-slippage-opts button:hover {
  background: rgba(234, 179, 8, 0.2);
  border-color: var(--pf-accent);
  color: var(--pf-accent);
}

.dc-pumpfun-style .jup-swap-btn {
  background: var(--pf-accent);
}

.dc-pumpfun-style .jup-swap-btn:hover:not(:disabled) {
  background: var(--pf-accent-hover);
}

/* OpenSea token page – light/dark mode, side-by-side layout */
.dc-opensea-style {
  --os-bg: #ffffff;
  --os-bg-card: #ffffff;
  --os-bg-elevated: #f8f9fa;
  --os-border: #e2e6ea;
  --os-text: #1a1d21;
  --os-text-secondary: #4a4e54;
  --os-text-muted: #6c757d;
  --os-accent: #0066cc;
  --os-accent-hover: #0052a3;
  --os-green: #22c55e;
  --os-red: #ef4444;
  --os-disclaimer-text: #721c24;
  background: var(--os-bg) !important;
}

[data-theme="dark"] .dc-opensea-style {
  --os-bg: #0d0d0f;
  --os-bg-card: #141414;
  --os-bg-elevated: #1a1b23;
  --os-border: #2c2f36;
  --os-text: #ffffff;
  --os-text-secondary: #8b8e97;
  --os-text-muted: #6c6e74;
  --os-accent: #2081e2;
  --os-accent-hover: #1868b7;
  --os-disclaimer-text: #fca5a5;
}

.dc-opensea-style .dc-token-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.dc-opensea-style .dc-token-header {
  margin-bottom: 20px;
}

.dc-opensea-style .dc-token-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.dc-opensea-style .dc-token-name {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--os-text);
}

.dc-opensea-style .dc-token-network {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--os-text-secondary);
  background: var(--os-bg-elevated);
  border: 1px solid var(--os-border);
  border-radius: 999px;
}

/* OpenSea stats row – compact cards */
.dc-opensea-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-bottom: 24px;
}

.dc-stat-card-inline {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  background: var(--os-bg-elevated);
  border: 1px solid var(--os-border);
  border-radius: 12px;
  min-width: 120px;
}

.dc-opensea-style .dc-stat-card-inline .dc-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--os-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dc-opensea-style .dc-stat-card-inline .dc-stat-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--os-text);
}

.dc-opensea-style .dc-change-up { color: var(--os-green); }
.dc-opensea-style .dc-change-down { color: var(--os-red); }
.dc-opensea-style .dc-change-neutral { color: var(--os-text-secondary); }

/* Chart + Swap – side-by-side layout */
.dc-chart-swap-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 24px;
  align-items: start;
}

.dc-chart-panel {
  background: var(--os-bg-elevated);
  border: 1px solid var(--os-border);
  border-radius: 16px;
  overflow: hidden;
}

.dc-pump-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--os-accent);
  text-decoration: none;
}

.dc-pump-cta:hover {
  color: var(--os-accent-hover);
  text-decoration: underline;
}

.dc-pump-container .dc-chart-frame-wrap {
  min-height: 400px;
}

.dc-pump-iframe {
  height: 420px;
}

.dc-chart-panel .dc-token-links {
  margin-top: 0;
  padding: 16px 20px;
  border-top: 1px solid var(--os-border);
}

.dc-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--os-border);
}

.dc-chart-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--os-text);
}

.dc-chart-timeframe {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--os-text-muted);
}

.dc-opensea-style .dc-chart-container {
  border: none;
  border-radius: 0;
  background: transparent;
  min-height: 380px;
  margin-bottom: 0;
}

.dc-opensea-style .dc-chart-frame-wrap {
  min-height: 380px;
}

.dc-opensea-style .dc-chart-iframe {
  height: 380px;
}

.dc-opensea-style .dc-chart-placeholder {
  min-height: 340px;
}

.dc-opensea-style .dc-chart-placeholder p {
  color: var(--os-text-secondary);
}

.dc-opensea-style .dc-chart-placeholder code {
  background: var(--os-bg-card);
  color: var(--os-text);
}

.dc-opensea-style .dc-chart-placeholder .dc-button {
  background: var(--os-accent);
  border-color: var(--os-accent);
}

.dc-opensea-style .dc-chart-placeholder .dc-button:hover {
  background: var(--os-accent-hover);
  border-color: var(--os-accent-hover);
}

/* Swap panel – right column (OpenSea Buy/Sell) */
.dc-swap-panel {
  position: sticky;
  top: 24px;
}

.dc-swap-panel-inner {
  background: var(--os-bg-elevated);
  border: 1px solid var(--os-border);
  border-radius: 16px;
  padding: 20px;
}

.dc-swap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.dc-swap-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--os-text);
}

.dc-swap-badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--os-text-muted);
}

.dc-swap-panel .dc-buy-widget-wrap {
  min-height: 320px;
  padding: 0;
  background: transparent;
  border: none;
}

.dc-swap-panel .dc-token-links {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--os-border);
}

.dc-opensea-style .dc-token-link {
  font-size: 0.8125rem;
  color: var(--os-accent);
}

.dc-opensea-style .dc-token-link:hover {
  color: var(--os-accent-hover);
}

.dc-opensea-style .dc-buy-disclaimer {
  margin-top: 12px;
  padding: 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
}

.dc-opensea-style .dc-buy-disclaimer p {
  font-size: 0.75rem;
  color: var(--os-disclaimer-text);
}

/* Banner under chart/swap area */
.dc-banner-wrap {
  margin-top: 24px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--os-border);
}

.dc-banner-img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
}

/* Jupiter swap – OpenSea dark theme */
.dc-opensea-style .jup-swap-form {
  background: var(--os-bg-card);
  border: 1px solid var(--os-border);
}

.dc-opensea-style .jup-wallet-btn {
  background: var(--os-accent);
}

.dc-opensea-style .jup-wallet-btn:hover:not(:disabled) {
  background: var(--os-accent-hover);
}

.dc-opensea-style .jup-wallet-btn.jup-connected {
  background: transparent;
  border-color: var(--os-border);
  color: var(--os-text-secondary);
}

.dc-opensea-style .jup-input-row {
  background: var(--os-bg-card);
  border-color: var(--os-border);
}

.dc-opensea-style .jup-field-label {
  color: var(--os-text-muted);
}

.dc-opensea-style .jup-amount-input {
  color: var(--os-text);
}

.dc-opensea-style .jup-amount-input::placeholder {
  color: var(--os-text-muted);
}

.dc-opensea-style .jup-amount-output {
  color: var(--os-text-secondary);
}

.dc-opensea-style .jup-token-trigger {
  background: var(--os-bg-elevated);
  border-color: var(--os-border);
  color: var(--os-text);
}

.dc-opensea-style .jup-token-trigger:hover {
  background: var(--os-border);
}

.dc-opensea-style .jup-token-chevron {
  color: var(--os-text-muted);
}

.dc-opensea-style .jup-token-dropdown {
  background: var(--os-bg-elevated);
  border-color: var(--os-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.dc-opensea-style .jup-token-option {
  color: var(--os-text);
}

.dc-opensea-style .jup-token-option:hover {
  background: var(--os-border);
}

.dc-opensea-style .jup-token-option.selected {
  color: var(--os-accent);
}

.dc-opensea-style .jup-slippage-row {
  color: var(--os-text-muted);
}

.dc-opensea-style .jup-slippage-opts button {
  border-color: var(--os-border);
  color: var(--os-text-secondary);
}

.dc-opensea-style .jup-slippage-opts button.active,
.dc-opensea-style .jup-slippage-opts button:hover {
  background: rgba(32, 129, 226, 0.15);
  border-color: var(--os-accent);
  color: var(--os-accent);
}

.dc-opensea-style .jup-quote-info {
  color: var(--os-text-muted);
}

.dc-opensea-style .jup-quote-loading {
  color: var(--os-accent);
}

.dc-opensea-style .jup-swap-btn {
  background: var(--os-accent);
}

.dc-opensea-style .jup-swap-btn:hover:not(:disabled) {
  background: var(--os-accent-hover);
}

.dc-opensea-style .jup-status-pending {
  color: var(--os-accent);
}

.dc-opensea-style .jup-status-success a {
  color: var(--os-green);
}

.dc-opensea-style .jup-status-error,
.dc-opensea-style .jup-quote-error {
  color: var(--os-red);
}

/* Fallback token hero (non-OpenSea) */
.dc-token-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.dc-token-header {
  margin-bottom: 24px;
}

.dc-token-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.dc-token-badge {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dc-primary);
}

.dc-token-name {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--dc-text);
}

.dc-token-network {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--dc-text-muted);
  background: var(--dc-bg-soft);
  border: 1px solid var(--dc-border);
  border-radius: 999px;
}

.dc-token-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 32px;
  margin-bottom: 24px;
}

.dc-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dc-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--dc-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dc-stat-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dc-text);
}

.dc-change-up { color: #22c55e; }
.dc-change-down { color: #ef4444; }
.dc-change-neutral { color: var(--dc-text-soft); }

.dc-chart-container {
  border-radius: var(--dc-radius-lg);
  border: 1px solid var(--dc-border);
  background: var(--dc-bg-soft);
  overflow: hidden;
  min-height: 400px;
  margin-bottom: 24px;
}

.dc-chart-frame-wrap {
  width: 100%;
  min-height: 400px;
}

.dc-chart-iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

.dc-chart-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 40px;
  text-align: center;
}

.dc-chart-placeholder p {
  margin: 0 0 16px;
  color: var(--dc-text-muted);
}

.dc-chart-placeholder code {
  font-size: 0.875rem;
  padding: 2px 6px;
  background: var(--dc-bg-section);
  border-radius: 4px;
}

.dc-token-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dc-token-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dc-primary);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.dc-token-link:hover {
  text-decoration: underline;
}

/* Site footer */
.dc-site-footer {
  padding: 32px 24px;
  background: var(--dc-bg-soft);
  border-top: 1px solid var(--dc-border);
  text-align: center;
}

.dc-site-footer p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--dc-text-muted);
}

.dc-site-footer .dc-nav-link {
  color: var(--dc-text-soft);
}

.dc-site-footer .dc-nav-link:hover {
  color: var(--dc-primary);
}

.dc-site-footer .dc-sep {
  margin: 0 8px;
  color: var(--dc-border);
}

/* Buy DC Coin section */
.dc-buy-section {
  background: var(--dc-bg) !important;
}

.dc-buy-inner {
  max-width: 1200px;
}

.dc-buy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.dc-buy-content {
  position: sticky;
  top: 24px;
}

.dc-buy-content .dc-pill {
  margin-bottom: 8px;
}

.dc-buy-content .dc-heading {
  margin-top: 0;
}

.dc-buy-content .dc-copy {
  margin-top: 12px;
}

.dc-buy-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.dc-buy-link-card {
  display: block;
  padding: 16px;
  border-radius: var(--dc-radius);
  border: 1px solid var(--dc-border-light);
  background: var(--dc-white);
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color var(--dc-transition), background var(--dc-transition);
}

.dc-buy-link-card:hover {
  border-color: var(--dc-primary);
  background: var(--dc-primary-light);
}

.dc-buy-link-card:focus-visible {
  outline: 2px solid var(--dc-primary);
  outline-offset: 2px;
}

.dc-buy-link-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dc-text);
}

.dc-buy-link-desc {
  display: block;
  margin-top: 4px;
  font-size: 0.8125rem;
  color: var(--dc-text-muted);
}

.dc-buy-disclaimer {
  margin-top: 24px;
  padding: 16px;
  border-radius: var(--dc-radius);
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid rgba(220, 53, 69, 0.2);
}

.dc-buy-disclaimer p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #721c24;
}

.dc-buy-widget-wrap {
  position: relative;
  border-radius: var(--dc-radius-lg);
  border: 1px solid var(--dc-border-light);
  background: var(--dc-bg-soft);
  padding: 16px;
  min-height: 420px;
}

.dc-jupiter-container {
  min-height: 380px;
}

.dc-jupiter-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  color: var(--dc-text-muted);
}

.dc-jupiter-error {
  position: absolute;
  inset: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-radius: var(--dc-radius);
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.25);
  font-size: 0.9375rem;
  color: #721c24;
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .dc-grid,
  .dc-two-col,
  .dc-three-col,
  .dc-buy-layout {
    grid-template-columns: 1fr;
  }

  .dc-chart-swap-grid {
    grid-template-columns: 1fr;
  }

  .dc-swap-panel {
    position: static;
  }

  .dc-buy-content {
    position: static;
  }

  .dc-section {
    padding: 48px 0;
  }

  .dc-section-inner {
    padding: 0 20px;
  }

  .dc-token-stats {
    gap: 16px 24px;
  }

  .dc-pumpfun-style .dc-pf-main {
    padding: 20px 16px 40px;
  }

  .dc-pumpfun-style .dc-pf-token-row {
    margin-top: -40px;
    flex-wrap: wrap;
  }

  .dc-pumpfun-style .dc-pf-coin-img {
    width: 64px;
    height: 64px;
  }

  .dc-pumpfun-style .dc-pf-token-name {
    font-size: 1.25rem;
  }

  .dc-pumpfun-style .dc-pf-actions {
    width: 100%;
    margin-top: 8px;
  }

  .dc-pumpfun-style .dc-pf-chart-trade-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dc-pumpfun-style .dc-pf-chart-card {
    order: 1;
  }

  .dc-pumpfun-style .dc-pf-trade-card {
    order: 2;
    min-height: auto;
  }

  .dc-pumpfun-style .dc-pf-chart-wrap {
    height: 268px;
    overflow: hidden;
  }

  .dc-pumpfun-style .dc-pf-chart-iframe {
    height: 300px;
    margin-bottom: -32px;
  }

  .dc-pumpfun-style .dc-pf-login-prompt,
  .dc-pumpfun-style .dc-pf-login-connected {
    flex-direction: column;
    align-items: stretch;
  }

  .dc-pumpfun-style .dc-pf-login-btn {
    width: 100%;
    min-height: 52px;
  }

  .dc-pumpfun-style .dc-pf-login-prompt {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .dc-pumpfun-style .dc-pf-login-connected {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .dc-pumpfun-style .dc-pf-trade-inner {
    padding: 20px 16px;
  }

  .dc-pumpfun-style .dc-pf-link {
    font-size: 0.9375rem;
    padding: 8px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Mobile: bottom navigation (768px and below) */
@media (max-width: 768px) {
  /* Sidebar becomes bottom bar */
  .dc-sidebar {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    padding: 0;
    padding-bottom: var(--dc-safe-bottom);
    border-right: none;
    border-top: 1px solid var(--dc-border);
  }

  .dc-sidebar:hover {
    width: 100%;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  }

  [data-theme="dark"] .dc-sidebar:hover {
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  }

  .dc-sidebar-inner {
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 8px 12px 8px 12px;
    gap: 0;
  }

  .dc-sidebar-logo {
    margin-bottom: 0;
    padding: 8px;
    min-height: 44px;
  }

  .dc-sidebar-logo .dc-sidebar-label {
    display: none;
  }

  .dc-sidebar-logo-icon {
    width: 64px;
    height: 64px;
  }

  .dc-sidebar-nav {
    flex: 1;
    flex-direction: row;
    justify-content: space-around;
    gap: 0;
  }

  .dc-sidebar-item {
    flex-direction: column;
    gap: 4px;
    padding: 8px 10px;
    min-height: 52px;
    justify-content: center;
    font-size: 10px;
  }

  /* Show labels on mobile (no hover needed) */
  .dc-sidebar .dc-sidebar-label {
    opacity: 1;
    width: auto;
    overflow: visible;
  }

  .dc-sidebar .dc-sidebar-item .dc-sidebar-label {
    font-size: 10px;
    font-weight: 500;
  }

  .dc-sidebar-icon {
    width: 22px;
    height: 22px;
  }

  .dc-sidebar .dc-theme-toggle .dc-sidebar-icon {
    font-size: 18px;
  }

  .dc-sidebar-footer {
    padding-top: 0;
    border-top: none;
    flex-shrink: 0;
  }

  .dc-sidebar-footer .dc-sidebar-item {
    flex-direction: column;
  }

  .dc-sidebar-footer .dc-sidebar-item .dc-sidebar-label {
    font-size: 9px;
  }

  /* Main content: full width, padding for bottom nav */
  body:has(.dc-sidebar) .dc-main {
    margin-left: 0;
    padding-bottom: 72px;
    padding-bottom: calc(72px + var(--dc-safe-bottom));
  }

  body:has(.dc-sidebar:hover) .dc-main {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .dc-section {
    padding: 36px 0;
  }

  .dc-section-inner {
    padding: 0 16px;
  }

  .dc-heading {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .dc-card,
  .dc-teaser-wrap {
    padding: 20px 16px;
  }

  .dc-button,
  .dc-button-secondary {
    min-height: 48px;
    padding: 0 24px;
    font-size: 1rem;
  }

  .dc-copy {
    font-size: 1rem;
    line-height: 1.65;
  }

  .dc-badge-row {
    gap: 10px;
  }

  .dc-badge,
  .dc-pill {
    padding: 10px 16px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .dc-badge-row,
  .dc-cta-row {
    flex-direction: column;
    gap: 12px;
  }

  .dc-cta-row .dc-button,
  .dc-cta-row .dc-button-secondary {
    width: 100%;
  }

  .dc-buy-links {
    grid-template-columns: 1fr;
  }

  .dc-buy-widget-wrap {
    min-height: 360px;
    padding: 16px;
  }

  .dc-chart-container,
  .dc-chart-frame-wrap {
    min-height: 280px;
  }

  .dc-chart-iframe {
    height: 280px;
  }

  .dc-token-stats {
    gap: 16px 20px;
  }

  .dc-stat-value {
    font-size: 0.9375rem;
  }

  /* Token hero mobile spacing */
  .dc-token-hero-inner {
    padding: 0 16px;
  }

  .dc-token-hero {
    padding: 20px 0 32px;
  }

  .dc-swap-section {
    padding: 20px 16px;
  }

  /* Ensure token links are tappable */
  .dc-token-link {
    padding: 12px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Smaller bottom nav on very small screens */
  .dc-sidebar .dc-sidebar-item {
    padding: 6px 8px;
  }

  .dc-sidebar .dc-sidebar-item .dc-sidebar-label {
    font-size: 9px;
  }

  /* FAQ mobile: extra padding for touch */
  .dc-faq-summary {
    padding: 4px 0;
  }

  .dc-faq-question {
    font-size: 1rem;
  }

  .dc-faq-item {
    padding: 16px;
  }

  .dc-milestone-item {
    padding: 20px 16px;
  }

  /* Disclaimer: comfortable reading width */
  .dc-disclaimer {
    font-size: 0.875rem;
    line-height: 1.7;
  }

  /* Banner: center crop on mobile */
  .dc-banner-wrap {
    margin-top: 20px;
  }

  .dc-banner-img {
    aspect-ratio: 2.5 / 1;
    max-height: 160px;
  }
}
