/* fugucasino7.de — base styles */

:root {
  --bg: #0a1530;
  --bg-alt: #0f1f44;
  --accent: #2ecc40;
  --accent-dark: #22a233;
  --gold: #ffb020;
  --gold-dark: #c97c00;
  --text: #e8ecf5;
  --text-muted: #93a0c2;
  --border: #1f3a66;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

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

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

a:hover {
  text-decoration: underline;
}

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

/* ---------- Header ---------- */

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

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-header__left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  min-width: 0;
}

.site-header__logo {
  flex-shrink: 0;
}

.site-header__logo img {
  height: 72px;
  width: auto;
}

.site-header__nav {
  min-width: 0;
  overflow: hidden;
}

.site-header__nav a {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.site-header__nav .nav-short {
  display: none;
}

.site-header__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
}

.btn-login {
  background: transparent;
  border: 1px solid #3a4f7a;
  color: var(--text);
}

.btn-login:hover {
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.btn-register {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #06200d;
}

.btn-register:hover {
  background: var(--accent-dark);
  text-decoration: none;
}

/* ---------- Breadcrumbs ---------- */

.breadcrumbs {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

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

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

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

/* ---------- Hero ---------- */

.hero {
  max-width: var(--max-width);
  margin: 16px auto 0;
  padding: 0 20px;
  position: relative;
}

.hero__media {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

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

.hero__content {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 56%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 5% 4%;
}

.hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.1rem, 3.2vw, 2rem);
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.hero__subtitle {
  margin: 0;
  color: var(--text);
  font-size: clamp(0.8rem, 1.6vw, 1.05rem);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
  max-width: 32ch;
}

.hero__cta {
  align-self: flex-start;
  padding: 12px 26px;
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  box-shadow: 0 4px 16px rgba(46, 204, 64, 0.35);
}

@media (max-width: 640px) {
  .hero__content {
    width: 62%;
    padding: 4% 4%;
    gap: 8px;
  }

  .hero__subtitle {
    display: none;
  }

  .hero__cta {
    padding: 8px 16px;
  }
}

@media (max-width: 420px) {
  .hero__content {
    width: 68%;
  }
}

/* ---------- Main content ---------- */

main, article {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px 40px;
}

h1, h2, h3 {
  color: #fff;
}

h1 {
  font-size: 1.9rem;
}

h2 {
  font-size: 1.4rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  overflow-x: auto;
  display: block;
}

table thead, table tbody {
  display: table;
  width: 100%;
}

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

th {
  background: var(--bg-alt);
}

section {
  margin-bottom: 32px;
}

/* ---------- TOC accordion ---------- */

.toc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 20px 0 32px;
  padding: 4px 16px;
}

.toc summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 12px 0;
  color: #fff;
  list-style: none;
}

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

.toc summary::before {
  content: "▸";
  display: inline-block;
  margin-right: 8px;
  color: var(--gold);
  transition: transform 0.15s ease;
}

.toc[open] summary::before {
  transform: rotate(90deg);
}

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

.toc li {
  margin: 6px 0;
}

details > p {
  margin: 8px 0 16px;
}

/* FAQ details */

#faq details {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 16px;
  margin-bottom: 10px;
}

#faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #fff;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

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

.site-footer nav a {
  color: var(--text-muted);
}

.site-footer__copy {
  width: 100%;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-footer__disclaimer {
  width: 100%;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.8;
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .site-header__inner {
    flex-wrap: nowrap;
    padding: 10px 12px;
    gap: 8px;
  }

  .site-header__left {
    gap: 10px;
  }

  .site-header__logo img {
    height: 48px;
  }

  .site-header__nav a {
    font-size: 0.8rem;
  }

  .site-header__actions {
    gap: 6px;
  }

  .btn {
    padding: 7px 10px;
    font-size: 0.8rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }
}

@media (max-width: 460px) {
  .site-header__nav .nav-full {
    display: none;
  }

  .site-header__nav .nav-short {
    display: inline;
  }

  .site-header__logo img {
    height: 40px;
  }

  .btn {
    padding: 6px 8px;
    font-size: 0.75rem;
  }
}
