/* ============================================================
   landing.css — Dandi Magic Landing Page
   Dark Mystique Theme with Gold & Purple Accents
   ============================================================ */

/* --- Breakout from container --- */
.lp-full {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* --- Hero Section --- */
.lp-hero {
  background: linear-gradient(165deg, #0a0a14 0%, #12101f 40%, #1a1035 70%, #0d0b18 100%);
  padding: 0;
  text-align: right;
  overflow: hidden;
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
}

/* Hero with background image — split layout */
.lp-hero.lp-hero-img {
  background-color: transparent;
  background-position: left center;
  background-size: cover;
}
.lp-hero.lp-hero-img::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to left, rgba(10,10,20,0.92) 35%, rgba(10,10,20,0.6) 60%, rgba(10,10,20,0.15) 100%);
  pointer-events: none;
  z-index: 1;
}
[dir="ltr"] .lp-hero.lp-hero-img::after {
  background: linear-gradient(to right, rgba(10,10,20,0.92) 35%, rgba(10,10,20,0.6) 60%, rgba(10,10,20,0.15) 100%);
}

/* No image fallback — centered with stars */
.lp-hero:not(.lp-hero-img) {
  text-align: center;
  padding: 80px 0 100px;
}
.lp-hero:not(.lp-hero-img) .lp-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

/* Stars only on no-image hero */
.lp-hero.lp-hero-img .lp-sparkle { display: none; }
.lp-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(1px 1px at 10% 20%, rgba(212,175,55,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 15%, rgba(139,92,246,0.5) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 30% 80%, rgba(212,175,55,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 70%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 50% 50%, rgba(212,175,55,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 70% 35%, rgba(139,92,246,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 55%, rgba(255,255,255,0.25) 0%, transparent 100%),
    radial-gradient(1px 1px at 45% 25%, rgba(212,175,55,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 60% 90%, rgba(139,92,246,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 25% 40%, rgba(255,255,255,0.2) 0%, transparent 100%);
  animation: lp-twinkle 4s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes lp-twinkle {
  0%   { opacity: 0.6; }
  50%  { opacity: 1; }
  100% { opacity: 0.7; }
}

.lp-hero-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 48px;
  position: relative;
  z-index: 3;
}
.lp-hero.lp-hero-img .lp-hero-inner {
  max-width: 560px;
  margin: 0 48px 0 auto;
}
[dir="ltr"] .lp-hero.lp-hero-img .lp-hero-inner {
  margin: 0 auto 0 48px;
}

.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212,175,55,0.2);
  border: 1px solid rgba(212,175,55,0.4);
  color: #F5D76E;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 20px;
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  animation: lp-fadeUp 0.8s ease-out;
}

.lp-hero h1 {
  font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  animation: lp-fadeUp 0.8s ease-out 0.15s both;
}
.lp-hero h1 .lp-gold {
  background: linear-gradient(135deg, #D4AF37 0%, #F5D76E 50%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lp-hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: #e0ddf2;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
  margin-inline: auto;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
  animation: lp-fadeUp 0.8s ease-out 0.3s both;
}

.lp-hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: lp-fadeUp 0.8s ease-out 0.45s both;
}
.lp-hero.lp-hero-img .lp-hero-buttons {
  justify-content: flex-start;
}

.lp-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #D4AF37 0%, #C5A028 100%);
  color: #0a0a14;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(212,175,55,0.25);
}
.lp-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212,175,55,0.35);
}

.lp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}
.lp-btn-ghost:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

/* Hero floating sparkle */
.lp-sparkle {
  position: absolute;
  font-size: 24px;
  opacity: 0;
  animation: lp-float 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.lp-sparkle:nth-child(1) { top:10%; left:8%;  animation-delay:0s;   font-size:18px; }
.lp-sparkle:nth-child(2) { top:25%; right:12%; animation-delay:1.5s; font-size:14px; }
.lp-sparkle:nth-child(3) { top:70%; left:15%;  animation-delay:3s;   font-size:20px; }
.lp-sparkle:nth-child(4) { top:60%; right:8%;  animation-delay:0.8s; font-size:16px; }
.lp-sparkle:nth-child(5) { top:40%; left:5%;   animation-delay:2.2s; font-size:22px; }
.lp-sparkle:nth-child(6) { top:85%; right:20%; animation-delay:4s;   font-size:12px; }

@keyframes lp-float {
  0%, 100% { opacity: 0; transform: translateY(0) rotate(0deg); }
  20%      { opacity: 0.7; }
  50%      { opacity: 0.9; transform: translateY(-20px) rotate(180deg); }
  80%      { opacity: 0.5; }
}

/* --- Stats Row --- */
.lp-stats {
  background: #0e0d18;
  padding: 0;
}
.lp-stats-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.lp-stat-num {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, #D4AF37, #F5D76E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-stat-label {
  font-size: 13px;
  color: #8886a8;
  margin-top: 4px;
}

/* --- Section base --- */
.lp-section {
  padding: 80px 0;
}
.lp-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.lp-section-title {
  font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}
.lp-section-sub {
  font-size: 15px;
  color: #888;
  text-align: center;
  max-width: 500px;
  margin: 0 auto 48px;
}

/* --- Shows Section (Light) --- */
.lp-shows {
  background: #fff;
}
.lp-shows .lp-section-title { color: #1a1a1a; }

.lp-shows-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.lp-show-card {
  border-radius: 16px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.lp-show-card:hover { transform: translateY(-4px); }

.lp-show-kids {
  background: linear-gradient(135deg, #FFF7E6 0%, #FFECD2 100%);
  border: 1px solid #F5D5A0;
}
.lp-show-adults {
  background: linear-gradient(135deg, #F0EEFF 0%, #E8E4FF 100%);
  border: 1px solid #C8C0F0;
}

.lp-show-emoji {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}
.lp-show-card h3 {
  font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}
.lp-show-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}
.lp-show-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #666;
  margin-bottom: 24px;
}
.lp-show-features span::before {
  content: '✦ ';
  color: #D4AF37;
}
.lp-show-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #534AB7;
  text-decoration: none;
}
.lp-show-kids .lp-show-cta { color: #B8860B; }

/* --- Courses Section (Dark) --- */
.lp-courses {
  background: linear-gradient(180deg, #0e0d18 0%, #151327 100%);
  color: #fff;
}
.lp-courses .lp-section-title { color: #fff; }
.lp-courses .lp-section-sub { color: #8886a8; }

/* reuse existing course cards but override for dark */
.lp-courses .courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.lp-courses .course-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s;
}
.lp-courses .course-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(212,175,55,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.lp-courses .course-card-thumb {
  background: linear-gradient(135deg, #1a1640 0%, #2d1f60 100%);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}
.lp-courses .course-card-body {
  padding: 18px 20px;
}
.lp-courses .course-card-title {
  font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}
.lp-courses .course-card-meta { font-size: 12px; color: #8886a8; }
.lp-courses .course-card-price {
  font-size: 18px;
  font-weight: 700;
  margin-top: 12px;
  background: linear-gradient(135deg, #D4AF37, #F5D76E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-courses-all {
  text-align: center;
}

/* --- Testimonials (Light) --- */
.lp-testimonials {
  background: #FAFAF8;
}
.lp-testimonials .lp-section-title { color: #1a1a1a; }
.lp-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lp-testi-card {
  background: #fff;
  border: 1px solid #e8e6e0;
  border-radius: 14px;
  padding: 28px 24px;
}
.lp-testi-stars { color: #D4AF37; font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.lp-testi-text { font-size: 14px; color: #444; line-height: 1.75; margin-bottom: 18px; font-style: italic; }
.lp-testi-author { font-size: 13px; font-weight: 600; color: #1a1a1a; }
.lp-testi-role   { font-size: 11px; color: #999; }

/* --- CTA Section (connected to footer) --- */
.lp-cta {
  background: #1e1c2e;
  text-align: center;
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}
.lp-cta::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, transparent 70%);
  top: -150px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.lp-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.lp-cta h2 {
  font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.lp-cta p {
  font-size: 16px;
  color: #a8a4c8;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* --- Why Section — Magical Dark Theme --- */
.lp-why {
  background: linear-gradient(180deg, #0d0b18 0%, #151327 50%, #0d0b18 100%);
  position: relative;
  overflow: hidden;
}
.lp-why::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(1px 1px at 15% 30%, rgba(212,175,55,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 20%, rgba(139,92,246,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 45% 70%, rgba(212,175,55,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 80%, rgba(255,255,255,0.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 90%, rgba(139,92,246,0.3) 0%, transparent 100%);
  pointer-events: none;
  animation: lp-twinkle 5s ease-in-out infinite alternate;
}
.lp-why .lp-section-title { color: #fff; }
.lp-why .lp-section-sub { color: #9896b8; }

.lp-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}
.lp-why-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  transition: all 0.3s;
}
.lp-why-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(212,175,55,0.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 30px rgba(212,175,55,0.06);
}
.lp-why-icon {
  font-size: 44px;
  margin-bottom: 18px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(212,175,55,0.2));
}
.lp-why-card h3 {
  font-family: 'Frank Ruhl Libre', 'Noto Serif Hebrew', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #D4AF37, #F5D76E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-why-card p {
  font-size: 14px;
  color: #a8a4c8;
  line-height: 1.8;
}

/* --- About avatar --- */
.lp-about-avatar {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a1035, #2d1f60);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  box-shadow: 0 20px 60px rgba(83,74,183,0.2);
}

/* --- About section grid --- */
.lp-about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
}

/* --- TV badges --- */
.lp-tv-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.lp-tv-badges span {
  background: #0e0d18;
  color: #D4AF37;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  white-space: nowrap;
}

/* --- Animations --- */
@keyframes lp-fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .lp-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .lp-shows-grid  { grid-template-columns: 1fr; }
  .lp-testi-grid  { grid-template-columns: 1fr; }
  .lp-why-grid    { grid-template-columns: 1fr; }
  .lp-about-grid  { grid-template-columns: 1fr; text-align: center; }
  .lp-about-grid .lp-tv-badges { justify-content: center; }
  .lp-about-grid .lp-btn-gold { margin: 0 auto; }
  .lp-about-avatar { width: 150px; height: 150px; font-size: 56px; }
  .lp-hero { min-height: auto; }
  .lp-hero:not(.lp-hero-img) { padding: 48px 0 60px; }
  .lp-hero.lp-hero-img .lp-hero-inner {
    max-width: none;
    margin: 0 auto;
    text-align: center;
    padding: 48px 24px;
  }
  .lp-hero.lp-hero-img .lp-hero-buttons { justify-content: center; }
  .lp-hero.lp-hero-img::after {
    background: rgba(10,10,20,0.7) !important;
  }
}
