/* ========================================
   Mixler Homepage - Light Premium Theme
   Inspired by: BeEvent8 (muffingroup)
   Palette: purple #153db6 / pink #ff3465
   ======================================== */

/* --- Body Override --- */
.dark-body {
  background: #ffffff;
  color: #555;
  font-family: 'Inter', sans-serif;
}

.dark-body h1, .dark-body h2, .dark-body h3, .dark-body h4 {
  font-family: 'League Spartan', sans-serif;
  color: #153db6;
}

/* --- Nav Logo Image --- */
.nav-logo-img {
  height: 32px;
  width: auto;
}

/* --- Header: Transparent over hero, solid on scroll --- */
.dark-header {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent !important;
  border-bottom: none !important;
  backdrop-filter: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.dark-header.scrolled {
  background: rgba(21, 61, 182, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: none !important;
  box-shadow: 0 2px 20px rgba(21, 61, 182, 0.3);
}

.dark-header.scrolled .nav-links a {
  color: #ffffff;
}

.dark-header.scrolled .nav-logo-img {
  filter: brightness(10);
}

.dark-header .nav-links a {
  color: rgba(255, 255, 255, 0.8);
}

.dark-header .nav-links a:hover {
  color: #ffffff;
}

.dark-header .nav-links a::after {
  background: #ff3465;
}

.dark-header .mobile-menu-btn span {
  background: #ffffff;
}

.dark-header .btn-nav {
  padding: 10px 24px;
  font-size: 0.85rem;
  background: #ff3465 !important;
  border-color: #ff3465 !important;
}

.dark-header .btn-nav:hover {
  background: #e02d5a !important;
}

/* ==========================================
   HERO - Deep Purple
   ========================================== */
.hero-dark {
  position: relative;
  height: 920px;
  background: #153db6;
  overflow: hidden;
  padding: 0;
  border-radius: 0 0 40px 40px;
}

/* --- Decorative floating SVG elements --- */
.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.decor-svg {
  position: absolute;
  opacity: 0.7;
  filter: brightness(0) saturate(100%) invert(27%) sepia(82%) saturate(4200%) hue-rotate(327deg) brightness(97%) contrast(101%);
}

.svg-1  { width: 50px;  top: 8%;  left: 3%;  opacity: 0.45; animation: float-slow 6s ease-in-out infinite; }
.svg-2  { width: 40px;  top: 25%; left: 78%; animation: float-slow 8s ease-in-out infinite reverse; }
.svg-3  { width: 55px;  top: 50%; left: 5%;  animation: float-slow 7s ease-in-out infinite; }
.svg-4  { width: 35px;  top: 12%; left: 55%; opacity: 0.6; animation: float-slow 9s ease-in-out infinite reverse; }
.svg-5  { width: 45px;  top: 70%; left: 65%; animation: float-slow 5s ease-in-out infinite; }
.svg-6  { width: 30px;  top: 35%; left: 88%; animation: float-slow 7.5s ease-in-out infinite reverse; }
.svg-7  { width: 40px;  top: 60%; left: 42%; opacity: 0.6; animation: float-slow 6.5s ease-in-out infinite; }
.svg-8  { width: 50px;  top: 5%;  left: 30%; animation: float-slow 8.5s ease-in-out infinite reverse; }
.svg-9  { width: 35px;  top: 80%; left: 20%; animation: float-slow 5.5s ease-in-out infinite; }
.svg-10 { width: 45px;  top: 40%; left: 92%; animation: float-slow 9.5s ease-in-out infinite reverse; }

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* --- Hero entrance animation (BeEvent8 style) --- */
@keyframes hero-slide-up {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-left .hero-eyebrow,
.hero-left h1,
.hero-left .hero-subtitle,
.hero-left .hero-buttons {
  opacity: 0;
  animation: hero-slide-up 0.7s ease forwards;
}

.hero-left .hero-eyebrow   { animation-delay: 0.1s; }
.hero-left h1              { animation-delay: 0.2s; }
.hero-left .hero-subtitle  { animation-delay: 0.35s; }
.hero-left .hero-buttons   { animation-delay: 0.45s; }

.hero-right {
  opacity: 0;
  animation: hero-slide-up 0.8s ease forwards;
  animation-delay: 0s;
}

/* --- Hero Split Layout (BeEvent8 style) --- */
.hero-split {
  display: block;
}

.hero-left {
  position: absolute;
  left: max(24px, calc((100% - 1240px) / 2 + 24px));
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  max-width: 480px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ff3465;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.eyebrow-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #ff3465;
  border-radius: 50%;
}

.hero-dark h1 {
  font-family: 'League Spartan', sans-serif;
  font-size: 4.2rem;
  font-weight: 800;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 28px;
  letter-spacing: -1px;
}

.text-white { color: #ffffff; }
.text-pink { color: #ff3465; }
.text-pink-soft { color: rgba(255, 52, 101, 0.85); }

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  margin-bottom: 36px;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn-pink {
  background: #ff3465;
  color: #ffffff;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-pink:hover {
  background: #e02d5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 52, 101, 0.35);
}

.btn-ghost-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: none;
  padding: 16px 8px;
  border-radius: 0;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost-light:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn-pink:hover .btn-arrow,
.btn-ghost-light:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 0.95rem;
}

.btn-xl {
  padding: 20px 48px;
  font-size: 1.05rem;
}

/* Outline button for light backgrounds */
.btn-outline-light {
  background: transparent;
  color: #153db6;
  border: 2px solid #153db6;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-light:hover {
  background: #153db6;
  color: #ffffff;
  transform: translateY(-2px);
}

/* --- Hero Right: Image, top-right flush --- */
.hero-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 1060px;
  height: 800px;
  max-width: 50%;
  z-index: 2;
}

.hero-image-wrapper {
  width: 100%;
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0 0 0 16px;
  border: none;
}

/* ==========================================
   SECTIONS (shared)
   ========================================== */
.section-dark {
  padding: 100px 0;
  position: relative;
}

.section-label-dark {
  display: inline-block;
  color: #ff3465;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-dark h2 {
  font-family: 'League Spartan', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: #153db6;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle-dark {
  font-size: 1.05rem;
  color: #888;
  max-width: 560px;
  margin: 0 auto 60px;
  font-weight: 300;
}

/* --- Section Backgrounds (alternating) --- */
#events {
  background: #ffffff;
}

#how-it-works {
  background: #f7f7f7;
}

#about {
  background: #ffffff;
}

#social {
  background: #153db6;
}

/* ==========================================
   HOW IT WORKS
   ========================================== */
.steps-dark-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-dark-card {
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 40px 32px;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.step-dark-card:hover {
  border-color: rgba(255, 52, 101, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.step-dark-num {
  font-family: 'League Spartan', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: #153db6;
  -webkit-text-fill-color: #153db6;
  margin-bottom: 20px;
}

.step-dark-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #ff3465 !important;
}

.step-dark-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 400;
}

/* ==========================================
   ABOUT
   ========================================== */
.about-dark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  width: 100%;
  border-radius: 20px;
  border: 1px solid #eee;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.about-dark-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #153db6;
}

.about-dark-content p {
  color: #666;
  margin-bottom: 16px;
  line-height: 1.7;
  font-weight: 300;
}

.about-checks {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-check {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #153db6;
  font-weight: 500;
  font-size: 0.95rem;
}

.check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 52, 101, 0.1);
  color: #ff3465;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ==========================================
   VIDEO GALLERY
   ========================================== */
.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.video-gallery-item {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #eee;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.video-gallery-item:hover {
  border-color: rgba(255, 52, 101, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 9 / 16;
  background: linear-gradient(160deg, rgba(255, 52, 101, 0.06) 0%, rgba(48, 8, 67, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder svg {
  color: rgba(48, 8, 67, 0.15);
}

.video-gallery-item video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}

.social-links-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.social-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #eee;
  color: #ff3465;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.social-link-btn:hover {
  background: rgba(255, 52, 101, 0.06);
  border-color: rgba(255, 52, 101, 0.3);
  color: #ff3465;
  transform: translateY(-2px);
}

.social-link-btn svg {
  flex-shrink: 0;
}

/* ==========================================
   NEWSLETTER SIGNUP (Pink Card on White)
   ========================================== */
.newsletter-dark {
  padding: 80px 0;
  background: #ffffff;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: #ff3465;
  border-radius: 24px;
  padding: 60px;
}

.newsletter-content h2 {
  font-family: 'League Spartan', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.newsletter-content .text-pink {
  color: #153db6;
}

.newsletter-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
}

.newsletter-form-grid {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.newsletter-fields {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-name-row {
  display: flex;
  gap: 12px;
}

.newsletter-name-row .newsletter-input {
  flex: 1;
}

.newsletter-email {
  width: 100%;
}

.newsletter-input {
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
  outline: none;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.3);
}

.newsletter-input:-webkit-autofill,
.newsletter-input:-webkit-autofill:hover,
.newsletter-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff;
  -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.2) inset;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: background-color 5000s ease-in-out 0s;
}

.newsletter-btn {
  white-space: nowrap;
  flex-shrink: 0;
  background: #153db6 !important;
  color: #ffffff !important;
}

.newsletter-btn:hover {
  background: #1145cc !important;
}

.newsletter-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-msg {
  margin-top: 8px;
  font-size: 0.85rem;
  min-height: 1.2em;
}

.msg-success { color: #ffffff; }
.msg-error { color: #fecdd3; }
.msg-info { color: #ffffff; }

/* ==========================================
   FINAL CTA (Dark Accent Section)
   ========================================== */
.cta-dark {
  padding: 120px 0;
  background: #f5f5f7;
  position: relative;
  overflow: hidden;
}

.cta-dark::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 52, 101, 0.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-dark h2 {
  font-family: 'League Spartan', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #153db6;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-dark p {
  color: #555;
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 40px;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.cta-dark .btn {
  position: relative;
  z-index: 1;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 968px) {
  .decor-svg {
    opacity: 0.5;
  }
  .svg-1, .svg-4, .svg-7 {
    opacity: 0.35;
  }

  .hero-dark {
    height: auto;
    padding: 120px 0 80px;
  }

  .hero-dark h1 {
    font-size: 3rem;
  }

  .hero-left {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    max-width: 100%;
  }

  .hero-right {
    display: none;
  }

  .steps-dark-grid {
    grid-template-columns: 1fr;
  }

  .about-dark-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .video-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-dark h2 {
    font-size: 2.2rem;
  }

  .dark-body .nav-links.active {
    background: #153db6;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .dark-body .nav-links.active a {
    color: rgba(255,255,255,0.8);
  }
}

@media (max-width: 640px) {
  .hero-dark {
    padding: 80px 0 60px;
  }

  .hero-dark h1 {
    font-size: 2.4rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .btn-ghost-light {
    justify-content: center;
  }

  .cta-dark h2 {
    font-size: 2rem;
  }

  .section-dark {
    padding: 60px 0;
  }

  .video-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-form-grid {
    flex-direction: column;
    align-items: center;
  }

  .newsletter-fields {
    width: 100%;
  }

  .newsletter-name-row {
    flex-direction: column;
  }

  .newsletter-btn {
    width: 100%;
  }

  .newsletter-note {
    text-align: center;
  }

  .social-links-row {
    flex-direction: column;
    align-items: center;
  }

  .social-link-btn {
    width: 100%;
    justify-content: center;
  }
}
