* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;
    color: white;
    background: radial-gradient(circle at top, #1d2b64 0%, #0f172a 45%, #050816 100%);
    padding: 40px 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

h1 {
    text-align: center;
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.tagline {
    text-align: center;
    font-size: 20px;
    color: #cbd5e1;
    margin-bottom: 10px;
}

.auth-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 10px 0 10px;
}

.card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.45);
}

.card h2 {
    font-size: 28px;
    margin-bottom: 12px;
    color: #ffffff;
}

.card p {
    color: #dbe4f0;
    line-height: 1.6;
    margin-bottom: 14px;
}

button {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    padding: 12px 22px;
    border-radius: 14px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

button:hover {
    transform: scale(1.03);
    opacity: 0.95;
}

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

input[type="radio"] {
    transform: scale(1.15);
    accent-color: #8b5cf6;
    margin-right: 8px;
}

label {
    display: inline-block;
    margin: 8px 0;
    font-size: 18px;
    color: #eef2ff;
}

#result {
    margin-top: 18px;
    font-size: 20px;
    font-weight: bold;
    color: #f8fafc;
}

#welcomeUser {
    text-align: center;
    font-size: 18px;
    color: #e2e8f0;
    margin-bottom: 6px;
}

#history,
#stats {
    margin-top: 16px;
}

#history p,
#stats p {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 14px;
    border-radius: 14px;
    margin-bottom: 10px;
    color: #e2e8f0;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    width: min(90%, 420px);
    margin: 10% auto;
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    position: relative;
    text-align: center;
}

.close {
    position: absolute;
    right: 18px;
    top: 12px;
    font-size: 30px;
    cursor: pointer;
    color: #fff;
}

.modal-content input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    outline: none;
}

.modal-content input::placeholder {
    color: #cbd5e1;
}

.modal-content h2 {
    margin-bottom: 18px;
}

@media (max-width: 600px) {
    h1 {
        font-size: 40px;
    }

    .tagline {
        font-size: 16px;
    }

    .card {
        padding: 20px;
        border-radius: 18px;
    }

    .card h2 {
        font-size: 22px;
    }

    button {
        width: 100%;
    }

    .auth-buttons button {
        width: auto;
        min-width: 110px;
    }

    .modal-content {
        margin: 25% auto;
        padding: 22px;
    }
}textarea {
    width: 100%;
    min-height: 120px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    outline: none;
    resize: vertical;
    font-size: 16px;
    margin-top: 8px;
}

textarea::placeholder {
    color: #cbd5e1;
}textarea {
    width: 100%;
    min-height: 120px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: white;
    outline: none;
    resize: vertical;
    font-size: 16px;
    margin-top: 8px;
}

textarea::placeholder {
    color: #cbd5e1;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 40px;

    background: rgba(255,255,255,0.05);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255,255,255,0.1);

    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #d6d6ff;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: white;
}
.hero{
    text-align:center;
    margin:40px 0;
}

.hero h1{
    font-size:3rem;
    margin-bottom:15px;
}

.hero p{
    font-size:1.2rem;
    color:#cfcfff;
}