@font-face {
  font-family: "Camiro";
  src: url("1FTV-VIP-Camiro.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:where([class^="ri-"])::before {
  content: "\f3c2";
}

body {
  font-family: "Poppins", sans-serif;
}

.heart-glow {
  filter: drop-shadow(0 0 30px rgba(247, 138, 169, 0.3));
}

.heart-3d {
  width: 100%;
  height: 100%;
  position: relative;
  animation: heart-float 3s ease-in-out infinite;
}

.heart-3d::before,
.heart-3d::after {
  content: "";
  position: absolute;
  top: 0;
  width: 52%;
  height: 80%;
  border-radius: 50px 50px 0 0;
  background: #ff4b7d;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.6);
}

.heart-3d::before {
  left: 50%;
  transform: rotate(-45deg);
  transform-origin: 0 100%;
  filter: drop-shadow(0 0 20px rgba(255, 84, 169, 0.4));
}

.heart-3d::after {
  left: 0;
  transform: rotate(45deg);
  transform-origin: 100% 100%;
  filter: drop-shadow(0 0 20px rgba(255, 75, 125, 0.4));
}

@keyframes heart-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.glass-button {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

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

.glass-button:hover {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

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

.glass-button:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

@keyframes heart-beat {
  0%,
  100% {
    transform: scale(1) rotateX(15deg) rotateY(15deg);
  }
  50% {
    transform: scale(1.1) rotateX(15deg) rotateY(15deg);
  }
}

.floating-heart {
  animation: float 3s ease-in-out infinite;
}

.floating-heart:nth-child(2) {
  animation-delay: 0.5s;
}

.floating-heart:nth-child(3) {
  animation-delay: 1s;
}

.floating-heart:nth-child(4) {
  animation-delay: 1.5s;
}

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

.heart-pulse {
  animation: pulse 2s ease-in-out infinite;
}

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

.heart-explosion {
  animation: explode 0.8s ease-out forwards;
}

@keyframes explode {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.2) rotate(180deg);
    opacity: 0.8;
  }
  100% {
    transform: scale(0.3) rotate(360deg);
    opacity: 0;
  }
}

.small-heart {
  position: absolute;
  font-size: 1.5rem;
  color: #ff4b7d;
  opacity: 0;
  pointer-events: none;
}

.small-heart.animate {
  animation: scatter 2s ease-out forwards;
}

@keyframes scatter {
  0% {
    transform: scale(0) translate(0, 0);
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1) translate(var(--dx), var(--dy));
    opacity: 0;
  }
}

.fade-in {
  animation: romantic-entrance 2s ease-out forwards;
}

@keyframes romantic-entrance {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    text-shadow: none;
  }
  50% {
    opacity: 0.7;
    transform: translateY(10px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    text-shadow: 0 0 15px rgba(255, 182, 193, 0.7), 0 0 25px rgba(255, 105, 180, 0.5);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.confession-section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-out;
}

.confession-section.show {
  opacity: 1;
  transform: translateY(0);
}

.gradient-bg {
  background: linear-gradient(-45deg, #ffb3b3, #ffa6cc, #ff99bf, #b22222);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}

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

.heart-shadow {
  box-shadow: 0 20px 60px rgba(255, 186, 210, 0.3);
}

.main-title {
  font-family: "Camiro", serif;
  font-size: 4rem;
  font-weight: normal;
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1;
  filter: drop-shadow(0 4px 6px rgba(255, 255, 255, 0.3));
  text-align: center;
  animation: romantic-glow 3s ease-in-out infinite;
}

.main-subtitle {
  font-size: 1.25rem;
  color: white;
  font-weight: 300;
  filter: drop-shadow(0 4px 6px rgba(255, 255, 255, 0.3));
  text-align: center;
  animation: gentle-fade 2s ease-in-out infinite alternate;
}

@keyframes romantic-glow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(255, 182, 193, 0.8), 0 0 20px rgba(255, 105, 180, 0.6);
  }
  50% {
    text-shadow: 0 0 20px rgba(255, 182, 193, 1), 0 0 30px rgba(255, 105, 180, 0.8);
  }
}

@keyframes gentle-fade {
  0% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
  }
}

.romantic-question {
  animation: heart-beat-text 2.5s ease-in-out infinite;
}

@keyframes heart-beat-text {
  0%, 100% {
    transform: scale(1);
    text-shadow: 0 0 10px rgba(255, 182, 193, 0.6);
  }
  50% {
    transform: scale(1.02);
    text-shadow: 0 0 15px rgba(255, 182, 193, 0.8), 0 0 25px rgba(255, 105, 180, 0.6);
  }
}

/* Heart Cursor Effects */
.cursor-heart {
  position: absolute;
  font-size: 16px;
  pointer-events: none;
  animation: heartFloat 0.8s ease-out forwards;
}

@keyframes heartFloat {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) rotate(var(--rotation)) scale(0.3);
  }
}

/* Video Background */
#background-video {
  filter: blur(2px) brightness(0.4) contrast(0.8);
  opacity: 0.7;
}

/* Decline button animations */
.decline-dodge {
  animation: dodge 0.5s ease-in-out;
}

.decline-shrink {
  animation: shrink 0.3s ease-in-out;
}

.decline-fade {
  animation: fade-out 0.5s ease-in-out;
}

.decline-shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes dodge {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-50px);
  }
  50% {
    transform: translateX(50px);
  }
  75% {
    transform: translateX(-30px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes shrink {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.8);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fade-out {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

.accept-glow {
  animation: glow-pulse 1s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%,
  100% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 20px rgba(246, 175, 220, 0.6);
  }
  50% {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 30px rgba(246, 175, 220, 0.8);
  }
}

/* Glass Form Styles */
.glass-form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

.glass-notification {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  animation: notification-glow 2s ease-in-out infinite alternate;
}

.success-notification {
  background: rgba(255, 105, 180, 0.2);
  border: 1px solid rgba(255, 105, 180, 0.3);
}

@keyframes notification-glow {
  0% {
    box-shadow: 0 0 20px rgba(255, 182, 193, 0.3);
  }
  100% {
    box-shadow: 0 0 30px rgba(255, 105, 180, 0.5);
  }
}

.glass-form {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 2.5rem;
  margin-top: 1rem;
  width: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  color: white;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 105, 180, 0.5);
  box-shadow: 0 0 15px rgba(255, 105, 180, 0.3);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

/* Photobooth Styles */
.photobooth-section {
  max-width: 400px;
  margin: 2rem auto;
  position: relative;
  z-index: 50;
}

.photobooth-frame {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 51;
}

.photobooth-media {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

#camera-video {
  filter: blur(0.3px) brightness(1.05) contrast(0.95) saturate(1.1);
}

.photo-placeholder {
  width: 100%;
  height: 250px;
  border-radius: 15px;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
}

.placeholder-content {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.glass-button-primary {
  background: linear-gradient(135deg, rgba(255, 105, 180, 0.4), rgba(255, 20, 147, 0.4));
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  backdrop-filter: blur(25px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(255, 105, 180, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

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

.glass-button-primary:hover {
  transform: translateY(-3px) scale(1.02);
  background: linear-gradient(135deg, rgba(255, 105, 180, 0.6), rgba(255, 20, 147, 0.6));
  box-shadow: 0 15px 45px rgba(255, 105, 180, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

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

.glass-button-secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 105, 180, 0.2));
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

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

.glass-button-secondary:hover {
  transform: translateY(-2px) scale(1.01);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 105, 180, 0.3));
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

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

.glass-button-submit {
  background: linear-gradient(135deg, rgba(255, 105, 180, 0.6), rgba(255, 20, 147, 0.6));
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 600;
  backdrop-filter: blur(25px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(255, 105, 180, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: submit-glow 2s ease-in-out infinite alternate;
}

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

.glass-button-submit:hover {
  transform: translateY(-3px) scale(1.02);
  background: linear-gradient(135deg, rgba(255, 105, 180, 0.8), rgba(255, 20, 147, 0.8));
  box-shadow: 0 15px 45px rgba(255, 105, 180, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

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

.glass-button-submit:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4);
}

@keyframes submit-glow {
  0% {
    box-shadow: 0 8px 32px rgba(255, 105, 180, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 20px rgba(255, 105, 180, 0.4);
  }
  100% {
    box-shadow: 0 8px 32px rgba(255, 105, 180, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 35px rgba(255, 105, 180, 0.7);
  }
}

.countdown-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  z-index: 10;
}

.countdown-number {
  font-size: 4rem;
  font-weight: bold;
  color: white;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  animation: countdown-pulse 1s ease-in-out;
}

@keyframes countdown-pulse {
  0% { transform: scale(0.5); opacity: 0; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.photobooth-controls {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  position: relative;
  z-index: 52;
}

.photo-reactions {
  margin-top: 15px;
  text-align: center;
  position: relative;
  z-index: 53;
}

.reactions-list {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.reaction {
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.reaction:hover {
  transform: scale(1.2);
  background: rgba(255, 255, 255, 0.2);
}

.success-notification {
  animation: success-bounce 0.6s ease-out;
}

@keyframes success-bounce {
  0% { transform: scale(0.8); opacity: 0; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes reaction-float {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) scale(1.5);
    opacity: 0;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .main-title {
    font-size: 2.5rem;
    line-height: 1.2;
    padding: 0 1rem;
  }

  .main-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .glass-button {
    padding: 14px 20px;
    font-size: 16px;
    min-height: 48px;
    min-width: 200px;
    white-space: normal;
    text-align: center;
    word-wrap: break-word;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .floating-heart {
    display: none;
  }

  #first-message h2 {
    font-size: 2.5rem !important;
    padding: 0 1rem;
    word-wrap: break-word;
  }

  #second-message p {
    font-size: 1.25rem !important;
    padding: 0 1rem;
    word-wrap: break-word;
  }

  #confession-section .flex {
    gap: 1rem;
  }

  body {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 2rem;
  }

  #first-message h2 {
    font-size: 2rem !important;
  }

  #second-message p {
    font-size: 1.1rem !important;
  }

  .glass-button {
    padding: 12px 16px;
    font-size: 14px;
    min-width: 180px;
  }
  
  .glass-form-container {
    padding: 1.5rem 1rem;
    min-height: 70vh;
  }
  
  .glass-form {
    padding: 1.5rem;
  }
  
  .photobooth-section {
    max-width: 350px;
    margin: 1rem auto;
  }
  
  .photobooth-frame {
    padding: 15px;
  }
  
  .photobooth-media {
    height: 200px;
  }
  
  .photo-placeholder {
    height: 200px;
  }
  
  .photobooth-controls {
    gap: 0.5rem;
    margin-top: 1rem;
  }
  
  .glass-button-primary,
  .glass-button-secondary {
    padding: 10px 16px;
    font-size: 14px;
    min-width: auto;
    flex: 1;
    max-width: 150px;
  }
  
  .form-input {
    padding: 12px 16px;
    font-size: 16px;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }
  
  .form-input[type="date"] {
    padding: 12px 12px;
    min-height: 48px;
    background-size: 20px;
    background-position: right 12px center;
    background-repeat: no-repeat;
  }
}
