:root {
    --primary: #2d6a4f;
    --secondary: #52b788;
    --accent: #95d5b2;
    --bg: #f8faf9;
    --text: #1b4332;
    --white: rgba(255, 255, 255, 0.9);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top left, #d8f3dc 0%, #b7e4c7 30%, #74c69d 100%);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 20px;
}

#slimeCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Animated background blobs */
.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--secondary);
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.4;
    animation: move 20s infinite alternate;
}
.blob-2 {
    background: var(--accent);
    right: -100px;
    bottom: -100px;
    animation-delay: -5s;
}

@keyframes move {
    from { transform: translate(-10%, -10%); }
    to { transform: translate(10%, 10%); }
}

.card {
    background: var(--white);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 32px;
    padding: 40px 30px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo-icon {
    font-size: 3.5rem;
    display: inline-block;
    background: white;
    width: 90px;
    height: 90px;
    line-height: 90px;
    border-radius: 24px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

h1 {
    font-size: 1.8rem;
    color: var(--text);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.sub {
    color: #64748b;
    font-size: 0.95rem;
    margin-top: 5px;
}

.error {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.field {
    margin-bottom: 24px;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    margin-left: 4px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input[type="password"],
.input-wrapper input[type="text"] {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #94a3b8;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    user-select: none;
    transition: color 0.2s;
}

.password-toggle:hover {
    color: var(--secondary);
}

input {
    width: 100%;
    padding: 14px 18px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    transition: all 0.3s;
    outline: none;
}

input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(82, 183, 136, 0.1);
}

.btn {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 15px -3px rgba(45, 106, 79, 0.3);
    margin-top: 10px;
}

.btn:hover {
    background: #1b4332;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(45, 106, 79, 0.4);
}

.btn:active {
    transform: translateY(0);
}

.quick-access {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.quick-access-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.quick-btns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.quick-btn {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 12px;
    border-radius: 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.quick-btn:hover {
    border-color: var(--secondary);
    background: #f0fdf4;
    color: var(--primary);
}

.hint {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 6px;
    margin-left: 4px;
}

@media (max-width: 480px) {
    body {
        padding: 20px 0;
    }
    .card { 
        padding: 30px 18px; 
        border-radius: 24px;
    }
    .quick-btns {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .quick-btn {
        padding: 10px;
        font-size: 0.8rem;
    }
}
