@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&family=Quicksand:wght@500;700&display=swap&subset=latin,latin-ext');

:root {
  --pink: #ed8db8;
  --light-pink: #fff5fa;
  --dark-pink: #d86e9e;
  --black: #111111;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--black);
  background-color: var(--pink);
  font-family: 'Quicksand', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  scroll-behavior: smooth;
}

/* Encabezado con imagen de fondo personalizada (fondo.png) */
.header {
  position: relative;
  min-height: 125px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;

  background-image: url('fondo.png');
  background-position: center;
  background-repeat: repeat;
}

.header h1 {
  z-index: 2;
  margin: 0;
  font-family: 'Patrick Hand', 'Quicksand', cursive;
  font-size: clamp(3.5rem, 9vw, 6rem);
  line-height: 1;
  letter-spacing: 3px;
  color: #111111;
  text-shadow: 
    -2px -2px 0 #ffffff,  
     2px -2px 0 #ffffff,
    -2px  2px 0 #ffffff,
     2px  2px 0 #ffffff,
     4px  4px 0 rgba(216, 110, 158, 0.4);
}

.header h1 span {
  font-size: 0.7em;
  color: var(--dark-pink);
  vertical-align: middle;
  text-shadow: none;
}

.catboy-image {
  position: absolute;
  z-index: 3;
  width: 105px;
  height: 105px;
  object-fit: contain;
  right: max(5%, calc(50% - 300px));
  bottom: -3px;
  filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.15));
}

/* Franja de cuadros ultra-limpia con conic-gradient (sin cortes de píxeles) */
.checker-stripe {
  width: 100%;
  height: 20px;
  background-color: #ef99bd;
  background-image: conic-gradient(
    #7f3157 90deg, 
    #ef99bd 90deg 180deg, 
    #7f3157 180deg 270deg, 
    #ef99bd 270deg
  );
  background-size: 20px 20px;
  background-repeat: repeat-x;
}

/* Área principal */
.container {
  min-height: calc(100vh - 145px);
  padding: 45px 20px 70px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.cards-wrapper {
  width: min(100%, 850px);
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.welcome-card {
  width: 100%;
  padding: 35px 45px 42px;
  text-align: center;
  border-radius: 18px;
  background: var(--light-pink);
  box-shadow: 0 5px 0 rgba(155, 53, 101, 0.08);
}

.lore-card {
  text-align: left;
}

.welcome-card h2 {
  margin: 0 0 8px;
  font-family: 'Patrick Hand', 'Quicksand', cursive;
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  line-height: 1.1;
  text-align: center;
}

.lore-card h2 {
  text-align: left;
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
}

.welcome-card p {
  max-width: 100%;
  margin: 0 auto;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  line-height: 1.4;
}

/* --- ESTILOS PARA LOS BOTONES DE NAVEGACIÓN LIMPIOS (PILLS) --- */
.nav-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.pill-btn {
  background-color: #ffffff;
  color: var(--black);
  border: 2px solid #ffb6c1;
  padding: 8px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 3px 0 rgba(216, 110, 158, 0.15);
  transition: all 0.2s ease;
}

.pill-btn:hover {
  background-color: var(--dark-pink);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 0 rgba(155, 53, 101, 0.2);
}

/* Separador con línea y corazón */
.section-divider {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 0;
}

.divider-line {
  position: absolute;
  left: 0;
  width: calc(100% - 35px);
  height: 2px;
  background-color: #333333;
}

.divider-heart {
  font-size: 1.5rem;
  color: #333333;
  margin-left: 10px;
  z-index: 2;
  line-height: 1;
}

.catgirl-image {
  position: absolute;
  z-index: 3;
  height: 85%;
  width: auto;
  object-fit: contain;
  right: max(5%, calc(50% - 380px));
  bottom: 0;
  filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.15));
}

/* --- ESTILOS PARA EL APARTADO DE MAIDS (PC) --- */
.maid-container {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  margin-top: 10px;
}

.maid-text {
  flex: 1;
}

.maid-image-box {
  flex-shrink: 0;
  width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.maid-image-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* --- ESTILOS PARA EL BANNER FOOTER / DERECHOS DE AUTOR --- */
.site-footer {
  width: 100%;
  background-color: #ffffff;
  border-top: none; /* Línea de puntos eliminada */
  padding: 25px 20px;
  text-align: center;
  color: #444444;
  font-size: 0.95rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-content p {
  margin: 0;
  font-weight: 500;
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: transparent;
  border: none;
  padding: 0;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.instagram-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.instagram-btn:hover {
  transform: scale(1.15);
  opacity: 0.85;
}

/* --- ADAPTACIÓN PARA MÓVILES --- */
@media (max-width: 600px) {
  .header {
    min-height: 105px;
  }

  .header h1 {
    font-size: 3.6rem;
    margin-right: 65px;
  }

  .catboy-image {
    width: 78px;
    height: 78px;
    right: 5px;
  }

  .container {
    padding: 28px 12px 45px;
  }

  .welcome-card {
    padding: 27px 18px 32px;
    border-radius: 15px;
  }

  .welcome-card h2 {
    font-size: 1.55rem;
  }
  
  .divider-line {
    width: calc(100% - 30px);
  }

  .maid-container {
    flex-direction: column;
    align-items: center;
  }

  .maid-text {
    order: 1;
  }

  .maid-image-box {
    order: 2;
    width: 130px;
    margin-top: 20px;
  }
}
