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

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #ffb6c1, #ff69b4, #ffb6c1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Comic Sans MS', 'Chalkboard', cursive;
    overflow: hidden;
    position: relative;
}

/* Floating hearts background */
.hearts-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.floating-heart {
    position: absolute;
    font-size: 20px;
    animation: floatUp 6s ease-in infinite;
    opacity: 0.6;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.container {
    text-align: center;
    z-index: 1;
    padding: 20px;
}

h1 {
    color: #fff;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

/* Wiener Dog Container */
.dog-container {
    position: relative;
    width: 380px;
    height: 200px;
    margin: 20px auto;
}

/* Wiener Dog SVG Animation */
.wiener-dog {
    animation: waggle 0.5s ease-in-out infinite alternate;
    filter: drop-shadow(3px 3px 5px rgba(0,0,0,0.2));
}

@keyframes waggle {
    0% { transform: translateY(0) rotate(-2deg); }
    100% { transform: translateY(-8px) rotate(2deg); }
}

/* Dog body parts */
.dog-body {
    fill: #8B5A2B;
}

.dog-belly {
    fill: #DEB887;
}

.dog-ear {
    fill: #6B4423;
}

.dog-nose {
    fill: #2C1810;
}

.dog-eye {
    fill: #2C1810;
}

.dog-eye-shine {
    fill: white;
}

.dog-blush {
    fill: #FFB6C1;
    opacity: 0.7;
}

.dog-tongue {
    fill: #FF85A2;
    animation: lick 0.8s ease-in-out infinite;
    transform-origin: top center;
}

@keyframes lick {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.6); }
}

.tail {
    fill: #8B5A2B;
    animation: wag 0.2s ease-in-out infinite alternate;
    transform-origin: right center;
}

@keyframes wag {
    0% { transform: rotate(-25deg); }
    100% { transform: rotate(25deg); }
}

.heart-float {
    animation: heartBeat 1s ease-in-out infinite;
}

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

.eyebrow {
    fill: #6B4423;
    animation: eyebrowWiggle 1.5s ease-in-out infinite;
}

@keyframes eyebrowWiggle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.front-leg {
    animation: legWiggle 0.4s ease-in-out infinite alternate;
    transform-origin: top center;
}

.front-leg-1 {
    animation-delay: 0s;
}

.front-leg-2 {
    animation-delay: 0.2s;
}

@keyframes legWiggle {
    0% { transform: rotate(-3deg); }
    100% { transform: rotate(3deg); }
}

.collar {
    fill: #FF1493;
}

.collar-tag {
    fill: #FFD700;
    animation: tagSwing 0.5s ease-in-out infinite alternate;
    transform-origin: top center;
}

@keyframes tagSwing {
    0% { transform: rotate(-5deg); }
    100% { transform: rotate(5deg); }
}

.question {
    font-size: 2rem;
    color: #fff;
    margin: 30px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-yes {
    background: linear-gradient(145deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

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

.btn-no {
    background: linear-gradient(145deg, #f44336, #d32f2f);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.btn-no:hover {
    background: linear-gradient(145deg, #ff5252, #f44336);
}

.message {
    margin-top: 20px;
    color: #fff;
    font-size: 1.2rem;
    min-height: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Success screen */
.success-screen {
    display: none;
    text-align: center;
}

.success-screen.active {
    display: block;
}

.success-screen h1 {
    font-size: 3rem;
    animation: celebrate 0.5s ease-in-out infinite alternate;
}

@keyframes celebrate {
    0% { transform: scale(1) rotate(-3deg); }
    100% { transform: scale(1.05) rotate(3deg); }
}

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: #f00;
    animation: confettiFall 3s ease-in-out infinite;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.redirect-message {
    margin-top: 30px;
    font-size: 1.5rem;
    color: #fff;
}

.main-content {
    display: block;
}

.main-content.hidden {
    display: none;
}
