/* -------------------------------------------------------------
 * STYLE.CSS - Core Design System & Styling
 * Features: Midnight Violet & Gold Theme, Glassmorphism, Floating Animations
 * ------------------------------------------------------------- */

/* 1. Design Tokens & CSS Variables */
:root {
  /* Primary Theme Colors */
  --color-bg-dark: #060211;
  --color-bg-deep: #0b031c;
  --color-accent-pink: #ff007f;
  --color-accent-violet: #ab00ff;
  --color-accent-cyan: #00f0ff;
  --color-accent-gold: #ffdf00;
  
  /* Text Colors */
  --color-text-white: #ffffff;
  --color-text-light: #e0d9f0;
  --color-text-muted: #9e93b8;
  
  /* Glassmorphism Variables */
  --glass-bg: rgba(20, 10, 40, 0.45);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-glow: rgba(171, 0, 255, 0.35);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  /* Fonts */
  --font-family-sans: 'Inter', sans-serif;
  --font-family-display: 'Outfit', sans-serif;
  --font-family-serif: 'Playfair Display', serif;
  
  /* Transitions */
  --transition-fast: 0.25s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Global Resets & Scrollbars */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family-sans);
  background-color: var(--color-bg-dark);
  background-image: radial-gradient(circle at 50% 0%, var(--color-bg-deep) 0%, var(--color-bg-dark) 100%);
  color: var(--color-text-light);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--color-accent-violet);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-pink);
}

/* 3. Ambient Light Glow Filters (Background Auras) */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -2;
  opacity: 0.15;
  pointer-events: none;
  animation: pulseGlow 15s infinite alternate ease-in-out;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: var(--color-accent-violet);
  top: -10%;
  left: -10%;
}

.glow-2 {
  width: 600px;
  height: 600px;
  background: var(--color-accent-pink);
  bottom: 10%;
  right: -10%;
  animation-delay: -5s;
}

.glow-3 {
  width: 400px;
  height: 400px;
  background: var(--color-accent-cyan);
  top: 40%;
  left: 60%;
  animation-delay: -10s;
}

/* 4. Background Floating Elements (Balloons & Sparkles) */
.bg-animations {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

/* Floating Balloons */
.balloon {
  position: absolute;
  bottom: -150px;
  left: var(--balloon-left);
  width: var(--balloon-size);
  height: calc(var(--balloon-size) * 1.35);
  background: var(--balloon-color);
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  animation: floatUp var(--balloon-duration) linear var(--balloon-delay) infinite;
  box-shadow: inset -5px -8px 20px rgba(0, 0, 0, 0.25), 
              inset 8px 8px 15px rgba(255, 255, 255, 0.2), 
              0 10px 25px rgba(0, 0, 0, 0.2);
  filter: drop-shadow(0 0 10px var(--balloon-color));
  opacity: 0.65;
}

.balloon::before {
  /* Balloon String */
  content: '';
  position: absolute;
  bottom: -24px;
  left: 50%;
  width: 1.5px;
  height: 25px;
  background: rgba(255, 255, 255, 0.35);
  transform: translateX(-50%);
}

.balloon::after {
  /* Balloon Knot */
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 8px;
  height: 6px;
  background: inherit;
  transform: translateX(-50%);
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}

/* Sparkle particles floating */
.sparkle-particle {
  position: absolute;
  width: var(--sparkle-size);
  height: var(--sparkle-size);
  background: var(--color-accent-gold);
  border-radius: 50%;
  left: var(--sparkle-left);
  top: 100%;
  opacity: var(--sparkle-opacity);
  animation: floatSparkle var(--sparkle-duration) linear var(--sparkle-delay) infinite;
}

/* 5. Music Player Disc */
.music-controller {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(15px);
  width: 65px;
  height: 65px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-normal);
  color: var(--color-text-white);
  padding: 0;
  outline: none;
}

.music-controller:hover {
  transform: scale(1.1);
  border-color: var(--color-accent-pink);
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.4);
}

.music-disc-wrapper {
  position: relative;
  width: 45px;
  height: 45px;
}

.music-disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  color: var(--color-text-white);
  border: 2px dashed var(--color-accent-gold);
  transition: transform 0.5s ease;
}

/* Spin animation applied when music is playing */
.music-disc.playing {
  animation: spin 3.5s linear infinite;
}

.music-state-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--color-accent-pink);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10px;
  border: 2px solid var(--color-bg-dark);
}

.music-tooltip {
  position: absolute;
  right: 80px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
  transform: translateX(10px);
}

.music-controller:hover .music-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* 6. Typography & Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.gradient-text {
  background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-accent-pink) 50%, var(--color-accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-glow {
  text-shadow: 0 0 20px rgba(255, 223, 0, 0.2);
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-normal);
}

.hover-glow:hover {
  transform: translateY(-8px);
  border-color: var(--glass-border-glow);
  box-shadow: 0 12px 40px 0 rgba(171, 0, 255, 0.25);
}

/* Section Styling Headers */
.section-header {
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-family-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent-pink);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-family-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--color-text-white);
  letter-spacing: -0.5px;
}

/* Buttons */
.btn {
  display: inline-block;
  border-radius: 40px;
  padding: 16px 36px;
  font-family: var(--font-family-display);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent-pink) 0%, var(--color-accent-violet) 100%);
  color: var(--color-text-white);
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-accent-pink) 0%, var(--color-accent-violet) 100%);
  opacity: 0;
  z-index: 1;
  transition: var(--transition-fast);
}

.btn-glow:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 0, 127, 0.6);
}

.btn-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 7. Hero Section Styling */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-top: 60px;
  padding-bottom: 80px;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
}

.badge-wrapper {
  margin-bottom: 24px;
}

.badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 18px;
  border-radius: 30px;
  font-family: var(--font-family-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-heading {
  font-family: var(--font-family-display);
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text-white);
  margin-bottom: 20px;
  letter-spacing: -2px;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--color-text-light);
  max-width: 600px;
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-family-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-scroll-indicator:hover {
  color: var(--color-text-white);
}

.scroll-arrow {
  animation: bounce 2s infinite;
}

/* 8. Counter Section Styling */
.counter-section {
  padding: 100px 0;
  position: relative;
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 30px;
}

.counter-card {
  padding: 40px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.counter-icon {
  font-size: 32px;
  color: var(--color-accent-gold);
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(255, 223, 0, 0.4));
}

.counter-label {
  font-family: var(--font-family-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: 12px;
}

.counter-value {
  font-family: var(--font-family-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--color-text-white);
  background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-text-white) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.counter-desc {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* Countdown Clock Display styling */
.countdown-display {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  width: 100%;
}

.time-unit {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  min-width: 65px;
  padding: 10px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-num {
  font-family: var(--font-family-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--color-text-white);
  line-height: 1;
  margin-bottom: 4px;
}

.time-label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* 9. Personalized Message Section Styling */
.message-section {
  padding: 100px 0;
  position: relative;
}

.message-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 50px;
  align-items: stretch;
}

/* Left Column: Photo/Profile Frame */
.profile-card-container {
  display: flex;
}

.profile-card {
  width: 100%;
  padding: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.profile-frame {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(135deg, var(--color-accent-pink), var(--color-accent-gold));
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--color-bg-deep);
}

/* Frame Decorative Borders */
.frame-decoration {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 223, 0, 0.4);
  pointer-events: none;
  animation: spin 30s linear infinite;
}

.profile-name {
  font-family: var(--font-family-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: 4px;
}

.profile-birthdate {
  font-family: var(--font-family-display);
  font-size: 14px;
  color: var(--color-accent-pink);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.social-hearts {
  display: flex;
  gap: 12px;
  font-size: 16px;
  color: var(--color-accent-pink);
}

/* Right Column: Wish Card */
.wishes-card-container {
  display: flex;
}

.wishes-card {
  padding: 50px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Card Decorative Icons */
.card-corner {
  position: absolute;
  font-size: 24px;
  opacity: 0.15;
  color: var(--color-text-white);
}

.corner-tl { top: 25px; left: 25px; }
.corner-tr { top: 25px; right: 25px; }
.corner-bl { bottom: 25px; left: 25px; }
.corner-br { bottom: 25px; right: 25px; }

.wishes-title {
  font-family: var(--font-family-serif);
  font-style: italic;
  font-size: 32px;
  color: var(--color-accent-gold);
  margin-bottom: 24px;
  position: relative;
}

.wishes-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 50px;
  height: 2px;
  background: var(--color-accent-pink);
}

.wishes-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-light);
}

.wishes-body p {
  margin-bottom: 18px;
}

.wishes-body p:last-child {
  margin-bottom: 0;
  font-size: 18px;
  color: var(--color-text-white);
}

/* 10. Photo Gallery / Carousel Styling */
.gallery-section {
  padding: 100px 0;
  position: relative;
}

.carousel-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  height: 500px;
  display: flex;
  flex-direction: column;
}

.carousel-slides {
  width: 100%;
  height: 100%;
  position: relative;
  flex-grow: 1;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  cursor: zoom-in;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 23px 23px 0 0;
}

/* Controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 5, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  transition: var(--transition-fast);
  z-index: 10;
}

.carousel-control:hover {
  background: var(--color-accent-pink);
  border-color: var(--color-accent-pink);
  color: var(--color-text-white);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev { left: 20px; }
.carousel-control.next { right: 20px; }

/* Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-dot.active {
  background: var(--color-accent-pink);
  width: 24px;
  border-radius: 10px;
}

/* 11. Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 2, 12, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: transparent;
  border: none;
  color: var(--color-text-white);
  font-size: 32px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--color-accent-pink);
  transform: rotate(90deg);
}

/* 12. Footer Styling */
footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 80px;
  position: relative;
}

.footer-text {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* 13. CSS Animations Keyframes */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.15; }
  50% { transform: scale(1.1) translate(5%, -5%); opacity: 0.25; }
  100% { transform: scale(0.9) translate(-5%, 5%); opacity: 0.15; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-120vh) translateX(var(--balloon-sway)) rotate(var(--balloon-angle));
    opacity: 0;
  }
}

@keyframes floatSparkle {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: var(--sparkle-opacity);
  }
  90% {
    opacity: var(--sparkle-opacity);
  }
  100% {
    transform: translateY(-110vh) scale(1.2);
    opacity: 0;
  }
}

/* Text Fade-in Up Entrance Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.beat-animation {
  animation: heartBeat 1.5s infinite ease-in-out;
}
.beat-animation.delay-1 {
  animation-delay: 0.3s;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.spin-animation {
  animation: spin 8s linear infinite;
}

/* 14. Responsive Media Queries */
@media (max-width: 992px) {
  .message-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .profile-card-container, .wishes-card-container {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-heading {
    letter-spacing: -1.5px;
  }
  
  .counter-section, .message-section, .gallery-section {
    padding: 60px 0;
  }
  
  .carousel-container {
    height: 350px;
  }
  
  .wishes-card {
    padding: 30px;
  }
  
  .music-controller {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }
  .music-disc-wrapper {
    width: 35px;
    height: 35px;
  }
  .music-disc {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-heading {
    font-size: 38px;
  }
  
  .hero-subtitle {
    margin-bottom: 30px;
  }
  
  .counters-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .countdown-display {
    gap: 8px;
  }
  .time-unit {
    min-width: 55px;
  }
  
  .carousel-container {
    height: 250px;
  }
  
  .carousel-control {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

/* -------------------------------------------------------------
 * 15. SHARE BUTTON & TOAST NOTIFICATION
 * ------------------------------------------------------------- */
.btn-secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--color-text-white);
  margin-left: 15px;
}

.btn-secondary:hover {
  border-color: var(--color-accent-cyan);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
}

.toast-notification {
  position: fixed;
  bottom: 110px;
  right: 30px;
  background: var(--glass-bg);
  border: 1px solid var(--color-accent-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3), var(--glass-shadow);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: var(--color-text-white);
  padding: 14px 24px;
  border-radius: 40px;
  z-index: 1100;
  font-family: var(--font-family-display);
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* -------------------------------------------------------------
 * 16. GIFT BOX SECTION STYLING
 * ------------------------------------------------------------- */
.gift-section {
  padding: 100px 0;
  position: relative;
  background-image: linear-gradient(180deg, transparent, rgba(11, 3, 28, 0.5));
}

.gift-box-wrapper {
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  min-height: 250px;
}

.gift-box {
  position: relative;
  width: 140px;
  height: 140px;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: wobble 3.5s infinite ease-in-out;
}

.gift-box:hover {
  transform: scale(1.05) rotate(2deg);
}

.gift-box:focus {
  outline: 2px dashed var(--color-accent-gold);
  outline-offset: 15px;
}

.gift-lid {
  position: absolute;
  top: -15px;
  left: -5px;
  width: 150px;
  height: 25px;
  background: linear-gradient(135deg, var(--color-accent-pink) 0%, var(--color-accent-violet) 100%);
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 5;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s;
}

.gift-body {
  position: absolute;
  width: 140px;
  height: 125px;
  background: linear-gradient(135deg, var(--color-accent-violet) 0%, var(--color-bg-deep) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 2;
  transition: transform 0.6s, opacity 0.6s;
}

.gift-ribbon-vertical {
  position: absolute;
  top: -15px;
  left: 60px;
  width: 20px;
  height: 140px;
  background: var(--color-accent-gold);
  z-index: 3;
  box-shadow: 0 0 8px rgba(255, 223, 0, 0.4);
  transition: transform 0.6s, opacity 0.6s;
}

.gift-ribbon-horizontal {
  position: absolute;
  top: 50px;
  left: 0;
  width: 140px;
  height: 20px;
  background: var(--color-accent-gold);
  z-index: 3;
  box-shadow: 0 0 8px rgba(255, 223, 0, 0.4);
  transition: transform 0.6s, opacity 0.6s;
}

.gift-bow {
  position: absolute;
  top: -33px;
  left: 53px;
  width: 34px;
  height: 20px;
  z-index: 6;
  transition: transform 0.6s, opacity 0.6s;
}

.gift-bow::before, .gift-bow::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 4px solid var(--color-accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 223, 0, 0.3);
}

.gift-bow::before {
  left: -8px;
  transform: rotate(-35deg);
}

.gift-bow::after {
  right: -8px;
  transform: rotate(35deg);
}

/* Open State */
.gift-box.open {
  animation: none;
}

.gift-box.open .gift-lid {
  transform: translateY(-100px) rotate(-20deg) scale(0.9);
  opacity: 0;
}

.gift-box.open .gift-body,
.gift-box.open .gift-ribbon-vertical,
.gift-box.open .gift-ribbon-horizontal,
.gift-box.open .gift-bow {
  transform: scale(0.6);
  opacity: 0;
  pointer-events: none;
}

/* Wobble wobble */
@keyframes wobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-3deg) scale(1.02); }
  75% { transform: rotate(3deg) scale(1.02); }
}

/* Surprise Wish Card */
.surprise-card {
  max-width: 650px;
  margin: 20px auto 0 auto;
  padding: 40px;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.6s, visibility 0.6s;
}

.surprise-card.show {
  transform: scale(1) translateY(0);
  opacity: 1;
  visibility: visible;
}

.surprise-card.hidden {
  display: none;
}

.surprise-title {
  font-family: var(--font-family-display);
  font-size: 24px;
  color: var(--color-accent-gold);
  margin-bottom: 15px;
  filter: drop-shadow(0 0 8px rgba(255, 223, 0, 0.3));
}

.surprise-message {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* -------------------------------------------------------------
 * 17. GUESTBOOK SECTION STYLING
 * ------------------------------------------------------------- */
.guestbook-section {
  padding: 100px 0;
  position: relative;
  background-image: linear-gradient(180deg, rgba(11, 3, 28, 0.5), transparent);
}

.guestbook-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 40px;
  margin-top: 30px;
  align-items: stretch;
}

.guestbook-form-container {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
}

.wish-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-family-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-light);
  letter-spacing: 0.5px;
  text-align: left;
}

.form-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--color-text-white);
  font-family: var(--font-family-sans);
  font-size: 15px;
  transition: var(--transition-fast);
  width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent-pink);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

textarea.form-input {
  resize: vertical;
}

.wishes-wall-container {
  padding: 45px 30px;
  display: flex;
  flex-direction: column;
}

.wishes-wall-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 15px;
}

.wall-title {
  font-family: var(--font-family-display);
  font-size: 20px;
  color: var(--color-text-white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.clear-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-muted);
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--font-family-display);
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.clear-btn:hover {
  background: rgba(255, 95, 0, 0.1);
  border-color: rgba(255, 95, 0, 0.3);
  color: #ff5f00;
}

.wishes-list {
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-right: 10px;
  text-align: left;
}

.wishes-list::-webkit-scrollbar {
  width: 6px;
}

.wishes-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.wishes-list::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-violet);
}

.wish-card-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  transition: var(--transition-fast);
  transform: rotate(var(--wish-rotation, 0deg));
}

.wish-card-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(171, 0, 255, 0.2);
  transform: scale(1.01) rotate(0deg);
}

.wish-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.wish-card-sender {
  font-family: var(--font-family-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-accent-cyan);
}

.wish-card-date {
  font-size: 11px;
  color: var(--color-text-muted);
}

.wish-card-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-light);
  word-break: break-word;
}

.wishes-empty {
  text-align: center;
  color: var(--color-text-muted);
  padding: 40px 0;
  font-style: italic;
  font-size: 14px;
  width: 100%;
}

/* -------------------------------------------------------------
 * 18. EXTRA RESPONSIVE DESIGN ADJUSTMENTS
 * ------------------------------------------------------------- */
@media (max-width: 768px) {
  .guestbook-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .btn-secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    gap: 0;
  }
  .hero-cta .btn {
    width: 100%;
  }
}
