* {
    box-sizing: border-box;
}

body {
    margin: 0;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at top, #0f0f2f, #050515);
    font-family: 'Segoe UI', sans-serif;
    color: white;
}

.container {
    width: 100%;
    max-width: 380px;
    padding: 35px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    background: rgba(20, 20, 50, 0.6);
    border: 1px solid rgba(100, 100, 255, 0.4);
    box-shadow: 0 0 40px rgba(100, 100, 255, 0.3);
    text-align: center;
}

h2 {
    margin-bottom: 5px;
    letter-spacing: 2px;
    font-size: 20px;
}

.subtitle {
    font-size: 12px;
    color: #8a8aff;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

input {
    width: 100%;
    padding: 14px;
    margin-bottom: 18px;
    border-radius: 12px;
    border: 1px solid #4444aa;
    background: #0a0a25;
    color: white;
    font-size: 14px;
}

input:focus {
    outline: none;
    border-color: #6a6aff;
    box-shadow: 0 0 10px #6a6aff;
}

button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, #5f5fff, #8a4dff);
    color: white;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

button:active {
    transform: scale(0.97);
}

button:hover {
    box-shadow: 0 0 20px #6a6aff;
}

.error {
    color: #ff4d6d;
    font-size: 13px;
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .container {
        max-width: 420px;
        padding: 45px;
    }

    h2 {
        font-size: 24px;
    }
}

/* Hilangin tap highlight Android */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Hilangin outline default */
button,
input {
    outline: none;
}

/* Hilangin biru pas ditekan */
button:active {
    background: linear-gradient(135deg, #5a7cff, #6f6fff);
}

/* Optional: kasih efek klik yang clean */
button {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button:active {
    transform: scale(0.97);
    box-shadow: 0 0 20px rgba(120,120,255,0.4);
}

input:focus {
    border: 1px solid #6a6aff;
    box-shadow: 0 0 15px rgba(100,100,255,0.4);
}

input.error {
    border: 1px solid #ff4d6d;
    box-shadow: 0 0 15px rgba(255,77,109,0.4);
}