html {
  scroll-behavior: smooth;
}


/* ===== ESTILO JAPONÉS (UKIYO-E) ===== */
.japanese-bg {
  position: relative;
  background-image: url('https://mymodernmet.com/wp/wp-content/uploads/2017/08/ukiyo-e-japanese-woodblock-prints-13-1.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.japanese-bg::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 0;
  pointer-events: none;
}

.japanese-bg > * {
  position: relative;
  z-index: 1;
}

.sepia-filter {
  filter: sepia(0.15);
}

.kimono-card {
  background: rgba(245, 240, 230, 0.92);
  backdrop-filter: blur(0px);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(180, 140, 100, 0.5);
  transition: all 0.3s ease;
}

.kimono-card:hover {
  background: rgba(250, 245, 235, 0.96);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.washi-border {
  position: relative;
  padding: 25px;
}

.washi-border::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #b87c4f, #d4a373, #b87c4f, transparent);
}

.japanese-seal {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background: rgba(180, 70, 50, 0.85);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "KaiTi", "Noto Serif JP", "Times New Roman", serif;
  font-size: 28px;
  color: #f5e6d3;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  cursor: default;
  z-index: 99;
  border: 1px solid #e6b17e;
  backdrop-filter: blur(2px);
}

.inkan-stamp {
  font-family: "Noto Serif JP", "KaiTi", "Times New Roman", serif;
  letter-spacing: 2px;
}

/* ===== UTILIDADES ORIGINALES ===== */
.pyro {
  color: #f54a4a;
  font-family: Arial, sans-serif;
  font-size: 30px;
  text-shadow: 0 0 10px #fff, 0 0 20px #ff0, 0 0 30px #f80, 0 0 40px #f00;
  animation: animarFuego 0.5s infinite alternate;
}

@keyframes animarFuego {
  from { text-shadow: 0 0 10px #fff, 0 0 20px #ff0, 0 0 30px #f80; }
  to { text-shadow: 0 0 20px #fff, 0 0 30px #ff0, 0 0 40px #f80, 0 0 50px #f00; }
}

.hydro {
  font-size: 20px;
  font-family: sans-serif;
  color: transparent;
  background: linear-gradient(60deg, #32557f, #94b9ff, #32557f, #94b9ff);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: waterAnimation 5s linear infinite;
}

@keyframes waterAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.fantasma {
  color: rgba(0, 0, 0, 0.2);
  text-shadow: 0 0 10px rgba(56, 54, 54, 0.6), 
               0 0 20px rgba(47, 45, 45, 0.4);
}

.central {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hoja {
  background-color: transparent;
  font-family: 'Segoe UI', 'Noto Sans', Arial, sans-serif;
  color: #2c241a;
  padding: 40px;
  margin: auto;
  max-width: 60%;
}

.sangria { 
  text-indent: 50px;
}

.boton-ancla {
  display: inline-block;
  padding: 10px 10px;
  color: rgb(52, 20, 20);
  text-decoration: none;
  position: relative;
  padding: 10px 25px;
  background: #f0e8dd;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  overflow: hidden;
  font-family: sans-serif;
  transition: 0.5s;
  font-weight: 500;
}

.boton-ancla:hover {
  background: #b55b3c;
  box-shadow: 0 0 20px #b55b3c, 0 0 40px #d48c54;
  color: white;
}

.boton-ancla::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  transition: 0.5s;
}

.boton-ancla:hover::before {
  left: 100%;
}

.fondo {
  background-color: rgba(255, 250, 240, 0.92);
  padding: 30px;
  margin-top: 30px;
  border-radius: 20px;
  backdrop-filter: blur(2px);
  transition: all 0.2s ease;
  border-left: 5px solid #c28a5c;
}

.espaciado {
  margin-bottom: 20px;
}

.titulo {
  text-align: center;     
  margin: 100px;
  padding: 100px;
}

h1 {
  font-size: 25px;
}

/* Ajuste para enlaces en referencias */
footer a {
  color: #8b5a3c;
  text-decoration: none;
  border-bottom: 1px dotted #c28a5c;
  transition: color 0.2s;
}

footer a:hover {
  color: #d45e2b;
  border-bottom-color: #d45e2b;
}

/* Sello japonés flotante */
@media (max-width: 768px) {
  .hoja {
    max-width: 90%;
    padding: 20px;
  }
  .titulo {
    margin: 30px;
    padding: 30px;
  }
  .japanese-seal {
    width: 45px;
    height: 45px;
    font-size: 22px;
  }
}
.negrita{
  font-weight: 800;
}