/* llm-quiz.component.css - Updated to match intro-page color theme */ :host { display: block; min-height: 100vh; background: radial-gradient(ellipse at 20% 20%, rgba(212, 167, 85, 0.15) 0%, transparent 40%), radial-gradient(ellipse at 80% 80%, rgba(58, 184, 169, 0.1) 0%, transparent 40%), radial-gradient(ellipse at 40% 40%, rgba(13, 27, 42, 0.2) 0%, transparent 50%), linear-gradient(135deg, #0D1B2A 0%, #1B2635 100%); position: relative; overflow-x: hidden; font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; } /* Neural Network Background - Updated Colors */ .neural-network-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 0.15; } .neural-path { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, #3AB8A9, transparent); animation: pathFlow 8s linear infinite; } .neural-path:nth-child(1) { top: 20%; width: 80%; animation-delay: 0s; } .neural-path:nth-child(2) { top: 50%; width: 60%; animation-delay: -2s; } .neural-path:nth-child(3) { top: 80%; width: 70%; animation-delay: -4s; } .neural-node { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #3AB8A9; box-shadow: 0 0 12px 3px rgba(58, 184, 169, 0.6); animation: nodePulse 3s ease-in-out infinite; } @keyframes pathFlow { 0% { opacity: 0; transform: translateX(-100%); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateX(100%); } } @keyframes nodePulse { 0%, 100% { transform: scale(1); opacity: 0.7; } 50% { transform: scale(1.5); opacity: 1; } } /* Main Container */ .quiz-container { position: relative; z-index: 1; display: flex; padding: 5vw 0 0 0; height: 100vh; overflow-y: hidden !important; justify-content: center; align-items: center; } /* Welcome Section */ .welcome-section { width: 46%; position: relative; } .welcome-card { background: rgba(255, 255, 255, 0.95); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: 24px; padding: 0 3vw; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.3); position: relative; overflow: hidden; } .welcome-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #3AB8A9, #D4A755, #3AB8A9); background-size: 200% 100%; animation: shimmer 3s ease-in-out infinite; } .welcome-header { text-align: center; margin-bottom: 3rem; } .brain-icon { width: 100px; height: 100px; margin: 0 auto 1.5rem; background: linear-gradient(135deg, #3AB8A9, #5EC8BA); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: #111; box-shadow: 0 15px 35px rgba(58, 184, 169, 0.4), 0 0 0 4px rgba(58, 184, 169, 0.1); animation: float 6s ease-in-out infinite; } @keyframes float { 0%, 100% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-10px) rotate(5deg); } } .welcome-title { font-size: 2.5rem; font-weight: 700; background: linear-gradient(135deg, #1B2635, #0D1B2A); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 0.5rem; } .welcome-subtitle { font-size: 1.2rem; color: #64748b; font-weight: 500; } /* Feature Highlights */ .feature-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; } .feature-card { background: rgba(248, 250, 252, 0.8); padding: 0.5vw; border-radius: 16px; text-align: center; border: 1px solid rgba(226, 232, 240, 0.8); transition: all 0.3s ease; position: relative; overflow: hidden; } .feature-card::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(58, 184, 169, 0.05), transparent); transition: left 0.5s ease; } .feature-card:hover::before { left: 100%; } .feature-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); border-color: rgba(58, 184, 169, 0.3); } .feature-icon { width: 60px; height: 60px; margin: 0 auto 1rem; background: linear-gradient(135deg, #3AB8A9, #5EC8BA); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #111; } .feature-card h3 { font-size: 1.1rem; font-weight: 600; color: #1B2635; margin-bottom: 0.5rem; } .feature-card p { color: #64748b; font-size: 0.9rem; line-height: 1.5; margin: 0; } /* Assessment Info */ .assessment-info { display: flex; gap: 1rem; justify-content: center; margin-bottom: 3rem; flex-wrap: wrap; } .info-badge { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; background: rgba(248, 250, 252, 0.8); border: 1px solid rgba(226, 232, 240, 0.8); border-radius: 12px; font-size: 0.9rem; color: #475569; } .info-badge i { color: #3AB8A9; } .info-badge strong { color: #1B2635; } /* Start Button */ .start-section { text-align: center; margin-bottom: 1vw; } .start-btn { position: relative; background: linear-gradient(135deg, #3AB8A9, #5EC8BA); color: #111; border: none; padding: 1.25rem 3rem; font-size: 1.1rem; font-weight: 600; border-radius: 16px; cursor: pointer; transition: all 0.3s ease; overflow: hidden; box-shadow: 0 10px 30px rgba(58, 184, 169, 0.4), 0 5px 15px rgba(58, 184, 169, 0.3); } .start-btn:hover { transform: translateY(-2px); box-shadow: 0 15px 40px rgba(58, 184, 169, 0.5), 0 8px 20px rgba(58, 184, 169, 0.4); border: 2px solid #D4A755; } .start-btn:active { transform: translateY(0); } .btn-glow { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); transition: left 0.5s ease; } .start-btn:hover .btn-glow { left: 100%; } .btn-content { position: relative; z-index: 1; display: flex; align-items: center; gap: 0.5rem; } .start-hint { margin-top: 1rem; color: #64748b; font-size: 0.9rem; } /* Question Section */ .question-section { width: 100%; max-width: 800px; } .question-card { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); border-radius: 24px; padding: 2.5rem; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.1); border: 1px solid rgba(255, 255, 255, 0.3); position: relative; overflow: hidden; } .question-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #3AB8A9, #D4A755, #3AB8A9); background-size: 200% 100%; animation: shimmer 3s ease-in-out infinite; } .question-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; } .progress-indicator { flex: 1; min-width: 200px; } .progress-track { width: 100%; height: 8px; background: rgba(226, 232, 240, 0.8); border-radius: 4px; overflow: hidden; margin-bottom: 0.5rem; } .progress-fill { height: 100%; background: linear-gradient(90deg, #3AB8A9, #5EC8BA); border-radius: 4px; transition: width 0.5s ease; } .progress-text { font-size: 0.9rem; color: #64748b; font-weight: 500; } .role-badge { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: rgba(58, 184, 169, 0.1); color: #3AB8A9; border: 1px solid rgba(58, 184, 169, 0.2); border-radius: 12px; font-size: 0.9rem; font-weight: 500; } .question-content { text-align: center; } .question-text { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.5rem; justify-content: center; flex-wrap: wrap; } .question-text i { font-size: 2rem; color: #3AB8A9; animation: brainPulse 2s ease-in-out infinite; } @keyframes brainPulse { 0%, 100% { transform: scale(1) rotate(0deg); } 25% { transform: scale(1.1) rotate(5deg); } 75% { transform: scale(1.1) rotate(-5deg); } } .question-text h2 { font-size: 1.5rem; font-weight: 600; color: #1B2635; line-height: 1.4; margin: 0; } /* Options Grid */ .options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; } .option-card { position: relative; cursor: pointer; } .option-card input { position: absolute; opacity: 0; } .option-content { background: rgba(248, 250, 252, 0.8); border: 2px solid rgba(226, 232, 240, 0.8); border-radius: 16px; padding: 1.5rem; display: flex; align-items: center; gap: 1rem; transition: all 0.3s ease; position: relative; overflow: hidden; } .option-content::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(58, 184, 169, 0.05), transparent); transition: left 0.5s ease; } .option-card:hover .option-content::before { left: 100%; } .option-card:hover .option-content { transform: translateY(-2px); border-color: rgba(58, 184, 169, 0.3); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); } .option-card input:checked + .option-content { border-color: #3AB8A9; background: rgba(58, 184, 169, 0.05); box-shadow: 0 8px 20px rgba(58, 184, 169, 0.15); } .color-indicator { width: 24px; height: 24px; border-radius: 8px; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); } .color-indicator.blue { background: #3b82f6; } .color-indicator.green { background: #00ff88; } .color-indicator.red { background: #ef4444; } .color-indicator.yellow { background: #D4A755; } .option-text { flex: 1; text-align: left; } .option-label { font-weight: 500; color: #1B2635; line-height: 1.4; } .option-check { width: 20px; height: 20px; border: 2px solid #cbd5e1; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.3s ease; } .option-check i { font-size: 0.7rem; color: white; opacity: 0; transition: opacity 0.3s ease; } .option-card input:checked + .option-content .option-check { background: #3AB8A9; border-color: #3AB8A9; } .option-card input:checked + .option-content .option-check i { opacity: 1; } /* Submit Button */ .submit-section { text-align: center; } .submit-btn { position: relative; background: linear-gradient(135deg, #3AB8A9, #5EC8BA); color: #111; border: none; padding: 1rem 2.5rem; font-size: 1rem; font-weight: 600; border-radius: 12px; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.5rem; box-shadow: 0 8px 25px rgba(58, 184, 169, 0.4), 0 4px 12px rgba(58, 184, 169, 0.3); } .submit-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(58, 184, 169, 0.5), 0 6px 18px rgba(58, 184, 169, 0.4); border: 2px solid #D4A755; } .submit-btn:disabled { background: #cbd5e1; cursor: not-allowed; box-shadow: none; transform: none; } .btn-pulse { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 20px; height: 20px; border-radius: 50%; background: rgba(58, 184, 169, 0.6); animation: pulse 2s infinite; } @keyframes pulse { 0% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(3); opacity: 0; } } /* Results Section */ .results-section { width: 100%; max-width: 900px; } .results-card { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); border-radius: 24px; padding: 3rem; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.1); border: 1px solid rgba(255, 255, 255, 0.3); position: relative; overflow: hidden; } .results-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #3AB8A9, #D4A755, #3AB8A9); background-size: 200% 100%; animation: shimmer 3s ease-in-out infinite; } .results-header { text-align: center; margin-bottom: 3rem; } .completion-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.5rem; background: rgba(58, 184, 169, 0.1); color: #3AB8A9; border: 1px solid rgba(58, 184, 169, 0.2); border-radius: 20px; font-size: 0.9rem; font-weight: 500; margin-bottom: 1rem; } .results-title { font-size: 2.5rem; font-weight: 700; background: linear-gradient(135deg, #1B2635, #0D1B2A); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 0.5rem; } .results-subtitle { font-size: 1.1rem; color: #64748b; font-weight: 500; } /* Dominant Traits */ .dominant-traits { margin-bottom: 3rem; } .dominant-card { background: rgba(248, 250, 252, 0.8); border-radius: 20px; padding: 2.5rem; display: flex; align-items: center; gap: 2rem; border: 1px solid rgba(226, 232, 240, 0.8); position: relative; overflow: hidden; } .dominant-card::before { content: ''; position: absolute; top: 0; left: 0; width: 8px; height: 100%; } .dominant-card.blue::before { background: #3b82f6; } .dominant-card.green::before { background: #00ff88; } .dominant-card.red::before { background: #ef4444; } .dominant-card.yellow::before { background: #D4A755; } .trait-icon { width: 80px; height: 80px; background: linear-gradient(135deg, currentColor, rgba(255, 255, 255, 0.8)); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #111; flex-shrink: 0; } .dominant-card.blue .trait-icon { background: linear-gradient(135deg, #3b82f6, #60a5fa); } .dominant-card.green .trait-icon { background: linear-gradient(135deg, #00ff88, #34d399); } .dominant-card.red .trait-icon { background: linear-gradient(135deg, #ef4444, #f87171); } .dominant-card.yellow .trait-icon { background: linear-gradient(135deg, #D4A755, #E3B96C); } .trait-info h3 { font-size: 0.9rem; color: #64748b; font-weight: 500; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.5px; } .trait-info h2 { font-size: 1.8rem; font-weight: 700; color: #1B2635; margin-bottom: 1rem; } .dominant-card.blue .trait-info h2 { color: #3b82f6; } .dominant-card.green .trait-info h2 { color: #00ff88; } .dominant-card.red .trait-info h2 { color: #ef4444; } .dominant-card.yellow .trait-info h2 { color: #D4A755; } .trait-info p { color: #64748b; line-height: 1.6; margin: 0; } /* Traits Breakdown */ .traits-breakdown { margin-bottom: 3rem; } .breakdown-title { font-size: 1.3rem; font-weight: 600; color: #1B2635; margin-bottom: 2rem; text-align: center; } .traits-grid { display: grid; gap: 1.5rem; } .trait-item { background: rgba(248, 250, 252, 0.8); border-radius: 16px; padding: 1.5rem; border: 1px solid rgba(226, 232, 240, 0.8); } .trait-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; } .trait-color { width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0; } .trait-color.blue { background: #3b82f6; } .trait-color.green { background: #00ff88; } .trait-color.red { background: #ef4444; } .trait-color.yellow { background: #D4A755; } .trait-name { flex: 1; font-weight: 600; color: #1B2635; } .trait-value { font-weight: 700; color: #1B2635; } .trait-bar { width: 100%; height: 12px; background: rgba(226, 232, 240, 0.8); border-radius: 6px; overflow: hidden; } .trait-fill { height: 100%; border-radius: 6px; transition: width 1s ease-in-out; } .trait-fill.blue { background: linear-gradient(90deg, #3b82f6, #60a5fa); } .trait-fill.green { background: linear-gradient(90deg, #00ff88, #34d399); } .trait-fill.red { background: linear-gradient(90deg, #ef4444, #f87171); } .trait-fill.yellow { background: linear-gradient(90deg, #D4A755, #E3B96C); } /* Results Actions */ .results-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; } .action-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 2rem; font-size: 1rem; font-weight: 600; border-radius: 12px; cursor: pointer; transition: all 0.3s ease; border: none; text-decoration: none; } .action-btn.primary { background: linear-gradient(135deg, #3AB8A9, #5EC8BA); color: #111; box-shadow: 0 8px 25px rgba(58, 184, 169, 0.4), 0 4px 12px rgba(58, 184, 169, 0.3); } .action-btn.secondary { background: rgba(248, 250, 252, 0.8); color: #475569; border: 1px solid rgba(226, 232, 240, 0.8); } .action-btn:hover { transform: translateY(-2px); } .action-btn.primary:hover { box-shadow: 0 12px 35px rgba(58, 184, 169, 0.5), 0 6px 18px rgba(58, 184, 169, 0.4); border: 2px solid #D4A755; } .action-btn.secondary:hover { background: rgba(248, 250, 252, 1); border-color: rgba(148, 163, 184, 0.5); } /* Popup Styles */ .popup-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 2vh; background: rgba(13, 27, 42, 0.8); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 2rem; } .popup-container { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); border-radius: 24px; padding: 3rem; /* max-width: 500px;*/ width: 50%; box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25), 0 8px 24px rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.3); text-align: center; position: relative; overflow: hidden; top: 24vw; } .popup-container::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #3AB8A9, #D4A755, #3AB8A9); background-size: 200% 100%; animation: shimmer 3s ease-in-out infinite; } .popup-header { margin-bottom: 2rem; display: flex; justify-content: center; align-items: center; } .popup-icon { width: 13%; /* background: #3AB8A9;*/ border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #111; /* box-shadow: 0 15px 35px rgba(58, 184, 169, 0.4), 0 0 0 4px rgba(58, 184, 169, 0.1); border: 11px solid #3AB8A9;*/ } .popup-content { margin-bottom: 2.5rem; } .popup-content p { color: #64748b; line-height: 1.6; margin-bottom: 1rem; } .popup-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; } .popup-actions .btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; font-size: 0.9rem; font-weight: 600; border-radius: 12px; cursor: pointer; transition: all 0.3s ease; border: none; text-decoration: none; } .btn-primary { background: linear-gradient(135deg, #3AB8A9, #5EC8BA); color: #111; box-shadow: 0 8px 25px rgba(58, 184, 169, 0.4), 0 4px 12px rgba(58, 184, 169, 0.3); } .btn-secondary { background: rgba(248, 250, 252, 0.8); color: #475569; border: 1px solid rgba(226, 232, 240, 0.8); } .btn:hover { transform: translateY(-2px); } .btn-primary:hover { box-shadow: 0 12px 35px rgba(58, 184, 169, 0.5), 0 6px 18px rgba(58, 184, 169, 0.4); border: 2px solid #D4A755; } .btn-secondary:hover { background: rgba(248, 250, 252, 1); border-color: rgba(148, 163, 184, 0.5); } /* Loader */ .loader-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(13, 27, 42, 0.9); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; z-index: 2000; } .loader-container { text-align: center; } .neural-loader { display: flex; gap: 1rem; margin-bottom: 2rem; justify-content: center; } .neural-dot { width: 16px; height: 16px; border-radius: 50%; background: #3AB8A9; animation: neuralLoader 1.4s ease-in-out infinite both; } .neural-dot:nth-child(1) { animation-delay: -0.32s; } .neural-dot:nth-child(2) { animation-delay: -0.16s; } .neural-dot:nth-child(3) { animation-delay: 0s; } .neural-dot:nth-child(4) { animation-delay: 0.16s; } @keyframes neuralLoader { 0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; } 40% { transform: scale(1.2); opacity: 1; } } .loader-text { color: white; font-size: 1.1rem; font-weight: 500; letter-spacing: 0.5px; } /* Status Check */ .status-check { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(13, 27, 42, 0.9); display: flex; align-items: center; justify-content: center; z-index: 1000; } .status-content { text-align: center; color: white; } .status-spinner { margin-bottom: 1.5rem; } .spinner-ring { width: 60px; height: 60px; border: 4px solid rgba(58, 184, 169, 0.3); border-top: 4px solid #3AB8A9; border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .status-content p { font-size: 1.1rem; font-weight: 500; } /* Shimmer Animation */ @keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } } /* Enhanced Completion Popup Styles */ .completion-popup { position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.95) 100%); border: 1px solid rgba(255, 255, 255, 0.4); box-shadow: 0 32px 64px rgba(13, 27, 42, 0.25), 0 16px 32px rgba(58, 184, 169, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6); top: 26vw; } /* Confetti Animation */ .confetti-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; } .confetti { position: absolute; width: 12px; height: 12px; background: #3AB8A9; opacity: 0; animation: confettiFall 3s ease-in forwards; } .confetti:nth-child(2n) { background: #D4A755; width: 10px; height: 10px; } .confetti:nth-child(3n) { background: #3b82f6; width: 8px; height: 8px; } .confetti:nth-child(4n) { background: #8b5cf6; width: 14px; height: 14px; } @keyframes confettiFall { 0% { opacity: 0; transform: translateY(-100px) rotate(0deg); } 10% { opacity: 1; } 100% { opacity: 0; transform: translateY(500px) rotate(360deg); } } /* Popup Header */ .completion-icon { position: relative; width: 100px; height: 100px; margin: 0 auto 1.5rem; } .icon-circle { width: 100%; height: 100%; background: linear-gradient(135deg, #3AB8A9, #5EC8BA); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: #111; box-shadow: 0 15px 35px rgba(58, 184, 169, 0.4), 0 0 0 4px rgba(58, 184, 169, 0.1); animation: iconBounce 0.6s ease-out; position: relative; z-index: 2; } .icon-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 120px; height: 120px; background: radial-gradient(circle, rgba(58, 184, 169, 0.3) 0%, transparent 70%); border-radius: 50%; animation: glowPulse 2s ease-in-out infinite; } @keyframes iconBounce { 0% { transform: scale(0); opacity: 0; } 60% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); } } @keyframes glowPulse { 0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); } } .popup-title { font-size: 1.5vw; font-weight: 700; background: linear-gradient(135deg, #3AB8A9, #2DA89A); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin: 0; } .popup-subtitle { font-size: 1.1rem; color: #64748b; font-weight: 500; animation: subtitleSlideIn 0.8s ease-out 0.2s both; } @keyframes subtitleSlideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } /* Completion Stats */ .completion-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; position: relative; z-index: 2; } .stat-item { background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(58, 184, 169, 0.2); border-radius: 16px; padding: 1.5rem 1rem; text-align: center; backdrop-filter: blur(10px); transition: all 0.3s ease; animation: statItemAppear 0.6s ease-out both; } .stat-item:nth-child(1) { animation-delay: 0.3s; } .stat-item:nth-child(2) { animation-delay: 0.5s; } .stat-item:nth-child(3) { animation-delay: 0.7s; } .stat-item:hover { transform: translateY(-5px); border-color: rgba(58, 184, 169, 0.4); box-shadow: 0 10px 25px rgba(58, 184, 169, 0.15); } .stat-icon { width: 50px; height: 50px; margin: 0 auto 0.75rem; background: linear-gradient(135deg, #3AB8A9, #5EC8BA); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #111; } .stat-value { display: block; font-size: 1.5rem; font-weight: 700; color: #1B2635; margin-bottom: 0.25rem; } .stat-label { font-size: 0.8rem; color: #64748b; font-weight: 500; line-height: 1.3; } @keyframes statItemAppear { from { opacity: 0; transform: translateY(20px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } } /* Success Message */ .success-message { background: linear-gradient(135deg, rgba(58, 184, 169, 0.05), rgba(212, 167, 85, 0.05)); border: 1px solid rgba(58, 184, 169, 0.1); border-radius: 16px; padding: 1.5rem; margin-bottom: 2rem; position: relative; z-index: 2; animation: messageSlideIn 0.8s ease-out 0.4s both; } .success-message p { margin: 0 0 0.75rem 0; color: #475569; line-height: 1.5; text-align: center; } .success-message p:last-child { margin-bottom: 0; } @keyframes messageSlideIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } } /* Next Steps */ .next-steps { margin-bottom: 2.5rem; position: relative; z-index: 2; animation: nextStepsAppear 0.8s ease-out 0.6s both; } .next-steps h4 { font-size: 1.1rem; font-weight: 600; color: #1B2635; margin-bottom: 1rem; text-align: center; } .steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; } .step { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; background: rgba(248, 250, 252, 0.8); border: 1px solid rgba(226, 232, 240, 0.8); border-radius: 12px; transition: all 0.3s ease; } .step:hover { background: rgba(255, 255, 255, 0.9); border-color: rgba(58, 184, 169, 0.3); transform: translateX(5px); } .step i { color: #3AB8A9; font-size: 1.1rem; width: 20px; text-align: center; } .step span { font-size: 0.9rem; color: #475569; font-weight: 500; } @keyframes nextStepsAppear { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* Enhanced Popup Actions */ .popup-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; animation: actionsAppear 0.8s ease-out 0.8s both; } .popup-actions .btn { position: relative; display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 2rem; font-size: 0.95rem; font-weight: 600; border-radius: 12px; cursor: pointer; transition: all 0.3s ease; border: none; text-decoration: none; min-width: 180px; justify-content: center; overflow: hidden; } .btn-primary { background: linear-gradient(135deg, #3AB8A9, #5EC8BA); color: #111; box-shadow: 0 8px 25px rgba(58, 184, 169, 0.4), 0 4px 12px rgba(58, 184, 169, 0.3); } .btn-secondary { background: rgba(255, 255, 255, 0.9); color: #475569; border: 1px solid rgba(226, 232, 240, 0.8); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); } .btn:hover { transform: translateY(-2px); } .btn-primary:hover { box-shadow: 0 12px 35px rgba(58, 184, 169, 0.5), 0 6px 18px rgba(58, 184, 169, 0.4); border: 2px solid #D4A755; } .btn-secondary:hover { background: rgba(255, 255, 255, 1); border-color: rgba(148, 163, 184, 0.5); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); } .btn-sparkle { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); transition: left 0.5s ease; } .btn-primary:hover .btn-sparkle { left: 100%; } @keyframes actionsAppear { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } /* Popup Footer */ .popup-footer { text-align: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(226, 232, 240, 0.8); position: relative; z-index: 2; animation: footerAppear 0.8s ease-out 1s both; } .popup-footer p { font-size: 0.8rem; color: #94a3b8; margin: 0; font-weight: 500; } @keyframes footerAppear { from { opacity: 0; } to { opacity: 1; } } /* Updated Results Styles */ .traits-breakdown { margin-bottom: 3rem; } .breakdown-title { font-size: 1.3rem; font-weight: 600; color: #1B2635; margin-bottom: 2rem; text-align: center; } .success-message { background: linear-gradient(135deg, rgba(58, 184, 169, 0.05), rgba(212, 167, 85, 0.05)); border: 1px solid rgba(58, 184, 169, 0.1); border-radius: 16px; padding: 1.5rem; margin-bottom: 2rem; text-align: center; } .success-message p { margin: 0 0 0.75rem 0; color: #475569; line-height: 1.5; } .success-message p:last-child { margin-bottom: 0; } .key-insights { display: flex; flex-direction: column; gap: 1rem; } .insight-item { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; background: rgba(248, 250, 252, 0.8); border: 1px solid rgba(226, 232, 240, 0.8); border-radius: 12px; transition: all 0.3s ease; } .insight-item:hover { background: rgba(255, 255, 255, 0.9); border-color: rgba(58, 184, 169, 0.3); transform: translateX(5px); } .insight-item i { color: #3AB8A9; font-size: 1.1rem; width: 20px; text-align: center; } .insight-item span { font-size: 0.9rem; color: #475569; line-height: 1.4; } .insight-item strong { color: #1B2635; font-weight: 600; } /* Remove old trait styles that showed colors */ .dominant-traits, .traits-grid, .trait-item, .trait-header, .trait-color, .trait-bar, .trait-fill { display: none; } /* Responsive Design */ @media (max-width: 768px) { .quiz-container { padding: 1rem; } .welcome-card, .question-card, .results-card { padding: 2rem 1.5rem; } .welcome-title { font-size: 2rem; } .feature-highlights { grid-template-columns: 1fr; } .assessment-info { flex-direction: column; align-items: center; } .question-header { flex-direction: column; align-items: flex-start; } .options-grid { grid-template-columns: 1fr; } .dominant-card { flex-direction: column; text-align: center; gap: 1.5rem; } .results-actions, .popup-actions { flex-direction: column; } .popup-container { padding: 2rem 1.5rem; } .completion-popup { padding: 2rem 1.5rem; } .popup-title { font-size: 1.8rem; } .completion-stats { grid-template-columns: 1fr; gap: 1rem; } .steps-grid { grid-template-columns: 1fr; } .popup-actions .btn { min-width: auto; width: 100%; } } @media (max-width: 480px) { .welcome-card, .question-card, .results-card { padding: 1.5rem 1rem; border-radius: 20px; } .brain-icon { width: 80px; height: 80px; font-size: 2rem; } .welcome-title { font-size: 1.8rem; } .feature-card { padding: 1.5rem 1rem; } .question-text { flex-direction: column; gap: 0.5rem; } .question-text h2 { font-size: 1.3rem; } .results-title { font-size: 2rem; } .completion-popup { padding: 1.5rem 1rem; margin: 1rem; } .completion-icon { width: 80px; height: 80px; } .icon-circle { font-size: 2rem; } .popup-title { font-size: 1.6rem; } .stat-item { padding: 1.25rem 0.75rem; } } i.fa-heart.fa-solid { color: #ff000094; }