/* 
  Readingg Elite Design System (Inspirado en Dribbble Payment Landing)
  V14.0 - Absolute Perfection & GOLD Edition
*/

:root {
  --bg-deep: #06080c;
  --bg-card: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --accent-cyan: #00f2ff;
  --accent-purple: #7c3aed;
  --accent-gradient: linear-gradient(135deg, #00f2ff 0%, #465FFF 50%, #7c3aed 100%);
  --text-pure: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --blur-val: 16px;
  --radius-xl: 32px;
  --radius-l: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-pure);
  font-family: var(--font-main);
  overflow-x: hidden;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Background Effects */
#glow-system {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-cyan);
  top: -200px;
  right: -100px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-purple);
  bottom: -150px;
  left: -100px;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Navbar */
.nav-elite {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Glass Card & Buttons */
.glass-card-elite {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.btn-elite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-elite:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-elite {
  padding: 120px 0 80px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.hero-title-elite {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.0;
  margin-bottom: 40px;
  letter-spacing: -2.5px;
  text-align: left;
  display: flex;
  flex-direction: column;
  max-width: 600px;
}

.title-gradient-elite {
  background: linear-gradient(135deg, #00E5FF 0%, #171adc 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
}

.availability-badge-elite {
  color: #eef1f1;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 15px;
  opacity: 0.9;
  display: block;
}

.subtitle-elite {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-top: 25px;
  /* Espacio extra solicitado */
  margin-bottom: 30px;
  max-width: 600px;
  font-weight: 500;
  font-style: italic;
  /* Cursiva solicitada */
}

.author-highlight-elite {
  color: #00E5FF;
  font-weight: 700;
  font-style: normal; /* Resalte sin cursiva para contraste */
}

/* Glass Section: SOBRE ESTA OBRA */
.info-section-elite {
  width: 100%;
  max-width: 600px;
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 35px;
  border-left: 4px solid #00E5FF;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: left;
}

.section-title-elite {
  color: #00E5FF;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.metadata-row-elite {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}

.meta-tag-elite {
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Price Zone: GOLD & BLUE */
.price-card-section-elite {
  margin-top: 50px;
  display: flex;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

.price-label-elite {
  color: white !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  margin-bottom: 8px;
  display: block;
}

.price-value-elite {
  font-size: 42px !important;
  /* GIGANTE */
  font-weight: 900 !important;
  color: #F59E0B !important;
  /* GOLD */
  line-height: 1;
  letter-spacing: -2px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  /* Sombra blanca solicitada */
}

.price-credits-sub {
  color: #00E5FF;
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 8px;
}

.cta-button-elite {
  background: #11cfe4 !important;
  /* Azul Primary */
  color: white !important;
  padding: 16px 40px !important;
  /* Más equilibrado */
  border-radius: 14px !important;
  font-weight: 800;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  box-shadow: 0 10px 30px rgba(76, 109, 240, 0.3);
}

.cta-button-elite:hover {
  transform: translateY(-4px);
  filter: brightness(1.1);
  box-shadow: 0 15px 40px rgba(76, 109, 240, 0.4);
}

/* Book Cover */
.main-cover-elite {
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  transform: perspective(1200px) rotateY(-15deg) rotateX(5deg);
  /* Inclinación 3D solicitada */
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.main-cover-elite:hover {
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg) scale(1.02);
  box-shadow: 0 70px 120px rgba(0, 163, 255, 0.2);
}

/* Background Blobs for Hero Image */
.hero-image-elite {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blob {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--accent-gradient);
  filter: blur(80px);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.2;
  animation: blob-float 10s infinite alternate;
}

.blob-1 {
  top: -10%;
  right: -10%;
  background: #00f2ff;
}

.blob-2 {
  bottom: -10%;
  left: -10%;
  background: #2a6fe6;
  animation-delay: -5s;
}

@keyframes blob-float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(30px, 40px) scale(1.1);
  }
}

.synopsis-text-elite {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  max-height: 5.2rem;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.synopsis-text-elite.expanded {
  max-height: 1000px;
}

.btn-more-elite {
  background: none;
  border: none;
  color: #00E5FF;
  font-weight: 700;
  cursor: pointer;
  margin-top: 15px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* Beneficios Grid */
.features-elite {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-pill {
  padding: 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-icon-circle {
  width: 60px;
  height: 60px;
  background: rgba(0, 229, 255, 0.1);
  border-radius: 16px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00E5FF;
}

/* Footer */
.footer-elite {
  padding: 80px 0 120px 0;
  /* Aumentado padding inferior para "dejarlo respirar" */
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 100px;
}

#loader-elite {
  position: fixed;
  inset: 0;
  background: #06080c;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.hidden {
  display: none !important;
}

/* ========== RESPONSIVE: TABLET (max-width: 991px) ========== */
@media (max-width: 991px) {
  .hero-elite {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
    padding: 100px 0 60px;
  }

  .hero-title-elite {
    max-width: 100%;
    align-items: center;
  }

  .subtitle-elite {
    max-width: 100%;
    text-align: center;
  }

  .hero-title-elite,
  .subtitle-elite,
  .info-section-elite {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .metadata-row-elite {
    justify-content: center;
  }

  .price-card-section-elite {
    justify-content: center;
    text-align: center;
  }

  .info-section-elite {
    border-left: none;
    border-top: 4px solid #00E5FF;
    text-align: center;
  }

  .main-cover-elite {
    max-width: 360px;
    margin: 0 auto;
    transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
  }

  .main-cover-elite:hover {
    transform: perspective(1200px) rotateY(-3deg) rotateX(1deg) scale(1.02);
  }

  .blob {
    width: 280px;
    height: 280px;
  }

  .features-elite {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .feature-pill {
    padding: 30px;
  }

  .footer-elite {
    padding: 60px 0 80px 0;
    margin-top: 60px;
  }
}

/* ========== RESPONSIVE: MOBILE (max-width: 576px) ========== */
@media (max-width: 576px) {
  .container-elite {
    padding: 0 16px;
  }

  .hero-elite {
    padding: 90px 0 40px;
    gap: 35px;
  }

  .hero-title-elite {
    letter-spacing: -1.5px;
    margin-bottom: 20px;
  }

  .availability-badge-elite {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
  }

  .subtitle-elite {
    font-size: 0.95rem;
    margin-top: 15px;
    margin-bottom: 20px;
  }

  .info-section-elite {
    padding: 25px 20px;
    margin-top: 25px;
    border-radius: 16px;
  }

  .section-title-elite {
    font-size: 0.8rem;
  }

  .meta-tag-elite {
    font-size: 0.7rem;
    padding: 6px 12px;
  }

  .synopsis-text-elite {
    font-size: 0.95rem;
  }

  .price-card-section-elite {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
  }

  .price-value-elite {
    font-size: 36px !important;
  }

  .price-label-elite {
    font-size: 16px !important;
  }

  .cta-button-elite {
    width: 100%;
    padding: 16px 30px !important;
    font-size: 1rem;
    text-align: center;
  }

  .main-cover-elite {
    max-width: 280px;
    transform: perspective(800px) rotateY(-6deg) rotateX(2deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
  }

  .main-cover-elite:hover {
    transform: perspective(800px) rotateY(-2deg) rotateX(1deg) scale(1.01);
  }

  .blob {
    width: 200px;
    height: 200px;
    filter: blur(60px);
  }

  .features-elite {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-pill {
    padding: 25px 20px;
  }

  .feature-icon-circle {
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
  }

  .footer-elite {
    padding: 50px 0 70px 0;
    margin-top: 50px;
  }

  .navbar-elite {
    padding: 15px 16px;
  }
}