:root {
  --bg: #05060f;
  --bg-panel: #0a0f1f;
  --bg-card: rgba(10, 15, 31, 0.75);
  --text: #d8e6ff;
  --text-muted: #7b8bad;
  --accent: #24d2fe;
  --accent-2: #e1478c;
  --glow: 0 0 18px rgba(36, 210, 254, 0.5);
  --glow-strong: 0 0 24px rgba(36, 210, 254, 0.7);
  --radius: 16px;
  --radius-small: 12px;
  --spacing: 8px;
  --transition: 240ms ease;
  --transition-slow: 400ms ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: radial-gradient(120% 120% at 20% 20%, rgba(36, 210, 254, 0.08), transparent),
              radial-gradient(120% 120% at 80% 0%, rgba(225, 71, 140, 0.08), transparent),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}


.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(5, 6, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(36, 210, 254, 0.15);
  animation: fadeInDown 0.6s ease;
}

.header__logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-decoration: none;
  text-shadow: 0 0 10px rgba(36, 210, 254, 0.5);
}

.header__nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.header__nav-link {
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  transition: all var(--transition);
  font-size: 14px;
}

.header__nav-link:hover {
  color: var(--accent);
  background: rgba(36, 210, 254, 0.1);
  box-shadow: 0 0 12px rgba(36, 210, 254, 0.3);
}

.header__cta {
  padding: 8px 16px;
  font-size: 14px;
  text-decoration: none;
  margin-left: 8px;
}

.header__burger {
  display: none;
  background: none;
  border: 1px solid rgba(36, 210, 254, 0.4);
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-small);
  cursor: pointer;
  font-size: 20px;
  transition: all var(--transition);
}

.header__burger:hover {
  border-color: var(--accent);
  box-shadow: var(--glow);
}

.header__mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(5, 6, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(36, 210, 254, 0.2);
  padding: 16px;
  flex-direction: column;
  gap: 8px;
  animation: slideDown 0.3s ease;
}

.header__mobile-menu.open {
  display: flex;
}

.header__mobile-link {
  color: var(--text);
  text-decoration: none;
  padding: 12px 16px;
  border-radius: var(--radius-small);
  transition: all var(--transition);
  border: 1px solid rgba(36, 210, 254, 0.1);
}

.header__mobile-link:hover {
  color: var(--accent);
  background: rgba(36, 210, 254, 0.1);
  border-color: rgba(36, 210, 254, 0.3);
}

.header__mobile-cta {
  margin-top: 8px;
  text-align: center;
  width: 100%;
}


.footer {
  background: rgba(5, 6, 15, 0.8);
  border-top: 1px solid rgba(36, 210, 254, 0.12);
  padding: 32px 24px;
  margin-top: 64px;
}

.footer__content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.footer__copyright {
  color: var(--text-muted);
  font-size: 14px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__link {
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 0;
  transition: all var(--transition);
  font-size: 14px;
}

.footer__link:hover {
  color: var(--accent);
  padding-left: 8px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__contact-item {
  color: var(--text-muted);
  font-size: 14px;
}

.footer__contact-link {
  color: var(--accent);
  text-decoration: none;
  transition: all var(--transition);
}

.footer__contact-link:hover {
  text-shadow: 0 0 8px rgba(36, 210, 254, 0.6);
}

.footer__app {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__fs-note {
  grid-column: 1 / -1;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(36, 210, 254, 0.2);
  text-align: center;
}

.footer__fs-text {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.google-play-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 8px 12px;
  text-decoration: none;
  transition: all var(--transition);
  font-family: 'Roboto', sans-serif;
  width: fit-content;
}

.google-play-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.4);
}

.google-play-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.google-play-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.google-play-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.google-play-text-top {
  font-size: 10px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  line-height: 1;
}

.google-play-text-bottom {
  font-size: 16px;
  color: #ffffff;
  font-weight: 400;
  margin-top: 1px;
  line-height: 1.1;
}


.cookie-popup {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 2000;
  background: var(--bg-card);
  border: 1px solid rgba(36, 210, 254, 0.3);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 500px;
  width: calc(100% - 48px);
  box-shadow: var(--glow-strong);
  animation: slideUp 0.5s ease forwards;
}

.cookie-popup.show {
  animation: slideUp 0.5s ease forwards;
}

.cookie-popup.hide {
  animation: slideDown 0.3s ease forwards;
}

.cookie-popup__text {
  color: var(--text);
  margin-bottom: 16px;
  font-size: 14px;
}

.cookie-popup__buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.btn {
  padding: 10px 20px;
  border-radius: var(--radius-small);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition);
  font-family: inherit;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}

a.btn {
  border: none;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #03111f;
  box-shadow: var(--glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-strong);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(36, 210, 254, 0.4);
}

.btn-secondary:hover {
  background: rgba(36, 210, 254, 0.1);
  border-color: var(--accent);
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}


.section__title,
.section h1,
.section h2,
.section--oportunidades h1,
.section--fs h2,
.section--progreso h2,
.section--consejos h2,
.section--objetos h1,
.section--raros h2,
.section--ofertas h2,
.section--obtener-fs h2,
.section--actualizaciones h1,
.section--blog h2,
.section--eventos h2,
.section--funciona h2,
.section--beneficios h2,
.section--opiniones h2,
.section--direccion h1,
.section--contacto-info h2,
.section--formulario h2,
.documento-title,
.gracias-title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block;
  width: 100%;
}


.section__subtitle,
.section p.section__subtitle {
  text-align: center !important;
}


.documento-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 6, 15, 0.95);
  backdrop-filter: blur(10px);
  z-index: 3000;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.documento-modal.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.documento-modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid rgba(36, 210, 254, 0.2);
  box-shadow: var(--glow-strong);
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  word-wrap: break-word;
  max-height: 100vh;
}

.documento-modal-header {
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  padding-top: 40px;
}

.documento-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid rgba(36, 210, 254, 0.3);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  transition: all var(--transition);
  z-index: 10;
  box-sizing: border-box;
}

.documento-modal-close:hover {
  background: rgba(36, 210, 254, 0.1);
  border-color: var(--accent);
  box-shadow: var(--glow);
}

.documento-modal-content * {
  box-sizing: border-box;
  max-width: 100%;
  word-wrap: break-word;
}

.documento-modal-content img,
.documento-modal-content video,
.documento-modal-content iframe {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .documento-modal {
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .documento-modal-content {
    width: 100vw;
    max-width: 100vw;
    padding: 16px;
    border: none;
    border-radius: 0;
    margin: 0;
    min-height: 100vh;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-x: hidden;
  }

  .documento-modal-content * {
    box-sizing: border-box;
    max-width: 100%;
    word-wrap: break-word;
  }

  .documento-modal-header {
    margin-bottom: 24px;
    padding-top: 32px;
    margin: 0 0 24px 0;
  }

  .documento-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 8px 16px;
    border-radius: 0;
    margin: 0;
  }

  .documento-modal-content .documento-section-item {
    margin-bottom: 24px;
    padding-bottom: 24px;
    margin: 0 0 24px 0;
    padding: 0 0 24px 0;
  }

  .documento-modal-content .documento-section-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .documento-modal-content .documento-section-item h2 {
    font-size: 20px;
    word-wrap: break-word;
    max-width: 100%;
  }

  .documento-modal-content .documento-section-item h3 {
    font-size: 16px;
    word-wrap: break-word;
    max-width: 100%;
  }

  .documento-modal-content .documento-section-item p,
  .documento-modal-content .documento-section-item li {
    word-wrap: break-word;
    max-width: 100%;
  }

  .documento-modal-content img,
  .documento-modal-content video,
  .documento-modal-content iframe {
    max-width: 100%;
    height: auto;
  }
}


@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    transform: translateX(-50%) translateY(120%);
  }
  to {
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes slideDown {
  from {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  to {
    transform: translateX(-50%) translateY(120%);
    opacity: 0;
  }
}

.fade-in {
  animation: fadeIn 0.6s ease;
}

.fade-in-up {
  animation: fadeInUp 0.6s ease;
}


@media (max-width: 768px) {
  .header__nav {
    display: none;
  }

  .header__burger {
    display: block;
  }

  .header__cta {
    display: none;
  }

  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__links {
    align-items: center;
  }

  .cookie-popup {
    bottom: 16px;
    padding: 20px;
  }

  .cookie-popup__buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}


