@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');

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

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, #ffe6ea, #ffb3c6);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: #d81b60;
}

.start-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #ffe6ea, #ffb3c6);
    z-index: 50;
    transition: opacity 1s ease;
}

#startBtn {
    padding: 15px 35px;
    font-size: 1.5rem;
    font-family: 'Cairo', sans-serif;
    background-color: #ff4d6d;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 77, 109, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: pulse 2s infinite;
}

#startBtn:hover {
    background-color: #c9184a;
    transform: scale(1.05);
}

.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.message-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.container {
    background: rgba(255, 255, 255, 0.85);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    max-width: 600px;
    width: 90%;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

.title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #a01a58;
}

.message {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #590d22;
}

.cute-animation {
    margin-top: 30px;
    font-size: 4rem;
    animation: bounce 2s infinite ease-in-out;
}

/* Hearts falling animation */
.heart {
    position: absolute;
    top: -10vh;
    font-size: 1.5rem;
    color: #ff4d6d;
    animation: fall linear forwards;
    z-index: 5;
    pointer-events: none;
}

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

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

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

@keyframes fall {
    to {
        transform: translateY(110vh);
    }
}
