/* Modern Bright Quiz App UI */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', 'Roboto', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Clean Modern Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
}

.animated-bg span {
    position: absolute;
    display: block;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.animated-bg span:nth-child(1) {
    left: 10%;
    top: 20%;
    width: 200px;
    height: 200px;
    animation-delay: 0s;
    background: rgba(255, 255, 255, 0.05);
}

.animated-bg span:nth-child(2) {
    left: 70%;
    top: 10%;
    width: 150px;
    height: 150px;
    animation-delay: 5s;
    background: rgba(255, 255, 255, 0.08);
}

.animated-bg span:nth-child(3) {
    left: 50%;
    top: 60%;
    width: 250px;
    height: 250px;
    animation-delay: 10s;
    background: rgba(255, 255, 255, 0.03);
}

.animated-bg span:nth-child(4) {
    left: 80%;
    top: 80%;
    width: 120px;
    height: 120px;
    animation-delay: 15s;
    background: rgba(255, 255, 255, 0.06);
}

.animated-bg span:nth-child(5) {
    left: 20%;
    top: 75%;
    width: 180px;
    height: 180px;
    animation-delay: 8s;
    background: rgba(255, 255, 255, 0.04);
}

.animated-bg span:nth-child(6) {
    left: 40%;
    top: 40%;
    width: 160px;
    height: 160px;
    animation-delay: 12s;
    background: rgba(255, 255, 255, 0.07);
}

.animated-bg span:nth-child(7) {
    left: 60%;
    top: 30%;
    width: 140px;
    height: 140px;
    animation-delay: 3s;
    background: rgba(255, 255, 255, 0.05);
}

.animated-bg span:nth-child(8) {
    left: 30%;
    top: 10%;
    width: 220px;
    height: 220px;
    animation-delay: 18s;
    background: rgba(255, 255, 255, 0.02);
}

.animated-shape {
    position: absolute;
    opacity: 0.1;
    filter: blur(3px);
    animation: shapeFloat 25s infinite ease-in-out;
}

.shape1 {
    width: 400px;
    height: 400px;
    left: 15%;
    top: 20%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    animation-delay: 0s;
}

.shape2 {
    width: 300px;
    height: 300px;
    right: 10%;
    bottom: 15%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.08), transparent);
    border-radius: 50%;
    animation-delay: 8s;
}

.shape3 {
    width: 350px;
    height: 350px;
    right: 30%;
    top: 25%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.06), transparent);
    border-radius: 50%;
    animation-delay: 16s;
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) translateX(20px) rotate(90deg);
    }
    50% {
        transform: translateY(20px) translateX(-30px) rotate(180deg);
    }
    75% {
        transform: translateY(-20px) translateX(30px) rotate(270deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-40px) scale(1.1);
    }
}

/* Quiz Container Styling */
.container {
    position: relative;
    z-index: 1;
    width: 450px;
    max-width: 85vw;
    margin: 0 auto;
    background: rgba(15, 18, 37, 0.95);
    border-radius: 24px;
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.3),
        0 16px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 32px 28px 28px 28px;
    color: #fff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}


.container:hover {
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.4),
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
}

h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 6s ease-in-out infinite;
    position: relative;
    line-height: 1.1;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.user-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.user-name label,
.ques-count label,
.ques-category label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 8px;
    display: block;
    letter-spacing: -0.01em;
    position: relative;
    padding-left: 16px;
}

.user-name label::before,
.ques-count label::before,
.ques-category label::before,
.timer-main-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.user-name input {
    box-sizing: border-box;
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid rgba(167, 119, 227, 0.3);
    background: rgba(35, 36, 58, 0.8) ;
    color: #e2e8f0 ;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 8px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.user-name input:focus {
    border: 2px solid #a777e3;
    box-shadow: 
        0 8px 32px rgba(167, 119, 227, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    background: rgba(35, 36, 58, 0.9) ;
    color: #e2e8f0 ;
}

.user-name input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}


.ques-count {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ques-count-buttons {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

.ques-count button {
    background: rgba(35, 36, 58, 0.8);
    color: #e2e8f0;
    width: calc(25% - 9px);
    border: 2px solid rgba(167, 119, 227, 0.3);
    border-radius: 12px;
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ques-count button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.5s ease;
}

.ques-count button:hover::before {
    left: 100%;
}

.ques-count button:hover,
.ques-count button.selected {
    background: linear-gradient(135deg, #a777e3 0%, #764ba2 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 
        0 12px 32px rgba(167, 119, 227, 0.4),
        0 6px 16px rgba(0, 0, 0, 0.2);
    border-color: transparent;
}

.ques-category {
    position: relative;
}

.ques-category::after {
    content: "▼";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #a777e3;
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
    margin-top: 15px;
}

.timer-option {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timer-option label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 8px;
    padding-left: 8px;
    position: relative;
}

.timer-option .timer-main-label {
    padding-left: 16px;
}


.timer-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 12px 16px;
    background: rgba(35, 36, 58, 0.8);
    border: 2px solid rgba(167, 119, 227, 0.3);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 8px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
    width: 100%;

}

.timer-toggle:hover {
    border: 2px solid rgba(167, 119, 227, 0.5);
    transform: translateY(-1px);
}

.timer-toggle input[type="checkbox"] {
    display: none;
}

.toggle-switch {
    position: relative;
    width: 35px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(167, 119, 227, 0.3);
    flex-shrink: 0;
    margin-top: 5px;
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 1.5px;
    width: 16px;
    height: 16px;
    background: #e2e8f0;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.timer-toggle input[type="checkbox"]:checked + .toggle-switch {
    background: linear-gradient(135deg, #a777e3 0%, #764ba2 100%);
    border-color: rgba(167, 119, 227, 0.6);
    box-shadow: 0 0 12px rgba(167, 119, 227, 0.3);
}

.timer-toggle input[type="checkbox"]:checked + .toggle-switch .toggle-slider {
    transform: translateX(22px);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.timer-label {
    font-size: 1rem;
    font-weight: 500;
    color: #e2e8f0;
    user-select: none;
    line-height: 1.4;
    flex: 1;
}

/* Timer Display Styles */
.timer-display {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(35, 36, 58, 0.9);
    border: 2px solid rgba(78, 205, 196, 0.3);
    border-radius: 12px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.timer-icon {
    width: 20px;
    height: 20px;
    color: #4ecdc4;
}

.timer-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
    min-width: 40px;
    text-align: center;
}

.timer-warning {
    color: #ff6b6b !important;
    animation: pulse 1s infinite;
}

.timer-critical {
    color: #ff4757 !important;
    animation: pulse 0.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.ques-category select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 50px 12px 16px;
    border-radius: 12px;
    border: 2px solid rgba(167, 119, 227, 0.3);
    background: rgba(35, 36, 58, 0.8);
    color: #e2e8f0;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 8px;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    appearance: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
}

.ques-category select:hover {
    border: 2px solid rgba(167, 119, 227, 0.5);
    transform: translateY(-1px);
}

.ques-category select:focus {
    border: 2px solid #a777e3;
    box-shadow: 
        0 8px 32px rgba(167, 119, 227, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    background: rgba(35, 36, 58, 0.9);
}

.ques-category select option {
    background-color: rgba(35, 36, 58, 0.95);
    color: #e2e8f0;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px;
    border: none;
}

#start-quiz {
    margin-top: 24px;
    width: 100%;
    background: linear-gradient(135deg, #a777e3 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 14px 0;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    box-shadow: 
        0 12px 32px rgba(167, 119, 227, 0.4),
        0 6px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

#start-quiz::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #764ba2 0%, #a777e3 100%);
    transition: all 0.5s ease;
    opacity: 0;
    z-index: -1;
}

#start-quiz:hover::before {
    opacity: 1;
}

#start-quiz:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 20px 48px rgba(167, 119, 227, 0.5),
        0 8px 24px rgba(0, 0, 0, 0.3);
}

.ques-container {
    position: relative;
    z-index: 1;
    width: 500px;
    max-width: 85vw;
    margin: 0 auto;
    background: rgba(15, 18, 37, 0.95);
    border-radius: 24px;
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.3),
        0 16px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 32px 28px 28px 28px;
    color: #fff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: none;
    flex-direction: column;
}


/* Question Header Styling */
.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.question-count {
    font-size: 1.1rem;
    font-weight: 600;
    color: #a777e3;
    background: rgba(167, 119, 227, 0.2);
    padding: 10px 20px;
    border-radius: 16px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(167, 119, 227, 0.3);
}



/* Question Styling */
.question {
    margin-bottom: 24px;
}

.question h2 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
    margin: 0;
    letter-spacing: -0.01em;
}

/* Options Styling */
.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.option {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(35, 36, 58, 0.8);
    border: 2px solid rgba(167, 119, 227, 0.2);
    border-radius: 12px;
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    color: #e2e8f0;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.5s ease;
}

.option:hover::before {
    left: 100%;
}

.option:hover {
    background: rgba(35, 36, 58, 0.9);
    border-color: rgba(167, 119, 227, 0.4);
    transform: translateY(-3px);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.3),
        0 6px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.option-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(167, 119, 227, 0.2);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    color: #a777e3;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border: 2px solid rgba(167, 119, 227, 0.3);
}

.option:hover .option-marker {
    background: rgba(167, 119, 227, 0.3);
    color: #a777e3;
    border-color: rgba(167, 119, 227, 0.5);
}

.option-text {
    flex-grow: 1;
}

.option:disabled{
    transform: none;
}

/* Selected, Correct and Wrong Answer Styling */
.option.selected {
    background: rgba(167, 119, 227, 0.2);
    border-color: rgba(167, 119, 227, 0.6);
    transform: translateY(-3px);
    box-shadow: 
        0 12px 32px rgba(167, 119, 227, 0.3),
        0 6px 16px rgba(0, 0, 0, 0.2);
}

.option.selected .option-marker {
    background: rgba(167, 119, 227, 0.8);
    color: #fff;
    border-color: rgba(167, 119, 227, 0.8);
}

.option.correct {
    background: rgba(46, 213, 115, 0.2);
    border-color: rgba(46, 213, 115, 0.6);
}

.option.correct .option-marker {
    background: rgba(46, 213, 115, 0.8);
    color: #fff;
    border-color: rgba(46, 213, 115, 0.8);
}

.option.wrong {
    background: rgba(255, 82, 82, 0.2);
    border-color: rgba(255, 82, 82, 0.6);
}

.option.wrong .option-marker {
    background: rgba(255, 82, 82, 0.8);
    color: #fff;
    border-color: rgba(255, 82, 82, 0.8);
}

/* Navigation Buttons */
.navigation {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 16px;
    padding: 12px 28px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 160px;
    box-shadow: 
        0 12px 32px rgba(102, 126, 234, 0.3),
        0 6px 16px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover:not(:disabled) {
    transform: translateY(-4px);
    box-shadow: 
        0 16px 40px rgba(102, 126, 234, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.15);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.nav-btn svg {
    width: 22px;
    height: 22px;
}

/* Results Styling */
.results {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.results h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 32px;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 50%, #45b7d1 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 6s ease-in-out infinite;
    letter-spacing: -0.02em;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 36px;
}

.user-name-display {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.category-display {
    font-size: 1.1rem;
    color: #4ecdc4;
    font-weight: 500;
}

.score-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
    position: relative;
    background: rgba(255, 107, 107, 0.1);
    border: 3px solid rgba(255, 107, 107, 0.3);
}

.score-circle.excellent {
    background: rgba(78, 205, 196, 0.15);
    border: 3px solid rgba(78, 205, 196, 0.4);
}

.score-circle.good {
    background: rgba(69, 183, 209, 0.15);
    border: 3px solid rgba(69, 183, 209, 0.4);
}

.score-circle.average {
    background: rgba(255, 193, 7, 0.15);
    border: 3px solid rgba(255, 193, 7, 0.4);
}

.score-circle.poor {
    background: rgba(255, 107, 107, 0.15);
    border: 3px solid rgba(255, 107, 107, 0.4);
}

.percentage {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.score-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-top: 8px;
}

.result-message {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 36px;
    padding: 16px 32px;
    border-radius: 16px;
    letter-spacing: -0.01em;
}

.result-message.excellent {
    color: #4ecdc4;
    background: rgba(78, 205, 196, 0.15);
    border: 2px solid rgba(78, 205, 196, 0.3);
}

.result-message.good {
    color: #45b7d1;
    background: rgba(69, 183, 209, 0.15);
    border: 2px solid rgba(69, 183, 209, 0.3);
}

.result-message.average {
    color: #ffc107;
    background: rgba(255, 193, 7, 0.15);
    border: 2px solid rgba(255, 193, 7, 0.3);
}

.result-message.poor {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.15);
    border: 2px solid rgba(255, 107, 107, 0.3);
}

.result-actions {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(78, 205, 196, 0.1);
    border: 2px solid rgba(78, 205, 196, 0.3);
    border-radius: 16px;
    padding: 16px 24px;
    color: #4ecdc4;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 16px rgba(78, 205, 196, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.action-btn:hover {
    background: linear-gradient(135deg, #4ecdc4 0%, #45b7d1 100%);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 
        0 12px 32px rgba(78, 205, 196, 0.4),
        0 6px 16px rgba(0, 0, 0, 0.2);
}

.action-btn svg {
    width: 22px;
    height: 22px;
}

/* Responsive Styles */
@media (max-width: 600px) {
    .container, .ques-container, .results {
        margin: auto 16px;
        padding: 32px 24px 24px 24px;
    }

    .ques-container {
        padding: 32px 24px 24px 24px;
    }
    
    h1 {
        font-size: 2.2rem;
        margin-bottom: 32px;
    }
    
    .question h2 {
        font-size: 1.2rem;
    }
    
    .option {
        padding: 14px 18px;
        font-size: 1rem;
    }
    
    .option-marker {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .nav-btn {
        padding: 14px 24px;
        font-size: 1rem;
        min-width: 160px;
    }
    
    .score-circle {
        width: 160px;
        height: 160px;
    }
    
    .percentage {
        font-size: 2.8rem;
    }
    
    .score-text {
        font-size: 1.1rem;
    }
    
    .result-message {
        font-size: 1.4rem;
        padding: 12px 24px;
    }
    
    .action-btn {
        padding: 14px 18px;
        font-size: 1rem;
    }
    
    .user-form {
        gap: 24px;
    }
    
    .ques-count-buttons {
        gap: 8px;
    }
    
    .ques-count button {
        width: calc(50% - 4px);
        padding: 12px 0;
        font-size: 1rem;
    }
}

.warning-popup{
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.1),
        0 16px 32px rgba(0, 0, 0, 0.05);
    color: #2d3748;
    border-radius: 20px;
    font-family: 'Inter', 'Segoe UI', 'Roboto', Arial, sans-serif;
    border: 2px solid rgba(102, 126, 234, 0.2);
    text-align: center;
    letter-spacing: -0.01em;
    margin: 0 auto;
    animation: warningPopupFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

@keyframes warningPopupFadeIn {
    from { opacity: 0; transform: scale(0.95) translateY(-20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
