* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(-45deg, #1a1a1a, #4a0028, #2d0036, #000000);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    text-align: center;
    padding: 2rem;
    background: rgba(20, 20, 20, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 100;
}

.container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #4a0028, #2d0036, #1a1a1a, #000000);
    border-radius: 22px;
    z-index: -1;
    animation: borderGlow 3s linear infinite;
    filter: blur(10px);
    opacity: 0.7;
}

.heart-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem auto;
}

.heart {
    position: absolute;
    width: 100px;
    height: 90px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: heartbeat 1.5s ease-in-out infinite, heartGlow 3s infinite;
}

.heart:before,
.heart:after {
    position: absolute;
    content: "";
    left: 50px;
    top: 0;
    width: 50px;
    height: 80px;
    background: linear-gradient(135deg, #4a0028 0%, #2d0036 100%);
    border-radius: 50px 50px 0 0;
    transform: rotate(-45deg);
    transform-origin: 0 100%;
    box-shadow: 0 0 30px rgba(74, 0, 40, 0.6);
    animation: heartPulse 1.5s ease-in-out infinite;
}

.heart:after {
    left: 0;
    transform: rotate(45deg);
    transform-origin: 100% 100%;
}

/* Gothic decorative rings */
.heart-container::before,
.heart-container::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(74, 0, 40, 0.2);
    border-radius: 50%;
    animation: pulseRing 3s infinite;
}

.heart-container::after {
    width: 140%;
    height: 140%;
    animation: pulseRing 3s infinite 1.5s;
}

/* Sparkle effects */
.sparkle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: linear-gradient(135deg, #4a0028 0%, #2d0036 100%);
    border-radius: 50%;
    animation: sparkleGothic 1.5s linear forwards;
    box-shadow: 0 0 10px rgba(74, 0, 40, 0.6);
}

/* Falling heart styles */
.falling-heart {
    position: fixed;
    pointer-events: none;
    color: #4a0028;
    font-size: 24px;
    text-shadow: 0 0 10px rgba(74, 0, 40, 0.6);
    z-index: 1000;
    animation: fall 3s linear forwards;
}

@keyframes heartbeat {
    0% { transform: translate(-50%, -50%) scale(1); }
    14% { transform: translate(-50%, -50%) scale(1.1); }
    28% { transform: translate(-50%, -50%) scale(1); }
    42% { transform: translate(-50%, -50%) scale(1.15); }
    70% { transform: translate(-50%, -50%) scale(1); }
}

@keyframes heartPulse {
    0% { background: linear-gradient(135deg, #4a0028 0%, #2d0036 100%); }
    50% { background: linear-gradient(135deg, #600035 0%, #3d0049 100%); }
    100% { background: linear-gradient(135deg, #4a0028 0%, #2d0036 100%); }
}

@keyframes heartGlow {
    0% { filter: drop-shadow(0 0 10px rgba(74, 0, 40, 0.4)); }
    50% { filter: drop-shadow(0 0 20px rgba(74, 0, 40, 0.8)); }
    100% { filter: drop-shadow(0 0 10px rgba(74, 0, 40, 0.4)); }
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.95);
        opacity: 0.5;
    }
}

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

@keyframes fall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.title {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 2rem;
    animation: popIn 1s ease-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.message-box {
    margin: 2rem 0;
}

.message {
    font-size: 1.8rem;
    color: #cccccc;
    margin-bottom: 2rem;
    animation: slideIn 1.5s ease-out;
}

.question {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.question.visible {
    opacity: 1;
    transform: translateY(0);
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
}

.buttons.visible {
    opacity: 1;
    transform: translateY(0);
}

button {
    padding: 1.2rem 2.5rem;
    font-size: 1.4rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    min-width: 150px;
}

.yes-btn {
    background: linear-gradient(45deg, #4a0028, #2d0036);
    color: white;
    box-shadow: 0 5px 15px rgba(74, 0, 40, 0.4);
}

.yes-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(74, 0, 40, 0.6);
}

.no-btn {
    background: rgba(20, 20, 20, 0.8);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.no-btn:hover {
    transform: translateY(-3px) scale(1.05);
}

.credits {
    margin-top: 2rem;
    color: #cccccc;
}

.hidden {
    display: none;
}

.credit-link {
    color: #4a0028;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.credit-link:hover {
    color: #2d0036;
    text-decoration: underline;
}

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

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

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    70% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.music-control {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(20, 20, 20, 0.9);
    padding: 10px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.music-btn {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff;
}

.music-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(74, 0, 40, 0.3);
}

.music-btn.muted i::before {
    content: "\f6a9";
}

@keyframes borderGlow {
    0% {
        filter: blur(10px) hue-rotate(0deg);
    }
    100% {
        filter: blur(10px) hue-rotate(360deg);
    }
}

@keyframes heartColor {
    0% { background: #e73c7e; }
    33% { background: #23a6d5; }
    66% { background: #23d5ab; }
    100% { background: #e73c7e; }
}

.volume-slider {
    width: 100px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #333333;
    outline: none;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: #4a0028;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #2d0036;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #4a0028;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.volume-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    background: #2d0036;
}

.volume-slider:hover {
    background: #444444;
} 