* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to right, #ff9a9e, #fad0c4);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    color: #333;
    text-align: center;
    overflow-x: hidden;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 25px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    position: relative;
}

h1,
h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #222;
    transition: all 0.3s ease;
}

p {
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #444;
}

button {
    margin: 10px 10px 0;
    padding: 12px 20px;
    font-size: 1rem;
    background-color: #ff6f91;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 111, 145, 0.2);
}

button:hover {
    background-color: #ff3e6c;
    transform: scale(1.03);
    box-shadow: 0 6px 14px rgba(255, 62, 108, 0.3);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 15px;
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

.heart {
    position: absolute;
    font-size: 24px;
    animation: floatUp 3s ease-out forwards;
    opacity: 0.8;
    pointer-events: none;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-300px) scale(1.5);
        opacity: 0;
    }
}

/* Mobil */
@media (max-width: 480px) {
    h1, h2 {
        font-size: 1.4rem;
    }

    p {
        font-size: 0.95rem;
    }

    button {
        font-size: 0.95rem;
        padding: 10px 18px;
    }

    .container {
        padding: 20px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .container {
        max-width: 90%;
    }

    h1, h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }
}
