/* =================================================================
   SLICK PAGE STYLES
   - This file contains styles ONLY for slick.html.
   - Global variables are now in global.css.
================================================================= */

*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:'Poppins',sans-serif;
  color:#0E0E12;
  background:var(--white);
  line-height:1.6;
  /* --- START: Sticky Footer Layout --- */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex-grow: 1; /* Allows main content to fill available space */
}
/* --- END: Sticky Footer Layout --- */

/* Header */
header{
  background:var(--brand-deep);
  color:var(--white);
  padding:16px 20px;
  display:flex;align-items:center;justify-content:space-between
}
/* brand block with icon + wordmark */
.brand{display:flex;align-items:center;gap:10px}
.brand img{
  height:28px;width:28px;border-radius:6px;display:block
}
header h1{font-size:22px}
nav ul{list-style:none;display:flex;gap:20px}
nav a{color:var(--white);text-decoration:none;font-weight:600}
/* Distinct SLICK tab styles have been moved to components.css */
@media (max-width:768px){
  header h1{font-size:18px}
  nav ul{gap:12px;flex-wrap:wrap}
}

/* Hero */
.hero{
  position:relative;
  padding: 40px 0;      /* Further reduced padding for a much more compact hero */
  display:flex;align-items:center;justify-content:center;flex-direction:column;
  overflow:hidden;color:var(--white);text-align:center
}
.hero::before{content:'';position:absolute;inset:0;background:var(--hero-gradient);}
.bg-cards{
  position:absolute;inset:-10vh -10vw;
  display:grid;grid-template-columns:repeat(8,1fr);
  gap:24px;transform:rotate(-12deg) scale(1.1);opacity:.20;pointer-events:none;
}
.bg-cards .card{
  height:160px;border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(0,0,0,.12));
  box-shadow:0 6px 14px rgba(0,0,0,.25), inset 0 0 0 6px rgba(255,255,255,.04), inset 0 0 0 10px rgba(0,0,0,.08);
}
@media (max-width:1024px){.bg-cards{grid-template-columns:repeat(6,1fr);gap:18px}.bg-cards .card{height:140px}}
@media (max-width:640px){.bg-cards{grid-template-columns:repeat(4,1fr);gap:12px}.bg-cards .card{height:110px}}
.hero .content{position:relative;z-index:1;padding:0 16px}
.hero h2{font-size:56px;font-weight:900;letter-spacing:.4px;margin-bottom:16px}
.hero p{max-width:820px;margin:0 auto 20px;font-size:18px;color:#F7F8FF} /* Reduced bottom margin */
@media (max-width:768px){.hero h2{font-size:36px}.hero p{font-size:16px}}

/* --- START: QR Code Styles --- */
.qr-code-wrapper {
  margin-bottom: 24px;
  text-align: center;
}
.qr-code-wrapper h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--white);
}
.qr-code-svg {
  display: inline-block;
  width: 200px; /* Prominent size */
  height: 200px;
  background: white;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}
/* --- END: QR Code Styles --- */

/* Store badges (used in hero) */
.store-badges{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;align-items:center}
.store-badge {
  display: block;
  width: 180px; /* Increased base width for more prominence */
}

/* 2. Create an inner wrapper that enforces a consistent aspect ratio (e.g., 3:1) */
.badge-aspect-wrapper {
  position: relative;
  height: 0;
  padding-bottom: 33.33%; /* 1 / 3 = 33.33% => 3:1 aspect ratio box */
  background-color: #000; /* Match the badge background */
  border-radius: 8px;
  overflow: hidden;
}

/* 3. Make the image fill the wrapper without distortion */
.badge-aspect-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Scales the image to fit inside the box */
}

/* --- END: Definitive Badge Sizing Fix --- */

/* Cards section + footer (unchanged) */
.section{padding:56px 20px}
.section h3{text-align:center;font-size:28px;margin-bottom:24px}
.stories{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.story{
  background:linear-gradient(135deg, rgba(210,27,191,.08), rgba(12,46,168,.08));
  border:1px solid rgba(12,46,168,.12);
  border-radius:14px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease; /* Add transition */
  cursor: pointer; /* Indicate that cards are clickable */
}
.story:hover {
  transform: translateY(-12px) scale(1.02); /* Increased lift and added a slight scale */
  background: linear-gradient(135deg, rgba(var(--brand-pink-rgb), .12), rgba(var(--brand-indigo-rgb), .12));
  box-shadow: 0 16px 32px rgba(var(--brand-indigo-rgb), 0.15), 0 0 24px rgba(var(--brand-pink-rgb), 0.2); /* Intensified glow */
}
/* Style for placeholder divs */
.story .img{background:linear-gradient(135deg,#f1d8ff,#d1ddff);height:200px}

/* --- START: Play Icon Overlay --- */
.story-image-wrapper {
  position: relative;
  overflow: hidden; /* Keep overlay effects contained */
}

.play-icon-overlay {
  position: absolute;
  inset: 0;
  background: rgba(var(--brand-deep-rgb, 10, 15, 30), 0); /* Use a fallback just in case */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: background-color 300ms ease, opacity 300ms ease;
}

.story:hover .play-icon-overlay {
  background: rgba(var(--brand-deep-rgb, 10, 15, 30), 0.5);
  opacity: 1;
}

/* The play icon itself (a CSS triangle) */
.play-icon-overlay::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 26px solid var(--white);
  border-radius: 4px;
  transform: scale(0.8);
  transition: transform 300ms cubic-bezier(0.2, 1, 0.3, 1);
}

.story:hover .play-icon-overlay::before {
  transform: scale(1);
}
/* --- END: Play Icon Overlay --- */

/* Style for the new, real image */
.story-img {
  height: 200px;
  width: 100%;
  object-fit: cover; /* Ensures the image covers the area without distortion */
}

.story .txt{padding:14px}
.story h4{font-size:16px;margin-bottom:6px}
.story p{font-size:14px;color:#333}
@media (max-width:1024px){.stories{grid-template-columns:repeat(3,1fr)}}
@media (max-width:680px){.stories{grid-template-columns:1fr}}

footer{background:var(--brand-deep);color:#b9c2cf}
/* --- START: Footer Ribbon Layout --- */
.footer-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Allow wrapping on very small screens */
  gap: 20px;
}
.footer-links, .footer-social {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-links a {
  color: #cfe0ff;
  text-decoration: none;
  font-size: 14px;
}
.footer-links a:hover {
  color: var(--link);
}
/* --- END: Footer Ribbon Layout --- */

/* --- START: Social Icon Styles --- */
.footer-social a {
  display: inline-block;
  transition: opacity 150ms ease, transform 150ms ease;
}
.footer-social a:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.footer-social svg {
  width: 28px;  /* Increased size */
  height: 28px; /* Increased size */
  fill: currentColor;
}
/* Official Brand Colors */
.social-instagram { color: #E4405F; } /* Instagram Pink */
.social-tiktok    { color: #000000; } /* TikTok Black - set to #fff for dark footer */
.social-youtube   { color: #FF0000; } /* YouTube Red */

/* On dark backgrounds, pure black is invisible. Override TikTok to white. */
footer .social-tiktok {
  color: #FFFFFF;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* --- END: Social Icon Styles --- */

.copyright{border-top:1px solid #223040;text-align:center;padding:12px 20px;font-size:12px}
@media (max-width:800px){
  .footer-wrap{
    flex-direction: column; /* Stack items vertically on small screens */
    justify-content: center;
  }
}

/* --- START: Video Modal Styles --- */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}
.video-modal.is-visible {
  opacity: 1;
  visibility: visible;
}
.video-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 30, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  transform: scale(0.95);
  transition: transform 300ms ease;
}
.video-modal.is-visible .video-modal-content {
  transform: scale(1);
}
.video-modal-player {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: white;
  font-size: 40px;
  font-weight: 200;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 150ms ease;
}
.video-modal-close:hover {
  opacity: 1;
}
/* --- END: Video Modal Styles --- */

/* --- START: FINAL Wingman Banner Styles (V7 - Icon Prominence) --- */
.wingman-banner-container {
  padding: 2rem 0;
}

.wingman-banner {
  width: 90%;
  max-width: 900px;
  margin: 0 auto; /* Center the banner itself */
  padding: 2.5rem;
  border-radius: 20px;
  
  /* --- Glassmorphism Effect --- */
  background: rgba(15, 15, 25, 0.75); /* Very dark, slightly blue-black for high contrast */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); /* For Safari */
  border: 2px solid rgba(255, 255, 255, 0.2); /* More distinct border */
  box-shadow: 0 12px 48px 0 rgba(160, 32, 240, 0.5); /* Stronger, more elevated shadow */

  /* --- Flexbox for Centering --- */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center; /* Ensures all text inside is centered */
}

.wingman-banner .wingman-icon {
  width: 120px; /* Significantly larger icon */
  height: auto;
  margin-bottom: 1.5rem; /* Increased margin for breathing room */
  filter: drop-shadow(0 0 25px #D500F9); /* Enhanced glow for prominence */
  animation: fadeInUp 0.5s ease-out 0.2s backwards;
}

.wingman-banner h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
  animation: fadeInUp 0.5s ease-out 0.4s backwards;
  text-align: center;
}

.wingman-banner p {
  max-width: 600px;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e0e0e0;
  animation: fadeInUp 0.5s ease-out 0.6s backwards;
  text-align: center;
}

.wingman-banner .cta-button {
  display: inline-block;
  background: linear-gradient(90deg, #A020F0, #8A2BE2);
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 6px 25px rgba(160, 32, 240, 0.4);
  animation: fadeInUp 0.5s ease-out 0.8s backwards;
}

.wingman-banner .cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(160, 32, 240, 0.6);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* --- END: FINAL Wingman Banner Styles (V7 - Icon Prominence) --- */

/* --- START: Feature Carousel V5 (Slick & Pretty) --- */
.feature-carousel {
  position: relative;
  max-width: 100%; /* Allow carousel to span full width */
  margin: 0 auto;
  /* Set a perspective for 3D effects on child elements */
  perspective: 1000px;
}

.carousel-track-container {
  overflow: hidden; /* Hide overflow to create the "peek-a-boo" effect */
  cursor: grab;
}

.carousel-track-container.active {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 2rem 0; /* Add vertical padding for shadow and scale effect */
  /* The JS will handle the transform: translateX */
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
  width: 80%; /* Each slide is 80% of the container */
  max-width: 700px; /* But don't get too large on wide screens */
  flex-shrink: 0;
  margin: 0 2%; /* Space between slides */
  opacity: 0.5;
  transform: scale(0.8);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

/* The wingman-banner is the slide content */
.carousel-slide .wingman-banner {
  width: 100%;
  margin: 0;
  /* Enhance shadow on active slide */
  box-shadow: 0 20px 60px 0 rgba(160, 32, 240, 0.6);
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1rem; /* Reduced margin */
}

.carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: transparent;
  cursor: pointer;
  transition: all 0.4s ease;
}

.carousel-indicator.active {
  background-color: #ffffff;
  transform: scale(1.5);
  border-color: #ffffff;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 50px; /* Larger click area */
  height: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  opacity: 0.7;
}

.carousel-button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
}

.carousel-button.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.carousel-button--left {
  left: 1rem;
}

.carousel-button--right {
  right: 1rem;
}

.carousel-button img {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.carousel-button--right img {
  transform: rotate(180deg);
}
/* --- END: Feature Carousel V5 (Slick & Pretty) --- */
