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

body {
    font-family: 'Comic Sans MS', 'Marker Felt', cursive, sans-serif;
    background: url('背景.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: #d32f2f;
    transition: none;
    animation: none;
}

.container {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.55);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    position: relative;
    z-index: 10;
    transform: translateY(0);
    animation: float 3s ease-in-out infinite;
}

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

#mainImage {
    width: 180px;
    height: 180px;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px rgba(255, 105, 180, 0.7));
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

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

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

button {
    padding: 15px 30px;
    font-size: 1.3rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#yes {
    background: linear-gradient(to right, #4CAF50, #8BC34A);
    color: white;
}

#no {
    background: linear-gradient(to right, #F44336, #E91E63);
    color: white;
}

button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

button:active {
    transform: translateY(0);
}

#yes:hover {
    background: linear-gradient(to right, #388E3C, #689F38);
}

#no:hover {
    background: linear-gradient(to right, #D32F2F, #C2185B);
}

.music-control {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 100;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(233, 30, 99, 0.5);
    transition: all 0.3s ease;
}

.music-control:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(233, 30, 99, 0.7);
}

.music-control img {
    width: 40px;
    height: 40px;
    animation: rotate 4s linear infinite;
}

.music-control.paused img {
    animation-play-state: paused;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #f00;
    opacity: 0.7;
    z-index: 1;
}

.more-button {
    position: fixed;
    top: 20px;
    left: 15px;
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(233, 30, 99, 0.5);
    z-index: 100;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #e91e63;
    font-weight: bold;
    font-size: 1.0rem;
}

.more-button:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 15px rgba(233, 30, 99, 0.7);
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    #mainImage {
        width: 140px;
        height: 140px;
    }
    
    button {
        padding: 12px 25px;
        font-size: 1.1rem;
    }
    
    .music-control {
        width: 25px;
        height: 25px;
    }
    
    .music-control img {
        width: 20px;
        height: 20px;
    }
    
    .more-button {
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }
}