* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #ff7eb9, #ff65a3); /* Mantém o gradiente caso as imagens não carreguem */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.background-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.background-image.active {
    opacity: 1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 126, 185, 0.4), rgba(255, 101, 163, 0.4));
    z-index: -1;
}

.container {
    text-align: center;
    padding: 2rem;
    background-color: transparent;
    max-width: 90%;
    width: 500px;
    position: relative;
    z-index: 1;
}

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

.message {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#forgive-btn {
    background-color: rgba(76, 175, 80, 0.9);
    color: white;
}

#forgive-btn:hover {
    background-color: rgba(69, 160, 73, 1);
    transform: scale(1.05);
}

#breakup-btn {
    background-color: rgba(244, 67, 54, 0.9);
    color: white;
    position: relative;
    transition: all 0.3s ease;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: 0;
}

.success-message {
    font-size: 1.5rem;
    color: #fff;
    margin-top: 1rem;
    animation: fadeIn 0.5s;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    background-color: rgba(76, 175, 80, 0.7);
    padding: 15px;
    border-radius: 10px;
    display: inline-block;
}

.rewards-title {
    font-size: 1.4rem;
    color: #fff;
    margin: 2rem 0 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.5s;
}

.rewards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    animation: fadeIn 0.5s;
}

.reward-btn {
    background-color: rgba(33, 150, 243, 0.9);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.reward-btn:hover {
    transform: scale(1.05);
    background-color: rgba(25, 118, 210, 1);
}

.final-message {
    font-size: 1.6rem;
    color: #fff;
    margin-top: 2rem;
    padding: 15px;
    background-color: rgba(33, 150, 243, 0.7);
    border-radius: 10px;
    animation: fadeIn 0.5s;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.screenshot-msg {
    font-size: 1.2rem;
    color: #fff;
    margin-top: 1.5rem;
    padding: 10px 15px;
    background-color: rgba(255, 64, 129, 0.8);
    border-radius: 10px;
    animation: pulse 2s infinite;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    0% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

/* Animações para as mensagens */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) rotate(-3deg);}
    40% {transform: translateY(-20px) rotate(-2deg);}
    60% {transform: translateY(-10px) rotate(-4deg);}
}

@keyframes wobble {
    0% {transform: rotate(2deg);}
    25% {transform: translate(-8px, 0) rotate(-3deg);}
    50% {transform: translate(8px, 0) rotate(5deg);}
    75% {transform: translate(-5px, 0) rotate(-1deg);}
    100% {transform: translate(0, 0) rotate(2deg);}
}

@keyframes tada {
    0% {transform: scale(1) rotate(-2deg);}
    10%, 20% {transform: scale(0.9) rotate(-4deg);}
    30%, 50%, 70%, 90% {transform: scale(1.1) rotate(4deg);}
    40%, 60%, 80% {transform: scale(1.1) rotate(-4deg);}
    100% {transform: scale(1) rotate(-2deg);}
}

@keyframes swing {
    20% {transform: rotate(13deg);}
    40% {transform: rotate(-8deg);}
    60% {transform: rotate(5deg);}
    80% {transform: rotate(-3deg);}
    100% {transform: rotate(3deg);}
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@media (min-width: 768px) {
    .buttons-container {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}