/* ========================================
   CSS Custom Properties & Design Tokens
   ======================================== */
:root {
  /* Color Palette */
  --color-primary: #ff1744;
  --color-primary-light: #ff5983;
  --color-primary-dark: #c4001d;
  --color-secondary: #e91e63;
  --color-accent: #ff4081;
  --color-purple: #9c27b0;
  --color-pink: #f50057;
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-romantic: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-sunset: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  --gradient-love: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
  --gradient-purple: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  /* Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 30px rgba(255, 23, 68, 0.3);
  /* Glass Effect */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-blur: 10px;
}
/* ========================================
   Reset & Base Styles
   ======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e22ce 100%);
  background-attachment: fixed;
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}
/* Animated Background Gradient */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-romantic);
  opacity: 0.3;
  z-index: -1;
  animation: gradientShift 15s ease infinite;
}
@keyframes gradientShift {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.5;
  }
}
/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}
/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(30, 60, 114, 0.8);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.nav-logo:hover {
  transform: scale(1.05);
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-romantic);
  transition: width 0.3s ease;
}
.nav-link:hover {
  color: var(--color-accent);
}
.nav-link:hover::after {
  width: 100%;
}
/* ========================================
   Floating Hearts Background
   ======================================== */
.hearts-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.floating-heart {
  position: absolute;
  font-size: 2rem;
  opacity: 0.6;
  animation: floatUp 10s linear infinite;
}
@keyframes floatUp {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}
/* ========================================
   Particle Canvas
   ======================================== */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-md);
  position: relative;
  z-index: 2;
}
.hero-content {
  max-width: 800px;
}
.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.title-line {
  display: block;
}
.title-highlight {
  background: var(--gradient-romantic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.3);
  }
}
.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
  font-weight: 300;
}
.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn:hover::before {
  width: 300px;
  height: 300px;
}
.btn-primary {
  background: var(--gradient-romantic);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(255, 23, 68, 0.5);
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}
.hero-decoration {
  position: absolute;
  bottom: 10%;
  right: 10%;
}
.heart-large {
  font-size: 8rem;
  opacity: 0.3;
}
.pulse {
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
/* ========================================
   Animation Classes
   ======================================== */
.animate-fade-in {
  animation: fadeIn 1s ease-out;
}
.animate-fade-in-delay {
  animation: fadeIn 1s ease-out 0.3s both;
}
.animate-fade-in-delay-2 {
  animation: fadeIn 1s ease-out 0.6s both;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* ========================================
   Container & Sections
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
section {
  padding: var(--spacing-xl) 0;
  position: relative;
  z-index: 2;
}
.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  margin-bottom: var(--spacing-md);
  background: var(--gradient-romantic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: var(--spacing-lg);
}
/* ========================================
   Glass Card Effect
   ======================================== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: var(--spacing-md);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
/* ========================================
   Countdown Section
   ======================================== */
.countdown-section {
  background: rgba(0, 0, 0, 0.2);
}
.countdown-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.countdown-item {
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-md);
}
.countdown-value {
  font-size: 4rem;
  font-weight: 700;
  font-family: var(--font-heading);
  background: var(--gradient-romantic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.countdown-label {
  font-size: 1.2rem;
  margin-top: var(--spacing-sm);
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 2px;
}
/* ========================================
   Quotes Section
   ======================================== */
.quotes-section {
  padding: var(--spacing-lg) 0;
}
.quote-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: var(--spacing-lg);
}
.quote-icon {
  font-size: 4rem;
  margin-bottom: var(--spacing-md);
}
.quote-text {
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  font-family: var(--font-heading);
}
.quote-author {
  font-size: 1.2rem;
  opacity: 0.8;
}
/* ========================================
   Memories Gallery
   ======================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: var(--spacing-lg);
}
.gallery-item {
  overflow: hidden;
  cursor: pointer;
}
.gallery-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: var(--spacing-sm);
}
.image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gradient-purple);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: transform 0.3s ease;
  background-size: cover;
  background-position: center;
}
.gallery-item:hover .image-placeholder {
  transform: scale(1.05);
}
.placeholder-icon {
  font-size: 4rem;
}
.placeholder-text {
  font-size: 1.5rem;
  font-weight: 600;
}
.gallery-caption h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.gallery-caption p {
  opacity: 0.8;
}
/* ========================================
   Love Message Section
   ======================================== */
.message-card {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--spacing-lg);
}
.message-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}
.message-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}
.heart-divider {
  font-size: 2rem;
}
.message-content {
  font-size: 1.3rem;
  line-height: 2;
  margin-bottom: var(--spacing-lg);
  min-height: 200px;
}
.typewriter {
  border-right: 2px solid var(--color-accent);
  animation: blink 0.7s step-end infinite;
}
@keyframes blink {
  50% {
    border-color: transparent;
  }
}
.message-signature {
  text-align: right;
  font-size: 1.2rem;
  font-style: italic;
}
.signature-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-top: 0.5rem;
}
/* ========================================
   Interactive Section
   ======================================== */
.interactive-section {
  padding: var(--spacing-xl) 0;
}
.love-button-container {
  text-align: center;
}
.love-button {
  background: var(--gradient-love);
  border: none;
  padding: 2rem 4rem;
  border-radius: 100px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-glow);
}
.love-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 50px rgba(255, 8, 68, 0.6);
}
.love-button:active {
  transform: scale(0.95);
}
.button-heart {
  font-size: 2rem;
  animation: heartBeat 1.5s ease-in-out infinite;
}
@keyframes heartBeat {
  0%, 100% {
    transform: scale(1);
  }
  10%, 30% {
    transform: scale(1.1);
  }
  20%, 40% {
    transform: scale(0.9);
  }
}
.love-counter {
  margin-top: var(--spacing-md);
  font-size: 1.5rem;
  font-weight: 600;
}
#loveCount {
  color: var(--color-accent);
  font-size: 2rem;
  font-weight: 700;
}
/* ========================================
   Footer
   ======================================== */
.footer {
  background: rgba(0, 0, 0, 0.3);
  padding: var(--spacing-lg) 0;
  text-align: center;
  position: relative;
  z-index: 2;
}
.footer-content {
  margin-bottom: var(--spacing-md);
}
.footer-text {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.footer-subtext {
  opacity: 0.8;
  font-style: italic;
}
.footer-hearts {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 2rem;
}
.footer-heart {
  animation: pulse 2s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.2s);
}
.footer-heart:nth-child(1) {
  --i: 0;
}
.footer-heart:nth-child(2) {
  --i: 1;
}
.footer-heart:nth-child(3) {
  --i: 2;
}
.footer-heart:nth-child(4) {
  --i: 3;
}
.footer-heart:nth-child(5) {
  --i: 4;
}
/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
  .nav-menu {
    gap: 1rem;
    font-size: 0.9rem;
  }
  .hero {
    padding: var(--spacing-md) var(--spacing-sm);
  }
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  .countdown-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .countdown-value {
    font-size: 3rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .quote-text {
    font-size: 1.4rem;
  }
  .message-content {
    font-size: 1.1rem;
  }
  .love-button {
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
  }
}
@media (max-width: 480px) {
  .nav-menu {
    display: none;
  }
  .countdown-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .countdown-item {
    padding: var(--spacing-md);
  }
}