/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /* Prevent scroll for background effects */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #f0f0f0;
}

/* Background Effects */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, #1e1e2f, #141421, #2b2d3a);
    background-size: 400% 400%;
    animation: gradientMove 15s infinite;
    z-index: -2;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Navbar Styles */
.navbar {
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    z-index: 1;
    position: relative;
}

.navbar-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.navbar h1 {
    color: #58a6ff;
    margin: 0;
    font-size: 24px;
}

/* Main Container */
.container {
    max-width: 600px;
    margin: 70px auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
    text-align: center;
    position: relative;
    z-index: 1;
}

.container h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #58a6ff;
}

.description {
    font-size: 16px;
    margin-bottom: 20px;
    color: #b0b0b0;
}

.input-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

input[type="text"] {
    flex: 1;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(0, 0, 0, 0.6);
    color: #eaeaea;
    font-size: 16px;
    transition: border-color 0.3s;
    width: 100%;
}

input[type="text"]:focus {
    border-color: #58a6ff;
    outline: none;
}

button {
    padding: 12px 20px;
    background-color: #238636;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    width: 100%;
}

button:hover {
    background-color: #2ea043;
    transform: scale(1.05);
}

/* Card Style */
.card {
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    color: #eaeaea;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card p {
    margin: 10px 0;
    font-size: 16px;
}

.card p span {
    font-weight: bold;
    color: #58a6ff;
}

/* Error Message */
.error-message {
    margin-top: 20px;
    color: #ff7b72;
    font-size: 16px;
}

/* Footer */
footer {
    margin-top: auto;
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    padding: 10px 20px;
    color: #8b949e;
    font-size: 14px;
}

footer a {
    color: #58a6ff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */

/* Mobile View */
@media (max-width: 767px) {
    .navbar-container {
        flex-direction: column;
        text-align: center;
    }

    .navbar-logo h1 {
        font-size: 20px;
        margin-top: 10px;
    }

    .container {
        margin-top: 20px;
        padding: 15px;
        width: 90%;
    }

    .container h1 {
        font-size: 24px;
    }

    .input-container {
        flex-direction: column;
        align-items: center;
    }

    input[type="text"] {
        width: 100%;
    }

    button {
        width: 100%;
    }

    .card {
        padding: 15px;
    }
}

/* Tablet/Laptop View */
@media (min-width: 768px) {
    .navbar-container {
        justify-content: space-between;
    }

    .container {
        margin-top: 50px;
        width: 70%;
        padding: 30px;
    }

    .container h1 {
        font-size: 32px;
    }

    .input-container {
        flex-direction: row;
        gap: 15px;
    }

    input[type="text"] {
        width: 70%;
    }

    button {
        width: 28%;
    }

    .card {
        padding: 20px;
    }
}