/* ==========================================================================
   Roman Casino – romancasino7.de
   Reines HTML/CSS, kein JavaScript
   ========================================================================== */

:root {
  --bg: #150705;
  --bg-alt: #1e0c09;
  --panel: #24100c;
  --panel-border: #3a1a13;
  --maroon: #5c1119;
  --red: #a8202c;
  --red-dark: #7a1220;
  --gold: #e3b04b;
  --gold-light: #f4d488;
  --text: #f2e9dd;
  --text-muted: #cbb6a2;
  --radius: 10px;
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: var(--gold-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  color: var(--gold-light);
  line-height: 1.25;
}

h1 {
  font-size: 1.9rem;
}

h2 {
  font-size: 1.5rem;
  border-bottom: 2px solid var(--panel-border);
  padding-bottom: 8px;
  margin-top: 2.4rem;
}

h3 {
  font-size: 1.2rem;
  color: var(--gold);
}

p {
  color: var(--text);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #2a1305;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #ffe9ad, var(--gold-light));
}

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: rgba(227, 176, 75, 0.12);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  background: linear-gradient(180deg, #1a0906, #0f0403);
  border-bottom: 1px solid var(--panel-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.logo-link {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.logo {
  width: 170px;
  height: auto;
}

.header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--text);
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--gold-light);
}

/* Burger toggle (checkbox hack, no JS) */
.menu-toggle {
  display: none;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  order: 3;
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--gold-light);
  border-radius: 2px;
}

@media (max-width: 800px) {
  .header-inner {
    position: relative;
    gap: 10px;
  }

  .logo {
    width: 140px;
  }

  .burger {
    display: flex;
  }

  .main-nav {
    order: 5;
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    width: 100%;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--panel-border);
    margin-top: 10px;
  }

  .main-nav ul li a {
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid var(--panel-border);
  }

  .menu-toggle:checked ~ .main-nav {
    max-height: 500px;
  }

  .header-cta {
    order: 2;
    gap: 6px;
  }

  .header-cta .btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 420px) {
  .logo {
    width: 116px;
  }

  .header-cta .btn-outline {
    display: none;
  }

  .header-cta .btn {
    padding: 7px 10px;
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumbs {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--panel-border);
}

.breadcrumbs ol {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 20px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--panel-border);
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--gold-light);
}

.breadcrumbs li[aria-current="page"] {
  color: var(--gold-light);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--bg);
  max-width: var(--max-width);
  margin: 24px auto;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-media {
  width: 100%;
  aspect-ratio: 1983 / 793;
  background: #100604 url("../img/banner.jpg") center center / contain no-repeat;
}

.hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.hero-inner .container {
  width: 100%;
}

.hero-box {
  max-width: 480px;
  background: rgba(10, 4, 3, 0.62);
  border: 1px solid rgba(227, 176, 75, 0.35);
  border-radius: var(--radius);
  padding: 22px 26px;
}

.hero-box p.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.hero-box .hero-title {
  margin: 0 0 10px;
  border: none;
  padding: 0;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--gold-light);
}

.hero-box p {
  color: var(--text-muted);
  margin: 0 0 18px;
}

@media (max-width: 800px) {
  .hero {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
  }

  .hero-inner {
    position: static;
    padding: 20px 0;
  }
}

@media (max-width: 600px) {
  .hero-box {
    max-width: 100%;
    padding: 16px 18px;
  }

  .hero-box .hero-title {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   Main content
   ========================================================================== */

main {
  background: var(--bg);
}

article {
  padding: 30px 0 10px;
}

section {
  margin-bottom: 10px;
}

/* TOC accordion */
details.toc {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  margin: 24px 0;
  padding: 4px 18px;
}

details.toc summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--gold-light);
  padding: 14px 0;
  list-style: none;
}

details.toc summary::-webkit-details-marker {
  display: none;
}

details.toc summary::after {
  content: "▾";
  float: right;
  color: var(--gold);
  transition: transform 0.2s ease;
}

details.toc[open] summary::after {
  transform: rotate(180deg);
}

details.toc ul,
details.toc ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

details.toc li {
  margin-bottom: 6px;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  overflow: hidden;
}

caption {
  caption-side: top;
  text-align: left;
  color: var(--text-muted);
  margin-bottom: 6px;
}

th, td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--panel-border);
  font-size: 0.95rem;
}

thead th {
  background: var(--maroon);
  color: var(--gold-light);
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: rgba(227, 176, 75, 0.06);
}

@media (max-width: 640px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* FAQ items */
.faq-item {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 14px;
}

.faq-item h3 {
  margin-top: 0;
}

/* Author box */
.author-box {
  max-width: var(--max-width);
  margin: 30px auto 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--panel-border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.author-box p {
  margin: 4px 0;
  color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #0d0403;
  border-top: 1px solid var(--panel-border);
  margin-top: 40px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 34px 20px 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-logo {
  width: 150px;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-muted);
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 26px;
}

.disclaimer {
  color: var(--text-muted);
  font-size: 0.82rem;
  max-width: 760px;
  margin: 0 0 10px;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.75rem;
  margin-right: 8px;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0;
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
  }
}
