/* ==========================================
   💕 ROMANTIC VALENTINE THEME STYLES 💕
   ========================================== */

/* Import Romantic Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500&display=swap');

/* CSS Variables for Easy Customization */
:root {
  --romantic-pink: #ffb6c1;
  /* Light pink - visible on dark */
  --deep-rose: #e91e63;
  --soft-pink: #fce4ec;
  /* Very soft pink */
  --blush: #f8bbd9;
  --gold-accent: #ffd700;
  --cream-white: #fff5f7;
  /* Cream white - main text */
  --romantic-purple: #9c27b0;
  --heart-red: #ff1744;
  --light-rose: #ffcdd2;
  /* Light rose for visibility */
}

html {
  box-sizing: border-box;
}

/* Romantic Background with Custom Image */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: url('../img/romantic-bg.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Floating Hearts Background Animation */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff6b8a20'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
  background-size: 30px 30px;
  animation: floatHearts 20s linear infinite;
  opacity: 0.3;
}

@keyframes floatHearts {
  0% {
    background-position: 0 0, 100px 100px;
  }

  100% {
    background-position: 100px 300px, 200px 400px;
  }
}

/* Sparkle Overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
}

.container {
  height: 100vh;
  width: 100vh;
  margin: 0 auto;
  text-align: center;
  visibility: hidden;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.container div.six {
  top: 10vh;
  z-index: 1;
}

.container div.seven,
.container div.eight {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
}

.container>div {
  position: absolute;
  left: 0;
  right: 0;
  top: 20vh;
}

/* ==========================================
   ROMANTIC TYPOGRAPHY
   ========================================== */

.one {
  font-size: 4.5rem;
  font-family: 'Great Vibes', cursive;
  color: var(--deep-rose);
  text-shadow:
    0 0 10px rgba(233, 30, 99, 0.5),
    0 0 20px rgba(233, 30, 99, 0.3),
    0 0 30px rgba(233, 30, 99, 0.2),
    2px 2px 4px rgba(0, 0, 0, 0.1);
  animation: glowPulse 2s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from {
    text-shadow:
      0 0 10px rgba(233, 30, 99, 0.5),
      0 0 20px rgba(233, 30, 99, 0.3),
      0 0 30px rgba(233, 30, 99, 0.2),
      2px 2px 4px rgba(0, 0, 0, 0.1);
  }

  to {
    text-shadow:
      0 0 15px rgba(233, 30, 99, 0.7),
      0 0 30px rgba(233, 30, 99, 0.5),
      0 0 45px rgba(233, 30, 99, 0.3),
      2px 2px 4px rgba(0, 0, 0, 0.1);
  }
}

.one>img {
  vertical-align: middle;
  margin-bottom: 10px;
  max-width: 100%;
  height: auto;
}

/* Name Styling - Extra Special */
#name {
  font-family: 'Great Vibes', cursive;
  color: var(--heart-red);
  font-size: 1.2em;
  background: linear-gradient(45deg, var(--deep-rose), var(--romantic-purple), var(--romantic-pink));
  -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);
  }
}

.two {
  font-size: 2.5rem;
  font-weight: 300;
  font-family: 'Dancing Script', cursive;
  color: #f80285;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.three {
  font-size: 3rem;
  font-family: 'Great Vibes', cursive;
  color: var(--deep-rose);
  text-shadow:
    0 0 15px rgba(233, 30, 99, 0.6),
    2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* ==========================================
   GLASSMORPHISM MESSAGE BOX
   ========================================== */

.four .text-box {
  width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 25px;
  position: relative;
  box-shadow:
    0 8px 32px rgba(233, 30, 99, 0.2),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.text-box p {
  margin: 0;
  text-align: left;
  font-family: 'Playfair Display', serif;
  color: #ff011f;
  font-size: 1.1rem;
  line-height: 1.6;
}

.text-box span {
  visibility: hidden;
}

.text-box .fake-btn {
  position: absolute;
  right: 15px;
  bottom: 15px;
  color: #fff;
  background-color: #e91e63;
  /* Solid color for GSAP animation */
  padding: 10px 20px;
  border-radius: 25px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
  cursor: pointer;
  /* No CSS transition - let GSAP handle animations */
}

.text-box .fake-btn:hover {
  box-shadow: 0 6px 20px rgba(233, 30, 99, 0.5);
}

/* ==========================================
   ROMANTIC IDEAS SECTION
   ========================================== */

.five p {
  font-size: 2.5rem;
  position: absolute;
  left: 0;
  right: 0;
  font-family: 'Dancing Script', cursive;
  color: #d00c6b;
}

.idea-3 strong {
  padding: 5px 15px;
  border-radius: 25px;
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-accent), #dd042b);
  color: #da0766;
  box-shadow: 0 4px 15px rgba(232, 7, 15, 0.4);
}

.five .idea-5 {
  font-size: 4rem;
  font-family: 'Great Vibes', cursive;
  color: var(--deep-rose);
  text-shadow:
    0 0 20px rgba(233, 30, 99, 0.5),
    3px 3px 6px rgba(0, 0, 0, 0.1);
}

.idea-5 span,
.idea-6 span,
.wish-hbd span {
  display: inline-block;
}

.idea-6 span {
  font-size: 15rem;
  font-family: 'Great Vibes', cursive;
  color: var(--deep-rose);
  text-shadow:
    0 0 30px rgba(233, 30, 99, 0.6),
    0 0 60px rgba(233, 30, 99, 0.3);
}

/* ==========================================
   PROFILE IMAGE SECTION
   ========================================== */

.six {
  position: relative;
}

.six img {
  display: inline-block;
  max-width: 45%;
  height: auto;
  border-radius: 20px;
  box-shadow:
    0 10px 40px rgba(233, 30, 99, 0.3),
    0 0 60px rgba(255, 107, 138, 0.2);
  border: 3px solid rgba(255, 255, 255, 0.5);
}

.six .hat {
  position: absolute;
  width: 80px;
  top: -35px;
  left: 41.5%;
}

/* ==========================================
   BALLOONS SECTION
   ========================================== */

.baloons img {
  display: inline-block;
  position: absolute;
  width: 200px;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.baloons img:nth-child(even) {
  left: 10%;
}

.baloons img:nth-child(odd) {
  right: 10%;
}

.baloons img:nth-child(3n + 0) {
  left: 30%;
}

/* ==========================================
   CONFETTI/CIRCLES
   ========================================== */

.eight svg {
  width: 25px;
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
  z-index: -1;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.eight svg:nth-child(1) {
  top: 7vh;
  left: 5vw;
  fill: var(--romantic-pink);
}

.eight svg:nth-child(2) {
  top: 23vh;
  left: 35vw;
  fill: var(--deep-rose);
}

.eight svg:nth-child(3) {
  top: 33vh;
  left: 23vw;
  fill: var(--blush);
}

.eight svg:nth-child(4) {
  top: 43vh;
  left: 57vw;
  fill: var(--romantic-purple);
}

.eight svg:nth-child(5) {
  top: 68vh;
  left: 7vw;
  fill: var(--heart-red);
}

.eight svg:nth-child(6) {
  top: 42vh;
  left: 77vw;
  fill: var(--gold-accent);
}

.eight svg:nth-child(7) {
  top: 68vh;
  left: 83vw;
  fill: var(--romantic-pink);
}

.eight svg:nth-child(8) {
  top: 86vh;
  left: 37vw;
  fill: var(--deep-rose);
}

.eight svg:nth-child(9) {
  top: 94vh;
  left: 87vw;
  fill: var(--blush);
}

/* ==========================================
   WISH SECTION
   ========================================== */

.wish-hbd {
  font-size: 3.5em;
  margin: 0;
  font-family: 'Great Vibes', cursive;
  color: var(--deep-rose);
  text-shadow:
    0 0 20px rgba(233, 30, 99, 0.6),
    0 0 40px rgba(233, 30, 99, 0.3),
    3px 3px 6px rgba(0, 0, 0, 0.1);
  animation: glowPulse 2s ease-in-out infinite alternate;
}

.wish h5 {
  font-weight: 400;
  font-size: 2rem;
  margin: 15px 0 0;
  font-family: 'Playfair Display', serif;
  color: #880e4f;
}

/* ==========================================
   FINAL MESSAGE SECTION
   ========================================== */

.nine p {
  font-size: 2rem;
  font-weight: 300;
  font-family: 'Playfair Display', serif;
  color: #ea0a81;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
}

.nine .last-smile {
  font-size: 4rem;
  color: var(--deep-rose);
}

#replay {
  z-index: 3;
  cursor: pointer;
  color: var(--deep-rose);
  transition: all 0.3s ease;
  padding: 10px 20px;
  border-radius: 30px;
  display: inline-block;
}

#replay:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
  text-shadow: 0 0 15px rgba(233, 30, 99, 0.5);
}

/* ==========================================
   FLOATING HEARTS ANIMATION (Extra)
   ========================================== */

.floating-heart {
  position: fixed;
  font-size: 1.5rem;
  animation: floatUp 6s ease-in-out infinite;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(100vh) rotate(0deg);
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.8;
  }

  100% {
    opacity: 0;
    transform: translateY(-100vh) rotate(360deg);
  }
}

/* ==========================================
   MEDIA QUERIES
   ========================================== */

@media screen and (max-height: 1000px) {
  .six .hat {
    left: 40%;
  }
}

@media screen and (max-height: 800px) {
  .six .hat {
    left: 37%;
  }
}

@media screen and (max-height: 700px) {
  .six .hat {
    left: 32%;
  }
}

@media screen and (max-height: 850px) and (max-width: 450px) {
  .six .hat {
    left: 32%;
  }
}

@media screen and (max-width: 500px) {
  .container {
    width: 90%;
  }

  .one {
    font-size: 3rem;
  }

  .four .text-box {
    width: 90%;
    padding: 20px;
  }

  .text-box .fake-btn {
    right: 10px;
    bottom: -45px;
  }

  .idea-5 span {
    display: block;
  }

  .idea-6 span {
    font-size: 8rem;
  }

  .six .hat {
    width: 50px;
    top: -20px;
  }

  .wish-hbd {
    font-size: 2.5em;
  }

  .wish h5 {
    font-size: 1.4rem;
  }

  .nine p {
    font-size: 1.5rem;
  }

  .three {
    font-size: 2.2rem;
  }
}