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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #4f000b 0%, #720026 25%, #ce4257 50%, #ff7f51 75%, #ff9b54 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
}

.content {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 40px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.content.hidden {
    display: none;
}

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

.button-container {
    position: relative;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}

.btn {
    padding: 15px 40px;
    font-size: 1.5rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 120px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.yes-btn {
    background: linear-gradient(135deg, #ce4257 0%, #ff7f51 100%);
    color: white;
    position: relative;
}

.no-btn {
    background: linear-gradient(135deg, #720026 0%, #4f000b 100%);
    color: white;
    position: relative;
    transition: all 0.3s ease;
}

.no-btn.jumping {
    position: fixed;
    z-index: 1000;
}

.sweet-text {
    font-size: 1rem;
    color: #333;
    margin: 15px auto;
    line-height: 1.7;
    text-align: left;
    max-width: 550px;
}

.signature {
    font-size: 1rem;
    color: #333;
    margin: 20px auto 0 auto;
    font-style: italic;
    text-align: right;
    max-width: 550px;
}

.success-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    width: 100%;
}

.success-content {
    flex: 1;
    text-align: center;
    max-width: 600px;
}

.side-image {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.image-container {
    margin-top: 30px;
}

.image-container img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 800px) {
    .side-image {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 30px;
        font-size: 1.2rem;
    }

    .content {
        padding: 40px 20px;
    }

    .sweet-text {
        font-size: 0.95rem;
    }
    
    .signature {
        font-size: 0.95rem;
    }
    
    .success-layout {
        flex-direction: column;
    }
    
    .side-image {
        width: 120px;
        height: 120px;
    }
}
