/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
@import url('https://fonts.googleapis.com/css2?family=Limelight&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rosarivo:ital@0;1&display=swap');

body {
  color: white;
  font-family: "Rosarivo", cursive;
  background-image: url("/images/artdeco.png");
  background-size: cover;
  background-attachment: fixed;
  cursor: url("https://file.garden/aIFVREzy8maKDZSl/wii-pointer-ccw%20(1).cur"), auto;
  padding-top: 60px;
  line-height: 1.7;
}

.img-bandera {
  border-radius: 8px;
}

img[src="/images/tomoyo.jpg"] {
  margin-bottom: 0px;
  width: 180px;
}

.imagen-deco {
  position: relative;
  padding: 6px;         
  border: 2px solid rgb(241, 184, 91);
  box-shadow: inset 0 0 0 1px rgba(241, 184, 91, 0.3);
  display: block;
  margin: 0 auto;
  width: fit-content;
  line-height: 0;
}

.imagen-deco img {
  display: block;
  line-height: 0;
  width: 180px;
  height: 180px;
}

h1 {
  color: rgb(241, 184, 91);
}


a:hover, button:hover {
  cursor: url("https://file.garden/aIFVREzy8maKDZSl/wii-pointer-yellow.cur"), pointer;
}

p {
  cursor: url("https://file.garden/aIFVREzy8maKDZSl/Text%20Select.cur"), text;
}

b {
  color: rgb(241, 184, 91);
}

.topnav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 2rem;
  box-sizing: border-box;
  z-index: 1000;
  border-bottom: 2px solid rgb(241, 184, 91);
  box-shadow: 0 4px 0 rgba(241, 184, 91, 0.3); /* línea fina debajo */
}

#sitename {
  margin-right: auto;
  font-family: "Limelight", sans-serif;
  font-size: 1.2rem;
  color: rgb(241, 184, 91);
  font-weight: bold;
}

.topnav a {
  color: rgb(241, 184, 91);
  text-decoration: none;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 20px;
  transition: background 0.2s;
  font-family: "Limelight", sans-serif;
}

.topnav a:hover {
  background: rgba(49, 61, 111, 0.4);
}

.topnav::before { left: 20px; }
.topnav::after  { right: 20px; }

.estrella {
  position: absolute;
  pointer-events: none;
  font-size: 1rem;
  color: white;
  z-index: 9999;
  animation: desvanecer 0.4s ease-out forwards;
  transform: translate(-50%, -50%);
}

@keyframes desvanecer {
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -120%) scale(0.4); }
}


#chattable {
  width: 100%;
  max-width: 320px;
  height: 500px;
  border: none;
  border-radius: 10px;
}

footer {
  text-align: center;
  font-size: 0.85rem;
  color: rgb(255, 255, 255);
}

.footer-separador {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  color: rgba(241, 184, 91, 0.8);
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.footer-separador::before,
.footer-separador::after {
  content: '';
  width: 400px;
  height: 1px;
  background: rgba(241, 184, 91, 0.8);
}

/*_________________________________________________________________________________________________________ */

.caja {
  background: rgba(15, 15, 30, 0.95);
  border: 2px solid rgb(241, 184, 91);
  max-width: 600px;
  margin: 2rem auto;
  padding: 0;
  position: relative;
  font-family: "Rosarivo", cursive;
}

/* esquinas art deco */
.caja::before,
.caja::after {
  content: '✦';
  position: absolute;
  color: rgb(241, 184, 91);
  font-size: 1.2rem;
  line-height: 1;
}
.caja::before { top: -0.6rem; left: -0.6rem; }
.caja::after  { bottom: -0.6rem; right: -0.6rem; }

.caja-esquina-tr,
.caja-esquina-bl {
  position: absolute;
  color: rgb(241, 184, 91);
  font-size: 1rem;
  line-height: 1;
}
.caja-esquina-tr { top: -0.6rem; right: -0.6rem; }
.caja-esquina-bl { bottom: -0.6rem; left: -0.6rem; }

/* línea decorativa interior */
.caja-interior {
  border: 1px solid rgba(241, 184, 91, 0.3);
  margin: 6px;
  padding: 0;
}

/* encabezado */
.caja-header {
  background: rgb(241, 184, 91);
  color: rgb(15, 15, 30);
  text-align: center;
  padding: 0.6rem 1rem;
  font-family: "Limelight", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 3px;
  position: relative;
}

.caja-header::before,
.caja-header::after {
  content: '◆';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
}
.caja-header::before { left: 1rem; }
.caja-header::after  { right: 1rem; }

/* contenido */
.caja-contenido {
  padding: 1.5rem;
  color: white;
}

/* separador interno */
.caja-separador {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 1rem 0;
  color: rgba(241, 184, 91, 0.6);
  font-size: 0.8rem;
}
.caja-separador::before,
.caja-separador::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(241, 184, 91, 0.4);
}

/*__________________________________________________________________________________________*/

.grid-layout {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  max-width: 100%;
  margin: 0.1rem auto;
  padding: 0 4rem;
  align-items: flex-start;
}

.columna {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.columna:first-child,
.columna:last-child {
  width: 300px;
  flex-shrink: 0;
}

.columna:nth-child(2) {
  flex: 1;
  max-width: 700px;
}

.caja-contenido {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

.caja-contenido p {
  text-align: justify;
  width: 100%;
}

.caja-scroll {
  max-height: 300px;
  overflow-y: auto;
}

.caja-scroll::-webkit-scrollbar {
  width: 6px;
}

.caja-scroll::-webkit-scrollbar-track {
  background: rgba(15, 15, 30, 0.5);
}

.caja-scroll::-webkit-scrollbar-thumb {
  background: rgb(241, 184, 91);
  border-radius: 3px;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 15, 30, 0.9);
}

::-webkit-scrollbar-thumb {
  background: rgb(241, 184, 91);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(241, 184, 91, 0.7);
}

#lang-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  text-align: center;
}

#lang-btn {
  background: rgba(15, 15, 30, 0.95);
  color: rgb(241, 184, 91);
  border: 2px solid rgb(241, 184, 91);
  box-shadow: inset 0 0 0 1px rgba(241, 184, 91, 0.2);
  border-radius: 0;
  padding: 6px 16px;
  font-family: "Limelight", sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  letter-spacing: 2px;
  transition: background 0.2s;
  width: 100%;
}

#lang-btn:hover {
  background: rgba(241, 184, 91, 0.15);
}

#lang-menu {
  display: none;
  background: rgba(15, 15, 30, 0.95);
  border: 2px solid rgb(241, 184, 91);
  box-shadow: inset 0 0 0 1px rgba(241, 184, 91, 0.2);
  border-radius: 0;
  padding: 6px;
  margin-bottom: 6px;
  position: absolute;
  bottom: 100%;
  right: 0;
  min-width: 120px;
}

#lang-menu button {
  display: block;
  width: 100%;
  background: transparent;
  color: rgb(241, 184, 91);
  border: none;
  border-bottom: 1px solid rgba(241, 184, 91, 0.2);
  padding: 6px 12px;
  font-family: "Limelight", sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  letter-spacing: 2px;
  text-align: center;
}

#lang-menu button:last-child {
  border-bottom: none;
}

#lang-menu button:hover {
  background: rgba(241, 184, 91, 0.15);
  color: white;
}