/* ==========================================================================
   Unique Casino DE — base stylesheet
   ========================================================================== */

:root {
  --red-dark: #3a0407;
  --red: #6e0b12;
  --red-light: #8f1017;
  --gold: #c9a24b;
  --gold-light: #e6cf8f;
  --cream: #f7f3ec;
  --text: #2b2622;
  --text-muted: #6b625a;
  --border: #e4dbca;
  --radius: 10px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", Verdana, Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

picture {
  display: block;
}

a {
  color: var(--red);
}

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

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

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

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

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

.btn-outline:hover {
  background: var(--red);
  color: #fff;
}

.btn-solid {
  background: var(--red);
  color: #fff;
}

.btn-solid:hover {
  background: var(--red-light);
  color: #fff;
}

.btn-cta {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--red-dark);
  border-color: var(--gold);
  font-size: 1.05rem;
  padding: 12px 30px;
}

.btn-cta:hover {
  background: var(--gold-light);
  color: var(--red-dark);
}

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

.site-header {
  background: #fff;
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  flex-wrap: nowrap;
}

.logo-link {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

.logo-img {
  display: block;
  height: 38px;
  width: auto;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  cursor: pointer;
}

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

.main-nav {
  flex-grow: 1;
}

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

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

.nav-list a:hover {
  color: var(--red);
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: nowrap;
    padding: 8px 14px;
    gap: 10px;
  }

  .logo-img {
    height: 32px;
  }

  .burger {
    display: flex;
    order: 3;
    width: 26px;
    height: 26px;
  }

  .header-actions {
    order: 2;
    margin-left: auto;
    gap: 6px;
  }

  .header-actions .btn {
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .main-nav {
    order: 4;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    display: none;
    flex-grow: 0;
  }

  .nav-toggle:checked ~ .main-nav {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
  }

  .nav-list li {
    border-top: 1px solid var(--border);
  }

  .nav-list li:first-child {
    border-top: none;
  }

  .nav-list a {
    display: block;
    padding: 12px 0;
  }
}

@media (max-width: 400px) {
  .header-inner {
    padding: 6px 10px;
    gap: 6px;
  }

  .logo-img {
    height: 26px;
  }

  .burger {
    width: 22px;
    height: 22px;
  }

  .header-actions {
    gap: 4px;
  }

  .header-actions .btn {
    padding: 5px 7px;
    font-size: 0.62rem;
  }
}

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

.breadcrumb {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.breadcrumb 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.85rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--red);
  text-decoration: underline;
}

.breadcrumb li:not(:first-child)::before {
  content: "/";
  margin-right: 6px;
  color: var(--border);
}

.breadcrumb li[aria-current="page"] {
  color: var(--red);
  font-weight: 600;
}

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

.hero {
  background: var(--red-dark);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.hero-banner {
  display: block;
  width: 100%;
  height: auto;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 4%;
  transform: translateY(-50%);
  width: 46%;
  color: #fff;
}

.hero-content h1,
.hero-content h2 {
  margin: 0 0 12px;
  color: var(--gold-light);
  font-size: clamp(1.1rem, 3vw, 2rem);
  line-height: 1.2;
}

.hero-content p {
  margin: 0 0 18px;
  font-size: clamp(0.8rem, 1.6vw, 1.05rem);
  color: #f1e9d8;
}

@media (max-width: 768px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
  }

  .hero-content {
    position: static;
    transform: none;
    width: 100%;
    padding: 24px 20px;
    text-align: center;
  }

  .hero-content p {
    font-size: 0.95rem;
  }
}

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

main {
  background: #fff;
}

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

.content h1 {
  color: var(--red-dark);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-top: 0;
}

.content h2 {
  color: var(--red-dark);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 8px;
  margin-top: 40px;
}

.content section:first-of-type h2 {
  margin-top: 20px;
}

.content strong {
  color: var(--red);
}

/* Table of contents accordion */

.toc {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 20px;
  margin: 24px 0;
}

.toc summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  color: var(--red-dark);
  list-style: none;
  position: relative;
}

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

.toc summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  font-size: 1.3rem;
  color: var(--red);
}

.toc[open] summary::after {
  content: "\2212";
}

.toc ol {
  margin: 0;
  padding: 0 0 16px 20px;
}

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

.toc a {
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

/* Tables */

table.responsive {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

table.responsive caption {
  text-align: left;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--red-dark);
}

table.responsive th,
table.responsive td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
}

table.responsive thead {
  background: var(--red-dark);
  color: #fff;
}

table.responsive tbody tr:nth-child(even) {
  background: var(--cream);
}

@media (max-width: 700px) {
  table.responsive thead {
    display: none;
  }

  table.responsive,
  table.responsive tbody,
  table.responsive tr,
  table.responsive td {
    display: block;
    width: 100%;
  }

  table.responsive tr {
    margin-bottom: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }

  table.responsive td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    text-align: right;
    border: none;
    border-bottom: 1px solid var(--border);
  }

  table.responsive td:last-child {
    border-bottom: none;
  }

  table.responsive td::before {
    content: attr(data-label);
    font-weight: 700;
    text-align: left;
    color: var(--red-dark);
    flex-shrink: 0;
  }
}

/* Author box */

.author-box {
  margin: 40px auto 0;
  max-width: var(--max-width);
  padding: 20px 20px 40px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.author-box strong {
  color: var(--red-dark);
}

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

.site-footer {
  background: var(--red-dark);
  color: #e9ded0;
  padding: 36px 0 24px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.footer-brand span {
  color: var(--gold-light);
}

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

.footer-nav a {
  color: #e9ded0;
  text-decoration: none;
  font-weight: 600;
}

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

.footer-note {
  width: 100%;
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  color: #cbbfa9;
}

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