:root {
  --bg: #150c08;
  --bg-panel: #1f140d;
  --border: #3a2a1a;
  --gold: #f0c14b;
  --gold-light: #ffe08a;
  --text: #ece1d3;
  --text-dim: #b6a893;
  --link: #f0c14b;
  --max-width: 780px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: radial-gradient(ellipse at top, #24160e 0%, var(--bg) 60%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  font-size: 16px;
}

header.site-header {
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gold-light);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

.brand .glyph { font-size: 1.4rem; }

nav.site-nav { display: flex; gap: 18px; flex-wrap: wrap; }

nav.site-nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}

nav.site-nav a:hover, nav.site-nav a.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

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

main.legal-doc { max-width: 720px; }

h1 {
  color: var(--gold-light);
  font-size: 1.9rem;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.effective-date {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 32px;
}

h2 {
  color: var(--gold);
  font-size: 1.25rem;
  margin-top: 2.4em;
  margin-bottom: 0.6em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

h3 {
  color: var(--gold-light);
  font-size: 1.02rem;
  margin-top: 1.6em;
  margin-bottom: 0.4em;
}

p, li { color: var(--text); }
p { margin: 0.8em 0; }

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

ul, ol { padding-left: 1.4em; }
li { margin: 0.4em 0; }

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  margin: 1.2em 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 0.92rem;
}

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

th {
  color: var(--gold);
  font-weight: 700;
  border-bottom: 1px solid var(--gold);
}

td { color: var(--text-dim); }

.tag {
  display: inline-block;
  background: rgba(240, 193, 75, 0.12);
  color: var(--gold);
  border: 1px solid rgba(240, 193, 75, 0.35);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.contact-block {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 22px;
  margin-top: 1em;
}
.contact-block p { margin: 0.3em 0; }
.contact-block strong { color: var(--gold-light); }

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px 40px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}
footer.site-footer a { color: var(--text-dim); }
footer.site-footer a:hover { color: var(--gold-light); }

.hero {
  text-align: center;
  padding: 60px 24px 20px;
}
.hero .glyph-big { font-size: 3.2rem; }
.hero h1 { font-size: 2.4rem; margin: 12px 0 8px; }
.hero p.tagline { color: var(--text-dim); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }
.store-button {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 28px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--bg);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 0.15s, filter 0.15s;
}
.store-button:hover { color: var(--bg); filter: brightness(1.08); transform: translateY(-2px); }

.iab {
  max-width: 460px;
  margin: 22px auto 0;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-panel);
  font-size: 0.95rem;
}
.iab[hidden] { display: none; }
.iab p { margin: 0 0 12px; }
.store-button[hidden] { display: none; }
.iab { position: relative; text-align: left; }
.iab-title { font-weight: 700; font-size: 1.1rem; color: var(--gold-light); }
.iab ol { margin: 0 0 14px; padding-left: 22px; line-height: 1.7; }
.iab-arrow {
  position: fixed;
  top: 6px;
  right: 14px;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold-light);
  animation: iab-nudge 1.2s ease-in-out infinite;
}
@keyframes iab-nudge { 50% { transform: translate(4px, -4px); } }
.iab-button {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 16px;
  border: 1px solid var(--gold);
  border-radius: 10px;
  background: transparent;
  color: var(--gold-light);
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.link-grid a.link-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, transform 0.15s;
  display: block;
}
.link-grid a.link-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.link-grid a.link-card .link-title {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
  display: block;
}
.link-grid a.link-card .link-desc {
  color: var(--text-dim);
  font-size: 0.88rem;
}

@media (prefers-color-scheme: light) {
  /* Bewusst dunkel gehalten (Fantasy-Branding) — kein Light-Theme-Override */
}

/* 2026-11-08: the studio page (Cavebeer Entertainment) links here; the way back and the app's icon in the hero. */
.studio-back {
  display: block;
  padding: 10px 24px 0;
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}
.studio-back:hover { color: var(--gold-light); }
.hero .app-icon {
  width: 104px;
  height: 104px;
  border-radius: 24px;
  border: 1px solid rgba(240, 193, 75, 0.45);
  box-shadow: 0 0 34px rgba(240, 193, 75, 0.28), 0 10px 24px rgba(0, 0, 0, 0.5);
}
.hero h1 { margin-top: 18px; line-height: 1.15; }
