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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.container {
    max-width: 600px;
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.5;
}

.input-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #ccc;
    font-size: 0.9rem;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.2s;
}

input:focus {
    outline: none;
    border-color: #6c63ff;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.25);
}

input:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.hint {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: #888;
    line-height: 1.4;
}

.hint a {
    color: #6c63ff;
}

.hint code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

button {
    width: 100%;
    padding: 0.85rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #6c63ff, #4834d4);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.4);
}

button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.results {
    margin-top: 2rem;
}

.results.hidden {
    display: none;
}

.result-item {
    padding: 1.2rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid;
}

.result-item h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.result-item p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.result-item ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.result-item ul li {
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.88rem;
}

.result-item.danger {
    background: rgba(231, 76, 60, 0.12);
    border-color: rgba(231, 76, 60, 0.4);
}

.result-item.danger h3 {
    color: #e74c3c;
}

.result-item.safe {
    background: rgba(46, 204, 113, 0.12);
    border-color: rgba(46, 204, 113, 0.4);
}

.result-item.safe h3 {
    color: #2ecc71;
}

.result-item.warning {
    background: rgba(241, 196, 15, 0.12);
    border-color: rgba(241, 196, 15, 0.4);
}

.result-item.warning h3 {
    color: #f1c40f;
}

.advice {
    margin-top: 0.6rem;
    font-weight: 600;
    color: #f39c12;
}

footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

footer a {
    color: #6c63ff;
    text-decoration: none;
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }
    h1 {
        font-size: 1.4rem;
    }
}
