/* ============================================
   Rampyaaryan Documentation — Paper Feel
   Professional documentation theme
   ============================================ */

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

:root {
  --paper: #faf8f4;
  --paper-alt: #f3efe8;
  --ink: #2c2416;
  --ink-light: #5a4e3c;
  --ink-faint: #8a7e6c;
  --accent: #c0392b;
  --accent-soft: #e74c3c;
  --link: #8b4513;
  --link-hover: #c0392b;
  --border: #d4c9b8;
  --border-light: #e8e0d4;
  --code-bg: #f0ebe3;
  --code-border: #d4c9b8;
  --sidebar-bg: #2c2416;
  --sidebar-text: #e8e0d4;
  --sidebar-hover: #c0392b;
  --shadow: rgba(44, 36, 22, 0.08);
  --shadow-md: rgba(44, 36, 22, 0.12);
  --font-body: 'Crimson Pro', 'Georgia', 'Times New Roman', serif;
  --font-heading: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-code: 'JetBrains Mono', 'Fira Code', 'Consolas', 'Monaco', monospace;
  --max-width: 860px;
  --sidebar-width: 280px;
}

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

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Paper texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(200, 180, 150, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(200, 180, 150, 0.03) 0%, transparent 50%);
}

/* ---------- Sidebar Navigation ---------- */
.sidebar {
  position: fixed;
  left: 0; top: 0; bottom: 0;
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  color: var(--sidebar-text);
  overflow-y: auto;
  z-index: 100;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s ease;
}

.sidebar-header {
  padding: 2rem 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-logo {
  width: 28px;
  height: 28px;
  vertical-align: middle;
  margin-right: 6px;
  border-radius: 4px;
}

.sidebar-header h1 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}

.sidebar-header .subtitle {
  font-size: 0.72rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-heading);
}

.sidebar-nav { flex: 1; padding: 1rem 0; }

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1.5rem;
  color: var(--sidebar-text);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 400;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
}

.sidebar-nav a:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border-left-color: var(--sidebar-hover);
}

.sidebar-nav a.active {
  background: rgba(192, 57, 43, 0.12);
  color: #fff;
  border-left-color: var(--accent);
  font-weight: 600;
}

.sidebar-nav .nav-icon {
  width: 1.4rem;
  height: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-nav .nav-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sidebar-nav .section-title {
  padding: 1.2rem 1.5rem 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-faint);
  font-family: var(--font-heading);
}

.sidebar-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  color: var(--ink-faint);
}

.sidebar-footer a {
  color: var(--sidebar-text);
  text-decoration: none;
}
.sidebar-footer a:hover { color: #fff; }

/* ---------- Main Content ---------- */
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-height: 100vh;
}

.content-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 3rem 5rem;
}

/* ---------- Mobile Menu Toggle ---------- */
.menu-toggle {
  display: none;
  position: fixed;
  top: 1rem; left: 1rem;
  z-index: 200;
  background: var(--sidebar-bg);
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 44px; height: 44px;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 2px 12px var(--shadow-md);
  align-items: center;
  justify-content: center;
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 99;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.3;
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
}

h1 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 0;
  padding-bottom: 0.8rem;
  border-bottom: 3px solid var(--accent);
}

h2 {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink-light);
}

h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-light);
}

p { margin-bottom: 1rem; }

/* ---------- Links ---------- */
a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: rgba(139, 69, 19, 0.3);
  text-underline-offset: 2px;
  transition: all 0.15s ease;
}

a:hover {
  color: var(--link-hover);
  text-decoration-color: var(--link-hover);
}

/* ---------- Hero Section ---------- */
.hero {
  text-align: center;
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 2.5rem;
}

.hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 16px var(--shadow-md);
}

.hero h1 {
  font-size: 3rem;
  border: none;
  margin-bottom: 0.3rem;
}

.hero .tagline {
  font-size: 1.15rem;
  color: var(--ink-light);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.hero .badges {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.badge-red { background: var(--accent); color: #fff; }
.badge-blue { background: #2c3e50; color: #fff; }
.badge-green { background: #27ae60; color: #fff; }
.badge-orange { background: #e67e22; color: #fff; }
.badge-purple { background: #8e44ad; color: #fff; }

.hero-code {
  max-width: 480px;
  margin: 1.5rem auto 0;
  text-align: left;
}

/* ---------- Download Buttons ---------- */
.download-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-heading);
  transition: transform 0.15s, box-shadow 0.15s;
  min-width: 200px;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.download-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.download-btn strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

.download-btn small {
  display: block;
  font-size: 0.72rem;
  opacity: 0.85;
  font-weight: 400;
}

.download-windows { background: #0078d4; }
.download-linux { background: #e95420; }
.download-macos { background: #333; }

/* ---------- Code Blocks ---------- */
pre {
  background: var(--code-bg);
  border: 1px solid var(--code-border);
  border-radius: 6px;
  padding: 1.2rem 1.4rem;
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  font-family: var(--font-code);
  font-size: 0.82rem;
  line-height: 1.65;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
}

pre::before {
  content: attr(data-lang);
  position: absolute;
  top: 0; right: 0;
  padding: 0.15rem 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  background: var(--paper-alt);
  border-bottom-left-radius: 4px;
  border-top-right-radius: 5px;
}

code {
  font-family: var(--font-code);
  font-size: 0.88em;
  background: var(--code-bg);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  padding: 0.1em 0.35em;
}

pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
}

/* Syntax highlighting for Rampyaaryan */
.kw { color: #c0392b; font-weight: 600; }      /* keywords */
.str { color: #27ae60; }                          /* strings */
.num { color: #2980b9; }                          /* numbers */
.cmt { color: #95a5a6; font-style: italic; }     /* comments */
.fn { color: #8e44ad; }                           /* function names */
.op { color: #e67e22; }                           /* operators */
.bi { color: #d35400; }                           /* built-in functions */

/* ---------- Tables ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
}

thead th {
  background: var(--paper-alt);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-light);
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--border);
}

td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

tbody tr:hover { background: rgba(0,0,0,0.015); }

td code {
  font-size: 0.82em;
  white-space: nowrap;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.4rem;
  transition: all 0.2s ease;
  text-decoration: none;
  color: var(--ink);
  display: block;
}

.card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px var(--shadow);
  transform: translateY(-2px);
  text-decoration: none;
}

.card-icon {
  margin-bottom: 0.6rem;
  line-height: 1;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  color: var(--ink);
}

.card p {
  font-size: 0.88rem;
  color: var(--ink-light);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Feature Grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.feature {
  padding: 1.2rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: #fff;
}

.feature-icon {
  margin-bottom: 0.4rem;
  line-height: 1;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h4 {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  margin: 0 0 0.3rem;
  color: var(--ink);
}

.feature p {
  font-size: 0.82rem;
  color: var(--ink-light);
  margin: 0;
  line-height: 1.45;
}

/* ---------- Callouts ---------- */
.callout {
  padding: 1rem 1.2rem;
  border-radius: 6px;
  margin: 1.2rem 0;
  font-size: 0.92rem;
  border-left: 4px solid;
}

.callout-info {
  background: #eaf2f8;
  border-color: #2980b9;
  color: #1a5276;
}

.callout-tip {
  background: #eafaf1;
  border-color: #27ae60;
  color: #1e8449;
}

.callout-warn {
  background: #fef9e7;
  border-color: #f39c12;
  color: #7d6608;
}

.callout strong {
  font-family: var(--font-heading);
}

/* ---------- Architecture Diagrams ---------- */
.diagram-container {
  margin: 1.5rem 0;
  text-align: center;
}

.diagram-container img {
  width: 100%;
  max-width: 850px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 12px var(--shadow-md);
}

/* ---------- API Function Entries ---------- */
.fn-entry {
  margin: 1.5rem 0;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.fn-entry:last-child { border-bottom: none; }

.fn-signature {
  font-family: var(--font-code);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.fn-signature .return-type {
  color: var(--ink-faint);
  font-weight: 400;
}

.fn-desc {
  font-size: 0.92rem;
  color: var(--ink-light);
  margin-bottom: 0.5rem;
}

/* ---------- TOC (Table of Contents) ---------- */
.toc {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0 2rem;
}

.toc h3 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin: 0 0 0.8rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.2rem;
}

.toc li {
  margin: 0.3rem 0;
  font-size: 0.92rem;
}

.toc a {
  text-decoration: none;
  color: var(--link);
}

.toc a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* ---------- Keyword Table ---------- */
.keyword-table code {
  background: var(--accent);
  color: #fff;
  padding: 0.15em 0.45em;
  border-radius: 3px;
  border: none;
  font-weight: 600;
}

/* ---------- Lists ---------- */
ul, ol {
  margin: 0.5rem 0 1rem;
  padding-left: 1.5rem;
}

li { margin: 0.3rem 0; }

/* ---------- Blockquote ---------- */
blockquote {
  border-left: 4px solid var(--accent);
  padding: 0.8rem 1.2rem;
  margin: 1rem 0;
  background: var(--paper-alt);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: var(--ink-light);
}

/* ---------- Horizontal Rule ---------- */
hr {
  border: none;
  height: 1px;
  background: var(--border-light);
  margin: 2.5rem 0;
}

/* ---------- Back to Top Button ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 40px; height: 40px;
  background: var(--sidebar-bg);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px var(--shadow-md);
  z-index: 50;
  transition: all 0.2s ease;
}

.back-to-top:hover {
  background: var(--accent);
  transform: scale(1.1);
}

.back-to-top.visible { display: flex; }

/* ---------- Search ---------- */
.search-box {
  padding: 0.8rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.search-box input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  outline: none;
  transition: all 0.2s;
}

.search-box input::placeholder { color: var(--ink-faint); }
.search-box input:focus {
  background: rgba(255,255,255,0.12);
  border-color: var(--accent);
}

/* ---------- Page Header (breadcrumb) ---------- */
.page-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-header a {
  color: var(--ink-faint);
  text-decoration: none;
}
.page-header a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.page-footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--ink-faint);
  text-align: center;
}

/* ---------- Prev/Next Navigation ---------- */
.page-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.page-nav a {
  display: block;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: var(--font-heading);
  max-width: 45%;
}

.page-nav a:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px var(--shadow);
}

.page-nav .nav-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  margin-bottom: 0.2rem;
}

.page-nav .nav-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Tabs ---------- */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border-light);
  margin: 1.5rem 0 0;
}

.tab-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  background: none;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-faint);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.15s;
}

.tab-btn:hover { color: var(--ink); }

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 600;
}

.tab-content { display: none; padding-top: 1rem; }
.tab-content.active { display: block; }

/* ---------- Category Sections ---------- */
.category-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
}

.category-header .cat-icon {
  font-size: 1.5rem;
}

.category-count {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  padding: 0.1rem 0.5rem;
  border-radius: 10px;
  margin-left: 0.5rem;
}

/* ---------- Collapsible Sections ---------- */
details {
  border: 1px solid var(--border-light);
  border-radius: 6px;
  margin: 0.8rem 0;
  background: #fff;
}

details[open] { background: #fff; }

summary {
  padding: 0.8rem 1rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  user-select: none;
}

summary::-webkit-details-marker { display: none; }
summary::before {
  content: '▸';
  transition: transform 0.2s;
  font-size: 0.8rem;
  color: var(--ink-faint);
}
details[open] > summary::before { transform: rotate(90deg); }

details > :not(summary) { padding: 0 1rem 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .menu-toggle { display: flex; }
  .overlay.open { display: block; }
  .content-wrapper { padding: 4rem 1.5rem 3rem; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.35rem; }
  .hero h1 { font-size: 2.2rem; }
  .card-grid { grid-template-columns: 1fr; }
  .page-nav { flex-direction: column; }
  .page-nav a { max-width: 100%; }
}

@media (max-width: 600px) {
  html { font-size: 15px; }
  .content-wrapper { padding: 3.5rem 1rem 2rem; }
  .hero h1 { font-size: 1.8rem; }
  pre { padding: 0.8rem 1rem; font-size: 0.78rem; }
  table { font-size: 0.82rem; }
  td, th { padding: 0.5rem 0.6rem; }
}

/* ---------- Print ---------- */
@media print {
  .sidebar, .menu-toggle, .back-to-top, .page-nav { display: none !important; }
  .main-content { margin-left: 0; }
  body::before { display: none; }
  a { color: var(--ink); text-decoration: none; }
  pre { border: 1px solid #ccc; }
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.content-wrapper { animation: fadeIn 0.4s ease; }

/* ---------- Scrollbar ---------- */
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
}
.sidebar::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

/* ---------- Copy Button ---------- */
.copy-btn {
  position: absolute;
  top: 0.5rem; right: 0.5rem;
  background: var(--paper-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-faint);
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s;
}

pre:hover .copy-btn { opacity: 1; }
.copy-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.copy-btn.copied { background: #27ae60; color: #fff; border-color: #27ae60; }
