 :root {
     --bg-color-light: #ffe4e1;
     --text-color-light: #4a4a4a;
     --primary-color: #ff6b81;
     --secondary-color: #ff4757;
     --white: #ffffff;
     --shadow-light: 0 10px 30px rgba(0, 0, 0, 0.1);
     --bg-color-dark: #000000;
     --text-color-dark: #dcdcdc;
     --rain-color: rgba(100, 100, 100, 0.5);
}
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     transition: background-color 0.5s ease, color 0.5s ease;
}
 body {
     height: 100vh;
     width: 100vw;
     overflow: hidden;
     display: flex;
     justify-content: center;
     align-items: center;
     position: relative;
}
 .background {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: -2;
     background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
     transition: background 0.3s ease-in-out;
}
 body.dark-mode .background {
     background: linear-gradient(to bottom, #000000, #050505);
}
 .heart-shape {
     position: absolute;
     width: 30px;
     height: 30px;
     opacity: 0.6;
     animation: floatUp linear infinite;
     z-index: -1;
     pointer-events: none;
     fill: var(--primary-color);
}
 @keyframes floatUp {
     0% {
         transform: translateY(110vh) scale(0.5);
         opacity: 0;
    }
     50% {
         opacity: 0.8;
    }
     100% {
         transform: translateY(-10vh) scale(1.2);
         opacity: 0;
    }
}
 .rain {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: -1;
     display: none;
     pointer-events: none;
}
 body.dark-mode .rain {
     display: block;
}
 .drop {
     position: absolute;
     bottom: 100%;
     width: 2px;
     height: 80px;
     background: var(--rain-color);
     animation: fall linear infinite;
}
 @keyframes fall {
     to {
         transform: translateY(110vh);
    }
}
 .card {
     background: rgba(255, 255, 255, 0.9);
     padding: 3rem;
     border-radius: 20px;
     box-shadow: var(--shadow-light);
     text-align: center;
     max-width: 400px;
     width: 90%;
     position: relative;
     z-index: 10;
     transition: all 0.3s ease;
     backdrop-filter: blur(5px);
}
 body.dark-mode .card {
     background: rgba(10, 10, 10, 0.9);
     box-shadow: 0 15px 40px rgba(0,0,0,0.8);
     border: 1px solid #333;
}
 h1 {
     font-size: 2rem;
     margin-bottom: 1rem;
     color: var(--text-color-light);
     transition: color 0.3s ease;
}
 body.dark-mode h1 {
     color: var(--text-color-dark);
}
 p {
     margin-bottom: 2rem;
     color: #666;
     font-size: 1.1rem;
     transition: color 0.3s ease;
}
 body.dark-mode p {
     color: #aaa;
}
 .button-group {
     display: flex;
     justify-content: center;
     gap: 20px;
     flex-wrap: wrap;
}
 .btn {
     padding: 12px 30px;
     font-size: 1.1rem;
     border: none;
     border-radius: 50px;
     cursor: pointer;
     transition: transform 0.2s, box-shadow 0.2s, background-color 0.3s;
     outline: none;
     font-weight: 600;
}
 .btn-yes {
     background-color: var(--primary-color);
     color: white;
     box-shadow: 0 4px 15px rgba(255, 107, 129, 0.4);
}
 .btn-yes:hover {
     background-color: var(--secondary-color);
     transform: translateY(-2px);
     box-shadow: 0 6px 20px rgba(255, 107, 129, 0.6);
}
 .btn-no {
     background-color: #f1f2f6;
     color: #747d8c;
}
 .btn-no:hover {
     background-color: #dfe4ea;
}
 .dark-btn {
     background-color: #333;
     color: #ccc;
     border: 1px solid #444;
}
 .dark-btn:hover {
     background-color: #444;
     color: white;
}
 .loading-container {
     display: none;
     flex-direction: column;
     align-items: center;
     justify-content: center;
}
 .heart-loader {
     width: 60px;
     height: 60px;
     position: relative;
     margin-bottom: 20px;
}
 .heart-loader svg {
     width: 100%;
     height: 100%;
     animation: heartbeat 1.2s infinite ease-in-out;
}
 @keyframes heartbeat {
     0% {
         transform: scale(1);
    }
     14% {
         transform: scale(1.1);
    }
     28% {
         transform: scale(1);
    }
     42% {
         transform: scale(1.1);
    }
     70% {
         transform: scale(1);
    }
}
 .loading-text {
     color: var(--primary-color);
     font-weight: bold;
     letter-spacing: 1px;
     animation: pulse 1.5s infinite;
}
 body.dark-mode .loading-text {
     color: var(--secondary-color);
}
 @keyframes pulse {
     0%, 100% {
         opacity: 0.6;
    }
     50% {
         opacity: 1;
    }
}
 .success-container {
     display: none;
     animation: fadeIn 1s ease-out;
}
 .big-heart-icon {
     width: 80px;
     height: 80px;
     margin-bottom: 1rem;
     display: inline-block;
     animation: float 3s ease-in-out infinite;
     fill: var(--primary-color);
}
 body.dark-mode .big-heart-icon {
     fill: var(--secondary-color);
     filter: drop-shadow(0 0 10px rgba(255, 71, 87, 0.5));
}
 .success-message {
     font-size: 1.5rem;
     color: var(--primary-color);
     font-weight: bold;
     line-height: 1.4;
}
 body.dark-mode .success-message {
     color: var(--secondary-color);
}
 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(20px);
    }
     to {
         opacity: 1;
         transform: translateY(0);
    }
}
 @keyframes float {
     0%, 100% {
         transform: translateY(0);
    }
     50% {
         transform: translateY(-10px);
    }
}
 .sad-face-container {
     display: none;
     flex-direction: column;
     align-items: center;
     justify-content: center;
}
 .sad-emoji {
     font-size: 5rem;
     margin-bottom: 1rem;
     animation: float 3s ease-in-out infinite;
}
 .hidden {
     display: none !important;
}
