@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');

body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background-color: #1e1e1e;
    padding: 2rem 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

h1 {
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: #bb86fc;
}

input[type="url"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: none;
    background-color: #333;
    color: #eee;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

input[type="url"]:focus {
    background-color: #444;
    outline: none;
    box-shadow: 0 0 8px #bb86fc;
}

button {
    background: linear-gradient(45deg, #bb86fc, #6200ee);
    border: none;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

button:hover {
    background: linear-gradient(45deg, #9a6fff, #3700b3);
}

.result {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: #03dac6;
    word-break: break-all;
}

.error {
    margin-top: 1rem;
    color: #cf6679;
    font-weight: 600;
}

a {
    color: #03dac6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
