/* style.css */

/* --- Body and Background --- */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0d1117; /* Dark navy blue background */
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 2rem 2rem;
    color: #e6edf3;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
}

/* --- Glassmorphism Card --- */
.glass-card {
    background: rgba(13, 17, 23, 0.6); /* Deeper, less transparent background */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* --- Buttons --- */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #5865f2, #7289da);
    color: white;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.btn-secondary {
    background: #373a40;
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

.btn:active {
    transform: translateY(-1px);
}

/* --- Button Ripple Animation --- */
.btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform .5s, opacity 1s;
}

.btn:active::after {
    transform: scale(0, 0);
    opacity: .3;
    transition: 0s;
}


/* --- Input Fields --- */
.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #1c2128;
    border: 1px solid #30363d;
    border-radius: 0.5rem;
    color: white;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: #5865f2;
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.3);
}

/* --- Header --- */
header {
    background: rgba(13, 17, 23, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- NEW: Page Content Animation --- */
@keyframes fadeInUpContent {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-content-animate {
    animation: fadeInUpContent 0.6s ease-out forwards;
}
