/* ===== MushUK — dark gourmet-mycology theme ===== */
:root {
  --bg: #0a0e17;
  --bg-2: #0d1220;
  --panel: #121a29;
  --panel-2: #0f1726;
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: #e8eef5;
  --muted: #94a3b8;
  --green: #18c98a;
  --green-600: #14b079;
  --green-glow: rgba(24, 201, 138, 0.35);
  --radius: 14px;
  --maxw: 1120px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 11, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand .dot { color: var(--green); }
.nav-links { display: flex; gap: 6px; margin-left: 12px; flex: 1; }
.nav-links a {
  padding: 8px 12px; border-radius: 10px; color: var(--muted);
  font-weight: 600; font-size: 15px; transition: .15s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-links a.active { color: var(--green); }
.nav-cta { margin-left: auto; }
.hamburger {
  display: none; margin-left: auto; background: none; border: 1px solid var(--border-2);
  color: var(--text); width: 44px; height: 44px; border-radius: 10px; font-size: 18px; cursor: pointer;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-weight: 700; font-size: 16px; padding: 13px 22px; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer; transition: .15s; white-space: nowrap;
}
.btn-green { background: var(--green); color: #04130d; box-shadow: 0 6px 20px rgba(24,201,138,.25); }
.btn-green:hover { background: var(--green-600); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }

/* ===== Hero ===== */
.hero {
  position: relative; text-align: center; padding: 90px 20px 80px;
  background:
    radial-gradient(900px 380px at 50% -120px, var(--green-glow), transparent 70%),
    linear-gradient(180deg, #0c2a20 0%, var(--bg) 55%);
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: clamp(34px, 6vw, 64px); font-weight: 800; letter-spacing: -0.03em;
  margin: 0 auto 16px; max-width: 880px; line-height: 1.05;
}
.hero h1 .accent { color: var(--green); }
.hero p { font-size: clamp(16px, 2.2vw, 21px); color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== Sections ===== */
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 10px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ===== Grid + cards ===== */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; transition: .15s;
}
.card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.card .icon { font-size: 26px; }
.card h3 { margin: 12px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* product category */
.cat { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.cat h3 { margin: 0 0 4px; font-size: 20px; }
.cat .blurb { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.item { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--border); }
.item:first-of-type { border-top: none; }
.item .nm { font-weight: 600; }
.item .ds { color: var(--muted); font-size: 13px; }
.item .pr { color: var(--green); font-weight: 700; white-space: nowrap; }

/* steps */
.steps { counter-reset: step; display: grid; gap: 14px; max-width: 720px; margin: 0 auto; }
.step { display: flex; gap: 16px; align-items: flex-start; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.step .num {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(24,201,138,.15); color: var(--green); font-weight: 800; border: 1px solid rgba(24,201,138,.35);
}
.step h4 { margin: 0 0 3px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* tips */
.tips { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; }
.tip { display: flex; gap: 14px; align-items: center; background: rgba(24,201,138,.06); border: 1px solid rgba(24,201,138,.18); border-radius: 12px; padding: 14px 18px; }
.tip .n { color: var(--green); font-weight: 800; }

/* reviews */
.review { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.review .stars { color: var(--green); letter-spacing: 2px; }
.review p { margin: 8px 0; }
.review .who { color: var(--muted); font-size: 14px; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; color: var(--green); background: rgba(24,201,138,.12); border: 1px solid rgba(24,201,138,.3); padding: 2px 8px; border-radius: 999px; }

/* stats */
.stats { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.stat { text-align: center; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 30px; min-width: 150px; }
.stat .v { font-size: 30px; font-weight: 800; color: var(--green); }
.stat .l { color: var(--muted); font-size: 14px; }

/* faq */
.faq-item { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 18px 20px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq-q::after { content: "+"; color: var(--green); font-size: 22px; transition: .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; color: var(--muted); padding: 0 20px; }
.faq-item.open .faq-a { max-height: 1200px; padding: 0 20px 18px; }

/* contact / promos */
.contact-card, .promo { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.promo .code { font-family: ui-monospace, monospace; color: var(--green); font-weight: 800; font-size: 18px; letter-spacing: 1px; }

/* big cta band */
.cta-band { text-align: center; background: radial-gradient(700px 300px at 50% 120%, var(--green-glow), transparent 70%), var(--bg-2); padding: 70px 20px; border-top: 1px solid var(--border); }
.cta-band h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin: 0 0 12px; }
.cta-band p { color: var(--muted); margin: 0 0 24px; font-size: 18px; }

/* footer */
.footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer a:hover { color: var(--text); }
.footer .disclaimer { font-size: 12px; opacity: .8; margin-top: 14px; max-width: 720px; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 10px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .nav-cta { display: none; }
  .hamburger { display: block; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
}

/* ===== Admin dashboard ===== */
.admin-wrap { max-width: 860px; margin: 0 auto; padding: 30px 20px 80px; }
.admin-wrap h1 { font-size: 28px; }
.admin-bar { position: sticky; top: 0; background: rgba(8,11,18,.9); backdrop-filter: blur(8px); padding: 14px 0; border-bottom: 1px solid var(--border); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; z-index: 20; }
.acc { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; margin: 14px 0; overflow: hidden; }
.acc-h { padding: 16px 18px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; }
.acc-b { padding: 0 18px 18px; display: none; }
.acc.open .acc-b { display: block; }
.field { margin: 12px 0; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; background: var(--panel-2); border: 1px solid var(--border-2); color: var(--text);
  border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 15px;
}
.field textarea { min-height: 70px; resize: vertical; }
.list-item { border: 1px dashed var(--border-2); border-radius: 10px; padding: 12px; margin: 10px 0; position: relative; }
.list-item .rm { position: absolute; top: 8px; right: 8px; background: rgba(255,80,80,.15); color: #ff8a8a; border: 1px solid rgba(255,80,80,.3); border-radius: 8px; cursor: pointer; padding: 2px 9px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--green); color: #04130d; font-weight: 700; padding: 12px 20px; border-radius: 10px; box-shadow: var(--shadow); opacity: 0; transition: .2s; pointer-events: none; }
.toast.show { opacity: 1; }

/* ===== Accessibility & polish ===== */
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; width: auto; height: auto; clip: auto; margin: 0; padding: 10px 16px; background: var(--green); color: #04130d; font-weight: 700; border-radius: 10px; z-index: 200; }
button.faq-q { width: 100%; text-align: left; background: none; border: none; color: inherit; font: inherit; }
.hero-badge { display: inline-block; font-size: 13px; font-weight: 700; color: var(--green); background: rgba(24,201,138,.1); border: 1px solid rgba(24,201,138,.28); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.promo-strip { background: linear-gradient(90deg, rgba(24,201,138,.14), rgba(24,201,138,.04)); border: 1px solid rgba(24,201,138,.25); border-radius: 12px; padding: 12px 18px; display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap; max-width: 720px; margin: 0 auto; }
.promo-strip .code { font-family: ui-monospace, monospace; color: var(--green); font-weight: 800; letter-spacing: 1px; }

/* ===== Blog ===== */
.blog-list { display: flex; flex-direction: column; gap: 18px; }
.blog-card { display: block; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; text-decoration: none; color: var(--text); transition: .15s; }
.blog-card:hover { border-color: var(--border-2); transform: translateY(-2px); }
.blog-meta, .post-meta { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.blog-date { color: var(--green); font-weight: 700; }
.blog-card h2 { font-size: 22px; line-height: 1.25; margin: 0 0 8px; }
.blog-card p { color: var(--muted); margin: 0 0 14px; }
.blog-more { color: var(--green); font-weight: 700; font-size: 14px; }
.post { padding: 20px 0 10px; }
.post-back { display: inline-block; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 16px; }
.post-back:hover { color: var(--green); }
.post h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.12; margin: 6px 0 14px; letter-spacing: -0.02em; }
.post-lead { font-size: 19px; color: var(--muted); line-height: 1.55; margin: 0 0 26px; }
.post h2 { font-size: 24px; margin: 34px 0 10px; letter-spacing: -0.01em; }
.post h3 { font-size: 19px; margin: 24px 0 8px; }
.post p, .post li { font-size: 17px; line-height: 1.75; color: #d7dbe3; }
.post p { margin: 0 0 16px; }
.post ul, .post ol { margin: 0 0 18px; padding-left: 22px; }
.post li { margin-bottom: 8px; }
.post a { color: var(--green); }
.post strong { color: var(--text); }
.callout { border-left: 3px solid var(--green); background: rgba(24,201,138,.06); border-radius: 8px; padding: 14px 18px; margin: 22px 0; font-size: 15.5px; color: var(--muted); line-height: 1.6; }
.callout.warn { border-left-color: #fbbf24; background: rgba(251,191,36,.07); }
.callout strong { color: var(--text); }
.post-footer { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 26px; }
.post-footer h3 { font-size: 15px; color: var(--muted); margin: 0 0 12px; text-transform: uppercase; letter-spacing: .05em; }
.post-more-links { display: flex; flex-direction: column; gap: 10px; }
.post-more-links a { color: var(--green); text-decoration: none; font-weight: 600; font-size: 16px; }
.post-more-links a:hover { text-decoration: underline; }
.post-disclaimer { font-size: 13px; color: var(--muted); opacity: .85; margin-top: 26px; line-height: 1.55; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .card:hover, .btn:hover { transform: none !important; }
}

/* ===== Admin v2 layout ===== */
.admin-intro { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin: 4px 0 20px; }
.admin-intro h1 { margin: 0 0 6px; font-size: 24px; }
.hint { color: var(--muted); font-size: 14px; margin: 0; }
.hint code { background: rgba(255,255,255,.06); padding: 1px 6px; border-radius: 6px; }
.admin-layout { display: grid; grid-template-columns: 210px 1fr; gap: 26px; align-items: start; }
.admin-nav { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 4px; }
.admin-nav a { padding: 9px 12px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 14px; }
.admin-nav a:hover { background: rgba(255,255,255,.05); color: var(--text); }
.admin-main { min-width: 0; }
.admin-sec { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; margin-bottom: 18px; scroll-margin-top: 80px; }
.admin-sec h2 { margin: 0 0 4px; font-size: 19px; }
.admin-sec > p.hint { margin-bottom: 10px; }
.preview-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 300; background: #0c2a20; border-bottom: 1px solid var(--green); color: var(--text); padding: 9px 16px; text-align: center; font-weight: 600; display: flex; gap: 12px; align-items: center; justify-content: center; }
body.preview-on { padding-top: 48px; }
body.preview-on .nav { top: 48px; }
@media (max-width: 760px) { .admin-layout { grid-template-columns: 1fr; } .admin-nav { position: static; top: auto; flex-direction: row; flex-wrap: wrap; margin-bottom: 8px; } }
