/* ================================================================
   Veritas Cannabis — No Deposit Bonus, Empirical Analysis
   Visual direction: Crypto/digital (dark navy + cyan + neon violet)
   ================================================================ */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #060b16;
  --bg-panel: #0d1626;
  --bg-elevated: #131f34;
  --bg-glass: rgba(19, 31, 52, 0.6);
  --text: #e4ecf7;
  --text-muted: #8a9bb7;
  --text-dim: #5c6b85;
  --cyan: #22d3ee;
  --cyan-bright: #67e8f9;
  --cyan-glow: rgba(34, 211, 238, 0.4);
  --violet: #a855f7;
  --violet-bright: #c084fc;
  --violet-glow: rgba(168, 85, 247, 0.4);
  --border: #1e2a44;
  --border-bright: #2a3a5c;
  --danger: #f43f5e;
  --success: #10b981;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", "Helvetica Neue", sans-serif;
  --mono: "SF Mono", "Monaco", "Cascadia Code", "Roboto Mono", "Courier New", monospace;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 60% 40% at 20% 0%, rgba(34, 211, 238, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color .15s, text-shadow .15s;
  background: linear-gradient(90deg, var(--cyan), var(--cyan));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.2s;
}
a:hover { color: var(--cyan-bright); background-size: 100% 1px; }

/* ---------- Header ---------- */
.site-header {
  background: rgba(6, 11, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 30%, var(--violet) 70%, transparent 100%);
  opacity: 0.6;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo a {
  color: inherit;
  background: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo a:hover { background: none; }
.logo .mark {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 0 20px var(--cyan-glow);
}
.logo .brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo .brand-main { font-weight: 800; letter-spacing: -0.02em; }
.logo .brand-sub {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  padding: 6px 2px;
  background: none;
  transition: color .2s;
}
.site-nav a:hover, .site-nav a.active {
  color: var(--cyan-bright);
  background: none;
}
.site-nav a.active { color: var(--cyan); }

/* ---------- Main layout ---------- */
main { max-width: 800px; margin: 0 auto; padding: 48px 28px 60px; }

.breadcrumbs {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-family: var(--mono);
  letter-spacing: 0;
}
.breadcrumbs a { color: var(--cyan); background: none; }
.breadcrumbs a:hover { background: none; text-decoration: underline; }
.breadcrumbs span { color: var(--text-dim); margin: 0 8px; }

.page-hero {
  margin-bottom: 40px;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid var(--cyan);
  border-radius: 20px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--cyan-bright);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.page-hero h1 {
  font-family: var(--sans);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--text);
  letter-spacing: -0.03em;
}
.page-hero h1 .accent {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero .lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
  max-width: 640px;
}

.hero-img {
  margin: 32px 0 40px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-bright);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(34, 211, 238, 0.08);
  position: relative;
}
.hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
}

/* ---------- Article ---------- */
article h2 {
  font-family: var(--sans);
  font-size: 1.7rem;
  font-weight: 700;
  margin: 52px 0 18px;
  color: var(--text);
  letter-spacing: -0.02em;
  position: relative;
  padding-left: 20px;
}
article h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 4px;
  height: calc(100% - 20px);
  background: linear-gradient(180deg, var(--cyan) 0%, var(--violet) 100%);
  border-radius: 2px;
}

article h3 {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cyan-bright);
  margin: 32px 0 12px;
}

article p { margin: 0 0 20px; color: var(--text); }
article ul, article ol { margin: 0 0 22px; padding-left: 24px; }
article li { margin-bottom: 8px; }
article li::marker { color: var(--cyan); }
article strong { color: var(--cyan-bright); font-weight: 600; }
article em { color: var(--violet-bright); font-style: normal; font-family: var(--mono); font-size: 0.9em; }
article code {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.88em;
  color: var(--cyan-bright);
}

article .inline-img {
  margin: 36px 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-bright);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* ---------- Data callout ---------- */
.data-box {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-bright);
  border-radius: 10px;
  padding: 24px 28px;
  margin: 32px 0;
  position: relative;
}
.data-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 1px;
  background: linear-gradient(135deg, var(--cyan) 0%, transparent 50%, var(--violet) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.4;
}
.data-box h3 {
  color: var(--violet-bright);
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-family: var(--mono);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.data-box p { margin: 0; color: var(--text); }
.data-box p + p { margin-top: 10px; }

/* ---------- Table of contents ---------- */
.toc {
  background: var(--bg-panel);
  border: 1px solid var(--border-bright);
  border-radius: 10px;
  padding: 28px 32px;
  margin: 40px 0 48px;
  position: relative;
}
.toc h2 {
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 3px;
  margin: 0 0 20px;
  padding: 0;
  color: var(--cyan);
  text-transform: uppercase;
}
.toc h2::before { display: none; }
.toc ol {
  columns: 2;
  column-gap: 40px;
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  color: var(--text);
  counter-reset: item;
  list-style: none;
}
.toc li {
  margin-bottom: 8px;
  break-inside: avoid;
  counter-increment: item;
  position: relative;
  padding-left: 30px;
}
.toc li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--violet);
  font-family: var(--mono);
  font-size: 0.85em;
  font-weight: 600;
}
.toc a { color: var(--text); background: none; }
.toc a:hover { color: var(--cyan-bright); background: none; }

@media (max-width: 640px) { .toc ol { columns: 1; } }

/* ---------- FAQ ---------- */
.faq { margin: 40px 0; }
.faq details {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 10px;
  padding: 0;
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}
.faq summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 50px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > *:not(summary) {
  padding: 0 22px 18px;
  color: var(--text-muted);
}

/* ---------- Disclaimer ---------- */
.disclaimer {
  background: rgba(244, 63, 94, 0.06);
  border: 1px solid rgba(244, 63, 94, 0.4);
  border-radius: 10px;
  padding: 22px 26px;
  margin: 44px 0;
  font-size: 15px;
  color: var(--text-muted);
}
.disclaimer strong {
  color: var(--danger);
  font-family: var(--mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
}

/* ---------- Author bio ---------- */
.author-bio {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  padding: 28px;
  margin: 48px 0;
  position: relative;
}
.author-bio::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
}
.author-bio img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 0 2px var(--bg), 0 0 20px var(--cyan-glow);
  flex-shrink: 0;
}
.author-bio .name {
  font-weight: 700;
  color: var(--text);
  font-size: 1.15rem;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.author-bio .role {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--violet-bright);
  margin: 0 0 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.author-bio p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ---------- Related pages ---------- */
.related {
  background: var(--bg-panel);
  border: 1px solid var(--border-bright);
  border-radius: 10px;
  padding: 28px 32px;
  margin: 48px 0;
}
.related h3 {
  font-family: var(--mono);
  color: var(--violet-bright);
  letter-spacing: 3px;
  margin: 0 0 18px;
  font-size: 0.85rem;
  text-transform: uppercase;
}
.related ul { list-style: none; padding: 0; margin: 0; }
.related li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}
.related li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-family: var(--mono);
}

/* ---------- Contact form ---------- */
.contact-form {
  background: var(--bg-panel);
  border: 1px solid var(--border-bright);
  border-radius: 10px;
  padding: 32px;
  margin: 28px 0;
}
.contact-form label {
  display: block;
  font-family: var(--mono);
  font-weight: 500;
  margin: 18px 0 8px;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--cyan);
  text-transform: uppercase;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-bright);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}
.contact-form button {
  margin-top: 24px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 4px 20px rgba(34, 211, 238, 0.25);
}
.contact-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(34, 211, 238, 0.35);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #030710;
  border-top: 1px solid var(--border);
  padding: 48px 28px 32px;
  margin-top: 72px;
  color: var(--text-muted);
  font-size: 14px;
  position: relative;
}
.site-footer::before {
  content: "";
  display: block;
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 30%, var(--violet) 70%, transparent 100%);
  opacity: 0.6;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.footer-col h4 {
  font-family: var(--mono);
  color: var(--violet-bright);
  letter-spacing: 3px;
  font-size: 11px;
  margin: 0 0 16px;
  text-transform: uppercase;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-muted); background: none; }
.footer-col a:hover { color: var(--cyan-bright); background: none; }
.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  font-family: var(--mono);
}
.footer-bottom .warning {
  display: inline-block;
  border: 1px solid var(--danger);
  color: var(--danger);
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 600;
  margin-right: 10px;
  font-size: 11px;
  letter-spacing: 1px;
}

/* ---------- Simple pages ---------- */
.simple-page { max-width: 720px; }
.simple-page h2 { margin-top: 36px; }
.helpline-box {
  background: var(--bg-panel);
  border: 1px solid var(--cyan);
  border-radius: 10px;
  padding: 24px 28px;
  margin: 28px 0;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.08);
}
.helpline-box h3 { margin-top: 0; color: var(--cyan-bright); }

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  body { font-size: 15px; }
  .header-inner { flex-direction: column; padding: 14px 20px; gap: 14px; text-align: center; }
  .logo { font-size: 20px; }
  .site-nav ul { gap: 14px; justify-content: center; font-size: 13px; }
  main { padding: 32px 20px 48px; }
  article h2 { font-size: 1.4rem; margin: 40px 0 14px; padding-left: 16px; }
  .author-bio { flex-direction: column; align-items: center; text-align: center; }
  .toc { padding: 22px; }
  .toc ol { columns: 1; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .site-nav, .breadcrumbs { display: none !important; }
  body { background: white; color: black; }
  article h2 { color: black; }
  article h2::before { display: none; }
  a { color: black; text-decoration: underline; background: none; }
}
