/* ==========================================================================
   Playfina7.de – global stylesheet (pure CSS, no JS)
   ========================================================================== */

:root {
  --bg: #0d0818;
  --bg-alt: #171025;
  --bg-card: #1c1430;
  --purple: #3b1f6b;
  --purple-light: #5a3596;
  --gold: #f0c05a;
  --gold-strong: #e8a93c;
  --text: #eee7fb;
  --text-muted: #b6acce;
  --border: rgba(240, 192, 90, 0.18);
  --radius: 12px;
  --container-width: 1120px;
}

* { box-sizing: border-box; }

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

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

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

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1, h2, h3, h4 { color: #fff; line-height: 1.3; }
h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); margin-top: 2.25rem; }
h3 { font-size: 1.15rem; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  overflow-x: auto;
  display: block;
}
table, thead, tbody, tr { width: 100%; }
th, td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.75rem;
  text-align: left;
  font-size: 0.95rem;
}
th { background: var(--bg-card); color: var(--gold); white-space: nowrap; }
tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }

details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin: 1rem 0;
}
details summary {
  cursor: pointer;
  color: var(--gold);
  font-weight: 600;
  list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details summary::before {
  content: "+";
  display: inline-block;
  width: 1.1em;
  color: var(--gold-strong);
  font-weight: 700;
}
details[open] summary::before { content: "\2212"; }
details ul, details ol { margin: 0.75rem 0 0.25rem; padding-left: 1.25rem; }
details p { margin-top: 0.75rem; }

.author-box {
  max-width: var(--container-width);
  margin: 2.5rem auto 1rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}
.author-box p { margin: 0.25rem 0; }

/* Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }

.btn-ghost {
  color: var(--gold);
  border-color: var(--gold);
}
.btn-ghost:hover { background: rgba(240, 192, 90, 0.1); }

.btn-solid {
  background: linear-gradient(180deg, var(--gold), var(--gold-strong));
  color: #241408;
}
.btn-solid:hover { filter: brightness(1.08); }

.btn-cta {
  background: linear-gradient(180deg, var(--gold), var(--gold-strong));
  color: #241408;
  padding: 0.75rem 1.6rem;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(240, 192, 90, 0.25);
}

/* Header
   ========================================================================== */
.site-header {
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: nowrap;
  padding: 0.65rem 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  color: #fff;
}
.logo:hover { text-decoration: none; }
.logo-icon {
  width: auto;
  height: 48px;
  flex-shrink: 0;
}

.site-nav { display: none; }
.site-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--gold); text-decoration: none; }

.header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  position: relative;
}

.header-actions {
  display: flex;
  gap: 0.5rem;
}
.header-actions .btn {
  padding: 0.45rem 0.8rem;
  font-size: 0.82rem;
}

/* Burger (details-based, no JS) */
.burger { margin: 0; padding: 0; border: none; background: none; }
.burger summary {
  width: 34px;
  height: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 8px;
}
.burger summary::before { content: none; }
.burger summary:hover { background: rgba(255,255,255,0.06); }
.burger summary span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.burger[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[open] summary span:nth-child(2) { opacity: 0; }
.burger[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.burger-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  list-style: none;
  margin: 0.5rem 0 0;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}
.burger-menu li a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
}
.burger-menu li a:hover { background: rgba(255,255,255,0.06); color: var(--gold); text-decoration: none; }

/* Breadcrumbs
   ========================================================================== */
.breadcrumbs {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0.6rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs li[aria-current="page"] { color: var(--gold); }

/* Hero / banner
   ========================================================================== */
.hero {
  background: #000;
  border-bottom: 1px solid var(--border);
}
.hero-inner { position: relative; padding: 0; }
.hero-media { width: 100%; }
.hero-media img { width: 100%; height: auto; }

.hero-content {
  padding: 1.25rem 1.25rem 1.75rem;
}
.hero-content h1,
.hero-title {
  margin-top: 0;
  color: #fff;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 700;
  line-height: 1.3;
}
.hero-content p {
  color: var(--text-muted);
}

/* Main content
   ========================================================================== */
article {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0.5rem;
}

/* Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--gold);
}
.footer-brand img { width: auto; height: 36px; }
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav a { color: var(--text-muted); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--gold); }
.footer-copy { margin: 0; color: var(--text-muted); font-size: 0.8rem; }

/* ==========================================================================
   Responsive – small phones
   ========================================================================== */
@media (max-width: 420px) {
  .logo-icon { height: 38px; }
  .header-actions .btn { padding: 0.42rem 0.6rem; font-size: 0.76rem; }
  .header-inner { padding: 0.6rem 0.85rem; }
}

/* ==========================================================================
   Responsive – tablet / desktop (>= 860px)
   ========================================================================== */
@media (min-width: 860px) {
  .site-nav { display: block; }
  .burger { display: none; }

  .header-actions .btn { padding: 0.55rem 1.1rem; font-size: 0.9rem; }

  .hero-content {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 42%;
    padding: 0 2.5rem 0 3rem;
  }
}
