/* TATAZO landing: the glow-up sections.
   Loaded after styles.css and responsive.css. Self-contained: the "Play your way" banner (controller or
   mouse and keyboard) and the "Ways to play" world types section, with their own breakpoints. */

/* ============================================================================================
   Play your way: controller or mouse and keyboard (right under the ribbon)
   ============================================================================================ */
.playway { position: relative; z-index: 3; padding: 56px 0 8px; }
.pw-plate { position: relative; overflow: hidden; display: grid; grid-template-columns: 250px 1fr 250px; align-items: center; gap: 28px;
  padding: 38px 44px; border: 4px solid transparent; border-radius: 22px; color: #F4ECDA;
  background:
    radial-gradient(ellipse 45% 90% at 12% 50%, rgba(34,195,214,.30), rgba(34,195,214,0) 70%) padding-box,
    radial-gradient(ellipse 45% 90% at 88% 50%, rgba(231,181,60,.26), rgba(231,181,60,0) 70%) padding-box,
    linear-gradient(180deg, #1F4AA3, #173A8C 45%, #0F2A66) padding-box,
    var(--gframe) border-box;
  box-shadow: inset 0 0 0 3px #173A8C, inset 0 0 0 4.5px rgba(246,217,131,.75), 0 14px 34px rgba(20,40,95,.35), 0 0 0 6px rgba(231,181,60,.16); }
/* A slow shine across the gold frame and a sprinkle of stars. */
.pw-plate::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle, rgba(255,246,214,.9) 0 1.3px, transparent 2.2px) 23px 19px / 157px 121px,
    radial-gradient(circle, rgba(143,232,243,.8) 0 1px, transparent 1.9px) 81px 57px / 113px 97px,
    radial-gradient(circle, rgba(246,217,131,.9) 0 1.6px, transparent 2.6px) 131px 11px / 241px 173px; opacity: .55; }
.pw-plate::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; z-index: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,0), rgba(255,244,210,.16), rgba(255,255,255,0)); transform: skewX(-18deg);
  animation: pw-shine 7s ease-in-out infinite; }
@keyframes pw-shine { 0%, 55% { left: -40%; } 100% { left: 130%; } }
.pw-plate > * { position: relative; z-index: 1; }

.pw-dev { display: grid; justify-items: center; gap: 12px; text-align: center; }
.pw-dev .halo { position: relative; width: 196px; height: 196px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14), rgba(255,255,255,0) 68%); }
.pw-dev .halo::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 2px dashed rgba(246,217,131,.45); animation: pw-spin 40s linear infinite; }
.pw-dev.pad .halo { background: radial-gradient(circle, rgba(34,195,214,.35), rgba(34,195,214,0) 68%); }
.pw-dev.kb .halo { background: radial-gradient(circle, rgba(231,181,60,.32), rgba(231,181,60,0) 68%); }
.pw-dev img { width: 172px; height: 172px; filter: drop-shadow(0 10px 14px rgba(5,15,45,.55)); animation: pw-float 4.2s ease-in-out infinite; }
.pw-dev.kb img { animation-delay: -2.1s; }
.pw-dev b { font: 800 13px var(--caps); letter-spacing: .2em; text-transform: uppercase; color: #F6D983; padding: 5px 14px; border-radius: 999px;
  background: rgba(10,25,70,.55); box-shadow: inset 0 0 0 1.5px rgba(246,217,131,.6); }
@keyframes pw-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes pw-spin { to { transform: rotate(360deg); } }

.pw-mid { text-align: center; }
.pw-mid .kicker { color: #22C3D6; margin-bottom: 12px; }
.pw-mid h2 { font: 900 42px/1.16 var(--display); color: #FFF7E2; text-shadow: 0 2px 0 rgba(10,25,70,.6), 0 0 26px rgba(34,195,214,.25); }
.pw-mid h2 .or { display: inline-grid; place-items: center; width: 58px; height: 58px; margin: 0 10px; vertical-align: middle; border-radius: 50%;
  font: 900 18px var(--caps); letter-spacing: .06em; color: #14285F; background: linear-gradient(180deg, #FCE7A8, #E7B53C 60%, #CF9528);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 0 0 2px #A87318, 0 0 0 3px rgba(34,195,214,.6), 0 4px 12px rgba(0,0,0,.35); text-shadow: none; }
.pw-mid h2 .gold { white-space: nowrap; background: linear-gradient(180deg, #FFF1C2, #F0C95E 55%, #D9A441); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
  filter: drop-shadow(0 2px 0 rgba(10,25,70,.6)); }
.pw-mid p { max-width: 640px; margin: 16px auto 0; font: 18px/1.6 var(--sans); color: #D9E2F5; }
.pw-facts { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pw-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; font: 800 14.5px var(--sans); color: #FFF7E2;
  background: rgba(8,22,64,.5); box-shadow: inset 0 0 0 1.5px rgba(246,217,131,.55); }
.pw-facts li::before { content: ""; width: 16px; height: 16px; flex: none; background: url(img/gem.svg?v=dbd23718bf) center / contain no-repeat; }

/* ============================================================================================
   Ways to play: the six world types (painted cards, Codex art in the brand look)
   ============================================================================================ */
.modes .grid6 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.mcard { position: relative; display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: 20px;
  transition: transform .25s ease, box-shadow .25s ease; }
.mcard:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 3px var(--panel-a), inset 0 0 0 4.2px var(--panel-ring), 0 14px 28px var(--shadow-lg); }
.mcard.feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.45fr 1fr; }
.mcard .mpic { position: relative; height: 190px; border-bottom: 3px solid var(--gold-2); overflow: hidden; }
.mcard.feature .mpic { height: auto; min-height: 400px; border-bottom: 0; border-right: 3px solid var(--gold-2); }
.mcard.feature .mtxt { align-self: center; padding: 30px 38px; }
.mcard .mpic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mcard:hover .mpic img { transform: scale(1.04); }
.mcard .mpic .lbl { left: auto; right: 10px; }
.mtag { position: absolute; z-index: 3; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px 6px 10px; border-radius: 999px;
  font: 800 13px var(--caps); letter-spacing: .16em; text-transform: uppercase; color: #14285F; background: var(--mc, #7ED957);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 0 0 1.5px rgba(20,40,95,.35), 0 0 0 2.5px #F6D983, 0 4px 10px rgba(0,0,0,.3); }
.mtag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #14285F; box-shadow: 0 0 0 2px rgba(255,255,255,.7); }
.mcard .mtxt { padding: 18px 24px 22px; }
.mcard h3 { font: 700 23px/1.22 var(--serif); }
.mcard.feature h3 { font-size: 30px; }
.mcard p { font: 15.5px/1.55 var(--sans); color: var(--ink-soft); margin: 8px 0 0; }
.mcard.feature p { font-size: 17px; }
.mfacts { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mfacts li { padding: 3px 11px; border-radius: 999px; font: 800 12.5px var(--sans); color: var(--chip-ink); background: var(--chip-bg); box-shadow: inset 0 0 0 1.3px var(--chip-line); }
.mfor { font: 14px/1.45 var(--sans) !important; color: var(--ink-faint) !important; margin-top: 12px !important; }
.mfor b { color: var(--kicker-2); font-weight: 800; }
.m-adventure { --mc: #7ED957; } .m-explore { --mc: #4FD8C4; } .m-survival { --mc: #E5B46A; } .m-cozy { --mc: #FFB3D3; } .m-creative { --mc: #7CCDF2; }

/* The sixth type and the mix-your-own note, then the guide link. */
.mextra { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mnote { display: flex; gap: 16px; align-items: flex-start; border-radius: 20px; padding: 22px 24px; }
.mnote .pi { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; font-size: 24px; box-shadow: 0 0 0 3px #F6D983, 0 4px 8px rgba(0,0,0,.18); }
.mnote h3 { font: 700 20px/1.25 var(--serif); }
.mnote p { font: 15px/1.5 var(--sans); color: var(--ink-soft); margin: 6px 0 0; }
.modes .guide-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; margin-top: 40px; text-align: center; }
.modes .guide-cta p { margin: 0; font: 700 17px var(--sans); color: var(--ink-soft); }

/* ============================================================================================
   Breakpoints (the same steps as responsive.css)
   ============================================================================================ */
@media (max-width: 1180px) {
  .modes .grid6 { grid-template-columns: repeat(2, 1fr); }
  .mextra { grid-template-columns: 1fr 1fr; }
  .pw-plate { grid-template-columns: 180px 1fr 180px; padding: 32px 30px; gap: 20px; }
  .pw-dev .halo { width: 150px; height: 150px; }
  .pw-dev img { width: 132px; height: 132px; }
  .pw-mid h2 { font-size: 38px; }
}
@media (max-width: 1023px) {
  .playway { padding-top: 44px; }
  .pw-plate { grid-template-columns: 1fr 1fr; grid-template-areas: "pad kb" "mid mid"; row-gap: 8px; }
  .pw-dev.pad { grid-area: pad; } .pw-dev.kb { grid-area: kb; } .pw-mid { grid-area: mid; }
  .modes .grid6 { grid-template-columns: 1fr 1fr; }
  .mcard.feature { display: flex; }
  .mcard.feature .mpic { height: 340px; min-height: 0; border-right: 0; border-bottom: 3px solid var(--gold-2); }
  .mcard.feature .mtxt { padding: 20px 26px 24px; }
}
@media (max-width: 767px) {
  .playway { padding-top: 32px; }
  .pw-plate { padding: 24px 18px 26px; border-radius: 18px; }
  .pw-dev .halo { width: 120px; height: 120px; }
  .pw-dev img { width: 104px; height: 104px; }
  .pw-dev b { font-size: 11px; letter-spacing: .14em; padding: 4px 10px; }
  .pw-mid h2 { font-size: 30px; }
  .pw-mid h2 .or { width: 44px; height: 44px; font-size: 14px; margin: 0 6px; }
  .pw-mid p { font-size: 16px; }
  .pw-facts li { font-size: 13.5px; }
  .modes .grid6, .mextra { grid-template-columns: 1fr; gap: 20px; }
  .mcard.feature .mpic, .mcard .mpic { height: 220px; }
  .mcard.feature h3 { font-size: 26px; }
  .modes .guide-cta .btn { white-space: normal; height: auto; min-height: 58px; padding: 12px 22px; text-align: center; max-width: 100%; }
}
@media (max-width: 420px) {
  .pw-mid h2 { font-size: 26px; }
  .pw-dev .halo { width: 100px; height: 100px; }
  .pw-dev img { width: 88px; height: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .pw-plate::after, .pw-dev img, .pw-dev .halo::before { animation: none; }
  .mcard, .mcard .mpic img { transition: none; }
  .mcard:hover, .mcard:hover .mpic img { transform: none; }
}

/* Class skills (r-20260928-11): each tab shows an in-game shot of that class using a skill. The shot fills the
   art column (a square shot, cropped a little at the sides) and stays inside it: a square figure stretched to
   the text's height used to spill over the skills column. */
.skillsblock .spot .art { min-width: 0; overflow: hidden; }
.skillsblock .spot .art figure { width: 100%; height: 100%; aspect-ratio: auto; }
.skillsblock .spot .art img { object-fit: cover; }
@media (max-width: 1023px) {
  .skillsblock .spot .art figure { height: auto; aspect-ratio: 1 / 1; }
}

/* ============================================================================================
   The wardrobe's dress-up stage (r-20260928-112, owner's choice): one big Tatazo on a small
   stage. Pick a class, then a skin, and his outfit swaps; a slow turntable spin, a boy/girl
   toggle. Pictures are the game's own skin renders (dressup.js + dressup-data.js).
   ============================================================================================ */
.dressup { margin-top: 48px; display: grid; grid-template-columns: 420px 1fr; gap: 0; overflow: hidden; border-radius: 20px;
  background: linear-gradient(180deg, #1F2E5C, #131E42) padding-box, var(--gframe) border-box;
  border: 3px solid transparent; box-shadow: inset 0 0 0 3px #16224A, inset 0 0 0 4.2px rgba(217,164,65,.5), 0 14px 34px var(--shadow-lg); }
.du-stage { position: relative; min-height: 460px; display: flex; align-items: center; justify-content: center; overflow: hidden;
  border-right: 3px solid var(--gold-2); perspective: 900px; }
.du-glow { position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 62% 58% at 50% 62%, rgba(95,224,234,.28), rgba(95,224,234,0) 70%); }
.du-disc { position: absolute; left: 50%; bottom: 58px; width: 220px; height: 34px; margin-left: -110px; z-index: 1; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(246,217,131,.5), rgba(246,217,131,0) 72%);
  animation: du-disc-pulse 6s ease-in-out infinite; }
.du-figure { position: relative; z-index: 2; width: auto; height: 78%; max-height: 400px; object-fit: contain;
  filter: drop-shadow(0 18px 16px rgba(0,0,0,.4));
  animation: du-spin 7s ease-in-out infinite; transform-style: preserve-3d; }
@keyframes du-spin { 0%, 100% { transform: rotateY(-20deg); } 50% { transform: rotateY(20deg); } }
@keyframes du-disc-pulse { 0%, 100% { opacity: .7; transform: scaleX(1); } 50% { opacity: 1; transform: scaleX(1.08); } }
.du-stage .lbl { z-index: 3; }
.du-gender { position: absolute; z-index: 3; top: 16px; right: 16px; display: flex; padding: 3px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(10,25,70,.6); box-shadow: inset 0 0 0 1.5px rgba(246,217,131,.55); }
.du-gender .opt { padding: 6px 14px; border-radius: 999px; font: 800 12.5px var(--caps); letter-spacing: .1em; text-transform: uppercase; color: #9FAED3; }
.du-gender[aria-pressed="false"] .opt.boy, .du-gender[aria-pressed="true"] .opt.girl {
  color: #14285F; background: linear-gradient(180deg, #FBE6A6, #EBC260); }
.du-panel { padding: 34px 40px; display: flex; flex-direction: column; }
.du-classes { display: flex; gap: 8px; flex-wrap: wrap; }
.du-classes button { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.06); color: #C3CBE0; font: 800 13.5px var(--caps); letter-spacing: .06em; text-transform: uppercase;
  box-shadow: inset 0 0 0 1.5px rgba(217,164,65,.28); transition: background .2s, color .2s, box-shadow .2s; }
.du-classes img { width: 30px; height: 30px; border-radius: 50%; background: #0F2250; }
.du-classes button:hover { color: #F6D983; }
.du-classes button:focus-visible { outline: 2px solid #22C3D6; outline-offset: 2px; }
.du-classes button[aria-selected="true"] { color: #14285F; background: linear-gradient(180deg, #FBE6A6, #EBC260);
  box-shadow: inset 0 0 0 1.5px #A87318, 0 0 0 3px rgba(34,195,214,.45); }
.du-name { margin-top: 26px; font: 700 30px/1.2 var(--serif); color: #F6D983; }
.du-blurb { margin-top: 8px; font: 17px/1.55 var(--sans); color: #D9E2F5; min-height: 3em; }
.du-swatches { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fill, 42px); gap: 10px; }
.du-sw { width: 42px; height: 42px; border-radius: 50%; padding: 0; cursor: pointer; border: 0;
  box-shadow: inset 0 0 0 2px rgba(10,20,50,.35), 0 2px 6px rgba(0,0,0,.25); transition: transform .15s, box-shadow .15s; }
.du-sw:hover { transform: translateY(-2px); }
.du-sw:focus-visible { outline: 2px solid #22C3D6; outline-offset: 3px; }
.du-sw.free::after { content: ""; display: block; width: 8px; height: 8px; margin: -2px 0 0 28px; border-radius: 50%;
  background: #5BE08A; box-shadow: 0 0 0 2px #16224A; }
.du-sw[aria-selected="true"] { box-shadow: 0 0 0 2.5px #F6D983, 0 0 0 5px rgba(231,181,60,.4), 0 4px 10px rgba(0,0,0,.3); transform: translateY(-2px); }
@media (max-width: 1023px) {
  .dressup { grid-template-columns: 1fr; }
  .du-stage { border-right: 0; border-bottom: 3px solid var(--gold-2); min-height: 380px; }
  .du-panel { padding: 28px 26px 32px; }
}
@media (max-width: 767px) {
  .du-stage { min-height: 320px; }
  .du-figure { height: 70%; }
  .du-name { font-size: 25px; }
  .du-swatches { grid-template-columns: repeat(auto-fill, 38px); gap: 8px; }
  .du-sw { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .du-figure, .du-disc { animation: none; }
}
