
/* === AUTO RETHEME v5 (dark warm, high readability) === */
:root {
  --primary: #ff7b20;
  --accent: #ff9a2b;
  --bg: #0d0a07;
  --surface: #13100d;
  --text: #f6efe2;
  --text-2: #e0d5c0;
  --border: #1a1612;
  --muted: #a39682;
}

html, body {
  background:
    linear-gradient(180deg, #0f0d0b 0%, #0e0c0a 20%, #12100d 100%),
    url('assets/img/paper_noise_dark.png');
  background-size: cover, 480px 480px;
  background-attachment: fixed, fixed;
  background-blend-mode: overlay;
  color: var(--text) !important;
  line-height: 1.55;
  letter-spacing: 0.1px;
}

/* Remove any purple/colored outlines entirely */
*, *::before, *::after {
  -webkit-text-stroke: 0 transparent !important;
}
[class*="outline"], [class*="stroke"], [class*="border"], .neon, .glow {
  text-shadow: none !important;
  box-shadow: none !important;
  border-color: var(--border) !important;
}

/* Cards & sections */
[class*="card"], .panel, .section, section, .content, .box {
  background: color-mix(in srgb, var(--surface) 94%, transparent) !important;
  border: 1px solid var(--border) !important;
  border-radius: 18px !important;
  backdrop-filter: blur(6px);
}

/* Headings: readable chips */
h1, h2, h3 {
  color: var(--text) !important;
  background: var(--cp-readable-bg);
  display: inline-block;
  padding: .25rem .6rem;
  margin: .25rem 0;
  border-radius: 10px;
  text-shadow: 0 2px 12px rgba(0,0,0,.6) !important;
}

/* Links and buttons */
a { color: var(--accent) !important; text-decoration-color: color-mix(in srgb, var(--accent) 50%, transparent); }
button, .btn, .button, input[type=button], input[type=submit] {
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 85%, #000 15%), color-mix(in srgb, var(--primary) 65%, #000 35%)) !important;
  color: #0b0b0f !important;
  border: 1px solid color-mix(in srgb, var(--primary) 45%, #000 55%) !important;
  border-radius: 14px !important;
}
button:hover, .btn:hover, .button:hover, input[type=button]:hover, input[type=submit]:hover {
  filter: brightness(1.06) saturate(1.04) !important;
}

/* Inputs */
input, select, textarea {
  background: color-mix(in srgb, var(--surface) 96%, transparent) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
}
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }


/* v6 Final: remove all body/html borders and purple remnants */
html, body {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--primary) 12%, #000 88%) 0%, var(--bg) 100%),
    url('assets/img/paper_noise_dark.png');
  background-blend-mode: multiply;
  background-attachment: fixed;
  background-size: cover;
  color: var(--text) !important;
}
.wrapper, .container, main {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* v8: Improved Copy Button Readability */
.copy, .copy-btn, button.copy, .tokenomics .tokenomics__address-copy button {
  background: linear-gradient(180deg, #ff8a1c 0%, #cc6412 100%) !important;
  color: #fffaf2 !important;
  border: 1px solid #a34c0a !important;
  border-radius: 10px !important;
  box-shadow: 0 0 16px rgba(255, 123, 32, 0.35) !important;
  text-shadow: none !important;
  font-weight: 600 !important;
  transition: all 0.2s ease-in-out !important;
}
.copy:hover, .copy-btn:hover, button.copy:hover, .tokenomics .tokenomics__address-copy button:hover {
  filter: brightness(1.08) !important;
  box-shadow: 0 0 24px rgba(255, 123, 32, 0.55) !important;
}


/* v9: hide footer bar with orange dot */
.footer, footer { display: none !important; background: none !important; padding: 0 !important; border: 0 !important; }

/* v10: Kill global overlay creating bars/gradient */
body::after { content: none !important; background: none !important; }

/* v10: Copy button solid style (no gradient) */
.copy, .copy-btn, button.copy, .tokenomics .tokenomics__address-copy button {
  background: var(--primary) !important;
  background-image: none !important;
  color: #0b0b0f !important;
  border: 1px solid color-mix(in srgb, var(--primary) 45%, #000 55%) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.35), 0 0 0 1px color-mix(in srgb, var(--primary) 30%, transparent) inset !important;
  text-shadow: none !important;
}
.copy:hover, .copy-btn:hover, button.copy:hover, .tokenomics .tokenomics__address-copy button:hover{
  filter: brightness(1.06) !important;
}

/* === v11: Copy button (only) — solid, readable, no gradient === */
.copy, .copy-btn, button.copy, .tokenomics .tokenomics__address-copy button {
  background: #ff7b20 !important;         /* solid pumpkin */
  background-image: none !important;       /* kill any gradient */
  color: #fffaf2 !important;               /* warm white text */
  border: 1px solid #a34c0a !important;    /* subtle warm border */
  border-radius: 10px !important;
  padding: 10px 14px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  letter-spacing: .2px !important;
  text-shadow: none !important;
  box-shadow: none !important;             /* no glow */
  cursor: pointer !important;
}
/* inside icons/text should inherit white */
.copy svg, .copy-btn svg, button.copy svg,
.tokenomics .tokenomics__address-copy button svg {
  fill: currentColor !important;
  stroke: currentColor !important;
}
/* hover/focus states — simple and accessible */
.copy:hover, .copy-btn:hover, button.copy:hover,
.tokenomics .tokenomics__address-copy button:hover {
  filter: brightness(1.06) !important;
}
.copy:focus, .copy-btn:focus, button.copy:focus,
.tokenomics .tokenomics__address-copy button:focus {
  outline: 2px solid #ffcf99 !important;  /* soft amber focus ring */
  outline-offset: 2px !important;
}


/* v12: Kill gradient on 'Copy' button with exact selector */
.contract__btn.btn {
  background: #ff7b20 !important;
  background-image: none !important;
  color: #0b0b0f !important;
  border: 1px solid #a34c0a !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
.contract__btn.btn:hover { filter: brightness(1.06) !important; }

/* v12: ensure no global overlay */
body::after { content: none !important; background: none !important; animation: none !important; }
