
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #fff9fc;
  color: #252039;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 7%;
  background: white;
  box-shadow: 0 2px 15px #00000008;
}

.logo {
  font-size: 25px;
  font-weight: bold;
  color: #e83e87;
}

.nav-label {
  color: #a06086;
  font-size: 13px;
}

.hero {
  text-align: center;
  padding: 100px 20px 85px;
  background: linear-gradient(
    135deg, #fff0f7, #f4eaff, #fff8e9
  );
}

.tagline {
  display: inline-block;
  padding: 10px 20px;
  background: white;
  border-radius: 30px;
  color: #db3980;
  margin-bottom: 25px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.3;
}

.hero h1 span {
  color: #e83e87;
}

.hero p {
  max-width: 530px;
  margin: 22px auto 30px;
  color: #6b6175;
  line-height: 1.9;
}

.hero-btn {
  display: inline-block;
  padding: 16px 28px;
  background: #e83e87;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #c9296e;
  transform: translateY(-3px);
}

.categories {
  padding: 75px 7%;
  text-align: center;
}

.categories h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.categories > p {
  color: #777080;
  margin-bottom: 40px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: auto;
}

.category-card {
  border: 1px solid #f2e7ee;
  border-radius: 22px;
  padding: 35px 18px;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: 0.3s;
}

.category-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 30px #00000010;
}

.emoji {
  display: block;
  font-size: 48px;
  margin-bottom: 18px;
}

.category-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.category-card p {
  font-size: 14px;
  color: #766b79;
  line-height: 1.6;
}

.birthday { background: #fff0e8; }
.love { background: #ffeaf2; }
.anniversary { background: #f3eaff; }
.friendship { background: #e8f7ff; }
.sorry { background: #fff5dd; }
.congrats { background: #e8fff2; }

footer {
  text-align: center;
  padding: 35px 15px;
  background: #252039;
  color: #ffffff;
  line-height: 2;
  font-size: 13px;
}

@media (max-width: 850px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .navbar {
    padding: 18px 5%;
  }

  .nav-label {
    font-size: 11px;
  }

  .hero {
    padding: 75px 20px;
  }

  .categories {
    padding: 55px 5%;
  }

  .categories h2 {
    font-size: 26px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .category-grid > * {
    min-width: 0;
    padding: 20px 10px;
  }

  .category-card h3 {
    font-size: 16px;
  }

  .category-card p {
    font-size: 12px;
  }

  .emoji {
    font-size: 36px;
    margin-bottom: 12px;
  }
}

/* Birthday Surprise Form */

.hidden {
  display: none !important;
}

.wish-section,
.preview-section {
  min-height: 80vh;
  padding: 60px 20px;
  background: linear-gradient(135deg, #fff0f6, #f2eaff);
}

.wish-box {
  max-width: 520px;
  margin: auto;
  background: white;
  padding: 35px;
  border-radius: 24px;
  box-shadow: 0 12px 40px #00000010;
}

.wish-box h2 {
  font-size: 27px;
  margin: 20px 0 12px;
}

.wish-box > p {
  color: #777;
  line-height: 1.7;
  margin-bottom: 25px;
}

.wish-box label {
  display: block;
  margin: 18px 0 8px;
  font-weight: bold;
}

.wish-box input,
.wish-box textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #e4dbe4;
  border-radius: 12px;
  font: inherit;
  outline: none;
}

.wish-box input:focus,
.wish-box textarea:focus {
  border-color: #e83e87;
}

.create-btn {
  width: 100%;
  padding: 16px;
  margin-top: 24px;
  border: none;
  border-radius: 12px;
  background: #e83e87;
  color: white;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
}

.back-btn {
  border: none;
  background: transparent;
  color: #e83e87;
  font-size: 16px;
  cursor: pointer;
}

.preview-section {
  text-align: center;
}

.gift-area {
  margin: 70px auto;
  cursor: pointer;
}

.gift-icon {
  font-size: 110px;
  animation: bounceGift 1.5s infinite;
}

.gift-area h2 {
  margin: 20px 0 10px;
}

.birthday-reveal {
  max-width: 550px;
  margin: 50px auto;
  padding: 35px 20px;
  background: white;
  border-radius: 25px;
  box-shadow: 0 15px 40px #00000012;
  animation: revealWish 0.8s ease;
}

.birthday-cake {
  font-size: 90px;
  animation: bounceGift 2s infinite;
}

.birthday-reveal h1 {
  color: #e83e87;
  font-size: 32px;
  margin: 20px 0;
  overflow-wrap: anywhere;
}

.birthday-reveal p {
  color: #5f5264;
  line-height: 1.9;
  font-size: 18px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.birthday-stars {
  font-size: 30px;
  margin-top: 25px;
}

@keyframes bounceGift {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes revealWish {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 520px) {
  .wish-box {
    padding: 25px 20px;
  }

  .birthday-reveal h1 {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gift-icon,
  .birthday-cake,
  .birthday-reveal {
    animation: none;
  }
}

/* Birthday Share Link */

.share-area {
  max-width: 550px;
  margin: 25px auto;
  padding: 25px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px #00000010;
  text-align: center;
}

.share-area h3 {
  color: #e83e87;
  margin-bottom: 12px;
}

.share-area p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #665a6c;
}

#shareLink {
  width: 100%;
  padding: 14px;
  border: 1px solid #e5dce5;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 12px;
}

.share-btn {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  border: none;
  border-radius: 12px;
  background: #e83e87;
  color: white;
  font-size: 15px;
  cursor: pointer;
}

.secondary-btn {
  background: #6854b8;
}

#copyStatus {
  margin-top: 12px;
  font-size: 14px;
  overflow-wrap: anywhere;
}

/* LOVE PROPOSAL ANIMATION */

.love-letter {
  max-width: 450px;
  margin: 70px auto;
  text-align: center;
  cursor: pointer;
  padding: 35px 20px;
}

.love-envelope {
  font-size: 110px;
  animation: loveFloat 2s ease-in-out infinite;
}

.love-letter h2 {
  color: #d52e76;
  margin: 20px 0 12px;
}

.love-letter p {
  color: #9c6380;
}

.love-reveal {
  max-width: 550px;
  margin: 50px auto;
  padding: 40px 25px;
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 15px 40px #d52e7620;
  animation: loveReveal 0.9s ease;
}

.love-reveal h1 {
  color: #d52e76;
  margin: 25px 0;
  font-size: 32px;
  overflow-wrap: anywhere;
}

.love-reveal p {
  font-size: 18px;
  color: #61485a;
  line-height: 2;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.love-hearts {
  font-size: 30px;
  animation: loveFloat 2s infinite;
}

@keyframes loveFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }
}

@keyframes loveReveal {
  from {
    opacity: 0;
    transform: scale(0.5) rotate(-5deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@media (max-width: 520px) {
  .love-reveal {
    padding: 30px 18px;
  }

  .love-reveal h1 {
    font-size: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .love-envelope,
  .love-hearts,
  .love-reveal {
    animation: none;
  }
}


/* ==================================
   WISHORA - ANNIVERSARY SURPRISE
================================== */

/* Anniversary Ring Screen */

.anniversary-gift {
  max-width: 500px;
  margin: 70px auto;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
}

.anniversary-ring {
  font-size: 110px;
  display: inline-block;
  animation: ringFloat 2.5s ease-in-out infinite;
  filter: drop-shadow(0 10px 15px #d89dca55);
}

.anniversary-gift h2 {
  color: #b73b87;
  margin: 25px 0 12px;
  font-size: 28px;
}

.anniversary-gift p {
  color: #8b6584;
  font-size: 16px;
}

/* Anniversary Message Card */

.anniversary-reveal {
  max-width: 560px;
  margin: 50px auto;
  padding: 45px 30px;
  background: linear-gradient(
    145deg,
    #ffffff,
    #fff0f8
  );
  border: 1px solid #f9d5e9;
  border-radius: 28px;
  box-shadow: 0 18px 45px #c54d8b22;
  text-align: center;
  animation: anniversaryReveal 0.9s ease-out;
}

.anniversary-reveal h1 {
  color: #c73582;
  font-size: 32px;
  margin: 25px 0;
  overflow-wrap: anywhere;
}

.anniversary-reveal p {
  font-size: 18px;
  color: #65465d;
  line-height: 2;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.anniversary-hearts {
  font-size: 32px;
  animation: heartPulse 2s ease-in-out infinite;
}

/* Floating Ring Animation */

@keyframes ringFloat {
  0%, 100% {
    transform: translateY(0) rotate(-8deg);
  }

  50% {
    transform: translateY(-22px) rotate(8deg);
  }
}

/* Message Reveal Animation */

@keyframes anniversaryReveal {
  from {
    opacity: 0;
    transform: translateY(35px) scale(0.85);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Heart Animation */

@keyframes heartPulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.12);
  }
}

/* Mobile Responsive */

@media (max-width: 520px) {

  .anniversary-gift {
    margin: 45px auto;
    padding: 30px 15px;
  }

  .anniversary-ring {
    font-size: 85px;
  }

  .anniversary-gift h2 {
    font-size: 23px;
  }

  .anniversary-reveal {
    padding: 30px 20px;
    margin: 35px auto;
  }

  .anniversary-reveal h1 {
    font-size: 25px;
  }

  .anniversary-reveal p {
    font-size: 16px;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  .anniversary-ring,
  .anniversary-reveal,
  .anniversary-hearts {
    animation: none;
  }
}


/* =====================================
   WISHORA - FRIENDSHIP SURPRISE
===================================== */

/* Friendship background */

#friendshipForm,
#friendshipPreview {
  background: linear-gradient(
    135deg,
    #e8f7ff,
    #fff8d9,
    #f0faff
  );
}

/* Friendship form */

#friendshipForm .wish-box {
  border: 1px solid #d6edff;
}

#friendshipForm .create-btn {
  background: linear-gradient(
    135deg,
    #1687cf,
    #6c65dc
  );
}

#friendshipForm .back-btn,
#friendshipPreview .back-btn {
  color: #1687cf;
}

/* Animated gift */

.friendship-gift {
  max-width: 500px;
  margin: 70px auto;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
}

.friendship-gift-icon {
  display: inline-block;
  font-size: 110px;
  animation: friendshipFloat 2s ease-in-out infinite;
  filter: drop-shadow(0 12px 16px #1687cf33);
}

.friendship-gift h2 {
  color: #1975b6;
  font-size: 28px;
  margin: 25px 0 12px;
}

.friendship-gift p {
  color: #637e98;
  font-size: 16px;
}

/* Friendship message card */

.friendship-reveal {
  max-width: 560px;
  margin: 50px auto;
  padding: 45px 30px;
  background: linear-gradient(
    145deg,
    #ffffff,
    #fffbe7
  );
  border: 1px solid #e4efff;
  border-radius: 28px;
  box-shadow: 0 18px 45px #1687cf20;
  text-align: center;
  animation: friendshipReveal 0.85s ease-out;
}

.friendship-reveal h1 {
  color: #1876b9;
  font-size: 32px;
  margin: 25px 0;
  overflow-wrap: anywhere;
}

.friendship-reveal p {
  color: #4c6070;
  font-size: 18px;
  line-height: 2;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.friendship-emojis {
  font-size: 32px;
  animation: friendshipPulse 2s ease-in-out infinite;
}

/* Friendship share buttons */

#friendshipShareArea h3 {
  color: #1975b6;
}

#copyFriendshipLink {
  background: #1687cf;
}

#shareFriendshipBtn {
  background: #6c65dc;
}

/* Floating animation */

@keyframes friendshipFloat {
  0%, 100% {
    transform: translateY(0) rotate(-7deg);
  }

  50% {
    transform: translateY(-20px) rotate(7deg);
  }
}

/* Message reveal animation */

@keyframes friendshipReveal {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.85);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Emoji pulse animation */

@keyframes friendshipPulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.12);
  }
}

/* Mobile responsive */

@media (max-width: 520px) {
  .friendship-gift {
    margin: 45px auto;
    padding: 30px 15px;
  }

  .friendship-gift-icon {
    font-size: 85px;
  }

  .friendship-gift h2 {
    font-size: 23px;
  }

  .friendship-reveal {
    padding: 30px 20px;
    margin: 35px auto;
  }

  .friendship-reveal h1 {
    font-size: 25px;
  }

  .friendship-reveal p {
    font-size: 16px;
  }
}

/* Reduce animation when requested */

@media (prefers-reduced-motion: reduce) {
  .friendship-gift-icon,
  .friendship-reveal,
  .friendship-emojis {
    animation: none;
  }
}


/* =====================================
   WISHORA - SORRY MESSAGE SURPRISE
===================================== */

/* Sorry section background */

#sorryForm,
#sorryPreview {
  background: linear-gradient(
    135deg,
    #fff0f3,
    #ffe4eb,
    #fff7f9
  );
}

/* Sorry form design */

#sorryForm .wish-box {
  border: 1px solid #ffd1df;
}

#sorryForm .wish-box h2 {
  color: #b83f66;
}

#sorryForm .create-btn {
  background: linear-gradient(
    135deg,
    #e85d87,
    #b83f66
  );
}

#sorryForm .back-btn,
#sorryPreview .back-btn {
  color: #b83f66;
}

/* Animated broken heart */

.sorry-gift {
  max-width: 500px;
  margin: 65px auto;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
}

.sorry-heart {
  display: inline-block;
  font-size: 110px;
  line-height: 1.4;
  animation: sorryHeartbeat 1.6s ease-in-out infinite;
  filter: drop-shadow(0 12px 18px #e85d8740);
}

.sorry-gift h2 {
  color: #b83f66;
  font-size: 27px;
  margin: 22px 0 12px;
}

.sorry-gift p {
  color: #976275;
  font-size: 17px;
}

/* Revealed apology message */

.sorry-reveal {
  max-width: 560px;
  margin: 45px auto;
  padding: 45px 30px;
  background: linear-gradient(
    145deg,
    #ffffff,
    #fff4f7
  );
  border: 1px solid #ffd6e2;
  border-radius: 28px;
  box-shadow: 0 18px 45px #b83f6626;
  text-align: center;
  animation: sorryReveal 0.85s ease-out;
}

.sorry-reveal h1 {
  color: #b83f66;
  font-size: 32px;
  margin: 25px 0;
  overflow-wrap: anywhere;
}

.sorry-reveal p {
  color: #725261;
  font-size: 18px;
  line-height: 2;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* Decorative emojis */

.sorry-emojis {
  font-size: 32px;
  animation: sorryEmojiPulse 2s ease-in-out infinite;
}

/* Sorry share area */

#sorryShareArea h3 {
  color: #b83f66;
}

#copySorryLink {
  background: #e85d87;
}

#shareSorryBtn {
  background: #b83f66;
}

/* Heartbeat animation */

@keyframes sorryHeartbeat {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }

  25% {
    transform: scale(1.12) rotate(-5deg);
  }

  50% {
    transform: scale(0.96) rotate(0deg);
  }

  75% {
    transform: scale(1.08) rotate(5deg);
  }
}

/* Apology reveal animation */

@keyframes sorryReveal {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.85);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Emoji animation */

@keyframes sorryEmojiPulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.12);
  }
}

/* Mobile responsive */

@media (max-width: 520px) {
  .sorry-gift {
    margin: 40px auto;
    padding: 30px 15px;
  }

  .sorry-heart {
    font-size: 85px;
  }

  .sorry-gift h2 {
    font-size: 23px;
  }

  .sorry-reveal {
    margin: 30px auto;
    padding: 30px 20px;
  }

  .sorry-reveal h1 {
    font-size: 25px;
  }

  .sorry-reveal p {
    font-size: 16px;
  }

  .sorry-emojis {
    font-size: 27px;
  }
}

/* Accessibility: reduced motion */

@media (prefers-reduced-motion: reduce) {
  .sorry-heart,
  .sorry-reveal,
  .sorry-emojis {
    animation: none;
  }
}


/* =====================================
   WISHORA - CONGRATULATIONS SURPRISE
===================================== */

/* Gold and Purple Background */

#congratsForm,
#congratsPreview {
  background: linear-gradient(
    135deg,
    #fff8df 0%,
    #f2e9ff 50%,
    #fff3ce 100%
  );
}

/* Congratulations Form */

#congratsForm .wish-box {
  border: 1px solid #e7d4ff;
  box-shadow: 0 15px 40px #7545b31a;
}

#congratsForm .wish-box h2 {
  color: #8752bd;
}

#congratsForm .create-btn {
  background: linear-gradient(
    135deg,
    #e7a728,
    #8752bd
  );
  color: #ffffff;
  border: none;
  transition: transform 0.3s ease;
}

#congratsForm .create-btn:hover {
  transform: translateY(-3px);
}

#congratsForm .back-btn,
#congratsPreview .back-btn {
  color: #8752bd;
}

/* Animated Trophy */

.congrats-gift {
  max-width: 520px;
  margin: 65px auto;
  padding: 45px 20px;
  text-align: center;
  cursor: pointer;
}

.congrats-trophy {
  display: inline-block;
  font-size: 115px;
  line-height: 1.4;

  animation:
    congratsFloat 2.5s ease-in-out infinite,
    congratsGlow 2s ease-in-out infinite;
}

.congrats-gift h2 {
  color: #8752bd;
  font-size: 29px;
  margin: 25px 0 12px;
}

.congrats-gift p {
  color: #a27937;
  font-size: 17px;
}

/* Revealed Congratulations Card */

.congrats-reveal {
  max-width: 580px;
  margin: 45px auto;
  padding: 50px 30px;

  background: linear-gradient(
    145deg,
    #ffffff,
    #fff9e8,
    #f8f0ff
  );

  border: 2px solid #f1dca5;
  border-radius: 30px;

  box-shadow:
    0 18px 45px #8752bd20,
    0 0 30px #e7a72820;

  text-align: center;

  animation: congratsReveal 0.9s ease-out;
}

.congrats-reveal h1 {
  color: #8752bd;
  font-size: 34px;
  margin: 25px 0;
  overflow-wrap: anywhere;
}

.congrats-reveal p {
  color: #66536f;
  font-size: 18px;
  line-height: 2;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* Celebration Emojis */

.congrats-emojis {
  font-size: 35px;
  animation: congratsPulse 2s ease-in-out infinite;
}

/* Share Area */

#congratsShareArea h3 {
  color: #8752bd;
}

#copyCongratsLink {
  background: #e7a728;
  color: #ffffff;
}

#shareCongratsBtn {
  background: #8752bd;
  color: #ffffff;
}

/* Floating Trophy Animation */

@keyframes congratsFloat {
  0%, 100% {
    transform: translateY(0) rotate(-5deg);
  }

  50% {
    transform: translateY(-22px) rotate(5deg);
  }
}

/* Trophy Glow Animation */

@keyframes congratsGlow {
  0%, 100% {
    filter: drop-shadow(
      0 8px 12px #e7a72840
    );
  }

  50% {
    filter: drop-shadow(
      0 12px 25px #e7a728a0
    );
  }
}

/* Message Reveal Animation */

@keyframes congratsReveal {
  from {
    opacity: 0;
    transform: translateY(35px) scale(0.8);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Celebration Pulse */

@keyframes congratsPulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

/* Mobile Responsive */

@media (max-width: 520px) {
  .congrats-gift {
    margin: 40px auto;
    padding: 30px 15px;
  }

  .congrats-trophy {
    font-size: 85px;
  }

  .congrats-gift h2 {
    font-size: 23px;
  }

  .congrats-reveal {
    margin: 30px auto;
    padding: 30px 20px;
  }

  .congrats-reveal h1 {
    font-size: 26px;
  }

  .congrats-reveal p {
    font-size: 16px;
  }

  .congrats-emojis {
    font-size: 28px;
  }
}

/* Accessibility: Reduced Motion */

@media (prefers-reduced-motion: reduce) {
  .congrats-trophy,
  .congrats-reveal,
  .congrats-emojis {
    animation: none;
  }
}


/* WISHORA - BIRTHDAY PHOTO UPLOAD */

#birthdayPhoto {
  width: 100%;
  padding: 12px;
  background: #fff7fb;
  border: 2px dashed #e9a5c5;
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 8px;
}

#birthdayPhoto::file-selector-button {
  background: #e83e87;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  margin-right: 12px;
}

.photo-help {
  font-size: 13px;
  color: #8b7888;
  margin: 6px 0 15px;
}

.photo-preview {
  margin: 18px auto;
  padding: 12px;
  max-width: 320px;
  background: #fff0f7;
  border: 1px solid #f4d4e5;
  border-radius: 16px;
  text-align: center;
}

.photo-preview img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 12px;
}

@media (max-width: 520px) {
  #birthdayPhoto {
    font-size: 13px;
  }

  #birthdayPhoto::file-selector-button {
    padding: 9px 10px;
    margin-right: 6px;
  }

  .photo-preview {
    max-width: 100%;
  }
}



/* Birthday Photo Preview Visibility Fix */

#birthdayPhotoPreview:not(.hidden) {
  display: block;
}

#birthdayPhotoPreview.hidden {
  display: none;
}

#birthdayPreviewImage {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: contain;
}


/* BIRTHDAY SURPRISE PHOTO */

#birthdaySurprisePhoto {
  margin: 20px auto;
  max-width: 280px;
  text-align: center;
}

#birthdaySurprisePhoto img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

#birthdaySurprisePhoto.hidden {
  display: none;
}

/* LOVE SURPRISE PHOTO DESIGN */

#loveSurprisePhoto {
  margin: 20px auto;
  max-width: 280px;
  text-align: center;
}

#loveSurprisePhoto img {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

#loveSurprisePhoto.hidden {
  display: none;
}

/* ANNIVERSARY SURPRISE PHOTO DESIGN */

#anniversarySurprisePhoto {
  width: 100%;
  max-width: 300px;
  margin: 22px auto;
  padding: 8px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(255, 105, 180, 0.2);
  animation: anniversaryPhotoAppear 0.8s ease;
}

#anniversarySurprisePhoto img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  border-radius: 14px;
}

#anniversarySurprisePhoto.hidden {
  display: none;
}

@keyframes anniversaryPhotoAppear {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* WISHORA - BIRTHDAY TEMPLATE SELECTION */

#birthdayTemplateSelection {
  background: linear-gradient(145deg, #fff0f7, #f3e8ff, #fff8ed);
  min-height: 100vh;
}

#birthdayTemplateSelection .wish-box {
  max-width: 850px;
  text-align: center;
}

.birthday-template-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.birthday-template-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 215px;
  padding: 24px 14px;
  border: 1px solid #f5cde1;
  border-radius: 22px;
  background: linear-gradient(155deg, #ffffff, #fff0f8);
  box-shadow: 0 10px 30px #d9468f12;
  font-family: inherit;
  color: #45253d;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.birthday-template-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px #d9468f25;
}

.birthday-template-card span {
  font-size: 48px;
}

.birthday-template-card strong {
  font-size: 19px;
}

.birthday-template-card small {
  color: #88677d;
  font-size: 13px;
  line-height: 1.6;
}

.birthday-template-card:focus-visible {
  outline: 3px solid #e83e87;
  outline-offset: 4px;
}

@media (max-width: 650px) {
  .birthday-template-options {
    grid-template-columns: 1fr;
  }

  .birthday-template-card {
    min-height: 145px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .birthday-template-card {
    transition: none;
  }
}

/* WISHORA - PREMIUM BIRTHDAY LETTER */

.premium-birthday-experience {
  min-height: 100vh;
  padding: 70px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff0f7, #f1e8ff, #fff8ed);
}

.premium-birthday-scene {
  width: 100%;
  max-width: 620px;
  padding: 48px 25px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 20px 60px rgba(180, 83, 145, 0.13);
  backdrop-filter: blur(16px);
}

.premium-birthday-sparkles {
  font-size: 30px;
  animation: premiumSparkle 2.5s ease-in-out infinite;
}

.premium-birthday-eyebrow {
  margin: 20px 0 12px;
  color: #b65a8e;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.premium-birthday-scene h1 {
  color: #a73575;
  font-size: clamp(26px, 5vw, 38px);
  line-height: 1.4;
}

.premium-birthday-envelope {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin: 35px auto;
  padding: 20px;
  border: none;
  background: transparent;
  font-size: 105px;
  cursor: pointer;
  animation: premiumEnvelopeFloat 2.5s ease-in-out infinite;
}

.premium-birthday-envelope span {
  color: #a73575;
  font-size: 15px;
  font-weight: 600;
}

.premium-birthday-letter {
  margin-top: 25px;
  padding: 30px 22px;
  border-radius: 22px;
  background: #fffdfb;
  box-shadow: 0 12px 35px #a735751c;
  animation: premiumLetterReveal 0.7s ease-out;
}

.premium-birthday-letter h2 {
  margin-bottom: 15px;
  color: #b83b7e;
}

.premium-birthday-letter p {
  color: #655568;
  line-height: 1.9;
}

@keyframes premiumEnvelopeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes premiumSparkle {
  0%, 100% { opacity: 0.55; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes premiumLetterReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 520px) {
  .premium-birthday-scene {
    padding: 35px 18px;
  }

  .premium-birthday-envelope {
    font-size: 85px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .premium-birthday-envelope,
  .premium-birthday-sparkles,
  .premium-birthday-letter {
    animation: none;
  }
}

/* WISHORA PREMIUM BIRTHDAY - MEMORIES SCENE */

.premium-birthday-memories {
  width: 100%;
  padding: 20px 0;
  text-align: center;
  animation: premiumMemoryAppear 0.8s ease-out;
}

.premium-memory-icon {
  font-size: 55px;
  margin-bottom: 15px;
  animation: premiumMemoryFloat 3s ease-in-out infinite;
}

.premium-birthday-memories h2 {
  color: #b83b7e;
  font-size: clamp(24px, 5vw, 32px);
  margin-bottom: 12px;
}

.premium-memory-subtitle {
  color: #86677f;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.premium-memory-card {
  max-width: 420px;
  margin: 0 auto 25px;
  padding: 28px 20px;
  background: linear-gradient(145deg, #ffffff, #fff0f8);
  border: 1px solid #f8d5e7;
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(184, 59, 126, 0.12);
}

.premium-memory-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fce7f3, #ede9fe);
  border-radius: 18px;
  font-size: 65px;
}

.premium-memory-card h3 {
  color: #a73575;
  margin-bottom: 10px;
}

.premium-memory-card p {
  color: #756478;
  line-height: 1.8;
}

#premiumMemoryNext {
  margin-top: 15px;
}

@keyframes premiumMemoryAppear {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes premiumMemoryFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 520px) {
  .premium-memory-card {
    padding: 20px 15px;
  }

  .premium-memory-photo {
    height: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .premium-birthday-memories,
  .premium-memory-icon {
    animation: none;
  }
}

/* WISHORA PREMIUM BIRTHDAY - CAKE SCENE */

.premium-birthday-cake {
  width: 100%;
  text-align: center;
  padding: 25px 10px;
  animation: premiumCakeAppear 0.8s ease-out;
}

.premium-birthday-cake h2 {
  color: #b83b7e;
  font-size: clamp(25px, 5vw, 34px);
  margin-bottom: 15px;
}

.premium-birthday-cake > p {
  color: #85677e;
  line-height: 1.8;
  margin-bottom: 25px;
}

.premium-cake-display {
  margin: 30px auto;
  padding: 30px 15px;
  max-width: 360px;
  border-radius: 28px;
  background: linear-gradient(145deg, #ffe4f1, #f0e6ff);
  box-shadow: 0 15px 40px rgba(183, 59, 126, 0.13);
}

.premium-cake-emoji {
  font-size: clamp(100px, 25vw, 150px);
  line-height: 1.4;
  animation: premiumCakeFloat 3s ease-in-out infinite;
}

.premium-cake-sparkles {
  font-size: 30px;
  margin-top: 10px;
  animation: premiumCakeSparkle 2s ease-in-out infinite;
}

#premiumBlowCandles {
  margin-top: 15px;
}

#premiumCakeWishMessage {
  margin-top: 25px;
  color: #c43c82;
  font-size: 20px;
  font-weight: 700;
  animation: premiumCakeAppear 0.7s ease-out;
}

@keyframes premiumCakeAppear {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes premiumCakeFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes premiumCakeSparkle {
  0%, 100% {
    opacity: 0.5;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .premium-birthday-cake,
  .premium-cake-emoji,
  .premium-cake-sparkles,
  #premiumCakeWishMessage {
    animation: none;
  }
}

/* WISHORA - ANIMATED BIRTHDAY CANDLES */

.premium-candles {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
  height: 90px;
  margin-bottom: -12px;
  position: relative;
  z-index: 2;
}

.premium-candle {
  position: relative;
  width: 16px;
  height: 55px;
  border-radius: 5px 5px 3px 3px;
  background: repeating-linear-gradient(
    45deg,
    #ff6b9d 0px,
    #ff6b9d 8px,
    #ffffff 8px,
    #ffffff 13px
  );
  box-shadow: 0 3px 8px rgba(180, 50, 110, 0.2);
}

.premium-candle:nth-child(2) {
  height: 65px;
  background: repeating-linear-gradient(
    45deg,
    #a78bfa 0px,
    #a78bfa 8px,
    #ffffff 8px,
    #ffffff 13px
  );
}

.premium-candle:nth-child(3) {
  background: repeating-linear-gradient(
    45deg,
    #f9b84a 0px,
    #f9b84a 8px,
    #ffffff 8px,
    #ffffff 13px
  );
}

.premium-flame {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 5px);
  width: 15px;
  height: 25px;
  border-radius: 70% 30% 65% 35%;
  background: linear-gradient(
    to top,
    #ff7b00,
    #ffca28,
    #fff7a5
  );
  box-shadow: 0 0 15px #ffb300;
  transform: translateX(-50%) rotate(45deg);
  transform-origin: bottom center;
  animation: premiumFlameFlicker 0.7s ease-in-out infinite alternate;
}

.premium-candle:nth-child(2) .premium-flame {
  animation-delay: 0.2s;
}

.premium-candle:nth-child(3) .premium-flame {
  animation-delay: 0.4s;
}

@keyframes premiumFlameFlicker {
  from {
    opacity: 0.85;
    transform: translateX(-50%) rotate(38deg) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) rotate(48deg) scale(1.1);
  }
}

/* Candles after blowing */
.premium-candles.blown-out .premium-flame {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .premium-flame {
    animation: none;
  }
}

/* WISHORA - PREMIUM BIRTHDAY MAGICAL FINALE */

.premium-birthday-finale {
  max-width: 520px;
  margin: 25px auto;
  padding: 35px 22px;
  text-align: center;
  background: linear-gradient(145deg, #fff, #fff0fa, #f3e8ff);
  border: 1px solid #fbcfe8;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(190, 24, 93, 0.12);
  animation: premiumFinaleReveal 0.8s ease-out both;
}

.premium-finale-hearts {
  font-size: 30px;
  margin-bottom: 15px;
  animation: premiumFinaleFloat 2.5s ease-in-out infinite;
}

.premium-finale-icon {
  font-size: 85px;
  margin: 15px 0;
  animation: premiumFinaleFloat 2s ease-in-out infinite;
}

.premium-finale-label {
  color: #be185d;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.premium-birthday-finale h2 {
  margin: 18px 0;
  color: #db2777;
  font-size: clamp(30px, 6vw, 44px);
}

.premium-finale-message {
  color: #6b4d68;
  font-size: 17px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.premium-finale-celebration {
  margin-top: 25px;
  font-size: 32px;
  animation: premiumFinaleFloat 3s ease-in-out infinite;
}

@keyframes premiumFinaleReveal {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes premiumFinaleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 520px) {
  .premium-birthday-finale {
    padding: 28px 18px;
  }

  .premium-finale-message {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .premium-birthday-finale,
  .premium-finale-hearts,
  .premium-finale-icon,
  .premium-finale-celebration {
    animation: none;
  }
}

/* PREMIUM BIRTHDAY - DYNAMIC PHOTO GALLERY */

.premium-dynamic-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.premium-dynamic-gallery:empty {
  display: none;
}

.premium-dynamic-gallery img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.premium-dynamic-gallery img:first-child:nth-last-child(odd) {
  grid-column: 1 / -1;
}

@media (max-width: 520px) {
  .premium-dynamic-gallery {
    gap: 8px;
  }

  .premium-dynamic-gallery img {
    height: 145px;
  }
}

/* PREMIUM MEMORY SLIDESHOW */

.premium-dynamic-gallery.premium-slideshow {
  display: block;
}

.premium-slideshow img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  animation: premiumPhotoAppear 0.4s ease;
}

.premium-slideshow img.hidden {
  display: none !important;
}

.premium-slide-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.premium-slide-navigation button {
  padding: 10px 14px;
  border: none;
  border-radius: 12px;
  background: #ffe4ed;
  color: #9d174d;
  cursor: pointer;
}

.premium-slide-navigation button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@keyframes premiumPhotoAppear {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

/* WISHORA - PREMIUM MEMORY AUTO FIT FIX */

#premiumDynamicGallery.premium-slideshow {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 20px auto 0;
  padding: 12px;
  box-sizing: border-box;
  background: #fff5fa;
  border-radius: 18px;
}

#premiumDynamicGallery.premium-slideshow img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  margin: 0 auto;
  box-shadow: none;
}

#premiumDynamicGallery.premium-slideshow img.hidden {
  display: none !important;
}

@media (max-width: 520px) {
  #premiumDynamicGallery.premium-slideshow img {
    max-height: 340px;
  }
}

/* PREMIUM BIRTHDAY - SMOOTH PHOTO TRANSITION */

#premiumDynamicGallery.premium-slideshow img:not(.hidden) {
  animation: wishoraMemoryFade 0.8s ease both;
}

@keyframes wishoraMemoryFade {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  #premiumDynamicGallery.premium-slideshow img:not(.hidden) {
    animation: none;
  }
}

/* PREMIUM BIRTHDAY MUSIC UPLOAD */

.premium-music-upload {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid #ffd4e5;
  border-radius: 16px;
  background: #fff7fb;
}

.premium-music-upload label {
  display: block;
  font-weight: 600;
  margin-bottom: 12px;
  color: #9d174d;
}

.premium-music-upload input {
  display: block;
  width: 100%;
  max-width: 100%;
}

.premium-music-upload p {
  font-size: 13px;
  color: #777;
  margin-top: 10px;
}

#premiumMusicPreview {
  display: block;
  width: 100%;
  margin-top: 14px;
}

#premiumMusicPreview.hidden {
  display: none;
}

/* PREMIUM BIRTHDAY MUSIC CONTROLS */

.premium-birthday-music-controls {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 1000;
}

.premium-birthday-music-controls.hidden {
  display: none;
}

#premiumBirthdayMusicToggle {
  padding: 12px 18px;
  border: none;
  border-radius: 30px;
  background: #be185d;
  color: white;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}


/* =====================================
   WISHORA — BOND FILE HOME SECTION
===================================== */

.bond-home-section {
  padding: 70px 20px;
  max-width: 1100px;
  margin: 40px auto;
  text-align: center;
}

.bond-home-section h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  margin-bottom: 12px;
  color: #ff4d8d;
}

.bond-home-section > p {
  font-size: 16px;
  color: #888;
  margin-bottom: 35px;
}

.bond-home-card {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 650px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    #fff0f6,
    #ffe4ef,
    #fce7ff
  );
  border: 1px solid #ffc1d9;
  box-shadow: 0 12px 35px rgba(255, 77, 141, 0.12);
  text-decoration: none;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bond-home-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(255, 77, 141, 0.22);
}

.bond-home-card > span:first-child {
  font-size: 48px;
}

.bond-home-card > div {
  flex: 1;
}

.bond-home-card h3 {
  font-size: 25px;
  font-weight: 800;
  color: #a51c58;
  margin-bottom: 8px;
}

.bond-home-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #76546a;
}

.bond-home-card > span:last-child {
  font-size: 30px;
  color: #a51c58;
}

@media (max-width: 600px) {
  .bond-home-section {
    padding: 45px 16px;
    margin: 20px auto;
  }

  .bond-home-card {
    gap: 14px;
    padding: 20px;
  }

  .bond-home-card > span:first-child {
    font-size: 34px;
  }

  .bond-home-card h3 {
    font-size: 21px;
  }

  .bond-home-card p {
    font-size: 13px;
  }
}


/* Bond File — Coming Soon */

.bond-coming-soon {
  cursor: default;
}

.bond-coming-soon:hover {
  transform: none;
}

.bond-soon-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  border-radius: 30px;
  background: #ff4d8d;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

/* Premium Birthday - Mobile Music Button */
@media (max-width: 600px) {
  .premium-birthday-music-controls:not(.hidden) {
    position: fixed;
    right: 12px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #premiumBirthdayMusicToggle {
    display: block;
    padding: 12px 16px;
    min-height: 44px;
    border-radius: 30px;
    font-size: 13px;
    background: #be185d;
    color: #ffffff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
  }
}


/* Premium Birthday - Mobile Music Position */
@media (max-width: 600px) {
  #premiumBirthdayMusicControls:not(.hidden) {
    position: fixed;
    right: 16px;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    z-index: 9999;
  }
}

/* Premium Birthday - Magical Finale Polish */

.premium-birthday-finale {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.premium-finale-particle {
  position: absolute;
  left: var(--particle-x);
  top: -35px;
  font-size: var(--particle-size);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  animation: premiumParticleFall var(--particle-duration)
    ease-in var(--particle-delay) forwards;
}

@keyframes premiumParticleFall {
  0% {
    opacity: 0;
    transform: translateY(-20px) rotate(0deg);
  }

  12% {
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(520px) rotate(360deg);
  }
}

.premium-birthday-finale:not(.hidden) h2 {
  animation: premiumTitleGlow 1.2s ease-out both;
}

@keyframes premiumTitleGlow {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .premium-finale-particle,
  .premium-birthday-finale:not(.hidden) h2 {
    animation: none;
  }
}

/* Premium Birthday - Back Home Button */

#premiumBirthdayFinale .premium-back-home-btn {
  margin-top: 12px;
  background: transparent;
  color: #db2777;
  border: 2px solid #f9a8d4;
  box-shadow: none;
  width: 100%;
}

#premiumBirthdayFinale .premium-back-home-btn:hover {
  background: #fce7f3;
  transform: translateY(-2px);
}