/* ============================================================
   MAJIDA NAILS STUDIO — DESIGN SYSTEM
   Paleta: Rosa #F48FB1, Hot Pink #E91E8C, Baby Pink #FCE4EC
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Coiny&family=Poppins:wght@400;600;700;800;900&family=Nunito:wght@300;400;600;700;800;900&family=Bubblegum+Sans&display=swap');

/* ======== CSS CUSTOM PROPERTIES ======== */
:root {
  --pink-light:    #FCE4EC;
  --pink-soft:     #F8BBD9;
  --pink-main:     #F48FB1;
  --pink-hot:      #E91E8C;
  --pink-deep:     #C2185B;
  --pink-darker:   #880E4F;
  --white:         #FFFFFF;
  --gray-light:    #FFF0F5;
  --gray-soft:     #F9E4EF;
  --text-dark:     #2D1B2E;
  --text-mid:      #6D3E5E;
  --text-soft:     #A07090;
  --shadow-pink:   rgba(233, 30, 140, 0.15);
  --shadow-deep:   rgba(136, 14, 79, 0.25);
  --gradient-hero: linear-gradient(135deg, #FCE4EC 0%, #F8BBD9 40%, #F48FB1 100%);
  --gradient-card: linear-gradient(145deg, #fff0f8 0%, #fce4ec 100%);
  --gradient-btn:  linear-gradient(135deg, #E91E8C, #C2185B);
  --border-radius: 24px;
  --radius-sm:     12px;
  --radius-lg:     40px;
  --transition:    all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-title:    'Coiny', cursive;
  --font-script:   'Coiny', cursive;
  --font-body:     'Nunito', sans-serif;
}

/* ======== RESET & BASE ======== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--pink-light);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ======== SCROLLBAR KAWAII ======== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--pink-light); }
::-webkit-scrollbar-thumb { background: var(--pink-main); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--pink-hot); }

/* ======== SPLASH SCREEN ======== */
#splash-screen {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--gradient-hero);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

#splash-screen.fade-out {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.splash-petals {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -60px;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 30% 30%, #fff, #F48FB1);
  border-radius: 50% 0 50% 0;
  opacity: 0.7;
  animation: petalFall linear infinite;
}

.petal:nth-child(1)  { left: 5%;  width: 14px; height: 14px; animation-duration: 6s;  animation-delay: 0s;   }
.petal:nth-child(2)  { left: 15%; width: 20px; height: 20px; animation-duration: 8s;  animation-delay: 1s;   }
.petal:nth-child(3)  { left: 25%; width: 16px; height: 16px; animation-duration: 5s;  animation-delay: 0.5s; }
.petal:nth-child(4)  { left: 35%; width: 22px; height: 22px; animation-duration: 9s;  animation-delay: 2s;   }
.petal:nth-child(5)  { left: 45%; width: 12px; height: 12px; animation-duration: 7s;  animation-delay: 1.5s; }
.petal:nth-child(6)  { left: 55%; width: 18px; height: 18px; animation-duration: 6.5s;animation-delay: 0.8s; }
.petal:nth-child(7)  { left: 65%; width: 24px; height: 24px; animation-duration: 8.5s;animation-delay: 2.5s; }
.petal:nth-child(8)  { left: 75%; width: 15px; height: 15px; animation-duration: 5.5s;animation-delay: 0.3s; }
.petal:nth-child(9)  { left: 85%; width: 19px; height: 19px; animation-duration: 7.5s;animation-delay: 1.8s; }
.petal:nth-child(10) { left: 92%; width: 13px; height: 13px; animation-duration: 6.2s;animation-delay: 0.7s; }

@keyframes petalFall {
  0%   { transform: translateY(-60px) rotate(0deg)   translateX(0);    opacity: 0;   }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(110vh) rotate(720deg) translateX(40px); opacity: 0;   }
}

.splash-bear {
  font-size: 100px;
  animation: bearBounce 1.2s ease infinite alternate;
  filter: drop-shadow(0 10px 30px rgba(233, 30, 140, 0.4));
  margin-bottom: 20px;
}

@keyframes bearBounce {
  0%   { transform: translateY(0)    scale(1);    }
  100% { transform: translateY(-15px) scale(1.05); }
}

.splash-logo {
  font-family: var(--font-title);
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--white);
  text-shadow: 2px 4px 20px rgba(136, 14, 79, 0.4);
  animation: splashText 0.8s ease forwards;
  opacity: 0;
}

@keyframes splashText {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.splash-sub {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-top: 8px;
  animation: splashText 0.8s ease 0.3s forwards;
  opacity: 0;
}

.splash-hearts {
  margin-top: 20px;
  font-size: 1.5rem;
  animation: heartPulse 1s ease infinite alternate;
}

@keyframes heartPulse {
  0%   { transform: scale(1);    }
  100% { transform: scale(1.3);  }
}

.splash-progress {
  width: 220px;
  height: 6px;
  background: rgba(255,255,255,0.3);
  border-radius: 10px;
  margin-top: 30px;
  overflow: hidden;
}
.splash-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #fff, var(--pink-hot));
  border-radius: 10px;
  animation: progressFill 2.5s ease forwards;
}
@keyframes progressFill {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ======== HEADER & NAV ======== */
#main-header {
  position: fixed;
  top: 0; width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

.header-top-bar {
  background: var(--pink-hot);
  color: white;
  text-align: center;
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  animation: slideDown 0.5s ease;
}

.header-main {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(244, 143, 177, 0.3);
  padding: 12px 0;
  box-shadow: 0 4px 30px var(--shadow-pink);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon { font-size: 2rem; }

.logo-text {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 1px;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-mid);
  letter-spacing: 2px;
  text-transform: uppercase;
  -webkit-text-fill-color: var(--text-mid);
}

nav.main-nav { display: flex; align-items: center; gap: 6px; }

.nav-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-mid);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 30px;
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%; height: 2px;
  background: var(--pink-hot);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-link:hover { color: var(--pink-hot); }
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn-login {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--pink-hot);
  border: 2px solid var(--pink-hot);
  background: transparent;
  padding: 8px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-login:hover { background: var(--pink-hot); color: white; transform: translateY(-2px); }

.btn-primary {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  color: white;
  background: var(--gradient-btn);
  border: none;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px var(--shadow-pink);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow-deep);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 24px; height: 3px;
  background: var(--pink-hot);
  border-radius: 3px;
  transition: var(--transition);
}

/* ======== HERO SECTION ======== */
#hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 90px;
}

.hero-bg-shapes {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  animation: floatShape ease-in-out infinite alternate;
}
.hero-shape-1 { width: 400px; height: 400px; top: -100px; right: -100px; animation-duration: 6s; }
.hero-shape-2 { width: 250px; height: 250px; bottom: 50px; left: -80px; animation-duration: 8s; animation-delay: 1s; }
.hero-shape-3 { width: 120px; height: 120px; top: 40%; left: 20%; animation-duration: 5s; animation-delay: 2s; }

@keyframes floatShape {
  0%   { transform: translate(0, 0)   scale(1);    }
  100% { transform: translate(15px, -15px) scale(1.05); }
}

.hero-floating-stars .star {
  position: absolute;
  font-size: 1.5rem;
  animation: twinkle 2s ease infinite alternate;
}
.star-1 { top: 15%; left: 8%;  animation-delay: 0s;   }
.star-2 { top: 25%; right: 15%; animation-delay: 0.5s; }
.star-3 { top: 60%; left: 5%;  animation-delay: 1s;   }
.star-4 { bottom: 20%; right: 5%; animation-delay: 1.5s; }
.star-5 { top: 45%; right: 30%; animation-delay: 0.8s; }

@keyframes twinkle {
  0%   { opacity: 0.4; transform: scale(0.8) rotate(0deg);  }
  100% { opacity: 1;   transform: scale(1.2) rotate(15deg); }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 2px solid var(--pink-main);
  color: var(--pink-deep);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  animation: slideInLeft 0.8s ease;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 3.4rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 12px;
  animation: slideInLeft 0.8s ease 0.2s both;
}

.hero-title .line-1 { color: var(--pink-hot); display: block; }
.hero-title .line-2 { color: var(--pink-deep); display: block; }
.hero-title .line-3 {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-mid);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.8;
  animation: slideInLeft 0.8s ease 0.4s both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: slideInLeft 0.8s ease 0.6s both;
}

.btn-hero-primary {
  background: var(--gradient-btn);
  color: white;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px 36px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 25px rgba(233, 30, 140, 0.4);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-hero-primary::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 60%; height: 200%;
  background: rgba(255,255,255,0.3);
  transform: skewX(-20deg);
  animation: shimmer 2.5s ease infinite;
}
@keyframes shimmer {
  0%   { left: -60%; }
  100% { left: 120%; }
}
.btn-hero-primary:hover { transform: translateY(-4px); box-shadow: 0 12px 35px rgba(233, 30, 140, 0.5); }

.btn-hero-secondary {
  background: white;
  color: var(--pink-hot);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 36px;
  border: 3px solid var(--pink-main);
  border-radius: 40px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-hero-secondary:hover { background: var(--pink-light); transform: translateY(-4px); }

.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 36px;
  animation: slideInLeft 0.8s ease 0.8s both;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--pink-hot);
  display: block;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-mid);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-image-area {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInRight 1s ease 0.3s both;
}

.hero-img-blob {
  width: 480px;
  height: 480px;
  border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  overflow: hidden;
  border: 6px solid white;
  box-shadow: 0 20px 60px rgba(233, 30, 140, 0.25);
  animation: blobMorph 8s ease-in-out infinite;
}
.hero-img-blob img { width: 100%; height: 100%; object-fit: cover; }

@keyframes blobMorph {
  0%,100% { border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%; }
  25%      { border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%; }
  50%      { border-radius: 55% 45% 60% 40% / 40% 60% 45% 55%; }
  75%      { border-radius: 40% 60% 45% 55% / 55% 45% 60% 40%; }
}

.hero-float-badges {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  pointer-events: none;
}
.float-badge {
  position: absolute;
  background: white;
  border-radius: 20px;
  padding: 10px 16px;
  box-shadow: 0 8px 30px rgba(233, 30, 140, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-dark);
  animation: floatBadge 4s ease-in-out infinite alternate;
}
.float-badge .badge-icon { font-size: 1.3rem; }
.badge-1 { top: 10%; left: -20px; animation-delay: 0s;   }
.badge-2 { bottom: 15%; right: -20px; animation-delay: 1.5s; }
.badge-3 { top: 50%; right: -30px; animation-delay: 0.8s; }

@keyframes floatBadge {
  0%   { transform: translateY(0);   }
  100% { transform: translateY(-10px); }
}

/* Slide animations */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0);     }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0);    }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0);     }
}

/* Hero wave bottom */
.hero-wave {
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%;
  line-height: 0;
}

/* ======== CATEGORY PILLS ======== */
.section-categories {
  background: white;
  padding: 30px 0;
}
.categories-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card {
  background: var(--gradient-card);
  border: 2px solid var(--pink-soft);
  border-radius: var(--border-radius);
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.cat-card:hover {
  transform: translateY(-6px);
  border-color: var(--pink-hot);
  box-shadow: 0 12px 35px var(--shadow-pink);
  background: linear-gradient(145deg, #fff, var(--pink-soft));
}
.cat-icon { font-size: 2.5rem; }
.cat-title {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--pink-hot);
  font-weight: 700;
}
.cat-count {
  font-size: 0.78rem;
  color: var(--text-soft);
  font-weight: 600;
}

/* ======== SECTION STYLES ======== */
section { padding: 80px 0; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header { text-align: center; margin-bottom: 50px; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--pink-hot);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.6rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.section-title span { color: var(--pink-hot); }

.section-desc {
  font-size: 1.02rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ======== COURSES SECTION ======== */
#cursos { background: var(--gray-light); }

.courses-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 24px;
  border-radius: 30px;
  border: 2px solid var(--pink-main);
  background: white;
  color: var(--pink-hot);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--gradient-btn);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-pink);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.course-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-pink);
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(244, 143, 177, 0.2);
}
.course-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 50px var(--shadow-deep);
}

.course-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.course-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.course-card:hover .course-img-wrap img { transform: scale(1.08); }

.course-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--gradient-btn);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.course-badge.new-badge { background: linear-gradient(135deg, #9C27B0, #E91E63); }

.course-body { padding: 22px; }

.course-category {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--pink-hot);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.course-title {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: #8B2252;
  margin-bottom: 8px;
  font-weight: 700;
}

.course-desc {
  font-size: 0.88rem;
  color: #A0567A;
  margin-bottom: 14px;
  line-height: 1.6;
}

.course-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: #B06A8A;
  font-weight: 600;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--pink-soft);
}

.course-price {
  display: flex;
  flex-direction: column;
}
.price-old {
  font-size: 0.78rem;
  text-decoration: line-through;
  color: var(--text-soft);
}
.price-current {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--pink-hot);
}

.btn-buy {
  background: var(--gradient-btn);
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-buy:hover { transform: translateY(-2px); box-shadow: 0 6px 20px var(--shadow-pink); }

/* Course rating stars */
.course-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}
.stars { color: #FFB800; font-size: 0.85rem; letter-spacing: 1px; }
.rating-count { font-size: 0.78rem; color: var(--text-soft); }

/* ======== WHY US SECTION ======== */
#porque { background: white; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--border-radius);
  background: var(--gradient-card);
  border: 2px solid var(--pink-soft);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}
.why-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.why-card:hover {
  border-color: var(--pink-hot);
  box-shadow: 0 12px 40px var(--shadow-pink);
  transform: translateY(-6px);
}
.why-icon { font-size: 3rem; margin-bottom: 16px; }
.why-title {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--pink-hot);
  margin-bottom: 10px;
  font-weight: 700;
}
.why-desc { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; }

/* ======== TESTIMONIALS ======== */
#testimonios { background: var(--gradient-hero); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  padding: 30px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 30px rgba(233, 30, 140, 0.1);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}
.testimonial-card.visible { opacity: 1; transform: translateY(0); }
.testimonial-card:hover { transform: translateY(-6px); box-shadow: 0 16px 45px var(--shadow-deep); }

.test-quote { font-size: 1.5rem; margin-bottom: 8px; }
.test-text {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}
.test-author { display: flex; align-items: center; gap: 12px; }
.test-avatar { font-size: 2.5rem; }
.test-name {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text-dark);
}
.test-course { font-size: 0.78rem; color: var(--pink-hot); font-weight: 600; }

/* ======== SUBSCRIBE BANNER ======== */
#subscribe {
  background: var(--gradient-btn);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#subscribe::before {
  content: '🌸';
  position: absolute;
  font-size: 15rem;
  opacity: 0.08;
  top: -40px; left: -40px;
  animation: floatShape 6s ease-in-out infinite alternate;
}
#subscribe::after {
  content: '💅';
  position: absolute;
  font-size: 12rem;
  opacity: 0.08;
  bottom: -30px; right: -20px;
  animation: floatShape 8s ease-in-out infinite alternate-reverse;
}

.subscribe-title {
  font-family: var(--font-title);
  font-size: 3rem;
  color: white;
  margin-bottom: 10px;
}
.subscribe-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  margin-bottom: 30px;
}
.subscribe-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
}
.subscribe-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 30px;
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.subscribe-btn {
  background: white;
  color: var(--pink-hot);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px 28px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}
.subscribe-btn:hover { background: var(--pink-light); transform: translateY(-2px); }

/* ======== CONTACT SECTION ======== */
#contacto { background: var(--gray-light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info-title {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--pink-hot);
  margin-bottom: 16px;
  font-weight: 700;
}
.contact-info-desc {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 30px;
}
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--text-mid);
}
.contact-icon {
  width: 44px; height: 44px;
  background: var(--gradient-btn);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-form {
  background: white;
  border-radius: var(--border-radius);
  padding: 36px;
  box-shadow: 0 8px 40px var(--shadow-pink);
  border: 1px solid rgba(244, 143, 177, 0.2);
}

.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.form-input, .form-textarea {
  width: 100%;
  padding: 12px 18px;
  border: 2px solid var(--pink-soft);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
  background: var(--gray-light);
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--pink-hot);
  background: white;
  box-shadow: 0 0 0 4px rgba(233, 30, 140, 0.08);
}
.form-textarea { height: 130px; resize: vertical; }

.form-submit {
  width: 100%;
  background: var(--gradient-btn);
  color: white;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  padding: 15px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px var(--shadow-pink);
}
.form-submit:hover { transform: translateY(-3px); box-shadow: 0 10px 30px var(--shadow-deep); }

/* ======== FOOTER ======== */
footer {
  background: #2D1B2E;
  color: rgba(255,255,255,0.8);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .logo-text { -webkit-text-fill-color: var(--pink-main); }
.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-top: 10px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: white;
}
.social-btn:hover { background: var(--pink-hot); border-color: var(--pink-hot); transform: translateY(-3px); }

.footer-col h4 {
  font-weight: 800;
  font-size: 0.95rem;
  color: white;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--pink-main); padding-left: 6px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.5); }
.footer-love { font-size: 0.82rem; color: var(--pink-main); }

/* ======== WHATSAPP BUTTON ======== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 12px;
}
.whatsapp-tooltip {
  background: white;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px 16px;
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  white-space: nowrap;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

.whatsapp-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  animation: waPulse 2.5s ease infinite;
}
@keyframes waPulse {
  0%   { box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45); }
  50%  { box-shadow: 0 6px 40px rgba(37, 211, 102, 0.7), 0 0 0 14px rgba(37, 211, 102, 0.12); }
  100% { box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45); }
}
.whatsapp-btn:hover { background: #128C7E; transform: scale(1.1) translateY(-3px); }

/* ======== MODAL AUTH ======== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(45, 27, 46, 0.7);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-box {
  background: white;
  border-radius: var(--border-radius);
  padding: 40px;
  width: 100%;
  max-width: 460px;
  margin: 20px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.3);
  transform: translateY(30px) scale(0.95);
  transition: var(--transition);
  position: relative;
  border-top: 5px solid var(--pink-hot);
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--pink-soft);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--pink-hot); color: white; }

.modal-header { text-align: center; margin-bottom: 28px; }
.modal-icon { font-size: 2.5rem; margin-bottom: 8px; }
.modal-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--pink-hot);
}
.modal-sub { font-size: 0.88rem; color: var(--text-soft); margin-top: 4px; }

.modal-tabs {
  display: flex;
  background: var(--gray-light);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 24px;
}
.modal-tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-soft);
  cursor: pointer;
  transition: var(--transition);
}
.modal-tab.active {
  background: var(--gradient-btn);
  color: white;
  box-shadow: 0 4px 12px var(--shadow-pink);
}

/* ======== PAYPAL PAYMENT MODAL ======== */
.payment-modal {
  max-width: 520px;
}
.payment-course-info {
  background: var(--gradient-card);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--pink-soft);
}
.payment-course-img {
  width: 64px; height: 64px;
  border-radius: 10px;
  object-fit: cover;
}
.payment-course-title { font-weight: 800; font-size: 0.95rem; color: var(--text-dark); }
.payment-course-price { font-family: var(--font-title); font-size: 1.4rem; color: var(--pink-hot); }

.paypal-divider {
  text-align: center;
  color: var(--text-soft);
  font-size: 0.82rem;
  margin: 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.paypal-divider::before,
.paypal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--pink-soft);
}

.paypal-btn-wrap {
  background: #0070BA;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.paypal-btn {
  background: #0070BA;
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}
.paypal-btn:hover { background: #003087; }

/* ======== STUDENT DASHBOARD ======== */
.dashboard-hero {
  background: var(--gradient-hero);
  padding: 100px 0 50px;
  text-align: center;
}
.dashboard-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  color: var(--pink-hot);
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  padding: 40px 0;
}
.dashboard-sidebar {
  background: white;
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: 0 4px 20px var(--shadow-pink);
  height: fit-content;
}
.sidebar-menu { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.sidebar-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-mid);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
}
.sidebar-item a:hover, .sidebar-item.active a {
  background: var(--pink-light);
  color: var(--pink-hot);
}

.my-courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ======== SCROLL ANIMATIONS ======== */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delay utility */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ======== FLOATING PARTICLES ======== */
.floating-particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(244, 143, 177, 0.15);
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0%   { transform: translateY(100vh) rotate(0deg);   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* ======== TOAST NOTIFICATIONS ======== */
.toast-container {
  position: fixed;
  top: 90px; right: 20px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: white;
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  max-width: 320px;
  border-left: 4px solid var(--pink-hot);
  animation: toastSlide 0.4s ease;
  transform-origin: top right;
}
@keyframes toastSlide {
  from { opacity: 0; transform: translateX(50px) scale(0.8); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
.toast.success { border-left-color: #4CAF50; }
.toast.error   { border-left-color: #F44336; }

/* ======== RESPONSIVE ======== */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.8rem; }
  .hero-img-blob { width: 380px; height: 380px; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  nav.main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: white;
    flex-direction: column;
    justify-content: center;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
    padding: 40px;
    z-index: 999;
  }
  nav.main-nav.open { right: 0; }
  .nav-link { font-size: 1.1rem; padding: 12px 0; }

  .hero-container { grid-template-columns: 1fr; text-align: center; padding: 80px 24px 40px; }
  .hero-image-area { order: -1; }
  .hero-img-blob { width: 280px; height: 280px; }
  .hero-title { font-size: 2.2rem; }
  .hero-ctas { justify-content: center; }
  .hero-stats { justify-content: center; }
  .float-badge { display: none; }

  .categories-container { grid-template-columns: repeat(2, 1fr); }
  .courses-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .subscribe-form { flex-direction: column; }
  .section-title { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero-img-blob { width: 240px; height: 240px; }
  .why-grid { grid-template-columns: 1fr; }
  .categories-container { grid-template-columns: repeat(2, 1fr); }
  .splash-logo { font-size: 2.5rem; }
}

/* ============================================================
   COINY — Títulos con neón leve y suave
   ============================================================ */
.neon-title {
  font-family: 'Coiny', cursive !important;
  font-size: 2.8rem;
  letter-spacing: 0.5px;
  color: #E91E8C;
  text-shadow:
    0 0 8px  rgba(255,255,255,0.7),
    0 0 16px rgba(244,143,177,0.5),
    0 0 28px rgba(233,30,140,0.3);
  animation: neonSuave 3s ease-in-out infinite alternate;
  line-height: 1.2;
}

.neon-title span {
  color: #C2185B;
  text-shadow:
    0 0 8px  rgba(255,255,255,0.6),
    0 0 16px rgba(244,143,177,0.4),
    0 0 26px rgba(194,24,91,0.25);
}

.neon-sub {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.3px;
  color: #E91E8C;
  text-shadow:
    0 0 5px  #fff,
    0 0 12px #F48FB1,
    0 0 25px #E91E8C,
    0 0 45px #C2185B;
  animation: neonPulse 2.5s ease-in-out 0.5s infinite alternate;
}

@keyframes neonSuave {
  from { text-shadow:
    0 0 6px  rgba(255,255,255,0.6),
    0 0 14px rgba(244,143,177,0.4),
    0 0 24px rgba(233,30,140,0.25);
    filter: brightness(1);
  }
  to { text-shadow:
    0 0 10px rgba(255,255,255,0.8),
    0 0 20px rgba(244,143,177,0.5),
    0 0 35px rgba(233,30,140,0.3);
    filter: brightness(1.06);
  }
}

@keyframes neonPulse {
  from {
    text-shadow:
      0 0 6px  #fff,
      0 0 14px #F48FB1,
      0 0 30px #E91E8C,
      0 0 55px #E91E8C,
      0 0 80px #C2185B;
    filter: brightness(1);
  }
  to {
    text-shadow:
      0 0 8px  #fff,
      0 0 22px #F8BBD9,
      0 0 45px #E91E8C,
      0 0 75px #E91E8C,
      0 0 110px #C2185B;
    filter: brightness(1.15);
  }
}

/* Section titles with neon — Poppins bold + glow */
.section-title {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 900;
  font-size: 2.6rem;
  color: #E91E8C;
  text-shadow:
    0 0 6px  rgba(255,255,255,0.9),
    0 0 18px rgba(244,143,177,0.8),
    0 0 36px rgba(233,30,140,0.6),
    0 0 60px rgba(194,24,91,0.4);
  animation: neonPulse 3s ease-in-out infinite alternate;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.title-coiny {
  font-family: 'Coiny', cursive !important;
  text-shadow:
    0 0 8px  rgba(255,255,255,0.7),
    0 0 18px rgba(244,143,177,0.5),
    0 0 30px rgba(233,30,140,0.25) !important;
  animation: neonSuave 3s ease-in-out infinite alternate !important;
  letter-spacing: 0.5px;
}

.title-coiny span {
  text-shadow:
    0 0 8px  rgba(255,255,255,0.6),
    0 0 16px rgba(244,143,177,0.4),
    0 0 26px rgba(194,24,91,0.2) !important;
}

.section-title span {
  color: #C2185B;
  text-shadow:
    0 0 6px  rgba(255,255,255,0.9),
    0 0 18px rgba(244,143,177,0.8),
    0 0 36px rgba(233,30,140,0.7),
    0 0 60px rgba(194,24,91,0.5);
}


/* ============================================================
   NUEVO CURSO BANNER
   ============================================================ */
.nuevo-curso-banner {
  position: relative;
  background: linear-gradient(135deg, #FFF0F8 0%, #FCE4EC 50%, #F8BBD9 100%);
  border-radius: 28px;
  padding: 32px 28px 28px;
  margin-bottom: 36px;
  border: 2px solid rgba(233,30,140,0.2);
  box-shadow: 0 8px 40px rgba(233,30,140,0.12);
  overflow: hidden;
  display: none; /* shown by JS when there's a new course */
}

.nuevo-curso-banner.visible {
  display: block;
  animation: fadeInDown 0.6s ease both;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nuevo-curso-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,30,140,0.12), transparent 70%);
  pointer-events: none;
}

.nuevo-curso-banner::after {
  content: '';
  position: absolute;
  bottom: -30px; left: -30px;
  width: 120px; height: 120px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,30,140,0.1), transparent 70%);
  pointer-events: none;
}

/* ---- INNER: 3 columnas ---- */
.nuevo-banner-inner {
  display: grid;
  grid-template-columns: 240px 1fr 220px;
  gap: 20px;
  align-items: center;
}

.nuevo-banner-left { flex-shrink: 0; }

.nuevo-banner-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(233,30,140,0.3);
  display: block;
}

.nuevo-banner-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* "Nuevo" — Coiny con neón suave */
.nuevo-texto-1 {
  font-family: 'Coiny', cursive;
  font-size: 5rem;
  line-height: 1;
  color: #F8BBD9;
  -webkit-text-stroke: 3px #E91E8C;
  text-shadow:
    3px 3px 0 #C2185B,
    0 0 10px rgba(233,30,140,0.4),
    0 0 25px rgba(233,30,140,0.2);
  animation: neonSuave 2s ease-in-out infinite alternate;
  display: block;
  letter-spacing: 2px;
}

/* "Curso" — Coiny rosa intenso con neón suave */
.nuevo-texto-2 {
  font-family: 'Coiny', cursive;
  font-size: 4.5rem;
  line-height: 1;
  color: #E91E8C;
  -webkit-text-stroke: 3px #fff;
  text-shadow:
    3px 3px 0 #880E4F,
    0 0 10px rgba(233,30,140,0.5),
    0 0 25px rgba(194,24,91,0.3);
  animation: neonSuave 2s ease-in-out 0.4s infinite alternate;
  display: block;
  letter-spacing: 2px;
}

.nuevo-banner-right { padding-left: 8px; }

.nuevo-banner-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: #2D1B2E;
  margin-bottom: 8px;
  line-height: 1.3;
}

.nuevo-banner-desc {
  font-size: 0.85rem;
  color: #6D3E5E;
  margin-bottom: 12px;
  line-height: 1.6;
}

.nuevo-banner-price {
  font-size: 1.6rem;
  font-weight: 900;
  color: #E91E8C;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.nuevo-banner-price .old-price {
  font-size: 0.9rem;
  color: #A07090;
  text-decoration: line-through;
  font-weight: 400;
}

/* Hero chica — sin blob circular */
.hero-img-chica {
  border-radius: 24px !important;
  overflow: hidden;
  background: none !important;
  width: 420px !important;
  height: 520px !important;
}
.hero-img-chica img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 24px;
}

/* RESPONSIVE banner */
@media (max-width: 900px) {
  .nuevo-banner-inner {
    grid-template-columns: 1fr 1fr;
  }
  .nuevo-banner-center { grid-column: 1 / -1; }
  .nuevo-texto-1 { font-size: 3.5rem; }
  .nuevo-texto-2 { font-size: 3rem; }
  .hero-img-chica { width: 320px !important; height: 400px !important; }
}

@media (max-width: 560px) {
  .nuevo-banner-inner { grid-template-columns: 1fr; }
  .nuevo-banner-img { height: 160px; }
  .nuevo-texto-1 { font-size: 2.8rem; }
  .nuevo-texto-2 { font-size: 2.4rem; }
  .hero-img-chica { width: 260px !important; height: 320px !important; }
}

/* ============================================================
   COURSE BADGES — UPDATED
   ============================================================ */
.badge-mas-vendido {
  background: linear-gradient(135deg, #E91E8C, #C2185B) !important;
  color: white !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 5px 14px;
  border-radius: 30px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 12px rgba(233,30,140,0.4);
}

.badge-nuevo {
  background: linear-gradient(135deg, #9C27B0, #6A1B9A) !important;
  color: white !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 5px 14px;
  border-radius: 30px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 12px rgba(156,39,176,0.4);
  animation: badgePulse 2s ease-in-out infinite;
}

.badge-favorito {
  background: linear-gradient(135deg, #FF6B35, #E64A19) !important;
  color: white !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 5px 14px;
  border-radius: 30px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 12px rgba(255,107,53,0.4);
}

.badge-oferta {
  background: linear-gradient(135deg, #4CAF50, #2E7D32) !important;
  color: white !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 5px 14px;
  border-radius: 30px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 12px rgba(76,175,80,0.4);
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 2px 12px rgba(156,39,176,0.4); transform: scale(1); }
  50%       { box-shadow: 0 2px 20px rgba(156,39,176,0.7); transform: scale(1.05); }
}

/* Course card top ribbon for newest */
.course-card.is-newest {
  border: 2px solid rgba(156,39,176,0.3) !important;
  box-shadow: 0 8px 40px rgba(156,39,176,0.15) !important;
  order: -1;
}

/* ============================================================
   BTN-GALLERY — Botón "Ver fotos" en tarjetas de cursos
   ============================================================ */
.btn-gallery {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 14px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  border: 2px solid var(--pink-main);
  background: transparent;
  color: var(--pink-hot);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-gallery:hover {
  background: var(--pink-light);
  border-color: var(--pink-hot);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--shadow-pink);
}

/* ============================================================
   GALLERY LIGHTBOX MODAL
   ============================================================ */
.gallery-modal-box {
  background: white;
  border-radius: 24px;
  width: min(900px, 96vw);
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  box-shadow: 0 20px 60px rgba(233,30,140,0.18);
  animation: modalSlideUp 0.35s ease both;
}

.gallery-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}
.gallery-modal-title {
  font-family: 'Coiny', cursive;
  font-size: 2rem;
  color: #E91E8C;
  text-shadow: 0 0 10px rgba(255,255,255,0.7), 0 0 20px rgba(244,143,177,0.4);
  margin: 0;
}
.gallery-modal-sub {
  font-size: 0.85rem;
  color: #A07090;
  margin: 4px 0 0;
}

/* Main image viewer */
.gallery-lightbox {
  position: relative;
  background: #1a0a15;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  max-height: 420px;
  margin-bottom: 14px;
}
.gallery-main-img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}
.gallery-video-wrap {
  width: 100%;
  height: 380px;
}

/* Prev / Next arrows */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(233,30,140,0.85);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 2;
  line-height: 1;
}
.gallery-nav:hover { background: #C2185B; transform: translateY(-50%) scale(1.1); }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

/* Counter */
.gallery-counter {
  text-align: center;
  font-size: 0.82rem;
  color: #A07090;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Thumbnails strip */
.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: #F48FB1 #FCE4EC;
}
.gallery-thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2.5px solid transparent;
  transition: all 0.2s;
  flex-shrink: 0;
  opacity: 0.7;
}
.gallery-thumb:hover  { opacity: 1; border-color: #F48FB1; }
.gallery-thumb.active { opacity: 1; border-color: #E91E8C; box-shadow: 0 0 0 2px rgba(233,30,140,0.25); }

/* Videos section */
.gallery-section-label {
  font-weight: 800;
  font-size: 0.9rem;
  color: #8B2252;
  margin-bottom: 10px;
  padding-top: 8px;
  border-top: 1px solid #FCE4EC;
}
.gallery-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 10px;
}
.gallery-video-card { border-radius: 10px; overflow: hidden; }

/* Empty state */
.gallery-empty {
  text-align: center;
  padding: 40px 20px;
  color: #A07090;
}

@media (max-width: 600px) {
  .gallery-modal-box { padding: 18px 14px; }
  .gallery-lightbox  { min-height: 200px; }
  .gallery-nav       { width: 34px; height: 34px; font-size: 1.2rem; }
  .gallery-videos-grid { grid-template-columns: 1fr; }
}
