/* Google Font - Using Poppins for that clean, modern look */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    width: 100%;
    /* Deep space/night sky gradient */
    background: radial-gradient(circle at center, #2c3e50, #000000);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Background Animated Character */
body::before {
    content: "";
    position: absolute;
    right: 5%;
    bottom: 0;
    width: 500px; /* Adjust size as needed */
    height: 80vh;
    /* REPLACE THE URL BELOW WITH YOUR ANIME IMAGE */
    background: url(videoframe_23857.png) no-repeat bottom center/contain;
    opacity: 0.7;
    z-index: 0;
    pointer-events: none;
    filter: drop-shadow(0 0 30px rgba(221, 36, 118, 0.4));
    animation: floatAnime 5s ease-in-out infinite;
}

@keyframes floatAnime {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(10px); }
}

/* The Glassmorphism Card */
.card {
    position: relative;
    z-index: 10;
    width: 360px;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05); /* Very transparent */
    backdrop-filter: blur(20px); /* The "Glass" effect */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    text-align: center;
    color: #fff;
    transition: 0.4s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Card Avatar/Profile Image */
.card-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid #ff512f;
    object-fit: cover;
    display: block;
    box-shadow: 0 0 20px rgba(255, 81, 47, 0.5);
}
.card h1{
    margin-bottom: 20px;
    font-weight: bolder;
}
/* Inputs with frosted glass effect */
.card input {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    outline: none;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: all 0.3s ease;
}

.card input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.card input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #dd2476;
    box-shadow: 0 0 15px rgba(221, 36, 118, 0.3);
}

/* Cyberpunk Glow Button */
.card button {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(135deg, #ff512f, #dd2476);
    box-shadow: 0 5px 15px rgba(221, 36, 118, 0.4);
    transition: 0.3s;
}

.card button:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 25px rgba(255, 81, 47, 0.6);
    filter: brightness(1.2);
}

/* Neon Result Text */


#cal{
     margin-top: 25px;
    font-size: 20px;
    font-weight: 600;
    color: #00f2fe;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.8);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body::before {
        width: 300px;
        opacity: 0.3;
        right: -50px; /* Moves character slightly off-screen on mobile */
    }
    .card {
        width: 90%;
    }
}
