html,
body {
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    font-family: "Comic Sans MS", cursive, sans-serif;
    height: 100%;
}

#login-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    text-align: center;
}

.login-content h1 {
    font-family: 'Pacifico', cursive;
    color: #d63031;
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.login-content p {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

#passwordInput {
    padding: 15px;
    border-radius: 30px;
    border: 2px solid #fff;
    outline: none;
    font-size: 1.2rem;
    text-align: center;
    width: 80%;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.8);
    color: #d63031;
    margin-bottom: 20px;
    transition: 0.3s;
}

#passwordInput:focus {
    background: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

#loginBtn {
    background-color: #ff4757;
    color: white;
    padding: 12px 40px;
    font-size: 1.5rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    transition: transform 0.2s;
    font-family: 'Pacifico', cursive;
}

#loginBtn:hover {
    transform: scale(1.1);
    background-color: #ff6b81;
}

#transition-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 900;
    color: white;
    text-align: center;
}

#transition-text {
    font-size: 2rem;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInText 2s ease forwards;
    padding: 0 20px;
    color: #a29bfe;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#startStoryBtn {
    padding: 15px 40px;
    font-size: 1.5rem;
    background-color: #6c5ce7;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    opacity: 0;
    animation: fadeInBtn 1s ease forwards;
    animation-delay: 2s;
    transition: transform 0.2s;
}

#startStoryBtn:hover {
    transform: scale(1.1);
    background-color: #a29bfe;
}

@keyframes fadeInBtn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

canvas {
    width: 100%;
    height: auto;
    background: #111;
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

#buttonContainer {
    display: none;
    position: absolute;
    top: calc(50% + 150px);
    left: 50%;
    transform: translateX(-50%);
    gap: 20px;
    z-index: 10;
    animation: fadeInUp 1.5s ease forwards;
    opacity: 0;
}

#buttonContainer button {
    padding: 15px 30px;
    font-size: 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
}

#yesButton {
    background-color: #2ecc71;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}

#noButton {
    background-color: #7f8c8d;
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    opacity: 0.8;
}

#noButton:hover {
    background-color: #95a5a6;
    opacity: 1;
}

#responseContainer {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 20;
    width: 80%;
    background: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.big-heart {
    font-size: 100px;
    color: #e74c3c;
    animation: pulse 1.2s infinite;
}

.celebration-text {
    font-size: 30px;
    margin-top: 20px;
    color: #fff;
}

.sad-text {
    font-size: 24px;
    color: #fff;
    font-weight: bold;
}

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

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

//Developed by Kijler