/* Peace, Love & You with Carla - Bespoke Luxury Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Great+Vibes&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --color-base: #0B0B0B;
  --color-surface: #121217;
  --color-surface-hover: #191922;
  --color-pink: #FF1493;
  --color-pink-bright: #FF007F;
  --color-pink-glow: rgba(255, 20, 147, 0.4);
  --color-text-main: #F8F9FA;
  --color-text-muted: #9CA3AF;
  --font-script: 'Great Vibes', 'Alex Brush', cursive;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

/* Base Reset & Core Styles */
html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--color-base);
  color: var(--color-text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100%;
}

body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100%;
  background-color: var(--color-base);
  min-height: 100vh;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0B0B0B;
}
::-webkit-scrollbar-thumb {
  background: #262626;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-pink);
}

/* Fonts */
.font-script {
  font-family: var(--font-script);
}
.font-serif {
  font-family: var(--font-serif);
}

/* ========================================================
   CRITICAL FIX: Banner Main Title - No Text Cutting!
   Provides generous line-height, horizontal padding, 
   overflow-visible, and fluid responsive font scaling.
   ======================================================== */
.brand-hero-title {
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 7.5vw, 5.8rem);
  line-height: 1.28 !important;
  padding-top: 0.15em;
  padding-bottom: 0.18em;
  padding-right: 0.4em;
  padding-left: 0.05em;
  overflow: visible !important;
  white-space: normal;
  display: inline-block;
  background: linear-gradient(98deg, #FF1493 0%, #FF69B4 45%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(255, 20, 147, 0.45));
  letter-spacing: 0.01em;
}

/* Luxury Background Glows */
.bg-ambient-glow {
  background: radial-gradient(circle at 50% 0%, rgba(255, 20, 147, 0.14) 0%, transparent 60%);
}

.bg-radial-mesh {
  background-image: 
    radial-gradient(at 0% 15%, rgba(255, 20, 147, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 35%, rgba(255, 0, 127, 0.08) 0px, transparent 40%),
    radial-gradient(at 50% 80%, rgba(255, 20, 147, 0.09) 0px, transparent 50%);
}

/* Glowing Neon Elements */
.text-neon-pink {
  color: var(--color-pink);
  text-shadow: 0 0 12px rgba(255, 20, 147, 0.5), 0 0 24px rgba(255, 20, 147, 0.25);
}

.border-neon-pink {
  border-color: rgba(255, 20, 147, 0.5);
  box-shadow: 0 0 15px rgba(255, 20, 147, 0.3), inset 0 0 10px rgba(255, 20, 147, 0.15);
}

.btn-glow-pink {
  background: linear-gradient(135deg, #FF1493 0%, #FF007F 100%);
  box-shadow: 0 4px 20px rgba(255, 20, 147, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-glow-pink::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: all 0.6s ease;
}

.btn-glow-pink:hover::after {
  left: 100%;
}

.btn-glow-pink:hover {
  box-shadow: 0 6px 30px rgba(255, 20, 147, 0.65);
  transform: translateY(-2px);
}

.btn-glow-pink:active {
  transform: translateY(0);
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(18, 18, 24, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  background: rgba(22, 22, 30, 0.85);
  border-color: rgba(255, 20, 147, 0.4);
  box-shadow: 0 16px 35px -10px rgba(255, 20, 147, 0.25);
  transform: translateY(-4px);
}

/* ========================================================
   HERO ARCHED PORTRAIT FRAME & RADIANT AURA ANIMATION
   ======================================================== */
.arch-frame-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

@keyframes archPulseAura {
  0% {
    box-shadow: 0 0 25px rgba(255, 20, 147, 0.35), 0 15px 40px rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 20, 147, 0.6);
  }
  50% {
    box-shadow: 0 0 45px rgba(255, 20, 147, 0.65), 0 0 70px rgba(255, 0, 127, 0.25), 0 20px 50px rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 20, 147, 0.9);
  }
  100% {
    box-shadow: 0 0 25px rgba(255, 20, 147, 0.35), 0 15px 40px rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 20, 147, 0.6);
  }
}

.arch-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 200px 200px 32px 32px;
  overflow: hidden;
  padding: 5px;
  background: linear-gradient(180deg, #FF1493 0%, rgba(255, 20, 147, 0.5) 60%, rgba(255, 255, 255, 0.15) 100%);
  animation: archPulseAura 4s infinite ease-in-out;
}

.arch-frame-inner {
  width: 100%;
  height: 100%;
  border-radius: 195px 195px 27px 27px;
  overflow: hidden;
  position: relative;
  background: #0B0B0B;
}

.arch-frame-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.arch-frame-container:hover .arch-frame-inner img {
  transform: scale(1.04);
}

/* Subtle Gradient overlay inside frame */
.arch-frame-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(11, 11, 11, 0.7) 100%);
  pointer-events: none;
}

/* ========================================================
   FLOATING BADGES WITH GENTLE BOB ANIMATION
   ======================================================== */
@keyframes floatBadge1 {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatBadge2 {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(6px);
  }
}

.animate-float-badge-1 {
  animation: floatBadge1 3.5s infinite ease-in-out;
}

.animate-float-badge-2 {
  animation: floatBadge2 4.2s infinite ease-in-out;
}

/* Glowing Pulsing Heart Animation */
@keyframes heartPulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(255, 20, 147, 0.4));
  }
  50% {
    transform: scale(1.18);
    filter: drop-shadow(0 0 14px rgba(255, 20, 147, 0.85));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(255, 20, 147, 0.4));
  }
}

.pulse-heart {
  display: inline-block;
  animation: heartPulse 2.2s infinite ease-in-out;
  color: var(--color-pink);
}

/* ========================================================
   FLOATING BUTTERFLIES ANIMATIONS
   ======================================================== */
@keyframes butterflyDrift1 {
  0% {
    transform: translate3d(0, 0, 0) rotate(5deg) scale(0.9);
  }
  25% {
    transform: translate3d(35px, -45px, 0) rotate(-10deg) scale(1);
  }
  50% {
    transform: translate3d(75px, -20px, 0) rotate(12deg) scale(0.95);
  }
  75% {
    transform: translate3d(40px, 25px, 0) rotate(-5deg) scale(1.05);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(5deg) scale(0.9);
  }
}

@keyframes butterflyDrift2 {
  0% {
    transform: translate3d(0, 0, 0) rotate(-12deg) scale(0.85);
  }
  30% {
    transform: translate3d(-50px, -55px, 0) rotate(8deg) scale(0.95);
  }
  65% {
    transform: translate3d(-25px, 35px, 0) rotate(-6deg) scale(1);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(-12deg) scale(0.85);
  }
}

@keyframes wingFlap {
  0%, 100% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(0.42);
  }
}

.floating-butterfly {
  position: absolute;
  pointer-events: none;
  z-index: 10;
  opacity: 0.65;
  filter: drop-shadow(0 0 10px rgba(255, 20, 147, 0.7));
  will-change: transform;
}

.butterfly-1 {
  animation: butterflyDrift1 14s infinite ease-in-out;
}

.butterfly-2 {
  animation: butterflyDrift2 18s infinite ease-in-out;
}

.wing-left, .wing-right {
  transform-origin: center;
  animation: wingFlap 0.35s infinite ease-in-out;
}

/* ========================================================
   LUXURY INFINITE RUNNING MARQUEE TICKER
   ======================================================== */
.marquee-container {
  overflow: hidden !important;
  white-space: nowrap;
  position: relative;
  width: 100% !important;
  max-width: 100vw !important;
  display: flex;
  contain: paint;
}

.marquee-content {
  display: flex;
  gap: 2.5rem;
  animation: marqueeScroll 24s linear infinite;
  min-width: 100%;
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ========================================================
   INTERACTIVE CLICK / TAP HEART & SPARKLE BURST
   ======================================================== */
.click-heart-sparkle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 1.1rem;
  color: #FF1493;
  animation: heartFlyUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  filter: drop-shadow(0 0 8px rgba(255, 20, 147, 0.9));
  user-select: none;
}

@keyframes heartFlyUp {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.6) rotate(0deg);
  }
  50% {
    opacity: 0.9;
    transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% - 40px)) scale(1.25) rotate(var(--rot, 15deg));
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% - 90px)) scale(0.8) rotate(var(--rot, 30deg));
  }
}

/* ========================================================
   SCROLL REVEAL ANIMATIONS (SMOOTH OBSERVER)
   ======================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Scanner Beam for QR Code */
@keyframes qrScan {
  0% {
    top: 0%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

.qr-scanner-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FF1493, #FFFFFF, #FF1493, transparent);
  box-shadow: 0 0 12px #FF1493, 0 0 24px #FF007F;
  animation: qrScan 3s ease-in-out infinite;
  pointer-events: none;
}

/* Mobile-First Touch Targets (Min 48px) */
.touch-target {
  min-height: 48px;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Pill Badges */
.badge-pink-pill {
  background: rgba(255, 20, 147, 0.12);
  border: 1px solid rgba(255, 20, 147, 0.35);
  color: #FFA2D2;
}

/* Toast Notification */
#toast-notification {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(100px);
  opacity: 0;
}

#toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* Backdrop blur support for iOS Safari */
@supports not (backdrop-filter: blur(16px)) {
  .glass-card {
    background: rgba(18, 18, 24, 0.95);
  }
}
