/*
Theme Name: The Proposal
Description: A custom theme for the perfect proposal to Rishel.
Author: Your Helpful AI
Version: 2.1
*/

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

body {
    height: 100vh;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    /* The !important flag forces the dark starry background */
    background: linear-gradient(135deg, #0f172a, #1e293b, #111827) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: white;
    padding: 20px;
}

/* STARS */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.8); }
}

/* MAIN CARD (Outer Container) */
.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    padding: 40px 40px 60px 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1.5s ease;
}

/* NEW TEXT BOX (Inner Container) */
#content-area {
    background: rgba(0, 0, 0, 0.25); /* Dark semi-transparent box */
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08); /* Subtle inner border */
    box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.3); /* Soft inner shadow */
    margin-bottom: 30px; /* Space between the box and the buttons */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.subtitle {
    letter-spacing: 4px;
    font-size: 0.8rem;
    color: #cbd5e1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.0rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.highlight {
    font-family: 'Great Vibes', cursive;
    color: #f9a8d4;
    font-size: 1.3em;
    font-weight: normal;
    display: block;
    margin-top: 10px;
}

p {
    font-size: 1.1rem;
    color: #e2e8f0;
    line-height: 1.9;
    max-width: 650px;
    margin: auto;
}

/* BUTTON AREA */
.buttons {
    position: relative;
    height: 80px;
}

#btn-yes {
    padding: 15px 34px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(244, 63, 94, 0.35);
    transition: 0.3s ease;
    position: relative;
    z-index: 10;
}

#btn-yes:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(244, 63, 94, 0.5);
}

#btn-no {
    position: fixed;
    left: 50%;
    top: 75%;
    transform: translateX(-50%);
    padding: 15px 34px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: left 0.8s ease, top 0.8s ease;
    z-index: 9999;
    touch-action: none;
}

/* MESSAGE */
.message {
    margin-top: 20px;
    font-size: 1.6rem;
    color: #fbcfe8;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s ease;
    min-height: 50px;
}

.message.show {
    opacity: 1;
    transform: translateY(0);
}

/* FLOATING HEARTS */
.heart {
    position: fixed;
    color: rgba(255, 255, 255, 0.25);
    font-size: 20px;
    animation: floatUp 6s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes floatUp {
    from { transform: translateY(100vh) scale(0.5); opacity: 0; }
    20% { opacity: 1; }
    to { transform: translateY(-10vh) scale(1.4); opacity: 0; }
}

.footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.3);
}

/* MOBILE RESPONSIVENESS */
@media(max-width: 768px) {
    body { padding: 15px; }
    .container { padding: 30px 20px 50px 20px; border-radius: 24px; }
    #content-area { padding: 25px 15px; border-radius: 16px; }
    .subtitle { font-size: 0.7rem; letter-spacing: 2px; margin-bottom: 15px; }
    h1 { font-size: 2rem; line-height: 1.3; margin-bottom: 15px; }
    .highlight { font-size: 1.2em; }
    p { font-size: 0.95rem; line-height: 1.7; }
    #btn-yes, #btn-no { width: 220px; max-width: 80vw; }
    .message { font-size: 1.2rem; margin-top: 15px; line-height: 1.5; }
    .footer { bottom: 15px; font-size: 0.8rem; }
}