/* === BASE === */
:root {
  --bg-dark: #0b0512;
  --card-dark: #1e162b;
  --primary: #a040ff;
  --text-light: #fff;
  --font-main: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-main);
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* === CONTAINERS === */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* === HEADER === */
.header {
  background: linear-gradient(90deg, #100018, #1f0140);
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(160, 64, 255, 0.2);
}

.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 40px;         /* 🔹 Ajusta el tamaño del logo */
  width: auto;
  display: block;
}

.logo span {
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1;
}

.nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--text-light);
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--primary);
}

/* === HERO === */
.hero {
  background: url('imagenes/WEB-RECURSOS_01.png') center/cover no-repeat;
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  color: #fff;
  z-index: 1;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero__content {
  position: relative;
  max-width: 600px;
}

.hero h1 {
  font-size: 4rem;
  text-shadow: 0 0 10px rgba(160, 64, 255, 0.7);
  margin-bottom: 1rem;
}

/* === SECTIONS === */
.section {
  padding: 6rem 0;
}

.section h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.section h2 span {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(160, 64, 255, 0.6);
}

.section h3 {
  color: #ccc;
  font-weight: 400;
  margin-bottom: 1rem;
}

/* === ORÁCULO === */
.oracle {
  background: url('imagenes/') center/cover fixed;
}

.oracle__grid {
  display: grid;
  gap: 2rem;
}

.card {
  background: var(--card-dark);
  border: 1px solid rgba(160, 64, 255, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 0 20px rgba(160, 64, 255, 0.15);
}

.card h4 {
  color: var(--primary);
  margin-bottom: 1rem;
}

/* === RITUALES === */
.rituals {
  background: url('imagenes/WEB-RECURSOS_03.png') center/cover;
  text-align: center;
}

.cards-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.cards-grid .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cards-grid .card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(160, 64, 255, 0.4);
}

/* === SUERTE === */
.success {
  background: url('imagenes/WEB-RECURSOS_04.png') center/cover;
}

.success__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

/* === CTA === */
.cta {
  background: url('imagenes/WEB-RECURSOS_05.png') center/cover fixed;
  text-align: center;
  padding: 10rem 0;
  .cta .container {
  position: relative;
  z-index: 2;
}

.cta .overlay {
  z-index: 1;
}

}

.btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 3rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #fff;
  color: var(--primary);
  transform: scale(1.05);
}

/* === FOOTER === */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(160, 64, 255, 0.2);
  padding: 2rem 0;
  text-align: center;
}

.footer__links a {
  color: #aaa;
  margin: 0 1rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: var(--primary);
}

/* === RESPONSIVE === */
@media (min-width: 768px) {
  .oracle__grid,
  .success__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
