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

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

nav {
    width: 100%;
    max-width: 800px;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #9e9e9e;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ffffff;
}

h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

p {
    font-size: 1.1rem;
    max-width: 600px;
    text-align: center;
    color: #b0b0b0;
}

p a {
    color: #64b5f6;
    text-decoration: none;
    border-bottom: 1px dashed transparent;
    transition: all 0.3s ease;
}

p a:hover {
    color: #90caf9;
    border-bottom: 1px dashed #90caf9;
}

@media (max-width: 600px) {
    body {
        padding: 1.5rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    h1 {
        font-size: 2rem;
    }
}

body > ul {
    list-style: none;
    width: 100%;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

body > ul li {
    background-color: #1e1e1e;
    border: 1px solid #2d2d2d;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    color: #b0b0b0;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

body > ul li:hover {
    border-color: #444;
}

body > ul li a {
    color: #64b5f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

body > ul li a:hover {
    color: #90caf9;
    text-decoration: underline;
}

form {
    width: 100%;
    max-width: 600px;
    background-color: #1e1e1e;
    border: 1px solid #2d2d2d;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

label {
    font-size: 1.05rem;
    font-weight: 500;
    color: #ffffff;
}

input[type="text"] {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #252525;
    border: 1px solid #333;
    border-radius: 6px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus {
    outline: none;
    border-color: #64b5f6;
    box-shadow: 0 0 0 2px rgba(100, 181, 246, 0.15);
}

input[type="submit"] {
    padding: 0.75rem;
    background-color: #64b5f6;
    color: #121212;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

input[type="submit"]:hover {
    background-color: #90caf9;
}

#result {
    width: 100%;
    max-width: 600px;
    margin-top: 1.5rem;
    text-align: center;
    font-size: 1.05rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

#result.success {
    padding: 0.75rem 1rem;
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid #4caf50;
    color: #81c784;
}

#result.error {
    padding: 0.75rem 1rem;
    background-color: rgba(244, 67, 54, 0.1);
    border: 1px solid #f44336;
    color: #e57373;
}

@media (max-width: 600px) {
    form {
        padding: 1.25rem;
    }
}