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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.container {
    text-align: center;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    position: relative;
}

.title h1 {
    color: #d63384;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: gentle-bounce 2s ease-in-out infinite;
}

.message {
    margin-bottom: 3rem;
}

.message p {
    color: #6c757d;
    font-size: 1.3rem;
    font-style: italic;
}

.buttons-container {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.forgive-btn, .not-forgive-btn {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
}

.forgive-btn {
    background: linear-gradient(45deg, #ff6b9d, #ff8e9e);
    color: white;
    transform: scale(1);
}

.forgive-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.not-forgive-btn {
    background: linear-gradient(45deg, #6c757d, #8d949e);
    color: white;
}

.not-forgive-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* Growing animation classes */
.grow-1 { transform: scale(1.2) !important; }
.grow-2 { transform: scale(1.4) !important; }
.grow-3 { transform: scale(1.6) !important; }
.grow-4 { transform: scale(1.8) !important; }
.grow-5 { transform: scale(2.0) !important; }
.grow-6 { transform: scale(2.2) !important; }
.grow-7 { 
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    transform: none !important;
    border-radius: 0 !important;
    font-size: 3rem !important;
    animation: pulse-glow 1s ease-in-out infinite;
    z-index: 1000;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 107, 157, 0.6); 
    }
    50% { 
        box-shadow: 0 0 40px rgba(255, 107, 157, 0.9); 
    }
}

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

/* Hearts animation */
.hearts-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.floating-heart {
    position: absolute;
    font-size: 2rem;
    animation: float-up 3s ease-out forwards;
    pointer-events: none;
}

@keyframes float-up {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-200px) rotate(360deg);
    }
}

/* Popup styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    animation: fadeIn 0.5s ease-out;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popIn 0.6s ease-out;
    border: 5px solid white;
}

.popup-content h2 {
    color: #d63384;
    font-size: 2.5rem;
    margin: 1rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.popup-content p {
    color: #6c757d;
    font-size: 1.3rem;
    font-style: italic;
    margin: 1rem 0;
}

.popup-hearts {
    font-size: 2rem;
    animation: gentle-bounce 1s ease-in-out infinite;
}

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

@keyframes popIn {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Responsive design */
@media (max-width: 600px) {
    .title h1 {
        font-size: 2rem;
    }
    
    .message p {
        font-size: 1.1rem;
    }
    
    .buttons-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .forgive-btn, .not-forgive-btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        min-width: 180px;
    }
    
    .grow-7 {
        font-size: 2rem !important;
    }
    
    .popup-content {
        margin: 1rem;
        padding: 2rem;
    }
    
    .popup-content h2 {
        font-size: 2rem;
    }
    
    .popup-content p {
        font-size: 1.1rem;
    }
}
