.games-main { position: relative; z-index: 2; width: min(1100px, calc(100% - 3rem)); margin: 0 auto; padding-top: 1rem; }
.games-welcome { text-align: center; padding: 1.5rem 0 2.2rem; }
.games-welcome .eyebrow { margin: 0 0 1rem; color: #e6bbef; }
.games-welcome h1 { margin: 0 0 1rem; color: var(--gold-bright); font-size: clamp(2.8rem, 6vw, 4.8rem); }
.games-welcome > p:last-child { color: #e6d8ed; margin: 0; font-size: 1.1rem; line-height: 1.7; }
.memory-invitation { position: relative; isolation: isolate; border: 1px solid #f3ce836e; border-radius: 3rem 5rem 3.5rem 5rem; background: radial-gradient(ellipse at 12% 20%, #23638c50, transparent 60%), radial-gradient(ellipse at 95% 85%, #ae416c40, transparent 60%), linear-gradient(145deg, #302151ee, #231039f5); box-shadow: 0 0 0 5px #c990d20b, 0 15px 55px #05001455; padding: clamp(1.6rem, 4vw, 3rem); }
.memory-invitation::before { content: ""; position: absolute; pointer-events: none; z-index: -1; inset: 10px; border: 1px solid #f7d89024; border-radius: 2.5rem 4.5rem 3rem 4.5rem; }
.memory-art { position: relative; display: flex; align-items: center; justify-content: center; max-width: 850px; margin: .6rem auto 1.8rem; padding: 1.2rem .2rem; }
.motif { position: relative; margin: 0; width: 34%; flex-shrink: 0; border: 2px solid #ffe4a6b0; padding: 6px; background: #e9ba6a20; border-radius: 1.4rem 2rem 1.5rem 2rem; box-shadow: 0 10px 25px #04011766; }
.motif img { display: block; width: 100%; height: auto; border-radius: 1rem 1.6rem 1.1rem 1.6rem; }
.motif figcaption { text-align: center; font-size: .72rem; color: #fff3d0; padding: 8px 2px 3px; }
.motif-ship { transform: rotate(-7deg); margin-right: -1.8%; }
.motif-rocket { transform: translateY(-.4rem); z-index: 2; }
.motif-snow { transform: rotate(7deg); margin-left: -1.8%; }
.art-spark { position: absolute; color: #ffdf93; text-shadow: 0 0 20px #ffc36d66; }
.spark-left { font-size: 2.5rem; bottom: 2%; left: -2%; }
.spark-right { font-size: 2rem; top: -5%; right: 0; }
.memory-copy { max-width: 650px; margin: auto; text-align: center; }
.game-size { display: flex; justify-content: center; align-items: center; gap: 1rem; color: #e9c8f1; font-size: .85rem; margin: 0 0 1.1rem; }
.game-size span { color: #f9d894; }
.memory-copy h2 { margin: 0 0 1rem; font-size: clamp(1.7rem, 4vw, 2.8rem); color: #fff1c8; }
.memory-copy > p:not(.game-size) { color: #e6dced; line-height: 1.75; }
.game-start { margin: .9rem 0 .3rem; gap: .8rem; font: 1rem/1.4 var(--heading); padding: 1rem 1.8rem; min-height: 56px; }
.game-heading .game-start { margin-inline: auto; }
.memory-copy .game-kind-note { font-size: .85rem; margin-top: 1rem; }
.game-howto { padding: 3rem 1rem 1.5rem; text-align: center; }
.game-howto h2 { font-size: 1.45rem; color: var(--gold-bright); margin: 0 0 1.5rem; }
.game-howto ol { list-style: none; display: flex; justify-content: center; align-items: center; gap: 2rem; padding: 0; margin: 0; }
.game-howto li { display: flex; align-items: center; gap: .7rem; font-size: .95rem; color: #e9def0; }
.step-number { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; color: #ffe2a3; border: 1px solid #ebc78377; border-radius: 45% 55% 48% 52%; background: #63408366; font-family: var(--heading); }
.games-story-link { text-align: center; color: #cfbddb; font-size: .9rem; line-height: 1.8; margin: 1rem 0 3rem; }
.games-story-link a { display: block; color: #ffdf9f; text-underline-offset: .3em; }
.puzzle-invitation { margin: 2.5rem 0; background: radial-gradient(ellipse at 12% 20%,#ab674b45,transparent 60%),radial-gradient(ellipse at 95% 85%,#5356b94d,transparent 60%),linear-gradient(145deg,#302151ee,#231039f5); }
.puzzle-art { display: flex; align-items: center; justify-content: center; gap: 1rem; max-width: 780px; margin: .5rem auto 2.2rem; }
.puzzle-art img { display: block; width: 27%; height: auto; border: 2px solid #ffe4a6b0; border-radius: 1rem; box-shadow: 0 10px 25px #04011766; }
.puzzle-art img:first-child { transform: rotate(-7deg); }
.puzzle-art img:nth-child(2) { width: 37%; z-index: 1; }
.puzzle-art img:last-child { transform: rotate(7deg); }
@media(max-width: 700px) {
  .games-main { width: calc(100% - 1.7rem); padding-top: 1rem; }
  .games-welcome { padding-bottom: 1.6rem; }
  .games-welcome > p:last-child { font-size: .98rem; }
  .memory-invitation { padding: 1.5rem 1.1rem; border-radius: 2rem 3rem 2rem 3rem; }
  .memory-invitation::before { border-radius: 1.6rem 2.6rem 1.6rem 2.6rem; inset: 7px; }
  .motif { padding: 3px; border-width: 1px; border-radius: 12px 17px 12px 17px; }
  .motif img { border-radius: 9px 14px 9px 14px; }
  .motif figcaption { font-size: .55rem; padding: 5px 1px 3px; }
  .memory-art { margin-bottom: 1rem; padding: 1rem 0; }
  .spark-left { font-size: 1.5rem; }
  .spark-right { font-size: 1.4rem; }
  .memory-copy > p:not(.game-size) { font-size: .95rem; }
  .game-howto { padding-top: 2.2rem; }
  .game-howto ol { flex-direction: column; gap: .9rem; align-items: flex-start; width: fit-content; margin: auto; }
}

/* Four original characters introduce the expanded memory. */
.memory-art .motif { width: 26%; }
.memory-art .motif img { background: radial-gradient(ellipse, #fffaf0, #e9dcf6); padding: 5%; }
.motif-onion { transform: rotate(5deg); margin-left: -1.8%; }
.motif-snow { transform: rotate(-3deg); }
@media(max-width: 600px) { .memory-art { flex-wrap: wrap; gap: 13px; } .memory-art .motif { width: 43%; margin: 0; } .motif figcaption { font-size: .75rem; } }

.quatsch-invitation { margin: 2.5rem 0; background: radial-gradient(ellipse at 12% 30%,#3a9c9145,transparent 60%),radial-gradient(ellipse at 95% 85%,#ae416c40,transparent 60%),linear-gradient(145deg,#302151ee,#231039f5); }
.quatsch-art { display:flex; justify-content:center; align-items:center; gap:30px; max-width:700px; margin:15px auto 30px; }
.quatsch-art img { width:40%; max-height:310px; object-fit:contain; }
.quatsch-art>div { max-width:340px; background:#fff0d8; color:#583a61; padding:24px; border-radius:25px 34px 28px 10px; transform:rotate(2deg); }
.quatsch-art p { font:clamp(16px,2.5vw,24px)/1.65 var(--heading); margin:12px 0; }
.quatsch-mini-label { font-size:11px; color:#855c86; }
@media(max-width:600px){.quatsch-art{gap:10px}.quatsch-art>div{padding:15px}.quatsch-art img{width:38%}.quatsch-art p{font-size:15px}.quatsch-mini-label{font-size:9px}}

.seek-invitation{margin:2.5rem 0;background:radial-gradient(ellipse at 20% 20%,#3e80724d,transparent 60%),linear-gradient(145deg,#302151ee,#231039f5)}.seek-art{max-width:850px;margin:18px auto 26px}.seek-art img{width:100%;height:auto;display:block;border-radius:22px 35px 23px 32px;border:2px solid #e6c78980;box-shadow:0 12px 30px #09051c66}

/* Four spacious, individually framed play worlds. */
.games-main { width:min(1200px,calc(100% - 4rem)); }
.games-welcome { padding-bottom:calc(5rem + 115px); }
.memory-invitation { --frame-a:#6ee1d7; --frame-b:#c48af6; --frame-c:#f49abe; --title-height:230px; --title-width:580px; --title-angle:-3deg; width:92%; margin:0 auto; padding:clamp(2rem,5vw,4rem); padding-top:calc(var(--title-height) / 2 + 1.7rem); border:3px solid transparent; border-radius:70px 110px 85px 55px / 55px 80px 65px 95px; background:linear-gradient(135deg,#233749,#302044 55%,#38223d) padding-box,linear-gradient(140deg,var(--frame-a),var(--frame-b) 43%,var(--frame-c) 72%,#ffd88d) border-box; box-shadow:0 22px 65px #08001766,0 0 45px #ad83e514; }
.memory-invitation::before { inset:11px; border-radius:inherit; border-color:#ffe8bc25; }
.memory-invitation + .memory-invitation { margin-top:calc(clamp(150px,18vw,240px) + var(--title-height) / 2); }
.memory-invitation::after { content:'✧   ·   ✦   ·'; position:absolute; bottom:-116px; left:50%; color:#dac0e7; font-size:25px; letter-spacing:18px; transform:translateX(-50%) rotate(-14deg); pointer-events:none; }
.puzzle-invitation { width:94%; --frame-a:#ffc878; --frame-b:#f68fbb; --frame-c:#9a98fa; --title-height:270px; --title-width:690px; --title-angle:2deg; border-radius:100px 55px 110px 70px / 70px 100px 65px 85px; }
.quatsch-invitation { width:89%; --frame-a:#a8ee90; --frame-b:#62d9ce; --frame-c:#d390f2; --title-height:245px; --title-width:610px; --title-angle:-2deg; border-radius:60px 105px 65px 100px / 90px 65px 100px 60px; }
.seek-invitation { width:95%; --frame-a:#d09bff; --frame-b:#6cdcca; --frame-c:#ffbd83; --title-height:260px; --title-width:660px; --title-angle:2.5deg; border-radius:100px 65px 95px 60px / 60px 90px 65px 95px; }
.seek-invitation::after { content:none; }
.versteck-invitation { --title-height: 270px; --title-width: 720px; }
.game-heading { max-width:760px; margin-bottom:2.5rem; }
.memory-copy .game-title-frame { position:absolute; top:-1.5px; left:50%; z-index:1; isolation:isolate; display:grid; place-items:center; width:min(calc(100% - 2rem),var(--title-width)); height:var(--title-height); padding:40px 65px; margin:0; color:#fff0c9; font-size:clamp(1.8rem,3.4vw,2.8rem); line-height:1.35; transform:translate(-50%,-50%) rotate(var(--title-angle)); border:18px solid transparent; border-radius:44% 56% 45% 55% / 57% 46% 54% 43%; background:radial-gradient(ellipse at 28% 26%,#3e355a,#281d3c 75%) padding-box,linear-gradient(125deg,#ff6200,#ffad19 48%,#ff7b00 82%,#ffcb42) border-box; box-shadow:0 0 13px 3px #dfff9866,0 0 34px 8px #b7ff5c55,0 0 65px 12px #c9ff622b,0 14px 30px #10081d44; text-shadow:0 2px 5px #09041470,0 0 22px #ffe0a51f; }
.game-title-frame span { display:block; text-wrap:balance; }
.puzzle-invitation .game-title-frame { padding-inline:76px; border-radius:52% 48% 43% 57% / 46% 56% 44% 54%; }
.quatsch-invitation .game-title-frame { border-radius:43% 57% 53% 47% / 54% 43% 57% 46%; }
.seek-invitation .game-title-frame { border-radius:54% 46% 47% 53% / 43% 55% 45% 57%; }
.game-howto { margin:2.6rem auto 0; border-top:1px solid #edd8ff26; padding:2rem 0 0; }
.game-howto h2 { font-size:1.2rem; }
.game-howto ol { gap:1.4rem; flex-wrap:wrap; }
.game-howto li { font-size:.85rem; }
.puzzle-art { max-width:900px; margin:1.5rem auto 3rem; }
.puzzle-art img { width:29%; }
.puzzle-art img:nth-child(2) { width:39%; }
.seek-art { margin:1.5rem auto 3rem; }
.games-story-link { margin:5rem auto 4rem; }
@media(max-width:700px) {
 .games-main { width:calc(100% - 1.8rem); }
 .games-welcome { padding-bottom:calc(3.5rem + 95px); }
 .memory-invitation,.puzzle-invitation,.quatsch-invitation,.seek-invitation { --title-height:190px; width:100%; padding:calc(var(--title-height) / 2 + 1.3rem) 1rem 2rem; border-radius:35px 55px 40px 50px; }
 .memory-invitation + .memory-invitation { margin-top:calc(130px + var(--title-height) / 2); }
 .memory-invitation::after { bottom:-90px; font-size:20px; letter-spacing:12px; }
 .memory-copy .game-title-frame { padding:25px 16px; border-width:12px; font-size:clamp(1.35rem,5.3vw,2rem); }
 .puzzle-invitation { --title-height:230px; }
 .quatsch-invitation .game-title-frame { padding-inline:12px; font-size:clamp(1.25rem,5.3vw,2rem); }
 .seek-invitation, .versteck-invitation { --title-height:220px; }
 .game-heading { margin-bottom:1.8rem; }
 .game-start { padding:.9rem 1.1rem; font-size:.93rem; }
 .game-size { gap:.55rem; font-size:.75rem; flex-wrap:wrap; }
 .game-howto ol { align-items:flex-start; }
 .puzzle-art { gap:.35rem; }
 .games-story-link { margin-top:3.5rem; }
}

/* The colour game continues the spacious, organic game frames. */
.farbentag-invitation{--title-height:265px;--title-width:660px;--title-angle:-2deg;--frame-a:#ef99ba;--frame-b:#7bdaca;--frame-c:#ffdc8d;width:91%;border-radius:65px 110px 75px 95px / 95px 65px 110px 70px}
.farbentag-invitation::after{content:none}.farbentag-art{position:relative;max-width:780px;margin:0 auto 28px}.farbentag-art>img:first-child{display:block;width:100%;height:auto}.farbentag-art .farbentag-sana{position:absolute;left:49.5%;top:52%;width:22%;height:auto;transform:translate(-50%,-50%);filter:drop-shadow(0 6px 10px #14082066)}
@media(max-width:700px){.farbentag-invitation{width:100%;--title-height:220px;border-radius:40px 55px 40px 50px}.farbentag-art{margin-bottom:18px}}

/* Lotta's separate Korea special keeps the generous spacing and orange game frame. */
.korea-invitation{--title-height:255px;--title-width:660px;--title-angle:2deg;--frame-a:#31cdb6;--frame-b:#f877b5;--frame-c:#ffd568;width:94%;border-radius:95px 65px 100px 60px / 65px 100px 75px 90px}.korea-invitation .game-title-frame{border-radius:49% 51% 57% 43% / 43% 57% 44% 56%}.korea-dedication{font-family:var(--heading);color:#ffd3e1!important;font-size:.9rem}.korea-preview{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:center;gap:13px;max-width:850px;margin:15px auto 38px;padding:10px 0}.korea-preview img{display:block;width:100%;height:auto;border:3px solid #f7d4e2;border-radius:20px;box-shadow:0 9px 20px #09051f55;transform:rotate(-8deg)}.korea-preview img:nth-child(2n){transform:translateY(-8px) rotate(7deg)}.korea-preview img:nth-child(3){transform:rotate(-3deg)}
@media(max-width:700px){.korea-invitation{width:100%;--title-height:215px;border-radius:45px 35px 50px 40px}.korea-preview{grid-template-columns:repeat(3,minmax(0,1fr));max-width:360px;gap:15px;margin-bottom:28px}.korea-preview img{border-radius:14px}.korea-dedication{font-size:.78rem}}

/* Self-discovery maths, matching the established organic game frames. */
.mathe-invitation{--title-height:245px;--title-width:650px;--frame-a:#cde99b;--frame-b:#f4a0cb;--frame-c:#ffc083}.mathe-preview{display:block;max-width:850px;margin:0 auto 25px}.mathe-preview img{width:100%;height:auto;display:block;border-radius:30px 40px 35px 45px}.mathe-invitation .game-start{background:#d9ed9a;color:#322344}@media(max-width:700px){.mathe-invitation{--title-height:210px;width:100%}}

.lichtung-preview {
  width: min(100%, 680px);
  margin: 20px auto 32px;
  padding: 12px;
  border: 4px solid #ffe7ae;
  border-radius: 38px 54px 35px 46px;
  background: linear-gradient(90deg, #fff1bd29, #fff1bd08), url('../spielen/wimmelbild/assets/huether/garten-vorschau.webp') center / cover;
  box-shadow: 4px 7px 0 #bada78, 0 14px 30px #190c3538;
}
.lichtung-preview img {
  display: block;
  width: auto;
  height: clamp(185px, 24vw, 270px);
  margin: auto;
  filter: drop-shadow(2px 4px 4px #49384d55);
}

.hof-preview{display:block;width:min(100%,720px);margin:0 auto;border-radius:28px;overflow:hidden;box-shadow:0 5px 0 #b8d982}
.hof-preview img{display:block;width:100%;height:auto;max-height:340px;object-fit:cover;object-position:center 40%}
