/* English Banks - Premium CSS Styles */
/* Modern Color Scheme with CSS Variables */
:root {
     /* Primary Colors */
     --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     --primary-color: #667eea;
     --primary-dark: #5a67d8;
     --secondary-color: #764ba2;

     /* Accent Colors */
     --accent-blue: #4f46e5;
     --accent-purple: #9333ea;
     --accent-pink: #ec4899;
     --accent-cyan: #06b6d4;
     --accent-green: #10b981;
     --accent-orange: #f59e0b;

     /* Status Colors */
     --success: #10b981;
     --success-light: rgba(16, 185, 129, 0.15);
     --error: #ef4444;
     --error-light: rgba(239, 68, 68, 0.15);
     --warning: #f59e0b;
     --warning-light: rgba(245, 158, 11, 0.15);

     /* Neutral Colors */
     --white: #ffffff;
     --gray-50: #f9fafb;
     --gray-100: #f3f4f6;
     --gray-200: #e5e7eb;
     --gray-300: #d1d5db;
     --gray-400: #9ca3af;
     --gray-500: #6b7280;
     --gray-600: #4b5563;
     --gray-700: #374151;
     --gray-800: #1f2937;
     --gray-900: #111827;

     /* Glass Effect */
     --glass-bg: rgba(255, 255, 255, 0.85);
     --glass-border: rgba(255, 255, 255, 0.3);
     --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

     /* Shadows */
     --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
     --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
     --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
     --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
     --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.4);

     /* Typography */
     --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

     /* Transitions - SPEED OPTIMIZED */
     --transition-fast: 0.08s ease-out;
     --transition-base: 0.12s ease-out;
     --transition-slow: 0.2s ease-out;

     /* Border Radius */
     --radius-sm: 8px;
     --radius-md: 12px;
     --radius-lg: 16px;
     --radius-xl: 24px;
     --radius-full: 9999px;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
}

html {
     scroll-behavior: smooth;
     -webkit-text-size-adjust: 100%;
}

body {
     font-family: var(--font-family);
     background: var(--primary-gradient);
     min-height: 100vh;
     color: var(--gray-800);
     line-height: 1.6;
     overflow-x: hidden;
     -webkit-font-smoothing: antialiased;
     -moz-osx-font-smoothing: grayscale;
}

/* Animated Background */
.animated-bg {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     pointer-events: none;
     z-index: 0;
     overflow: hidden;
}

.floating-shape {
     position: absolute;
     border-radius: 50%;
     opacity: 0.4;
     animation: float 20s infinite ease-in-out;
}

.shape-1 {
     width: 400px;
     height: 400px;
     background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
     top: -100px;
     left: -100px;
     animation-delay: 0s;
}

.shape-2 {
     width: 300px;
     height: 300px;
     background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
     top: 50%;
     right: -50px;
     animation-delay: -5s;
}

.shape-3 {
     width: 350px;
     height: 350px;
     background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
     bottom: -100px;
     left: 30%;
     animation-delay: -10s;
}

.shape-4 {
     width: 250px;
     height: 250px;
     background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
     top: 30%;
     left: 10%;
     animation-delay: -15s;
}

@keyframes float {

     0%,
     100% {
          transform: translate(0, 0) rotate(0deg);
     }

     25% {
          transform: translate(50px, -50px) rotate(90deg);
     }

     50% {
          transform: translate(0, -100px) rotate(180deg);
     }

     75% {
          transform: translate(-50px, -50px) rotate(270deg);
     }
}

/* Container */
.app-container {
     position: relative;
     z-index: 1;
     min-height: 100vh;
     padding: 20px;
}

/* Glass Card Effect */
.glass-card {
     background: var(--glass-bg);
     backdrop-filter: blur(20px);
     -webkit-backdrop-filter: blur(20px);
     border: 1px solid var(--glass-border);
     border-radius: var(--radius-xl);
     box-shadow: var(--glass-shadow);
}

/* Animations */
@keyframes fadeIn {
     from {
          opacity: 0;
     }

     to {
          opacity: 1;
     }
}

@keyframes slideUp {
     from {
          opacity: 0;
          transform: translateY(30px);
     }

     to {
          opacity: 1;
          transform: translateY(0);
     }
}

@keyframes slideIn {
     from {
          opacity: 0;
          transform: translateX(20px);
     }

     to {
          opacity: 1;
          transform: translateX(0);
     }
}

@keyframes pulse {

     0%,
     100% {
          transform: scale(1);
     }

     50% {
          transform: scale(1.05);
     }
}

@keyframes shimmer {
     0% {
          background-position: -200% 0;
     }

     100% {
          background-position: 200% 0;
     }
}

@keyframes spin {
     from {
          transform: rotate(0deg);
     }

     to {
          transform: rotate(360deg);
     }
}

.animate-fade-in {
     animation: fadeIn 0.2s ease-out forwards;
}

.animate-slide-up {
     animation: slideUp 0.2s ease-out forwards;
     opacity: 0;
}

.animate-slide-in {
     animation: slideIn 0.15s ease-out forwards;
}

/* ============================================
   REGISTRATION SECTION
   ============================================ */
.registration-section {
     min-height: 100vh;
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 20px;
}

.registration-card {
     max-width: 450px;
     width: 100%;
     overflow: hidden;
}

.card-header {
     padding: 40px 30px;
     text-align: center;
     background: var(--primary-gradient);
     position: relative;
     overflow: hidden;
}

.card-header::before {
     content: '';
     position: absolute;
     top: -50%;
     left: -50%;
     width: 200%;
     height: 200%;
     background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
     animation: float 15s infinite linear;
}

.logo-icon {
     font-size: 4rem;
     margin-bottom: 15px;
     display: block;
     animation: pulse 2s infinite ease-in-out;
}

.header-title {
     font-size: 2rem;
     font-weight: 800;
     color: var(--white);
     margin-bottom: 8px;
     letter-spacing: -0.5px;
}

.header-subtitle {
     color: rgba(255, 255, 255, 0.9);
     font-size: 1rem;
     font-weight: 500;
     margin-bottom: 5px;
}

.header-desc {
     color: rgba(255, 255, 255, 0.75);
     font-size: 0.9rem;
}

.card-body {
     padding: 35px 30px;
}

/* Form Styles */
.registration-form {
     display: flex;
     flex-direction: column;
     gap: 24px;
}

.form-group {
     display: flex;
     flex-direction: column;
     gap: 8px;
}

.form-label {
     font-weight: 600;
     color: var(--gray-700);
     font-size: 0.95rem;
     display: flex;
     align-items: center;
     gap: 8px;
}

.label-icon {
     font-size: 1.1rem;
}

.form-input {
     padding: 16px 20px;
     border: 2px solid var(--gray-200);
     border-radius: var(--radius-md);
     font-size: 1rem;
     font-family: var(--font-family);
     transition: all var(--transition-base);
     background: var(--white);
}

.form-input:focus {
     outline: none;
     border-color: var(--primary-color);
     box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.form-input::placeholder {
     color: var(--gray-400);
}

/* Buttons */
.btn {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     gap: 10px;
     padding: 16px 28px;
     border: none;
     border-radius: var(--radius-full);
     font-size: 1rem;
     font-weight: 600;
     font-family: var(--font-family);
     cursor: pointer;
     transition: all var(--transition-base);
     text-decoration: none;
     position: relative;
     overflow: hidden;
}

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

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

.btn-primary {
     background: var(--primary-gradient);
     color: var(--white);
     box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
     transform: translateY(-3px);
     box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.btn-primary:active {
     transform: translateY(-1px);
}

.btn-secondary {
     background: var(--white);
     color: var(--gray-700);
     border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
     background: var(--gray-50);
     border-color: var(--gray-300);
     transform: translateY(-2px);
}

.btn-glow {
     animation: pulse 2s infinite ease-in-out;
}

.btn-glow:hover {
     animation: none;
}

.btn-icon {
     font-size: 1.1rem;
     transition: transform var(--transition-base);
}

.btn:hover .btn-icon {
     transform: translateX(3px);
}

.btn-nav {
     background: var(--white);
     color: var(--gray-700);
     border: 2px solid var(--gray-200);
     padding: 12px 20px;
}

.btn-nav:hover {
     background: var(--gray-50);
     border-color: var(--primary-color);
     color: var(--primary-color);
}

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

.btn-finish {
     background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
     color: var(--white);
     box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
     display: none;
}

.btn-finish.visible {
     display: inline-flex;
}

.btn-finish:hover {
     transform: translateY(-3px);
     box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

/* Bank Button */
.btn-bank {
     background: var(--primary-gradient);
     color: var(--white);
     width: 100%;
     margin-top: 20px;
     padding: 14px 24px;
}

.btn-bank:hover {
     transform: translateY(-3px);
     box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.btn-arrow {
     transition: transform var(--transition-base);
}

.btn-bank:hover .btn-arrow {
     transform: translateX(5px);
}

/* Icon Button */
.btn-icon-only {
     width: 44px;
     height: 44px;
     padding: 0;
     border-radius: 50%;
}

/* ============================================
   BANK SELECTION SECTION
   ============================================ */
.bank-selection-section {
     padding: 40px 20px;
     max-width: 1200px;
     margin: 0 auto;
}

.page-header {
     text-align: center;
     margin-bottom: 40px;
}

.welcome-avatar {
     font-size: 4rem;
     margin-bottom: 15px;
     animation: pulse 2s infinite ease-in-out;
}

.welcome-title {
     font-size: 2.5rem;
     font-weight: 800;
     color: var(--white);
     margin-bottom: 10px;
     letter-spacing: -1px;
}

.highlight-text {
     background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
}

.welcome-subtitle {
     color: rgba(255, 255, 255, 0.85);
     font-size: 1.15rem;
     font-weight: 400;
}

/* Progress Overview */
.progress-overview {
     margin-bottom: 40px;
     padding: 25px;
}

.section-title {
     font-size: 1.2rem;
     font-weight: 700;
     color: var(--gray-800);
     margin-bottom: 20px;
     display: flex;
     align-items: center;
     gap: 10px;
}

.progress-stats {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 20px;
}

.progress-stat {
     text-align: center;
     padding: 20px;
     background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
     border-radius: var(--radius-lg);
     transition: all var(--transition-base);
}

.progress-stat:hover {
     transform: translateY(-3px);
     box-shadow: var(--shadow-md);
}

.progress-stat .stat-value {
     display: block;
     font-size: 2rem;
     font-weight: 800;
     color: var(--primary-color);
     margin-bottom: 5px;
}

.progress-stat .stat-label {
     font-size: 0.9rem;
     color: var(--gray-600);
     font-weight: 500;
}

/* Banks Grid */
.banks-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 25px;
     margin-bottom: 40px;
}

.bank-card {
     position: relative;
     padding: 0;
     cursor: pointer;
     transition: all var(--transition-base);
     overflow: hidden;
}

.bank-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.bank-card-glow {
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     height: 5px;
     opacity: 0.8;
}

.bank-1-glow {
     background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
}

.bank-2-glow {
     background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
}

.bank-3-glow {
     background: linear-gradient(90deg, var(--accent-orange), var(--accent-pink));
}

.bank-card .bank-header {
     padding: 25px 25px 15px;
     display: flex;
     align-items: center;
     gap: 15px;
}

.bank-icon {
     font-size: 2.5rem;
}

.bank-number {
     font-size: 0.85rem;
     font-weight: 600;
     color: var(--gray-500);
     text-transform: uppercase;
     letter-spacing: 1px;
}

.bank-title {
     font-size: 1.5rem;
     font-weight: 700;
     color: var(--gray-800);
     padding: 0 25px;
     margin-bottom: 15px;
}

.bank-info {
     display: flex;
     gap: 15px;
     padding: 0 25px;
     margin-bottom: 15px;
     flex-wrap: wrap;
}

.info-item {
     display: flex;
     align-items: center;
     gap: 6px;
     font-size: 0.9rem;
     color: var(--gray-600);
     background: var(--gray-100);
     padding: 8px 14px;
     border-radius: var(--radius-full);
}

.info-icon {
     font-size: 1rem;
}

.bank-topics {
     display: flex;
     gap: 8px;
     flex-wrap: wrap;
     padding: 0 25px;
}

.topic-tag {
     font-size: 0.8rem;
     font-weight: 500;
     color: var(--primary-color);
     background: rgba(102, 126, 234, 0.1);
     padding: 6px 12px;
     border-radius: var(--radius-full);
}

.bank-card .btn-bank {
     margin: 25px;
     margin-top: 20px;
}

/* Footer */
.app-footer {
     text-align: center;
     padding: 30px 20px;
     color: rgba(255, 255, 255, 0.7);
     font-size: 0.9rem;
}

/* ============================================
   QUESTION PAGE
   ============================================ */
.question-page {
     padding: 20px;
}

.question-container {
     max-width: 900px;
     margin: 0 auto;
     overflow: hidden;
}

.question-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 20px 25px;
     background: var(--primary-gradient);
     flex-wrap: wrap;
     gap: 15px;
}

.header-left {
     display: flex;
     align-items: center;
     gap: 15px;
}

.btn-home {
     background: rgba(255, 255, 255, 0.2);
     color: var(--white);
     border: none;
     width: 44px;
     height: 44px;
     padding: 0;
     border-radius: 50%;
     font-size: 1.2rem;
}

.btn-home:hover {
     background: rgba(255, 255, 255, 0.3);
}

.user-info {
     display: flex;
     flex-direction: column;
}

.user-name {
     font-size: 1.1rem;
     font-weight: 600;
     color: var(--white);
}

.bank-indicator {
     font-size: 0.85rem;
     color: rgba(255, 255, 255, 0.8);
}

.progress-section {
     display: flex;
     align-items: center;
     gap: 20px;
     flex: 1;
     justify-content: flex-end;
}

.progress-ring-container {
     position: relative;
     display: flex;
     align-items: center;
     justify-content: center;
}

.progress-ring {
     transform: rotate(-90deg);
}

.progress-ring-bg {
     stroke: rgba(255, 255, 255, 0.2);
}

.progress-ring-fill {
     stroke: var(--white);
     stroke-linecap: round;
     stroke-dasharray: 125.6;
     stroke-dashoffset: 125.6;
     transition: stroke-dashoffset var(--transition-base);
}

.progress-text {
     position: absolute;
     font-size: 0.7rem;
     font-weight: 700;
     color: var(--white);
}

.progress-bar-container {
     display: none;
}

.question-content {
     padding: 30px;
     min-height: 300px;
}

.loading-spinner {
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     padding: 60px;
     color: var(--gray-500);
}

.spinner {
     width: 40px;
     height: 40px;
     border: 3px solid var(--gray-200);
     border-top-color: var(--primary-color);
     border-radius: 50%;
     animation: spin 1s linear infinite;
     margin-bottom: 15px;
}

/* Question Card */
.question-card {
     animation: slideIn 0.15s ease-out;
}

.question-meta {
     display: flex;
     align-items: center;
     gap: 12px;
     margin-bottom: 20px;
     flex-wrap: wrap;
}

.question-number-badge {
     background: var(--primary-gradient);
     color: var(--white);
     padding: 8px 18px;
     border-radius: var(--radius-full);
     font-weight: 600;
     font-size: 0.9rem;
}

.question-topic-badge {
     background: var(--gray-100);
     color: var(--gray-600);
     padding: 8px 14px;
     border-radius: var(--radius-full);
     font-size: 0.85rem;
     font-weight: 500;
}

.question-text {
     font-size: 1.25rem;
     line-height: 1.8;
     color: var(--gray-800);
     margin-bottom: 25px;
     padding: 20px;
     background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
     border-radius: var(--radius-lg);
     border-left: 4px solid var(--primary-color);
}

.situation-label {
     display: inline-block;
     font-weight: 700;
     color: var(--primary-color);
     margin-right: 8px;
}

/* Options */
.options-container {
     display: grid;
     gap: 12px;
}

.option-btn {
     display: flex;
     align-items: center;
     background: var(--white);
     border: 2px solid var(--gray-200);
     padding: 18px 20px;
     border-radius: var(--radius-md);
     text-align: left;
     cursor: pointer;
     transition: all var(--transition-base);
     font-size: 1.05rem;
     font-family: var(--font-family);
     position: relative;
     overflow: hidden;
}

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

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

.option-btn:hover {
     border-color: var(--primary-color);
     background: rgba(102, 126, 234, 0.03);
     transform: translateX(5px);
}

.option-btn.selected {
     border-color: var(--primary-color);
     background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.option-btn.correct {
     border-color: var(--success);
     background: var(--success-light);
}

.option-btn.correct .option-letter {
     background: var(--success);
}

.option-btn.incorrect {
     border-color: var(--error);
     background: var(--error-light);
}

.option-btn.incorrect .option-letter {
     background: var(--error);
}

.option-letter {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 36px;
     height: 36px;
     background: var(--primary-gradient);
     color: var(--white);
     border-radius: 50%;
     margin-right: 15px;
     font-weight: 600;
     flex-shrink: 0;
     transition: all var(--transition-base);
}

/* Answer Feedback */
.answer-feedback {
     margin: 0 30px 20px;
     padding: 20px;
     animation: slideUp 0.15s ease-out;
}

.answer-feedback.correct {
     background: var(--success-light);
     border: 1px solid rgba(16, 185, 129, 0.3);
}

.answer-feedback.incorrect {
     background: var(--error-light);
     border: 1px solid rgba(239, 68, 68, 0.3);
}

.feedback-header {
     display: flex;
     align-items: center;
     gap: 12px;
     margin-bottom: 15px;
}

.feedback-icon {
     width: 40px;
     height: 40px;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 50%;
     font-size: 1.2rem;
     font-weight: 700;
}

.answer-feedback.correct .feedback-icon {
     background: var(--success);
     color: var(--white);
}

.answer-feedback.incorrect .feedback-icon {
     background: var(--error);
     color: var(--white);
}

.feedback-title {
     font-size: 1.2rem;
     font-weight: 700;
}

.answer-feedback.correct .feedback-title {
     color: var(--success);
}

.answer-feedback.incorrect .feedback-title {
     color: var(--error);
}

.feedback-body {
     display: flex;
     flex-direction: column;
     gap: 12px;
}

.feedback-row {
     display: flex;
     gap: 10px;
     font-size: 0.95rem;
}

.feedback-label {
     color: var(--gray-500);
     min-width: 110px;
}

.feedback-value {
     font-weight: 500;
     color: var(--gray-700);
}

.feedback-value.correct {
     color: var(--success);
}

.explanation-box {
     display: flex;
     gap: 12px;
     padding: 15px;
     background: var(--white);
     border-radius: var(--radius-md);
     margin-top: 10px;
}

.explanation-icon {
     font-size: 1.5rem;
     flex-shrink: 0;
}

.explanation-content {
     font-size: 0.95rem;
     line-height: 1.6;
}

.explanation-content strong {
     color: var(--primary-color);
     display: block;
     margin-bottom: 5px;
}

.explanation-content p {
     color: var(--gray-600);
     margin: 0;
}

/* Question Footer */
.question-footer {
     background: var(--gray-50);
     padding: 20px 25px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-wrap: wrap;
     gap: 15px;
}

.nav-buttons {
     display: flex;
     gap: 10px;
}

/* ============================================
   RESULTS PAGE
   ============================================ */
.results-page {
     padding: 20px;
}

.results-container {
     max-width: 900px;
     margin: 0 auto;
     overflow: hidden;
}

.results-header {
     background: var(--primary-gradient);
     padding: 40px 30px;
     text-align: center;
     color: var(--white);
}

.results-icon {
     font-size: 4rem;
     margin-bottom: 15px;
     animation: pulse 2s infinite ease-in-out;
}

.results-header h1 {
     font-size: 2.2rem;
     font-weight: 800;
     margin-bottom: 10px;
}

.user-greeting {
     font-size: 1.1rem;
     opacity: 0.9;
}

.results-main {
     padding: 40px 30px;
}

/* Score Display */
.score-display {
     text-align: center;
     margin-bottom: 40px;
}

.score-circle {
     position: relative;
     width: 180px;
     height: 180px;
     margin: 0 auto 25px;
}

.score-ring {
     transform: rotate(-90deg);
}

.score-ring-bg {
     stroke: var(--gray-200);
}

.score-ring-fill {
     stroke: url(#scoreGradient);
     stroke-linecap: round;
     stroke-dasharray: 490;
     stroke-dashoffset: 490;
     transition: stroke-dashoffset 1.5s ease;
}

.score-inner {
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     display: flex;
     align-items: baseline;
}

.score-number {
     font-size: 3.5rem;
     font-weight: 800;
     background: var(--primary-gradient);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
}

.score-percent {
     font-size: 1.5rem;
     font-weight: 600;
     color: var(--gray-400);
}

.score-message h2 {
     font-size: 1.5rem;
     color: var(--gray-800);
     margin-bottom: 8px;
}

.score-message p {
     color: var(--gray-500);
     font-size: 1rem;
}

/* Stats Grid */
.stats-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
     gap: 15px;
     margin-bottom: 30px;
}

.stat-card {
     padding: 25px 20px;
     border-radius: var(--radius-lg);
     text-align: center;
     transition: all var(--transition-base);
}

.stat-card:hover {
     transform: translateY(-5px);
}

.correct-card {
     background: var(--success-light);
}

.incorrect-card {
     background: var(--error-light);
}

.skipped-card {
     background: var(--warning-light);
}

.time-card {
     background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.stat-card .stat-icon {
     font-size: 2rem;
     display: block;
     margin-bottom: 10px;
}

.stat-card .stat-value {
     font-size: 2rem;
     font-weight: 800;
     color: var(--gray-800);
     display: block;
     margin-bottom: 5px;
}

.stat-card .stat-label {
     font-size: 0.85rem;
     color: var(--gray-500);
     font-weight: 500;
}

/* Bank Scores */
.bank-scores {
     padding: 25px;
     margin-bottom: 30px;
}

.bank-scores-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 15px;
}

.bank-score-item {
     display: flex;
     flex-direction: column;
     align-items: center;
     text-align: center;
     padding: 20px;
     background: var(--gray-50);
     border-radius: var(--radius-lg);
     transition: all var(--transition-base);
}

.bank-score-item:hover {
     transform: translateY(-3px);
     box-shadow: var(--shadow-md);
}

.bank-score-icon {
     font-size: 2rem;
     margin-bottom: 10px;
}

.bank-name {
     font-size: 0.9rem;
     color: var(--gray-500);
     margin-bottom: 8px;
}

.bank-score {
     font-size: 1.5rem;
     font-weight: 700;
     color: var(--primary-color);
}

/* Answers Review */
.answers-review {
     margin-bottom: 30px;
}

.answers-container {
     max-height: 500px;
     overflow-y: auto;
     padding-right: 10px;
}

.answers-container::-webkit-scrollbar {
     width: 6px;
}

.answers-container::-webkit-scrollbar-track {
     background: var(--gray-100);
     border-radius: 3px;
}

.answers-container::-webkit-scrollbar-thumb {
     background: var(--gray-300);
     border-radius: 3px;
}

.answer-item {
     background: var(--white);
     border: 2px solid var(--gray-200);
     padding: 20px;
     border-radius: var(--radius-md);
     margin-bottom: 12px;
     transition: all var(--transition-base);
}

.answer-item:hover {
     box-shadow: var(--shadow-md);
}

.answer-item.correct {
     border-color: var(--success);
     background: var(--success-light);
}

.answer-item.incorrect {
     border-color: var(--error);
     background: var(--error-light);
}

.answer-item.skipped {
     border-color: var(--warning);
     background: var(--warning-light);
}

.answer-header {
     display: flex;
     justify-content: space-between;
     align-items: flex-start;
     margin-bottom: 12px;
     gap: 15px;
}

.answer-question {
     font-weight: 500;
     color: var(--gray-700);
     line-height: 1.5;
     flex: 1;
}

.answer-question strong {
     color: var(--primary-color);
}

.answer-status {
     display: inline-flex;
     align-items: center;
     gap: 5px;
     padding: 5px 12px;
     border-radius: var(--radius-full);
     font-size: 0.8rem;
     font-weight: 600;
     flex-shrink: 0;
}

.answer-status.correct {
     background: var(--success);
     color: var(--white);
}

.answer-status.incorrect {
     background: var(--error);
     color: var(--white);
}

.answer-status.skipped {
     background: var(--warning);
     color: var(--white);
}

.answer-details {
     font-size: 0.9rem;
     color: var(--gray-600);
     line-height: 1.6;
}

.answer-details>div {
     margin-bottom: 5px;
}

.answer-details .explanation {
     margin-top: 10px;
     padding: 12px;
     background: rgba(102, 126, 234, 0.05);
     border-radius: var(--radius-sm);
     border-left: 3px solid var(--primary-color);
}

.answer-details .explanation strong {
     color: var(--primary-color);
}

/* Actions */
.actions {
     display: flex;
     gap: 15px;
     justify-content: center;
     flex-wrap: wrap;
     margin-bottom: 30px;
}

.results-footer {
     text-align: center;
     padding: 20px;
     border-top: 1px solid var(--gray-200);
     color: var(--gray-500);
     font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
     .app-container {
          padding: 15px;
     }

     .welcome-title {
          font-size: 1.8rem;
     }

     .banks-grid {
          grid-template-columns: 1fr;
     }

     .progress-stats {
          grid-template-columns: 1fr;
          gap: 10px;
     }

     .progress-stat {
          padding: 15px;
     }

     .progress-stat .stat-value {
          font-size: 1.5rem;
     }

     .question-header {
          flex-direction: column;
          align-items: stretch;
     }

     .header-left {
          justify-content: space-between;
     }

     .progress-section {
          justify-content: center;
     }

     .progress-bar-container {
          display: block;
          flex: 1;
     }

     .progress-bar {
          height: 8px;
          background: rgba(255, 255, 255, 0.2);
          border-radius: var(--radius-full);
          overflow: hidden;
     }

     .progress-fill {
          height: 100%;
          background: var(--white);
          border-radius: var(--radius-full);
          transition: width var(--transition-base);
     }

     .progress-label {
          color: rgba(255, 255, 255, 0.8);
          font-size: 0.85rem;
          margin-top: 5px;
          display: block;
          text-align: center;
     }

     .question-content {
          padding: 20px;
     }

     .question-text {
          font-size: 1.1rem;
          padding: 15px;
     }

     .option-btn {
          padding: 15px;
          font-size: 1rem;
     }

     .option-letter {
          width: 32px;
          height: 32px;
          margin-right: 12px;
     }

     .answer-feedback {
          margin: 0 15px 15px;
          padding: 15px;
     }

     .question-footer {
          flex-direction: column;
     }

     .nav-buttons {
          width: 100%;
          flex-direction: column;
     }

     .btn-nav,
     .btn-finish {
          width: 100%;
     }

     .stats-grid {
          grid-template-columns: repeat(2, 1fr);
     }

     .bank-scores-grid {
          grid-template-columns: 1fr;
     }

     .score-circle {
          width: 150px;
          height: 150px;
     }

     .score-ring {
          width: 150px;
          height: 150px;
     }

     .score-ring circle {
          r: 65;
          cx: 75;
          cy: 75;
     }

     .score-number {
          font-size: 2.5rem;
     }

     .actions {
          flex-direction: column;
     }

     .actions .btn {
          width: 100%;
     }
}

@media (max-width: 480px) {
     .header-title {
          font-size: 1.5rem;
     }

     .logo-icon {
          font-size: 3rem;
     }

     .card-header {
          padding: 30px 20px;
     }

     .card-body {
          padding: 25px 20px;
     }

     .bank-title {
          font-size: 1.3rem;
     }

     .progress-ring-container {
          display: none;
     }

     .progress-bar-container {
          display: block;
     }

     .results-header {
          padding: 30px 20px;
     }

     .results-main {
          padding: 25px 20px;
     }

     .results-header h1 {
          font-size: 1.8rem;
     }
}

@media (min-width: 1200px) {
     .banks-grid {
          grid-template-columns: repeat(3, 1fr);
     }

     .stats-grid {
          grid-template-columns: repeat(4, 1fr);
     }
}

/* Print Styles */
@media print {

     .animated-bg,
     .btn,
     .actions {
          display: none !important;
     }

     body {
          background: var(--white);
     }

     .glass-card {
          background: var(--white);
          box-shadow: none;
          border: 1px solid var(--gray-300);
     }
}