/* -------- GLOBAL -------- */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #141e30, #243b55);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* -------- GLASS CARD -------- */
.card {
    width: 420px;
    padding: 25px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    color: white;
    text-align: center;
    animation: fadeIn 0.8s ease-in-out;
}

/* -------- TITLE -------- */
h1, h2 {
    margin-bottom: 15px;
    font-weight: 600;
}

/* -------- INPUT -------- */
input {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    border-radius: 10px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 14px;
    transition: 0.3s;
}

input::placeholder {
    color: #ddd;
}

input:focus {
    background: rgba(255,255,255,0.25);
    box-shadow: 0 0 8px rgba(0,198,255,0.6);
}

/* -------- BUTTON -------- */
button {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* hover effect */
button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,198,255,0.5);
}

/* click effect */
button:active {
    transform: scale(0.97);
}

/* -------- VIDEO -------- */
video {
    width: 100%;
    margin-top: 15px;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.2);
}

/* -------- RESULT TEXT -------- */
#result {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 500;
    color: #00ffcc;
}

/* -------- ANIMATION -------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}