body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(-45deg, #001530, #002147, #003366, #004080);
    background-size: 400% 400%;
    animation: gradientBG 18s ease infinite;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
}

/* =========================
   BACKGROUND GRADIENT
========================= */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* =========================
   FLOATING PARTICLES
========================= */
.particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    animation: float 20s linear infinite;
}

@keyframes float {
    from {
        transform: translateY(100vh);
        opacity: 0;
    }
    to {
        transform: translateY(-10vh);
        opacity: 1;
    }
}

/* =========================
   CONTAINER (GLASS EFFECT)
========================= */
.container {
    position: relative;
    text-align: center;
    max-width: 650px;
    padding: 40px 35px;
    background: rgba(255,255,255,0.06);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.8s ease;
    z-index: 2;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    width: 120px;
    margin-bottom: 10px;
}

.subtitle {
    margin-bottom: 18px;
    opacity: 0.9;
    font-size: 15px;
}

/* =========================
   WELCOME TEXT
========================= */
.welcome {
    font-size: 16px;
    margin-bottom: 22px;
    opacity: 0.95;
}

/* =========================
   QUOTES (NO BACKGROUND)
========================= */
.info-box {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 35px;
    min-height: 46px;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

/* =========================
   CARD SECTION
========================= */
.card-box {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    width: 250px;
    padding: 28px 26px;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.card h2 {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 6px;
    align-items: center;
}

.card p {
    font-size: 14px;
    opacity: 0.95;
}

.practice {
    background: linear-gradient(135deg, #1abc9c, #16a085);
}

.exam {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    animation: examGlow 2.5s ease-in-out infinite;
}

/* =========================
   EXAM GLOW
========================= */
@keyframes examGlow {
    0% { box-shadow: 0 0 0 rgba(231,76,60,0.2); }
    50% { box-shadow: 0 0 20px rgba(231,76,60,0.45); }
    100% { box-shadow: 0 0 0 rgba(231,76,60,0.2); }
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 14px 30px rgba(0,0,0,0.4);
}

/* =========================
   LOGOUT BUTTON
========================= */
.logout-btn {
    position: fixed;
    top: 20px;
    right: 25px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    background: rgba(0,0,0,0.25);
    padding: 8px 14px;
    border-radius: 6px;
    transition: background 0.2s ease;
    z-index: 10;
}

.logout-btn:hover {
    background: rgba(0,0,0,0.45);
}

.study {
    background: linear-gradient(135deg, #6a5acd, #483d8b);
}

.study:hover {
    box-shadow: 0 0 18px rgba(106, 90, 205, 0.6);
}
