@import url('../../../css/typography.css');
/* Glamour Games - Landingpage | DoMeZos-Ware */
:root {
  --bg: #12082b;
  --bg-2: #1b0f3d;
  --card: #241450;
  --card-2: #2d1a63;
  --text: #f6f1ff;
  --muted: #cbbfe8;
  --cyan: #3df0ff;
  --pink: #ff58d8;
  --gold: #ffd24d;
  --green: #4cf29a;
  --orange: #ff9f43;
  --radius: 22px;
  --shadow: 0 12px 40px rgba(0, 0, 0, .45);
  --font: var(--font-body);
  --font-title: var(--font-heading);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(255, 88, 216, .22), transparent 60%),
    radial-gradient(900px 600px at 95% 8%, rgba(61, 240, 255, .18), transparent 60%),
    radial-gradient(1000px 700px at 50% 100%, rgba(76, 242, 154, .10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #1b0f3d; padding: 10px 16px; border-radius: 10px; z-index: 100; font-weight: 800; }
.skip:focus { left: 8px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* Sterne im Hintergrund */
.stars { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.stars span { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .6; animation: twinkle 4s ease-in-out infinite; }
.stars span:nth-child(1) { left: 6%; top: 18%; background: var(--cyan); }
.stars span:nth-child(2) { left: 18%; top: 62%; animation-delay: .8s; background: var(--pink); }
.stars span:nth-child(3) { left: 33%; top: 9%; animation-delay: 1.4s; }
.stars span:nth-child(4) { left: 47%; top: 78%; animation-delay: 2.1s; background: var(--gold); }
.stars span:nth-child(5) { left: 61%; top: 24%; animation-delay: .4s; }
.stars span:nth-child(6) { left: 74%; top: 55%; animation-delay: 1.7s; background: var(--green); }
.stars span:nth-child(7) { left: 88%; top: 14%; animation-delay: 2.6s; background: var(--pink); }
.stars span:nth-child(8) { left: 93%; top: 72%; animation-delay: 1s; background: var(--cyan); }
@keyframes twinkle { 0%, 100% { transform: scale(.6); opacity: .25; } 50% { transform: scale(1.4); opacity: .9; } }

main, header, footer { position: relative; z-index: 1; }

/* Kopf */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 8, 43, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; }
.brand img { width: 56px; height: 56px; }
.brand span { font-size: var(--text-base); line-height: 1.2; }
.brand small { display: block; font-weight: 600; color: var(--muted); font-size: var(--text-xs); }
.nav { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--text); text-decoration: none; font-weight: 800; padding: 8px 14px; border-radius: 999px; font-size: var(--text-base); }
.nav a:hover { background: rgba(255, 255, 255, .12); color: var(--gold); }
.nav a.cta { background: linear-gradient(135deg, var(--gold), var(--orange)); color: #2a1450; }
.nav a.cta:hover { color: #2a1450; filter: brightness(1.08); }

/* Hero */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; gap: 40px; grid-template-columns: 1.05fr 1fr; align-items: center; }
.badge {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: rgba(61, 240, 255, .14); border: 1px solid rgba(61, 240, 255, .5);
  color: var(--cyan); font-weight: 800; font-size: var(--text-base); margin-bottom: 14px;
}
h1 {
  margin: 0 0 10px;
  font-family: var(--font-title); font-style: italic; font-weight: 700;
  font-size: clamp(var(--text-4xl), 7vw, var(--text-display)); line-height: 1.05; letter-spacing: -.01em;
  background: linear-gradient(180deg, #fff3b0 0%, var(--gold) 45%, var(--orange) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 24px rgba(255, 210, 77, .35));
}
.lead { font-size: clamp(var(--text-lg), 2.4vw, var(--text-2xl)); color: var(--text); margin: 0 0 22px; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero-meta { color: var(--muted); font-size: var(--text-base); margin: 0; }
.hero-shot { position: relative; }
.hero-shot img.shot {
  border-radius: var(--radius); box-shadow: var(--shadow), 0 0 0 4px rgba(255, 255, 255, .12), 0 0 60px rgba(255, 88, 216, .35);
  transform: rotate(1.6deg); transition: transform .4s ease;
}
.hero-shot:hover img.shot { transform: rotate(0deg) scale(1.02); }
.hero-icon {
  position: absolute; left: -22px; bottom: -26px; width: 104px; height: 104px;
  border-radius: 24px; box-shadow: var(--shadow); animation: bob 3.6s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-10px) rotate(-3deg); } }

/* Knoepfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; min-height: 56px; border-radius: 999px; border: 0; cursor: pointer;
  font: inherit; font-weight: 900; font-size: var(--text-lg); text-decoration: none;
  color: #2a1450; background: linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: 0 8px 0 #b36a1c, 0 14px 28px rgba(0, 0, 0, .4);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn:hover { color: #2a1450; transform: translateY(2px); box-shadow: 0 6px 0 #b36a1c, 0 10px 22px rgba(0, 0, 0, .4); filter: brightness(1.06); }
.btn:active { transform: translateY(8px); box-shadow: 0 0 0 #b36a1c, 0 4px 10px rgba(0, 0, 0, .4); }
.btn.alt { background: linear-gradient(135deg, var(--cyan), #3da9ff); box-shadow: 0 8px 0 #1c6aa8, 0 14px 28px rgba(0, 0, 0, .4); }
.btn.alt:hover { box-shadow: 0 6px 0 #1c6aa8, 0 10px 22px rgba(0, 0, 0, .4); }
.btn.green { background: linear-gradient(135deg, var(--green), #2ec4b6); box-shadow: 0 8px 0 #1a8a73, 0 14px 28px rgba(0, 0, 0, .4); }
.btn.green:hover { box-shadow: 0 6px 0 #1a8a73, 0 10px 22px rgba(0, 0, 0, .4); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35); }
.btn.ghost:hover { color: var(--gold); box-shadow: inset 0 0 0 3px var(--gold); }
.btn svg { width: 24px; height: 24px; flex: none; }

/* Abschnitte */
section { padding: 64px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
h2 {
  margin: 0 0 12px; font-family: var(--font-title); font-style: italic; font-weight: 700;
  font-size: clamp(var(--text-3xl), 4.5vw, var(--text-4xl)); line-height: 1.15; color: var(--gold);
  text-shadow: 0 0 28px rgba(255, 210, 77, .35);
}
h3 { margin: 0 0 8px; font-size: var(--text-xl); line-height: 1.25; }
.section-head p { margin: 0; color: var(--muted); font-size: var(--text-xl); }

/* Vorteile */
.perks { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.perk {
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 24px; text-align: center;
}
.perk .ic {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px; display: grid; place-items: center;
  font-weight: 900; font-size: var(--text-3xl); color: #2a1450;
}
.perk:nth-child(1) .ic { background: var(--gold); }
.perk:nth-child(2) .ic { background: var(--cyan); }
.perk:nth-child(3) .ic { background: var(--pink); }
.perk:nth-child(4) .ic { background: var(--green); }
.perk p { margin: 0; color: var(--muted); font-size: var(--text-base); }

/* Spiele */
.games { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); padding: 0; margin: 0; list-style: none; }
.game {
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border-radius: var(--radius); overflow: hidden; border: 2px solid rgba(255, 255, 255, .1);
  display: flex; flex-direction: column; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.game:hover { transform: translateY(-6px) rotate(-.6deg); border-color: var(--c, var(--cyan)); box-shadow: 0 14px 40px rgba(0, 0, 0, .5), 0 0 30px var(--c, var(--cyan)); }
.game .thumb { all: unset; display: block; cursor: zoom-in; position: relative; }
.game .thumb:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.game img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.game .num {
  position: absolute; top: 10px; left: 10px; width: 40px; height: 40px; border-radius: 50%;
  background: var(--c, var(--cyan)); color: #1b0f3d; font-weight: 900; display: grid; place-items: center; font-size: var(--text-xl);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .5);
}
.game .txt { padding: 18px 20px 22px; }
.game h3 { color: var(--c, var(--cyan)); }
.game p { margin: 0; color: var(--muted); font-size: var(--text-base); }
.tag { display: inline-block; margin-top: 12px; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: var(--text-sm); font-weight: 800; color: var(--text); }

/* Galerie */
.gallery { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gallery figure { margin: 0; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); }
.gallery .thumb { all: unset; display: block; cursor: zoom-in; width: 100%; }
.gallery .thumb:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery figcaption { padding: 12px 16px 14px; color: var(--muted); font-size: var(--text-base); text-align: center; }

/* Download */
.dl-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.dl {
  background: linear-gradient(160deg, var(--card-2), var(--card)); border-radius: 28px; padding: 28px;
  border: 2px solid rgba(255, 255, 255, .14); display: flex; flex-direction: column; gap: 14px;
}
.dl.featured { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 210, 77, .15), 0 0 50px rgba(255, 210, 77, .18); }
.dl header { display: flex; align-items: center; gap: 16px; }
.dl header img { width: 72px; height: 72px; border-radius: 18px; flex: none; }
.dl h3 { margin: 0; font-size: var(--text-2xl); color: var(--text); }
.dl .for { margin: 0; color: var(--muted); font-size: var(--text-base); }
.dl ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: var(--text-base); }
.dl .actions { margin-top: auto; display: flex; flex-direction: column; gap: 14px; padding-top: 10px; }
.dl .fine { font-size: var(--text-base); color: var(--muted); margin: 0; text-align: center; }
.ribbon { align-self: flex-start; background: var(--gold); color: #2a1450; font-weight: 900; padding: 4px 14px; border-radius: 999px; font-size: var(--text-sm); }

.steps-wrap { margin-top: 48px; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.steps { background: rgba(255, 255, 255, .06); border-radius: var(--radius); padding: 24px 24px 20px; border: 1px solid rgba(255, 255, 255, .12); }
.steps h3 { color: var(--cyan); margin-bottom: 14px; }
.steps ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; min-height: 40px; color: var(--text); font-size: var(--text-base); }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), #b04bff); color: #fff; font-weight: 900; display: grid; place-items: center;
}

/* Eltern + Hinweise */
.notice {
  display: grid; gap: 28px; grid-template-columns: 1fr 1fr; background: linear-gradient(160deg, rgba(76, 242, 154, .14), rgba(61, 240, 255, .08));
  border: 2px solid rgba(76, 242, 154, .45); border-radius: 28px; padding: 32px;
}
.notice h3 { color: var(--green); }
.notice ul { margin: 0; padding-left: 20px; color: var(--text); }
.notice li { margin-bottom: 6px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: var(--card); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 24px; font-weight: 900; font-size: var(--text-lg); list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: var(--text-3xl); color: var(--gold); line-height: 1; flex: none; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] { border-color: var(--gold); }
.faq .ans { padding: 0 24px 20px; color: var(--muted); font-size: var(--text-lg); }
.faq .ans p { margin: 0 0 10px; }

/* Fuss */
.site-footer { margin-top: 40px; background: rgba(8, 3, 24, .75); border-top: 1px solid rgba(255, 255, 255, .12); padding: 40px 0 28px; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: auto 1fr auto; align-items: center; }
.foot-grid img { width: 120px; height: 120px; }
.foot-grid p { margin: 0; color: var(--muted); font-size: var(--text-base); }
.foot-grid strong { color: var(--text); }
.foot-links { display: flex; flex-direction: column; gap: 6px; }
.foot-links a { color: var(--text); font-weight: 800; text-decoration: none; }
.foot-links a:hover { color: var(--gold); text-decoration: underline; }
.copy { text-align: center; color: var(--muted); font-size: var(--text-sm); margin: 26px 0 0; }

/* Lightbox */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; }
dialog.lightbox::backdrop { background: rgba(5, 2, 16, .88); }
dialog.lightbox figure { margin: 0; }
dialog.lightbox img { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow); }
dialog.lightbox figcaption { text-align: center; color: var(--text); padding: 12px; font-weight: 800; }
dialog.lightbox .close { position: absolute; top: -14px; right: -6px; }
.close { width: 52px; height: 52px; min-height: 0; padding: 0; border-radius: 50%; font-size: var(--text-3xl); }

/* Rechtliche Seiten */
.legal { padding: 48px 0 24px; max-width: 820px; }
.legal h1 { font-size: clamp(var(--text-3xl), 6vw, var(--text-4xl)); }
.legal h2 { font-size: var(--text-2xl); margin-top: 32px; text-align: left; }
.legal p, .legal li { color: var(--text); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .hero-icon { left: auto; right: 10px; bottom: -30px; width: 84px; height: 84px; }
  .notice { grid-template-columns: 1fr; padding: 24px; }
  .foot-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .foot-links { align-items: center; }
}
@media (max-width: 640px) {
  body { font-size: var(--text-base); }
  .bar { flex-direction: column; align-items: stretch; gap: 4px; padding: 6px 0; }
  .brand { justify-content: center; }
  .nav { justify-content: center; }
  .nav a { padding: 6px 11px; font-size: var(--text-base); }
  section { padding: 44px 0; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .dl { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
