/* ============================================
   elefantenhiphop.de — dark tech modern
   ============================================ */

:root {
  --bg: #0e0f14;
  --bg-2: #14161e;
  --bg-3: #1c1f2a;
  --line: #262a37;
  --text: #e6e7ec;
  --text-dim: #9ea3b3;
  --text-mute: #6b7080;
  --brand: #7c3aed;
  --brand-2: #a78bfa;
  --accent: #22d3ee;
  --warn: #f59e0b;
  --danger: #ef4444;
  --ok: #10b981;
  --radius: 6px;
  --radius-lg: 14px;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand-2); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }

/* --------- Layout --------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

/* --------- Header --------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 15, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  text-transform: lowercase;
}
.logo span {
  color: var(--brand-2);
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-weight: 700;
  margin-right: 2px;
}
.logo:hover { text-decoration: none; }

.nav ul {
  display: flex;
  gap: 26px;
  list-style: none;
  flex-wrap: wrap;
}
.nav a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nav a:hover { color: var(--brand-2); text-decoration: none; }

/* --------- Hero --------- */
.hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(ellipse at top left, rgba(124, 58, 237, 0.15), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(34, 211, 238, 0.08), transparent 55%);
  border-bottom: 1px solid var(--line);
}
.hero .eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-2);
  padding: 6px 12px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  margin-bottom: 22px;
  font-weight: 600;
}
h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--brand-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 19px;
  color: var(--text-dim);
  max-width: 720px;
  margin-bottom: 34px;
}

.hero-image {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  margin-top: 28px;
}

/* --------- Breadcrumb --------- */
.breadcrumb {
  font-size: 13px;
  color: var(--text-mute);
  padding: 22px 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.breadcrumb a { color: var(--text-dim); }
.breadcrumb .sep { margin: 0 8px; color: var(--line); }

/* --------- Article --------- */
article.content {
  padding: 40px 0 80px;
}
.content h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 56px 0 18px;
  padding-top: 8px;
  position: relative;
}
.content h2::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  margin-bottom: 18px;
  border-radius: 2px;
}
.content h3 {
  font-size: 21px;
  font-weight: 700;
  margin: 34px 0 12px;
  color: var(--brand-2);
}
.content p { margin-bottom: 18px; color: var(--text); }
.content p + p { margin-top: -4px; }
.content ul, .content ol {
  margin: 12px 0 22px 22px;
  color: var(--text);
}
.content li { margin-bottom: 8px; }
.content strong { color: #fff; font-weight: 700; }
.content em { color: var(--brand-2); font-style: italic; }

.content figure {
  margin: 36px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.content figcaption {
  font-size: 13px;
  color: var(--text-mute);
  padding: 12px 16px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

/* --------- Table of Contents --------- */
.toc {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  margin: 40px 0;
}
.toc-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-2);
  font-weight: 700;
  margin-bottom: 14px;
}
.toc ol {
  list-style: none;
  margin: 0;
  columns: 2;
  column-gap: 40px;
}
.toc li {
  margin: 6px 0;
  break-inside: avoid;
}
.toc a {
  color: var(--text);
  font-size: 15px;
  display: block;
  padding: 4px 0;
  border-bottom: 1px dashed transparent;
}
.toc a:hover {
  color: var(--brand-2);
  border-bottom-color: var(--brand);
  text-decoration: none;
}

/* --------- Info / Callout Boxes --------- */
.callout {
  background: var(--bg-2);
  border-left: 3px solid var(--brand);
  padding: 18px 22px;
  border-radius: var(--radius);
  margin: 26px 0;
  color: var(--text-dim);
}
.callout.warn { border-left-color: var(--warn); }
.callout.danger { border-left-color: var(--danger); }
.callout.ok { border-left-color: var(--ok); }
.callout strong { color: #fff; }

/* --------- Tables --------- */
.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  background: var(--bg-2);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}
.content th {
  background: var(--bg-3);
  color: var(--brand-2);
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--line);
}
.content td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.content tr:last-child td { border-bottom: none; }

/* --------- FAQ --------- */
.faq {
  margin: 40px 0;
}
.faq details {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq details[open] {
  border-color: var(--brand);
}
.faq summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--brand-2);
  font-size: 22px;
  font-weight: 300;
  transition: transform .2s ease;
}
.faq details[open] summary::after {
  content: "−";
}
.faq summary:hover { color: var(--brand-2); }
.faq .answer {
  padding: 0 22px 20px;
  color: var(--text-dim);
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* --------- Author Bio --------- */
.author-bio {
  display: flex;
  align-items: center;
  gap: 22px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 50px 0 20px;
}
.author-bio img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  flex-shrink: 0;
}
.author-bio .who {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-2);
  font-weight: 700;
  margin-bottom: 4px;
}
.author-bio h4 {
  font-size: 19px;
  color: var(--text);
  margin-bottom: 6px;
}
.author-bio p {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.55;
}

/* --------- Related --------- */
.related {
  border-top: 1px solid var(--line);
  padding-top: 40px;
  margin-top: 60px;
}
.related h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-2);
  margin-bottom: 20px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.related-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .2s ease, transform .2s ease;
  display: block;
  color: var(--text);
}
.related-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  text-decoration: none;
}
.related-card .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-2);
  margin-bottom: 8px;
  font-weight: 700;
}
.related-card h4 {
  font-size: 17px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
}

/* --------- Responsible Gambling Disclaimer --------- */
.rg-box {
  background: linear-gradient(135deg, #1a0d20 0%, #0d1a1f 100%);
  border: 1px solid #3a1f4d;
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  margin: 50px 0 20px;
}
.rg-box .rg-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--warn);
  font-weight: 700;
  margin-bottom: 10px;
}
.rg-box h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #fff;
}
.rg-box p {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0;
}
.rg-box a { color: var(--accent); }

/* --------- Simple Pages (About/Contact) --------- */
.simple-page {
  padding: 60px 0 80px;
  max-width: 720px;
}
.simple-page h1 { font-size: 40px; margin-bottom: 20px; }
.simple-page p { color: var(--text-dim); margin-bottom: 18px; }

.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-top: 30px;
}
.contact-form label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-2);
  margin-bottom: 8px;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  margin-bottom: 18px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.contact-form button {
  background: linear-gradient(90deg, var(--brand), var(--accent));
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
}

/* --------- Footer --------- */
.site-footer {
  background: #08090d;
  border-top: 1px solid var(--line);
  padding: 50px 0 30px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-2);
  margin-bottom: 14px;
  font-weight: 700;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--text-dim); font-size: 14px; }
.footer-grid p { color: var(--text-mute); font-size: 14px; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
}
.footer-bottom p { margin-bottom: 6px; }

/* --------- Responsive --------- */
@media (max-width: 768px) {
  .site-header .wrap {
    flex-direction: column;
    gap: 14px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .nav ul { gap: 16px; }
  .nav a { font-size: 12px; }
  .hero { padding: 50px 0 40px; }
  .toc ol { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .content h2 { font-size: 24px; margin-top: 44px; }
  .content h3 { font-size: 19px; }
  .author-bio {
    flex-direction: column;
    text-align: center;
    padding: 22px;
  }
  body { font-size: 16px; }
}

/* --------- Print --------- */
@media print {
  .site-header, .site-footer, .nav, .breadcrumb, .related { display: none; }
  body { background: white; color: black; }
  a { color: black; text-decoration: underline; }
  .content h2, .content h3 { color: black; }
  .toc, .callout, .rg-box, .author-bio { border: 1px solid #ccc; }
}
