/* General Styling */
body {
    font-family: 'Nunito', sans-serif;
    text-align: center;
    margin: 0;
    background: linear-gradient(-45deg, #ff9a9e, #fad0c4, #fbc2eb, #a18cd1);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #444;
    overflow-x: hidden;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Container Styling */
#container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    padding: 20px 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

/* Hidden Class */
.hidden {
    display: none;
}

/* Panda Image */
#panda-image {
    display: block;
    margin: 0 auto;
    width: 200px;
    height: auto;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Heading Styling */
#heading {
    font-size: 2em;
    font-family: 'Pacifico', cursive;
    margin-bottom: 20px;
}

/* Input Box */
#code-input {
    padding: 12px;
    font-size: 1.1em;
    border: 2px solid #ddd;
    border-radius: 8px;
    width: calc(100% - 20px);
    margin-bottom: 15px;
    transition: box-shadow 0.3s ease, border 0.3s ease;
}

#code-input:focus {
    border: 2px solid #ff6666;
    box-shadow: 0 0 8px rgba(255, 102, 102, 0.7);
    outline: none;
}

/* Incorrect Message */
#incorrect-msg {
    color: red;
    margin-top: 10px;
    display: none;
    font-size: 0.9em;
}

/* Button Styling */
.button-85 {
    padding: 0.8em 2.2em;
    border: none;
    outline: none;
    color: rgb(255, 255, 255);
    background: linear-gradient(to right, #ff7eb3, #ff758c);
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 12px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    margin-top: 15px;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.2s ease, background 0.3s ease;
}

.button-85:hover {
    background: linear-gradient(to right, #ff759b, #ff4d7e);
    transform: scale(1.05);
}

/* Fade-in Animation */
.fade-in {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Styling */
@media (max-width: 600px) {
    .glass-card {
        padding: 15px;
        margin: 20px auto;
    }

    #code-input {
        width: calc(100% - 15px);
    }

    h1 {
        font-size: 1.8em;
    }
}
 