body {
    font-family: 'Roboto', sans-serif;
    background-color: #0e1117;
    color: #fafafa;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
    padding-top: 60px;
}

.card {
    background-color: #262730;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #31333f;
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.025em;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.input {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    background-color: #1a1a1a;
    border: 2px solid #31333f;
    color: #fafafa;
    outline: none;
    transition: all 0.2s ease-in-out;
    font-size: 1rem;
    box-sizing: border-box;
}

.input:focus {
    border-color: #ff4b4b;
    box-shadow: 0 0 0 4px rgba(255, 75, 75, 0.3);
}

.input::placeholder {
    color: #a0aec0;
}

.btn {
    width: 100%;
    padding: 1rem 1.25rem;
    background-color: #ff4b4b;
    color: #fafafa;
    font-weight: 500;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: #ff4b4b;
    color: #fafafa;
    box-shadow: 0 0 0 4px rgba(255, 75, 75, 0.3);
}

.btn:active {
    background-color: #b92c2c;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.result {
    margin-top: 1.5rem;
    font-size: 1.25rem;
    font-weight: 500;
    text-align: left;
    padding: 1rem;
    background-color: #262730;
    border: 1px solid #31333f;
    border-radius: 0.75rem;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #18191c;
    color: #fafafa;
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem 0;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.2);
    z-index: 100;
    border-top: 1px solid #31333f;
}
p{
    font-size: 0.9rem;
}
.navbar {
    position: absolute;
    top: 0;
    right: 0;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.github-link {
    color: #fafafa;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.github-link:hover {
    color: #ff4b4b;
}

.github-icon {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
    transition: filter 0.2s;
}

.github-link:hover .github-icon {
    filter: invert(41%) sepia(91%) saturate(2250%) hue-rotate(338deg) brightness(101%) contrast(105%);
}

@media (max-width: 768px) {
    body {
        max-height: fit-content;
        padding: 15px;
    }

    .card {
        padding: 1.25rem;
        border-radius: 0.75rem;
    }

    .title {
        font-size: 2.5rem;
    }

    .input, .btn {
        padding: 0.9rem;
        font-size: 0.95rem;
        border-radius: 0.5rem;
    }

    .result {
        font-size: 1.1rem;
        padding: 0.75rem;
    }

    footer {
        font-size: 0.75rem;
    }

    .navbar {
        padding: 10px;
        gap: 10px;
    }

    .github-icon {
        width: 32px;
        height: 32px;
    }

    .fork-link {
        font-size: 0.9rem;
        padding: 4px 8px;
    }
}