@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=VT323&display=swap');

body {
  color: #e0c3fc;
  font-family: "VT323", monospace;
  font-size: 1.3rem;
  background-image: url("/images/vaporfondo.png");
  background-size: cover;
  background-attachment: fixed;
  background-color: #0d0721;
  cursor: url("https://file.garden/aIFVREzy8maKDZSl/wii-pointer-ccw.cur"), auto;
  padding-top: 60px;
  line-height: 1.7;
}

.img-bandera {
  border-radius: 8px;
}

.imagen-deco {
  position: relative;
  padding: 6px;
  border: 2px solid #bd93f9;
  box-shadow:
    inset 0 0 0 1px rgba(189, 147, 249, 0.3),
    0 0 12px rgba(255, 121, 198, 0.2);
  display: block;
  margin: 0 auto;
  width: fit-content;
  line-height: 0;
}

.imagen-deco img {
  display: block;
  line-height: 0;
  width: 180px;
  height: 180px;
}

a {
  color: #ff79c6;
}

a:visited {
  color: #bd93f9;
}

h1 {
  color: #ff79c6;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 2px;
  font-size:1.8rem ;
}

a:hover, button:hover {
  cursor: url("https://file.garden/aIFVREzy8maKDZSl/wii-pointer-red-ccw.cur"), pointer;
}

p {
  cursor: url("https://file.garden/aIFVREzy8maKDZSl/Text%20Select.cur"), text;
}

b {
  color: #ff79c6;
}


.topnav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 5, 25, 0.97);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 2rem;
  box-sizing: border-box;
  z-index: 1000;
  border-bottom: 2px solid #ff79c6;
  box-shadow: 0 4px 0 rgba(255, 121, 198, 0.25);
}

#sitename {
  margin-right: auto;
  font-family: "Orbitron", sans-serif;
  font-size: 1.1rem;
  color: #ff79c6;
  font-weight: bold;
  letter-spacing: 2px;
}

.topnav a {
  color: #bd93f9;
  text-decoration: none;
  font-size: 1rem;
  padding: 6px 14px;
  border-radius: 20px;
  transition: background 0.2s;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 1px;
}

.topnav a:hover {
  background: rgba(189, 147, 249, 0.15);
}

.topnav::before { left: 20px; }
.topnav::after  { right: 20px; }


.estrella {
  position: absolute;
  pointer-events: none;
  font-size: 1rem;
  color: #ff79c6;
  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); }
}


footer {
  text-align: center;
  font-size: 1.2rem;
  color: rgba(224, 195, 252, 0.7);
}

.footer-separador {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  color: rgba(255, 121, 198, 0.8);
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.footer-separador::before,
.footer-separador::after {
  content: '';
  width: 400px;
  height: 1px;
  background: rgba(255, 121, 198, 0.7);
}


.caja {
  background: rgba(10, 5, 30, 0.97);
  border: 2px solid #bd93f9;
  outline: 1px solid #ff79c6;
  outline-offset: 4px;
  max-width: 600px;
  margin: 2.5rem auto;
  padding: 0;
  position: relative;
  font-family: "VT323", monospace;
  clip-path: polygon(
    16px 0%,
    calc(100% - 16px) 0%,
    100% 16px,
    100% calc(100% - 16px),
    calc(100% - 16px) 100%,
    16px 100%,
    0% calc(100% - 16px),
    0% 16px
  );
}

.caja::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(139, 233, 253, 0.2);
  clip-path: polygon(
    12px 0%,
    calc(100% - 12px) 0%,
    100% 12px,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    12px 100%,
    0% calc(100% - 12px),
    0% 12px
  );
  pointer-events: none;
}

.caja::after {
  content: none;
}

.caja-esquina-tr,
.caja-esquina-bl {
  display: none;
}

.caja-interior {
  border: none;
  margin: 0;
  padding: 0;
}

.caja-header {
  background: linear-gradient(90deg, #ff79c6 0%, #bd93f9 50%, #8be9fd 100%);
  color: #0d0721;
  text-align: center;
  padding: 0.6rem 1rem;
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
  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; }

.caja-contenido {
  padding: 1.5rem;
  color: #e0c3fc;
}

.caja-separador {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 1rem 0;
  color: rgba(189, 147, 249, 0.6);
  font-size: 0.8rem;
}
.caja-separador::before,
.caja-separador::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(189, 147, 249, 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(10, 5, 30, 0.5); }
.caja-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff79c6, #bd93f9);
  border-radius: 3px;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(10, 5, 30, 0.9); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff79c6, #bd93f9);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #bd93f9, #8be9fd);
}


#lang-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  text-align: center;
}

#lang-btn {
  background: rgba(10, 5, 30, 0.97);
  color: #bd93f9;
  border: 2px solid #bd93f9;
  box-shadow: inset 0 0 0 1px rgba(189, 147, 249, 0.2);
  border-radius: 0;
  padding: 6px 16px;
  font-family: "Orbitron", sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  letter-spacing: 2px;
  transition: background 0.2s;
  width: 100%;
}

#lang-btn:hover {
  background: rgba(189, 147, 249, 0.15);
}

#lang-menu {
  display: none;
  background: rgba(10, 5, 30, 0.97);
  border: 2px solid #bd93f9;
  box-shadow: inset 0 0 0 1px rgba(189, 147, 249, 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: #bd93f9;
  border: none;
  border-bottom: 1px solid rgba(189, 147, 249, 0.2);
  padding: 6px 12px;
  font-family: "Orbitron", sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  letter-spacing: 2px;
  text-align: center;
}

#lang-menu button:last-child {
  border-bottom: none;
}

#lang-menu button:hover {
  background: rgba(189, 147, 249, 0.15);
  color: #e0c3fc;
}