/*LACITO ARCHIVES*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Courier New", monospace;
  color: #7f6f72;
  background-color: #fff7fa;
  background-image:
    linear-gradient(45deg, rgba(255, 182, 204, 0.25) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 182, 204, 0.25) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 182, 204, 0.25) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 182, 204, 0.25) 75%);
  background-size: 28px 28px;
  background-position: 0 0, 0 14px, 14px -14px, -14px 0px;
  overflow-x: hidden;
}

/*DECORACIONES DE FONDO*/

.background-decoration {
  pointer-events: none;
}

.wing {
  position: absolute;
  top: 55px;
  font-size: 55px;
  color: #d8d8d8;
  opacity: 0.8;
}

.wing-left {
  left: 23%;
}

.wing-right {
  right: 23%;
}

/*HEADER*/

.top-banner {
  width: min(720px, 90%);
  margin: 35px auto 25px;
  padding: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  border: 2px dashed #f4a9c0;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(244, 169, 192, 0.35);
  position: relative;
}

.mini-text {
  font-size: 11px;
  color: #c8a4ae;
  margin-bottom: 4px;
}

.top-banner h1 {
  font-size: clamp(36px, 7vw, 70px);
  color: #b68f98;
  letter-spacing: 2px;
  text-shadow: 2px 2px #ffe1eb;
}

.top-banner p {
  margin-top: 8px;
  font-size: 13px;
  color: #9d858b;
}

/*LAYOUT GENERAL*/

.layout {
  width: min(1050px, 92%);
  margin: 0 auto 90px;
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  gap: 25px;
  align-items: start;
}

/*CARDS BASE*/

.side-card,
.main-card,
.magazine-card,
.info-card,
.gallery-card,
.current-issue-card,
.archive-card,
.updates-card {
  background: rgba(255, 255, 255, 0.88);
  border: 2px solid #ffd6e2;
  border-radius: 22px;
  box-shadow: 0 8px 25px rgba(224, 164, 180, 0.3);
  position: relative;
}

.main-card {
  padding: 28px;
  overflow: hidden;
}

.magazine-card,
.info-card,
.gallery-card,
.current-issue-card,
.archive-card,
.updates-card {
  grid-column: 2 / 3;
  padding: 28px;
  margin-top: 28px;
  text-align: center;
}

/*SIDE CARDS*/

.side-card {
  padding: 16px;
  border-style: dotted;
}

.side-card h2,
.magazine-card h2,
.info-card h2,
.gallery-card h2,
.current-issue-card h2,
.archive-card h2,
.updates-card h2 {
  color: #b98f9a;
  text-align: center;
}

.side-card h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.side-card a {
  display: block;
  text-decoration: none;
  color: #9f7f88;
  background: #fff8fb;
  border: 1px solid #ffd2df;
  padding: 8px 10px;
  margin-bottom: 8px;
  border-radius: 10px;
  font-size: 13px;
  transition: 0.2s;
}

.side-card a:hover {
  background: #ffe6ef;
  transform: translateX(3px);
}

.side-card::after {
  content: "";
  display: block;
  width: 90px;
  height: 22px;
  margin: 14px auto 0;
  background-image: url("linea-3.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
}

/*PANEL INICIAL*/

.ribbon {
  text-align: center;
  background: repeating-linear-gradient(
    90deg,
    #ffd6e2,
    #ffd6e2 12px,
    #ffeef4 12px,
    #ffeef4 24px
  );
  color: #a57e88;
  border-radius: 999px;
  padding: 8px;
  margin-bottom: 25px;
  border: 1px solid #ffc1d3;
}

.hero-content {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: center;
  justify-content: center;
}

.cover-box {
  width: 230px;
  height: 300px;
  border-radius: 22px;
  background: #fff0f5;
  border: 2px dashed #ffc3d5;
  overflow: hidden;
  box-shadow:
    0 8px 20px rgba(224, 164, 180, 0.35),
    inset 0 0 25px rgba(255, 192, 213, 0.35);
  transform: rotate(-2deg);
  padding: 8px;
}

.cover-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  display: block;
}

.text-box {
  border: 2px dotted #f5abc1;
  padding: 20px;
  border-radius: 18px;
  background: #fffafd;
  text-align: left;
}

.text-box h2 {
  color: #ad858f;
  margin-bottom: 12px;
  font-size: 24px;
}

.text-box p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}

/*BOTONES*/

.cute-button,
.read-more {
  display: inline-block;
  border: none;
  text-decoration: none;
  background: #fff;
  color: #a9828b;
  border: 2px solid #ffc4d6;
  padding: 11px 24px;
  border-radius: 999px;
  box-shadow: 0 5px 15px rgba(230, 150, 175, 0.3);
  cursor: pointer;
  font-family: "Courier New", monospace;
  transition: 0.2s;
}

.cute-button:hover,
.read-more:hover {
  background: #ffe8f0;
  transform: scale(1.04);
}

.read-more {
  position: fixed;
  right: 25px;
  bottom: 22px;
  z-index: 10;
  background: #fffafd;
}

/*SECCIONES*/

.section-label {
  display: inline-block;
  background: repeating-linear-gradient(
    90deg,
    #ffd6e2,
    #ffd6e2 12px,
    #fff1f6 12px,
    #fff1f6 24px
  );
  color: #a9828b;
  border: 1px solid #ffc1d3;
  border-radius: 999px;
  padding: 8px 28px;
  margin-bottom: 16px;
  font-size: 14px;
}

.current-issue-card h2,
.archive-card h2,
.updates-card h2 {
  color: #ad858f;
  font-size: 28px;
  margin-bottom: 10px;
}

.magazine-card p,
.info-card p,
.current-issue-card p,
.archive-card p,
.updates-card p {
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 18px;
}

/*HEYZINE*/

.heyzine-box {
  width: 100%;
  height: 650px;
  border: 2px dashed #f2a9bd;
  border-radius: 18px;
  overflow: hidden;
  background: #fff7fa;
  box-shadow: 0 8px 20px rgba(224, 164, 180, 0.18);
}

.heyzine-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/*REVISTA ACTUAL*/

.current-info {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.current-info span {
  background: #fff5f9;
  color: #a9828b;
  border: 1px dashed #f5abc1;
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 13px;
}

.current-issue-card .cute-button {
  margin-top: 18px;
}

/*ARCHIVO DE REVISTAS*/

.archive-list {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.month-block {
  background: #fff8fb;
  border: 2px dotted #ffc7d8;
  border-radius: 18px;
  padding: 18px;
  text-align: left;
}

.month-block summary:focus {
  outline: none;
  box-shadow: none;
}

.month-block summary::-webkit-details-marker {
  display: none;
}

.month-block summary::before {
  content: "♡ ";
}

.month-block summary::after {
  content: " ♡";
}

.month-issues {
  margin-top: 14px;
}

.issue-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 15px;
  align-items: center;
  background: white;
  border: 1px solid #ffd2df;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
}

.issue-item:last-child {
  margin-bottom: 0;
}

.issue-item h4 {
  color: #a9828b;
  font-size: 16px;
  margin-bottom: 5px;
}

.issue-item p {
  margin: 0;
  font-size: 13px;
  text-align: left;
}

.issue-item a {
  text-decoration: none;
  color: #a9828b;
  border: 1px solid #ffc4d6;
  border-radius: 999px;
  padding: 8px 14px;
  background: #fffafd;
  font-size: 13px;
  transition: 0.2s;
}

.issue-item a:hover {
  background: #ffe8f0;
  transform: scale(1.04);
}

/*ACTUALIZACIONES*/

.updates-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.update-note {
  background: #fff8fb;
  border: 2px dotted #ffc7d8;
  border-radius: 18px;
  padding: 18px;
  text-align: left;
}

.update-note h3 {
  color: #ad858f;
  font-size: 17px;
  margin-bottom: 6px;
}

.update-note span {
  display: block;
  color: #c195a0;
  font-size: 12px;
  margin-bottom: 10px;
}

.update-note p {
  text-align: left;
  margin: 0;
  font-size: 14px;
}

/*LÍNEAS DECORATIVAS*/

.decor-line {
  display: block;
  max-width: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.header-decor {
  width: 420px;
  max-width: 85%;
  margin: 14px auto 0;
  opacity: 0.95;
}

.small-decor {
  width: 300px;
  margin: -8px auto 22px;
  opacity: 0.9;
}

.section-decor {
  width: 420px;
  max-width: 90%;
  margin: 4px auto 18px;
  opacity: 0.95;
}

.welcome-decor {
  width: calc(100% + 56px);
  max-width: none;
  height: 76px;
  margin: -8px 0 28px -28px;
  object-fit: fill;
  opacity: 1;
}

/*LITTLE GALLERY*/

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 22px;
  align-items: center;
}

.gallery-photo {
  height: 185px;
  background: #fff3f8;
  border: 2px dashed #ffc3d5;
  border-radius: 20px;
  padding: 7px;
  box-shadow: 0 8px 18px rgba(224, 164, 180, 0.25);
  overflow: hidden;
  transition: 0.22s ease;
  --tilt: 0deg;
  transform: rotate(var(--tilt));
}

.gallery-photo:nth-child(1) {
  --tilt: -2deg;
}

.gallery-photo:nth-child(2) {
  --tilt: 1.5deg;
}

.gallery-photo:nth-child(3) {
  --tilt: -1deg;
}

.gallery-photo:nth-child(4) {
  --tilt: 2deg;
}

.gallery-photo:nth-child(5) {
  --tilt: -1.5deg;
}

.gallery-photo:nth-child(6) {
  --tilt: 1deg;
}

.gallery-photo:hover {
  transform: rotate(var(--tilt)) translateY(-5px) scale(1.03);
}

.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  display: block;
}

.gallery-caption {
  margin-top: 24px;
  text-align: center;
  color: #b98f9a;
  font-size: 13px;
}

/* RESPONSIVA */

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .side-card,
  .main-card,
  .magazine-card,
  .info-card,
  .gallery-card,
  .current-issue-card,
  .archive-card,
  .updates-card {
    grid-column: 1 / 2;
  }

  .hero-content {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .text-box {
    text-align: center;
  }

  .wing {
    display: none;
  }

  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-photo {
    height: 210px;
  }

  .issue-item {
    grid-template-columns: 1fr;
  }

  .issue-item a {
    text-align: center;
  }
}

@media (max-width: 500px) {
  .top-banner {
    margin-top: 20px;
    padding: 16px;
  }

  .layout {
    width: 92%;
    gap: 18px;
  }

  .main-card,
  .magazine-card,
  .info-card,
  .gallery-card,
  .current-issue-card,
  .archive-card,
  .updates-card {
    padding: 20px;
  }

  .cover-box {
    width: 220px;
    height: 285px;
  }

  .welcome-decor {
    width: calc(100% + 40px);
    height: 62px;
    margin: -6px 0 22px -20px;
  }

  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-photo {
    height: 280px;
  }

  .read-more {
    right: 14px;
    bottom: 14px;
    padding: 9px 18px;
    font-size: 12px;
  }
}

/* UPDATES - BLOC DE NOTAS */

.updates-card {
  position: relative;
  overflow: hidden;
}

.updates-card::before {
  content: "♡";
  position: absolute;
  top: 22px;
  left: 28px;
  font-size: 22px;
  color: #f4b7ca;
  opacity: 0.65;
}

.updates-card::after {
  content: "for our readers";
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 11px;
  color: #c99aa7;
  opacity: 0.8;
}

.updates-list {
  display: grid;
  gap: 20px;
  margin-top: 26px;
}

.update-note {
  position: relative;
  background:
    linear-gradient(#fffafd, #fffafd) padding-box,
    repeating-linear-gradient(
      to bottom,
      transparent 0px,
      transparent 31px,
      rgba(255, 190, 210, 0.35) 32px
    );
  border: 2px dashed #ffc3d5;
  border-radius: 20px;
  padding: 24px 24px 22px 58px;
  text-align: left;
  box-shadow: 0 8px 18px rgba(224, 164, 180, 0.18);
  transition: 0.22s ease;
}

.update-note:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(224, 164, 180, 0.28);
}

.update-note::before {
  content: "♡";
  position: absolute;
  left: 22px;
  top: 24px;
  width: 24px;
  height: 24px;
  background: #ffe6ef;
  border: 1px solid #ffc3d5;
  border-radius: 50%;
  color: #b98f9a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.update-note::after {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 86px;
  height: 24px;
  background: rgba(255, 214, 226, 0.75);
  border: 1px dashed #ffc3d5;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(224, 164, 180, 0.18);
}

.update-note h3 {
  color: #ad858f;
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.update-note span {
  display: inline-block;
  color: #b98f9a;
  background: #fff0f6;
  border: 1px solid #ffd2df;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  margin-bottom: 12px;
}

.update-note p {
  text-align: left;
  margin: 0;
  color: #7f6f72;
  font-size: 14px;
  line-height: 1.8;
}

.melody-sticker {
  position: absolute;
  top: -38px;
  right: -62px;
  width: 95px;
  transform: rotate(8deg);
  filter: drop-shadow(0 8px 12px rgba(224, 164, 180, 0.35));
  z-index: 3;
}

@media (max-width: 500px) {
  .melody-sticker {
    width: 72px;
    top: -28px;
    right: -22px;
  }
}
/* DENTRO DE ESTA EDICIÓN */

.edition-preview {
  width: min(560px, 100%);
  margin: 18px auto 24px;
  padding: 18px;
  background: #fffafd;
  border: 2px dotted #ffc7d8;
  border-radius: 20px;
  box-shadow: 0 8px 18px rgba(224, 164, 180, 0.18);
}

.edition-preview h3 {
  color: #ad858f;
  font-size: 18px;
  margin-bottom: 14px;
  text-align: center;
}

.edition-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.edition-tags span {
  background: #fff0f6;
  color: #9f7f88;
  border: 1px dashed #f5abc1;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
}

/* FOOTER FINAL*/

.lacito-footer {
  width: min(720px, 90%);
  margin: -35px auto 90px;
  padding: 24px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.88);
  border: 2px dashed #ffd6e2;
  border-radius: 22px;
  box-shadow: 0 8px 25px rgba(224, 164, 180, 0.25);
}

.footer-decor {
  width: 420px;
  max-width: 90%;
  margin: 0 auto 14px;
  opacity: 0.95;
}

.footer-signature {
  color: #ad858f;
  font-size: 20px;
  margin-bottom: 8px;
}

.footer-text {
  color: #8f7a80;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 500px) {
  .lacito-footer {
    margin: -45px auto 85px;
    padding: 20px 16px;
  }

  .footer-signature {
    font-size: 18px;
  }
}

.month-block summary {
  list-style: none;
}

.month-block summary::-webkit-details-marker {
  display: none;
}

.month-block summary::before {
  content: "♡";
  margin-right: 8px;
  color: #b98f9a;
}

.month-block[open] summary::before {
  content: "♡";
}

@media (max-width: 900px) {
  .heyzine-box {
    height: 560px;
  }
}

@media (max-width: 500px) {
  .heyzine-box {
    height: 440px;
  }
}

/* BOTÓN DE MÚSICA */

.music-button {
  position: fixed;
  left: 25px;
  bottom: 22px;
  z-index: 10;
  background: #fffafd;
  color: #a9828b;
  border: 2px solid #ffc4d6;
  padding: 11px 22px;
  border-radius: 999px;
  box-shadow: 0 5px 15px rgba(230, 150, 175, 0.3);
  cursor: pointer;
  font-family: "Courier New", monospace;
  transition: 0.2s;
}

.music-button:hover {
  background: #ffe8f0;
  transform: scale(1.04);
}

@media (max-width: 500px) {
  .music-button {
    left: 14px;
    bottom: 14px;
    padding: 9px 16px;
    font-size: 12px;
  }
}

@media (max-width: 500px) {
  .top-banner {
    overflow: hidden;
  }

  .melody-sticker {
    width: 58px;
    top: 4px;
    right: 8px;
  }

  .header-decor {
    width: 260px;
    max-width: 85%;
    margin-top: 10px;
  }
}

@media (max-width: 500px) {
  .melody-sticker {
    display: none;
  }
}
