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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    height: 100vh;
    overflow: hidden;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #9E9E9E;

    /* 🌈 animated gradient background */
    background: linear-gradient(120deg, #ff9a9e, #fad0c4, #fad0c4, #fbc2eb, #a18cd1);
    background-size: 400% 400%;
    animation: gradientMove 18s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 🌸 hearts layer */
.hearts {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.heart {
    position: absolute;
    top: -10%;
    font-size: 22px;
    animation: fall linear infinite;
    opacity: 0.7;
}

@keyframes fall {
    0% { transform: translateY(-10%) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* 💎 glass card */
.container {
    position: relative;
    z-index: 2;

    width: min(420px, 90%);
    padding: 45px 35px;
    text-align: center;

    border-radius: 28px;

    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(35px);

    border: 1px solid rgba(255,255,255,0.25);

    box-shadow:
        0 25px 70px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.4);

    animation: pageIn 0.6s ease;
}

/* 📱 swipe-like page transition */
@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateX(60px) scale(0.95);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

h1 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #9E9E9E;
}

/* 💖 buttons */
.buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
}

button {
    padding: 14px 28px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.35);

    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(25px);

    color: #9E9E9E;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.25s ease;

    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

button:hover {
    transform: translateY(-4px) scale(1.05);
    background: rgba(255,255,255,0.28);
}

button:active {
    transform: scale(0.96);
}

/* 💌 textarea */
textarea {
    width: 100%;
    height: 120px;

    margin-top: 20px;
    padding: 15px;

    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.3);

    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(25px);

    color: #9E9E9E;

    outline: none;
}

textarea::placeholder {
    color: rgba(158,158,158,0.7);
}

/* 💌 send button */
.send-btn {
    margin-top: 15px;
    width: 100%;

    padding: 14px;
    border-radius: 999px;

    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.18);

    color: #9E9E9E;
    font-weight: 600;

    cursor: pointer;
    transition: 0.3s ease;
}

.send-btn:hover {
    transform: translateY(-3px) scale(1.03);
    background: rgba(255,255,255,0.28);
}

/* ⏱ countdown */
#countdown {
    margin-top: 15px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #9E9E9E;
}

input {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border-radius: 12px;
    border: none;
    outline: none;
    text-align: center;
}

#panel div {
    margin: 5px 0;
    padding: 8px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
}

body {
    font-family: Arial;
    background: #0f0f0f;
    color: white;
}

.container {
    max-width: 500px;
    margin: auto;
    padding: 20px;
}

input {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
}

.send-btn {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    background: #25d366;
    border: none;
    color: white;
    border-radius: 10px;
}

#chat {
    height: 300px;
    overflow-y: auto;
    padding: 10px;
}

.bubble {
    padding: 10px;
    margin: 5px;
    border-radius: 10px;
    max-width: 80%;
}

.left {
    background: #333;
    align-self: flex-start;
}

.right {
    background: #25d366;
    margin-left: auto;
    text-align: right;
}

.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.card {
    background: #222;
    padding: 10px;
    border-radius: 12px;
}

.card img, .card video {
    width: 100%;
    border-radius: 10px;
}

button {
    margin: 10px 0;
}
