:root {
    --primary-purple: #7c3aed;
    --light-purple: #ddd6fe;
    --deep-purple: #4c1d95;
    --accent-pink: #f472b6;
    --accent-yellow: #fbbf24;
    --text-dark: #1f2937;
    --bg-light: #f5f3ff;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(124, 58, 237, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(244, 114, 182, 0.05) 0%, transparent 20%);
}

/* Decorative Floating Elements */
.floating-circle {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
    animation: float 10s infinite alternate ease-in-out;
}
.c1 { width: 300px; height: 300px; background: var(--light-purple); top: -100px; left: -100px; }
.c2 { width: 250px; height: 250px; background: #fae8ff; bottom: -50px; right: -50px; animation-delay: -5s; }

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 100px); }
}

/* Banner Section */
.exam-banner {
    background: linear-gradient(135deg, var(--deep-purple), var(--primary-purple)); 
    color: white; 
    padding: 4rem 1rem 6rem; 
    text-align: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.exam-banner h1 { 
    font-size: 3rem; 
    margin-bottom: 0.5rem; 
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.exam-banner p { font-size: 1.2rem; opacity: 0.9; font-weight: 300; }

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
}

/* Timer Section */
.countdown-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2.5rem; 
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(76, 29, 149, 0.15); 
    margin: -80px auto 3rem;
    text-align: center; 
    border: 2px solid var(--white);
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.timer-title { 
    margin-bottom: 20px; 
    font-weight: 700; 
    color: var(--deep-purple); 
    text-transform: uppercase; 
    letter-spacing: 2px;
    font-size: 0.9rem;
}

#timer-box { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
}

.timer-part { 
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 16px;
    min-width: 85px;
    display: flex; 
    flex-direction: column;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.timer-part:hover { transform: scale(1.05); }

.timer-part span:first-child {
    font-size: 2.5rem; 
    font-weight: 900; 
    color: var(--primary-purple);
    line-height: 1;
}
.timer-part span:last-child { 
    font-size: 0.7rem; 
    text-transform: uppercase; 
    color: #888; 
    font-weight: 700; 
    margin-top: 8px; 
}

/* Checker Section */
.email-checker-section {
    background: var(--white); 
    padding: 3rem; 
    border-radius: 30px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.email-checker-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 6px;
    background: linear-gradient(90deg, var(--accent-pink), var(--primary-purple));
}

.email-checker-section h3 { 
    color: var(--deep-purple); 
    font-size: 1.8rem; 
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.email-checker-section p { color: #666; margin-bottom: 2rem; font-size: 1.1rem; }

.input-group { position: relative; }
.input-group input {
    width: 100%; 
    padding: 1.3rem 1.5rem; 
    border: 2px solid #edf2f7; 
    border-radius: 16px; 
    font-size: 1.1rem; 
    outline: none; 
    transition: 0.3s;
    background: #f8fafc;
}

.input-group input:focus { 
    border-color: var(--primary-purple); 
    background: white;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.1); 
}

.btn-check {
    background: var(--primary-purple); 
    color: white; 
    width: 100%; 
    padding: 1.2rem; 
    border: none; 
    border-radius: 16px; 
    font-size: 1.3rem; 
    font-weight: 700; 
    margin-top: 1.5rem; 
    cursor: pointer; 
    transition: 0.4s;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-check:hover { 
    background: var(--deep-purple); 
    transform: translateY(-3px); 
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.4);
}

.status-msg { 
    margin-top: 25px; 
    padding: 1.2rem; 
    border-radius: 14px; 
    display: none; 
    text-align: center; 
    font-weight: 600;
    animation: fadeInUp 0.4s ease;
}
.success { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.error { background: #fff1f2; color: #e11d48; border: 1px solid #fecdd3; }

/* Scholarship Card */
.scholarship-info {
    background: linear-gradient(to right, #faf5ff, #f3e8ff); 
    border-radius: 20px;
    padding: 2rem; 
    margin-top: 3rem; 
    position: relative;
    border: 1px solid var(--light-purple);
}

.scholarship-info h4 { 
    font-size: 1.4rem; 
    margin-bottom: 15px; 
    color: var(--deep-purple);
    font-weight: 800;
}

.reward-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    padding: 10px;
    background: white;
    border-radius: 12px;
    transition: 0.3s;
}
.reward-item:hover { transform: translateX(10px); }
.reward-icon { font-size: 1.5rem; }

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3) translateY(-80px); }
    50% { opacity: 1; transform: scale(1.05) translateY(-80px); }
    70% { transform: scale(0.9) translateY(-80px); }
    100% { opacity: 1; transform: scale(1) translateY(-80px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .exam-banner h1 { font-size: 2rem; }
    #timer-box { gap: 8px; }
    .timer-part { min-width: 70px; padding: 0.8rem; }
    .timer-part span:first-child { font-size: 1.8rem; }
    .email-checker-section { padding: 1.5rem; }
}