:root {
  --pink: #FF006E;
  --pink-light: #FF4D9E;
  --pink-dark: #CC0058;
  --red: #FF1744;
  --red-dark: #D50000;
  --black: #0a0a0a;
  --white: #ffffff;
  --cream: #FFF8F0;
  --neon: #FF00FF;
  --gradient-1: linear-gradient(135deg, #FF006E 0%, #FF1744 50%, #FF006E 100%);
  --gradient-2: linear-gradient(45deg, #0a0a0a 0%, #FF006E 50%, #0a0a0a 100%);
  --glass: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --font-display: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Entrance Animation */
@keyframes entrance-reveal {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transform: translateX(-50px);
  }
  50% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: translateX(0);
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: translateX(0);
  }
}

@keyframes entrance-scale {
  0% {
    transform: scale(0.8) rotate(-5deg);
    opacity: 0;
  }
  100% {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}

@keyframes slide-up-reveal {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.1); }
  50% { transform: scale(1); }
  75% { transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes pulse-glow {
  0%, 100% { 
    box-shadow: 0 0 20px var(--pink), 0 0 40px var(--pink), 0 0 60px var(--pink);
  }
  50% { 
    box-shadow: 0 0 40px var(--pink), 0 0 80px var(--pink), 0 0 120px var(--pink);
  }
}

@keyframes morph-shape {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50% { border-radius: 50% 50% 40% 60% / 40% 50% 60% 50%; }
  75% { border-radius: 40% 60% 50% 50% / 60% 40% 50% 60%; }
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Scroll Reveal Base */
.reveal-element {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-element.reveal-left {
  transform: translateX(-60px);
}

.reveal-element.reveal-left.revealed {
  transform: translateX(0);
}

.reveal-element.reveal-right {
  transform: translateX(60px);
}

.reveal-element.reveal-right.revealed {
  transform: translateX(0);
}

.reveal-element.reveal-scale {
  transform: scale(0.8);
}

.reveal-element.reveal-scale.revealed {
  transform: scale(1);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 20%, rgba(255, 0, 110, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(255, 23, 68, 0.1) 0%, transparent 50%);
  animation: rotate-slow 30s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.hero-line-1 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--pink-light);
  animation: entrance-reveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.hero-love {
  font-size: clamp(8rem, 20vw, 25rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
  background: var(--gradient-1);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: entrance-scale 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards,
             gradient-shift 8s ease infinite;
  animation-delay: 0.5s;
  opacity: 0;
  position: relative;
}

.hero-love::after {
  content: 'LOVE';
  position: absolute;
  top: 0;
  left: 0;
  font-size: clamp(8rem, 20vw, 25rem);
  font-weight: 900;
  background: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.3);
  background-clip: text;
  z-index: -1;
  transform: translate(10px, 10px);
}

.hero-line-2 {
  font-size: clamp(1rem, 2.5vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 2rem;
  animation: slide-up-reveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1s;
  opacity: 0;
}

.hero-subtitle {
  font-size: clamp(0.875rem, 2vw, 1.25rem);
  color: var(--pink-light);
  margin-top: 1.5rem;
  letter-spacing: 0.2em;
  animation: slide-up-reveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.3s;
  opacity: 0;
}

/* Geometric Shapes */
.geometric-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.shape {
  position: absolute;
  opacity: 0.6;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: var(--gradient-1);
  top: 10%;
  right: 10%;
  animation: morph-shape 8s ease-in-out infinite, float 6s ease-in-out infinite;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: var(--pink);
  bottom: 20%;
  left: 5%;
  border-radius: 50%;
  animation: pulse-glow 4s ease-in-out infinite;
}

.shape-3 {
  width: 150px;
  height: 150px;
  border: 3px solid var(--pink);
  top: 50%;
  left: 15%;
  transform: rotate(45deg);
  animation: rotate-slow 20s linear infinite, float 8s ease-in-out infinite;
}

.shape-4 {
  width: 100px;
  height: 100px;
  background: var(--red);
  bottom: 30%;
  right: 20%;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: float 7s ease-in-out infinite, rotate-slow 15s linear infinite reverse;
}

/* Card Message Section */
.card-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  position: relative;
  background: var(--black);
}

.card-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 0, 110, 0.1) 0%, transparent 70%);
}

.main-card {
  position: relative;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 4rem 3rem;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
              0 0 100px rgba(255, 0, 110, 0.1);
  overflow: hidden;
}

.main-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, var(--pink), transparent 30%);
  animation: rotate-slow 10s linear infinite;
  opacity: 0.1;
}

.card-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.card-header {
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pink-light);
  margin-bottom: 2rem;
}

.card-message {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.card-message .highlight {
  color: var(--pink);
  position: relative;
  display: inline-block;
}

.card-message .highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-1);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-card:hover .highlight::after {
  transform: scaleX(1);
  transform-origin: left;
}

.card-footer {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--cream);
  margin-top: 3rem;
}

/* Quote Cards Section */
.quotes-section {
  padding: 6rem 2rem;
  background: var(--gradient-2);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
}

.quotes-header {
  text-align: center;
  margin-bottom: 4rem;
}

.quotes-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.quotes-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--pink-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.quote-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem 2rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 0, 110, 0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.quote-card:hover::before {
  opacity: 1;
}

.quote-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px -15px rgba(255, 0, 110, 0.3);
  border-color: var(--pink);
}

.quote-text {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.quote-icon {
  font-size: 4rem;
  color: var(--pink);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1rem;
}

.quote-share {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--pink);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.quote-share:hover {
  background: var(--pink-dark);
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 0, 110, 0.4);
}

/* Magnetic Button */
.magnetic-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 3rem;
  background: var(--gradient-1);
  background-size: 200% 200%;
  color: var(--white);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(255, 0, 110, 0.4);
}

.magnetic-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.magnetic-button:hover::before {
  left: 100%;
}

.magnetic-button:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(255, 0, 110, 0.5);
}

.cta-section {
  padding: 6rem 2rem;
  text-align: center;
  background: var(--black);
  position: relative;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 3rem;
}

/* Footer */
.footer {
  padding: 3rem 2rem;
  text-align: center;
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-love {
    font-size: clamp(5rem, 15vw, 8rem);
  }
  
  .hero-love::after {
    font-size: clamp(5rem, 15vw, 8rem);
  }
  
  .main-card {
    padding: 3rem 2rem;
  }
  
  .shape-1 {
    width: 150px;
    height: 150px;
    top: 5%;
    right: 5%;
  }
  
  .shape-2 {
    width: 100px;
    height: 100px;
  }
  
  .shape-3 {
    width: 80px;
    height: 80px;
  }
  
  .shape-4 {
    width: 60px;
    height: 60px;
  }
}

/* Container Queries */
@container (max-width: 600px) {
  .main-card {
    padding: 2rem 1.5rem;
  }
  
  .quotes-grid {
    grid-template-columns: 1fr;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
