.world-juego {
  --paper: #ffecbd;
  --ink: #70243c;
  --accent: #b94423;
  --line: #c28d71;
  --display: Bricolage, sans-serif;
}
.world-juego .world-brand {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.09em;
}
.world-juego .world-brand > span {
  letter-spacing: 0;
}
.miga-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0 5rem;
}
.miga-copy h1 {
  font-size: clamp(4.5rem, 7.5vw, 8.5rem);
  letter-spacing: -0.07em;
  font-weight: 800;
  line-height: 0.95;
}
.miga-copy h1 > span {
  display: inline-block;
  transform: rotate(-4deg);
  font-size: 1.25em;
  text-decoration: underline;
  text-decoration-thickness: 0.04em;
  text-underline-offset: 0.06em;
}
.miga-copy > p:not(.eyeline) {
  font-size: 1.15rem;
  margin-block: 2rem;
}
.hand-note {
  display: block;
  font-size: 0.8rem;
  margin-top: 1.5rem;
  transform: rotate(-3deg);
  transform-origin: left;
}
.cake-scene {
  position: relative;
  text-align: center;
  padding-top: 2rem;
}
.cake-plate {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 6%;
  background: repeating-conic-gradient(#fff8e6 0deg 6deg, #f1cf91 6deg 7deg);
  box-shadow: 0 25px 45px #70331624;
  transform: rotate(7deg);
}
.hero-cake {
  height: 100%;
  width: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.cake-plate canvas {
  position: absolute;
  inset: 6%;
  width: 88%;
  height: 88%;
  border-radius: 50%;
  pointer-events: none;
}
.cake-seal {
  position: absolute;
  right: -0.5rem;
  top: 0;
  background: #70243c;
  color: #ffecbd;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  display: grid;
  place-content: center;
  font: 700 1.7rem/0.95 Bricolage;
  transform: rotate(14deg);
  border: 7px double #ffecbd;
  box-shadow: 0 0 0 2px #70243c;
}
.cake-spark {
  position: absolute;
  left: -1rem;
  top: -1rem;
  color: #b94423;
  transform: rotate(-15deg);
}
.cake-spark svg {
  width: 5rem;
  height: 5rem;
}
.sugar-button {
  position: relative;
  border-radius: 50px;
  background: #fff8e6;
  border: 1px solid #70243c;
  padding: 0.85rem 1.4rem;
  margin-top: 2rem;
  box-shadow: 0 5px 0 #70243c;
  font-weight: 600;
  min-height: 3rem;
  transition:
    translate 0.2s,
    box-shadow 0.2s;
}
.sugar-button:hover {
  translate: 0 3px;
  box-shadow: 0 2px 0 #70243c;
}
.sugar-button span {
  margin-left: 0.6rem;
}
.sugar-hint {
  font-size: 0.75rem;
  margin: 1.3rem auto 0;
}
.miga-ribbon {
  background: #70243c;
  color: #ffecbd;
  padding: 1.1rem 0;
  overflow: hidden;
  transform: rotate(-2deg);
  width: 100%;
  font: 700 clamp(1.3rem, 3vw, 2.5rem) Bricolage;
  white-space: nowrap;
}
.miga-ribbon > span {
  display: block;
  animation: ribbon 20s linear infinite;
  width: max-content;
}
@keyframes ribbon {
  to {
    transform: translateX(-33.333%);
  }
}
.miga-vitrine {
  padding-block: var(--section);
}
.vitrine-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}
.vitrine-heading h2 {
  font-weight: 700;
}
.vitrine-heading > p {
  font-size: 1.1rem;
}
.sweet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.sweet-card {
  border: 1px solid #ba8b70;
  border-radius: 1.4rem;
  background: #fff5d9;
  padding: 1rem;
  transition: transform 0.3s;
  position: relative;
}
.sweet-card:hover {
  transform: translateY(-8px) rotate(-1deg);
}
.sweet-card:nth-child(2) {
  margin-top: 2rem;
  margin-bottom: -2rem;
  background: #f2bdca;
}
.sweet-card:nth-child(3) {
  background: #e8d69b;
}
.sweet-image {
  position: relative;
  aspect-ratio: 1.1;
}
.sweet-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 0.8rem;
}
.sweet-canela .sweet-image img {
  border-radius: 50%;
}
.sweet-price {
  position: absolute;
  right: -0.2rem;
  top: -0.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 3.8rem;
  height: 3.8rem;
  background: #70243c;
  color: #fff5d9;
  font: 600 1.2rem Bricolage;
  transform: rotate(10deg);
}
.sweet-copy {
  padding: 0.8rem 0.5rem;
}
.sweet-copy > p {
  font-size: 0.8rem;
}
.sweet-copy h3 {
  font-size: clamp(1.4rem, 2vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-top: 0.5rem;
}
.sweet-add {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  width: 100%;
  border-top: 1px solid #ba8b70;
  padding: 1rem 0 0.2rem;
  margin-top: 1.3rem;
  font-weight: 600;
}
.sweet-add span {
  font-size: 1.8rem;
}
.box-section {
  background: #f1bdcb;
  padding-block: var(--section);
}
.box-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.box-layout h2 {
  font-weight: 800;
}
.box-layout > div > p:not(.eyeline) {
  margin-top: 1.5rem;
  max-width: 32ch;
}
.sweet-box {
  border: 2px solid #70243c;
  padding: 1.5rem;
  background: #fff1d3;
  border-radius: 1rem;
  box-shadow: 10px 10px 0 #70243c;
  transform: rotate(2deg);
}
.box-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 1rem;
  font-size: 0.9rem;
}
.box-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.box-slot {
  aspect-ratio: 1;
  border: 1px dashed #a76365;
  border-radius: 0.5rem;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  color: #ad7073;
  background: #f5e5c6;
  position: relative;
}
.box-slot > span {
  font-family: Georgia;
  font-weight: 400;
}
.box-slot img {
  width: 90%;
  height: 90%;
  border-radius: 50%;
  object-fit: cover;
}
.box-slot button {
  position: absolute;
  right: -0.3rem;
  top: -0.3rem;
  background: #70243c;
  color: #fff;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 1.2rem;
}
.box-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  align-items: center;
  font-size: 0.8rem;
}
.box-bottom strong {
  display: block;
  font: 700 2rem Bricolage;
}
.box-status {
  font-size: 0.8rem;
  margin-top: 1rem;
  min-height: 2.5em;
}
.miga-story {
  padding-block: var(--section);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.story-photo {
  rotate: -4deg;
  background: #fff7e1;
  padding: 1rem 1rem 3rem;
  box-shadow: 0 20px 30px #70243c18;
}
.story-photo img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}
.miga-story h2 {
  font-weight: 700;
}
.miga-story p:not(.eyeline) {
  margin-top: 2rem;
}
.miga-story .line-link {
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .miga-hero {
    gap: 2rem;
  }
  .miga-copy h1 {
    font-size: clamp(3.7rem, 8vw, 6rem);
  }
  .cake-seal {
    width: 5.5rem;
    height: 5.5rem;
    font-size: 1.2rem;
  }
  .cake-spark svg {
    width: 3.5rem;
    height: 3.5rem;
  }
  .sweet-grid {
    gap: 1rem;
  }
  .sweet-card {
    padding: 0.6rem;
  }
  .box-layout,
  .miga-story {
    gap: 3rem;
  }
}
@media (max-width: 600px) {
  .miga-hero {
    grid-template-columns: 1fr;
    padding-top: 1.5rem;
    gap: 3rem;
  }
  .miga-copy h1 {
    font-size: clamp(4rem, 17vw, 6rem);
  }
  .miga-copy > p:not(.eyeline) {
    font-size: 1rem;
  }
  .cake-scene {
    width: min(100%, 420px);
    margin: auto;
    padding: 1rem;
  }
  .cake-seal {
    right: 0;
  }
  .vitrine-heading {
    display: block;
  }
  .vitrine-heading > p {
    margin-top: 1.5rem;
  }
  .sweet-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .sweet-card {
    padding: 1rem;
  }
  .sweet-card:nth-child(2) {
    margin: 0;
  }
  .sweet-image {
    aspect-ratio: 1.25;
  }
  .sweet-copy h3 {
    font-size: 2rem;
  }
  .box-layout,
  .miga-story {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .sweet-box {
    padding: 1rem;
    box-shadow: 6px 6px 0 #70243c;
    transform: none;
  }
  .box-slots {
    gap: 0.5rem;
  }
  .miga-story {
    padding-inline: 0.6rem;
  }
  .story-photo {
    rotate: -2deg;
  }
}

.ribbon-shell {
  overflow: hidden;
  padding-block: 1.8rem;
  margin-block: -1.8rem;
}
.world-juego .demo-note {
  opacity: 1;
}

@media (max-width: 600px) {
  .miga-hero {
    gap: 2rem;
  }
  .miga-copy h1 {
    font-size: clamp(3.7rem, 15vw, 5.5rem);
  }
  .miga-copy > p:not(.eyeline) {
    margin-block: 1.3rem;
  }
  .miga-copy .hand-note {
    display: none;
  }
}
