:root {
  --bg: #07071a;
  --glass: rgba(255,255,255,0.04);
  --accent1: #ff3cac;
  --accent2: #7844ff;
  --accent3: #00d2ff;
  --accent4: #f6ff00;
  --text: #e8f0ff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Poppins', system-ui;
  background: radial-gradient(circle at 20% 20%, #0b0027, #000);
  color: var(--text);
  overflow-x: hidden;
}

/* Pantalla de carga */
.loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: black url('https://raw.githubusercontent.com/Angelithoxz/Ryusei-Club/main/adiciones/1759796509666.jpg') center/cover no-repeat;
  z-index: 9999;
  animation: fadeOut 2s ease 5s forwards; /* más tiempo visible */
}
.loader-text {
  margin-top: 20px;
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
}
@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}

/* Encabezado */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px;
  position: relative;
  z-index: 10;
}
.brand h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
}
.subtitle {
  font-size: 14px;
  opacity: 0.8;
}
.menu-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 16px;
  border-radius: 12px;
  color: var(--text);
  font-weight: bold;
}

/* Menú */
.nav {
  position: fixed;
  top: 75px;
  right: 20px;
  width: 320px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  padding: 16px;
  border-radius: 14px;
  transform: scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.nav.open {
  transform: scale(1);
  opacity: 1;
  pointer-events: all;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  display: block;
  padding: 10px;
  border-radius: 8px;
  transition: 0.3s;
  font-size: 16px;
}
.nav a:hover {
  background: rgba(255,255,255,0.08);
}
.nav .divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 8px 0;
}
.buy {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, var(--accent1), var(--accent3));
  font-weight: bold;
  color: #021;
  margin-top: 10px;
}

/* Hero */
.hero {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.card {
  background: rgba(255,255,255,0.03);
  padding: 40px 20px;
  border-radius: 18px;
  max-width: 850px;
  box-shadow: 0 0 40px rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
}
.headline {
  font-size: 32px;
  font-weight: bold;
}
.rainbow-large {
  font-size: 52px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2), var(--accent3), var(--accent4));
  background-size: 300%;
  -webkit-background-clip: text;
  color: transparent;
  animation: rainbow 4s linear infinite;
}
@keyframes rainbow {
  0% { background-position: 0%; }
  100% { background-position: 100%; }
}
.lead {
  margin: 20px 0;
  font-size: 18px;
  opacity: 0.9;
}
.actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn {
  padding: 12px 18px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}
.btn.ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
}
.btn.neon {
  background: linear-gradient(90deg, var(--accent1), var(--accent3));
  color: #021;
}
.icon {
  width: 100px;
  height: 100px;
  margin-top: 20px;
  border-radius: 12px;
}
.small {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.85;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: all;
}
.modal-panel {
  background: var(--bg);
  padding: 20px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}
.modal .close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

/* Footer */
.footer {
  text-align: center;
  padding: 14px;
  opacity: 0.75;
  font-size: 14px;
}