/* Modern Uzbekistan Traffic School Design */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #f39c12;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --text-muted: #888888;
    --overlay-color: rgba(26, 26, 46, 0.85);
    --card-bg: rgba(255, 255, 255, 0.1);
    --border-color: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--primary-color);
}

/* Navigation */
.modern-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.brand-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link i {
    font-size: 0.7rem;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.apply-btn {
    background: var(--accent-color);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    background: #e67e22;
    transform: translateY(-1px);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: url('../images/background-image.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/background-image.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.7) 0%, rgba(22, 33, 62, 0.6) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 70px);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 800px;
}

.hero-left {
    max-width: 100%;
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.2) 0%, rgba(243, 156, 18, 0.1) 100%);
    border: 1px solid rgba(243, 156, 18, 0.4);
    padding: 0.6rem 1.25rem;
    border-radius: 30px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(243, 156, 18, 0.2); }
    50% { box-shadow: 0 0 25px rgba(243, 156, 18, 0.4); }
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-badge i {
    font-size: 0.8rem;
    color: var(--accent-color);
    animation: bounce-right 1s ease-in-out infinite;
}

@keyframes bounce-right {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: left;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-title span.hero-subtitle {
    display: block;
    background: linear-gradient(135deg, var(--accent-color) 0%, #f1c40f 50%, var(--accent-color) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

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

.hero-subtitle {
    color: var(--accent-color);
    font-weight: 700;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
    text-align: left;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #e67e22 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 20px rgba(243, 156, 18, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::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-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(243, 156, 18, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    min-width: 140px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #f1c40f);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(243, 156, 18, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(243, 156, 18, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-color) 0%, #f1c40f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Program Snapshot */
.hero-right {
    position: relative;
}

.program-snapshot {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.snapshot-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.snapshot-header h3 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.snapshot-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.snapshot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.snapshot-content {
    padding: 1.5rem;
}

.snapshot-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.snapshot-content strong {
    color: var(--text-primary);
}

/* Program Tracks Section */
.program-tracks {
    padding: 6rem 0;
    background: var(--secondary-color);
}

.tracks-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.tracks-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 0.5rem;
}

/* Track Cards with Enhanced Hover Effects */
.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.track-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    overflow: hidden;
    cursor: pointer;
    transform: translateY(0);
}

.track-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-color), #e67e22);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.track-card:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: var(--accent-color);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px var(--accent-color),
        0 0 50px rgba(243, 156, 18, 0.3);
}

.track-card:hover::before {
    opacity: 0.1;
}

.track-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), #e67e22);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.track-card:hover .track-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(243, 156, 18, 0.4);
}

.track-hover-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 1;
    border-radius: 16px;
    overflow: hidden;
}

.track-hover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.6s ease;
}

.track-card:hover .track-hover-image {
    opacity: 0.15;
}

.track-card:hover .track-hover-image img {
    transform: scale(1);
}

.track-content {
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.track-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    transition: all 0.4s ease;
}

.track-card:hover h3 {
    color: var(--accent-color);
    transform: translateX(5px);
}

.track-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.track-card:hover p {
    color: var(--text-primary);
}

.track-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.track-stats .stat {
    background: rgba(243, 156, 18, 0.1);
    color: var(--accent-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(243, 156, 18, 0.2);
    transition: all 0.4s ease;
}

.track-card:hover .track-stats .stat {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.track-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--accent-color), transparent);
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
    transition: all 0.6s ease;
    z-index: 0;
}

.track-card:hover .track-glow {
    opacity: 0.1;
    transform: translate(-50%, -50%) scale(3);
}

/* Pulse Animation for Icons */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.track-card:hover .track-icon {
    animation: pulse 2s infinite;
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.track-card:nth-child(odd) {
    animation: float 6s ease-in-out infinite;
}

.track-card:nth-child(even) {
    animation: float 6s ease-in-out infinite reverse;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: var(--primary-color);
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-button {
    background: var(--accent-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
}

/* Footer */
.modern-footer {
    background: var(--secondary-color);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h5 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section h6 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Messages */
.messages-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1001;
    max-width: 400px;
}

.alert {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    position: relative;
}

.alert-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.2rem;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    opacity: 0.7;
    mix-blend-mode: difference;
}

/* Enhanced Hero Animations */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stats .stat-item {
    text-align: left;
    transition: all 0.4s ease;
    cursor: pointer;
}

.hero-stats .stat-item:hover {
    transform: translateY(-5px);
}

.hero-stats .stat-item:hover .stat-number {
    color: var(--text-primary);
    text-shadow: 0 0 20px var(--accent-color);
}

/* Program Snapshot Enhancements */
.program-snapshot {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
}

.program-snapshot::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(243, 156, 18, 0.1), transparent);
    transition: left 0.6s ease;
}

.program-snapshot:hover::before {
    left: 100%;
}

.program-snapshot:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Particle Background Effect */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(243, 156, 18, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(243, 156, 18, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(243, 156, 18, 0.05) 0%, transparent 50%);
    z-index: -1;
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

/* Section Transitions */
.program-tracks {
    padding: 6rem 0;
    background: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.program-tracks::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

/* Enhanced Button Animations */
.btn-primary, .apply-btn, .cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary::before, .apply-btn::before, .cta-button::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.6s ease;
}

.btn-primary:hover::before, .apply-btn:hover::before, .cta-button:hover::before {
    left: 100%;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #e67e22);
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Loading Animation */
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .track-card:hover {
        transform: translateY(-10px) scale(1.02);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .custom-cursor {
        display: none;
    }
}

/* Authentication Pages */
.auth-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.auth-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1449824913935-59a10b8d2000?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover;
    z-index: -2;
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--overlay-color);
    z-index: -1;
}

.auth-container {
    max-width: 500px;
    width: 100%;
    padding: 2rem;
}

.auth-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), #e67e22);
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #e67e22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    animation: pulse 2s infinite;
}

.auth-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.auth-form {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--text-secondary);
    z-index: 2;
}

.input-wrapper input,
.input-wrapper select {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-wrapper input:focus,
.input-wrapper select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
    background: rgba(255, 255, 255, 0.1);
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 2;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-secondary);
}

.checkbox-wrapper input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-right: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-wrapper input:checked + .checkmark {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-wrapper input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.8rem;
}

.forgot-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #e67e22;
}

.auth-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-color), #e67e22);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.auth-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.6s ease;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(243, 156, 18, 0.4);
}

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

.auth-footer {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.auth-footer a {
    color: var(--accent-color);
    text-decoration: none;
}

.social-login {
    text-align: center;
}

.divider {
    position: relative;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
    z-index: 1;
}

.divider span {
    background: var(--card-bg);
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.social-buttons {
    display: flex;
    gap: 1rem;
}

.social-btn {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.social-btn.google:hover {
    border-color: #db4437;
    color: #db4437;
}

.social-btn.facebook:hover {
    border-color: #3b5998;
    color: #3b5998;
}

/* Dashboard Styles */
.dashboard-section {
    min-height: 100vh;
    background: var(--primary-color);
    padding: 6rem 0 2rem;
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.welcome-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.user-name {
    color: var(--accent-color);
}

.welcome-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn.primary {
    background: linear-gradient(135deg, var(--accent-color), #e67e22);
    color: white;
}

.action-btn.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #e67e22);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.stat-content h3 {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-change {
    font-size: 0.8rem;
    font-weight: 500;
}

.stat-change.positive {
    color: #10b981;
}

.stat-change.negative {
    color: #ef4444;
}

.stat-change.neutral {
    color: var(--text-secondary);
}

.stat-progress {
    margin-top: 1rem;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #e67e22);
    border-radius: 2px;
    transition: width 1s ease;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.dashboard-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.card-header h2 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
}

.progress-indicator {
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.view-all {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Learning Modules */
.learning-modules {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.module {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.module.completed {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.module.current {
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.module.locked {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    opacity: 0.6;
}

.module:hover:not(.locked) {
    transform: translateX(5px);
}

.module-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.module.completed .module-icon {
    background: #10b981;
}

.module.current .module-icon {
    background: var(--accent-color);
}

.module.locked .module-icon {
    background: var(--text-muted);
}

.module-content {
    flex: 1;
}

.module-content h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.module-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.module-progress {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-color);
}

/* Quick Actions */
.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.quick-action-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.quick-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: var(--accent-color);
}

.action-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), #e67e22);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    color: white;
}

.quick-action-btn h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quick-action-btn p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.activity-icon.success {
    background: #10b981;
}

.activity-icon.info {
    background: #3b82f6;
}

.activity-icon.warning {
    background: #f59e0b;
}

.activity-content h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.activity-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Achievements */
.achievement-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.achievement {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.achievement.earned {
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.achievement.locked {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    opacity: 0.6;
}

.achievement:hover.earned {
    transform: scale(1.05);
}

.achievement-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    color: white;
}

.achievement.earned .achievement-icon {
    background: linear-gradient(135deg, var(--accent-color), #e67e22);
}

.achievement.locked .achievement-icon {
    background: var(--text-muted);
}

.achievement h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.achievement p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .action-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-grid {
        grid-template-columns: 1fr;
    }
    
    .social-buttons {
        flex-direction: column;
    }
}

/* Dashboard Main Styles */
.dashboard-main {
    min-height: 100vh;
    background: var(--primary-color);
    padding-top: 80px;
}

.dashboard-hero {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    padding: 3rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.dashboard-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(243,156,18,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.welcome-section {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.user-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), #e67e22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.3);
    animation: pulse 2s infinite;
}

.welcome-text h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.welcome-text .highlight {
    color: var(--accent-color);
    background: linear-gradient(135deg, var(--accent-color), #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.progress-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid rgba(243, 156, 18, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    cursor: pointer;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-color), #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.section-header {
    margin-bottom: 2rem;
}

.section-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

/* Learning Pathway Styles */
.learning-pathway {
    margin-bottom: 4rem;
}

.pathway-progress {
    position: relative;
}

.progress-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-color), rgba(243, 156, 18, 0.3));
    z-index: 1;
}

.pathway-step {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    z-index: 2;
}

.pathway-step:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.pathway-step.completed {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.05);
}

.pathway-step.current {
    border-color: var(--accent-color);
    background: rgba(243, 156, 18, 0.05);
    box-shadow: 0 0 30px rgba(243, 156, 18, 0.2);
}

.pathway-step.locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    position: relative;
    z-index: 3;
    flex-shrink: 0;
}

.pathway-step.completed .step-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.pathway-step.current .step-icon {
    background: linear-gradient(135deg, var(--accent-color), #e67e22);
    box-shadow: 0 10px 25px rgba(243, 156, 18, 0.4);
    animation: pulse 2s infinite;
}

.pathway-step.locked .step-icon {
    background: var(--text-muted);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.step-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.completion {
    color: var(--accent-color);
    font-weight: 600;
}

.questions {
    color: var(--text-secondary);
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #e67e22);
    border-radius: 3px;
    transition: width 1s ease;
}

.step-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-badge.completed {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.step-badge.current {
    background: rgba(243, 156, 18, 0.2);
    color: var(--accent-color);
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.step-badge.locked {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

/* Action Cards Grid */
.action-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.action-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-color), #e67e22);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.action-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.action-card:hover::before {
    opacity: 0.1;
}

.action-card.primary {
    border-color: rgba(243, 156, 18, 0.3);
}

.action-card.secondary {
    border-color: rgba(59, 130, 246, 0.3);
}

.action-card.tertiary {
    border-color: rgba(16, 185, 129, 0.3);
}

.action-card.quaternary {
    border-color: rgba(139, 92, 246, 0.3);
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.action-card.primary .card-icon {
    background: linear-gradient(135deg, var(--accent-color), #e67e22);
}

.action-card.secondary .card-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.action-card.tertiary .card-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.action-card.quaternary .card-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.action-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
}

.card-stats span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    color: var(--text-secondary);
}

.card-action {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.8rem 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.card-action:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* Analytics Section */
.analytics-section {
    margin-bottom: 4rem;
}

.analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.view-detailed {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.view-detailed:hover {
    background: var(--card-bg);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.analytics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.analytics-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.analytics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.analytics-header-small {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.analytics-header-small h4 {
    color: var(--text-primary);
    font-weight: 600;
}

.trend {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
}

.trend.positive {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.info {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.chart-placeholder {
    height: 200px;
    position: relative;
}

.chart-bars {
    display: flex;
    align-items: end;
    justify-content: space-between;
    height: 160px;
    padding: 0 1rem;
    gap: 0.5rem;
}

.bar {
    flex: 1;
    background: linear-gradient(180deg, var(--accent-color), #e67e22);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.bar:hover {
    background: linear-gradient(180deg, #e67e22, var(--accent-color));
    transform: scaleY(1.1);
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.category-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-name {
    color: var(--text-primary);
    font-weight: 500;
}

.category-score {
    color: var(--accent-color);
    font-weight: 600;
}

.category-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.category-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #e67e22);
    border-radius: 3px;
    transition: width 1s ease;
}

/* Recent Activity */
.recent-activity {
    margin-bottom: 4rem;
}

.activity-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
}

.activity-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.activity-time {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    min-width: 80px;
}

.activity-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.activity-icon.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.activity-icon.info {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.activity-icon.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.activity-content {
    flex: 1;
}

.activity-content h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.activity-content p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.activity-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag.success {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.tag.info {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.tag.warning {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.tag:not(.success):not(.info):not(.warning) {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

/* Enhanced Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.dashboard-main [data-aos] {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

.dashboard-main [data-aos="fade-up"] {
    animation-name: slideInUp;
}

.dashboard-main [data-aos="zoom-in"] {
    animation-name: fadeInScale;
}

/* Mobile Responsive Updates */
@media (max-width: 1200px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .action-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-grid {
        grid-template-columns: 1fr;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .action-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .welcome-section {
        flex-direction: column;
        text-align: center;
    }
    
    .pathway-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-stats {
        justify-content: center;
    }
    
    .analytics-header {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .activity-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 2rem;
    }
    
    .dashboard-container {
        padding: 0 1rem;
    }
    
    .welcome-content h1 {
        font-size: 2rem;
    }
    
    .welcome-text h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
}

/* Theme Learning Section Styles */
.theme-learning-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.theme-card.featured {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.theme-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.theme-card.featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.5);
}

.theme-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.theme-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.theme-badge {
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theme-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.theme-content p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.theme-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.theme-stats .stat {
    text-align: center;
}

.theme-stats .stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff6b35;
}

.theme-stats .stat-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theme-progress {
    margin-bottom: 2rem;
}

.theme-progress .progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.theme-progress .progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.theme-progress .progress-text {
    font-size: 0.9rem;
    color: #888;
}

.theme-actions {
    display: flex;
    gap: 1rem;
}

.theme-actions .btn-primary,
.theme-actions .btn-secondary {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.theme-actions .btn-primary {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
}

.theme-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.theme-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.theme-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.theme-preview-grid {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 1rem;
}

.preview-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.preview-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateX(5px);
}

.preview-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 1rem;
}

.preview-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.preview-card p {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.coming-soon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Responsive for Theme Learning */
@media (max-width: 768px) {
    .theme-learning-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .theme-stats {
        gap: 1rem;
    }
    
    .theme-actions {
        flex-direction: column;
    }
    
    .preview-card {
        padding: 1rem;
    }
}
/* Clean Theme Study Layout - Horizontal Bottom Bar */
.theme-study {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    display: flex;
    flex-direction: column;
}

.theme-header-compact {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    position: relative;
    z-index: 10;
}

.header-content-compact {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.back-btn-compact {
    width: 40px;
    height: 40px;
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6b35;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.back-btn-compact:hover {
    background: rgba(255, 107, 53, 0.25);
    transform: translateX(-2px);
}

.theme-info-compact {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.theme-title-compact {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.theme-meta-compact {
    font-size: 0.85rem;
    color: #888;
    margin-top: 2px;
}

.header-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.study-controls-compact {
    display: flex;
    gap: 0.4rem;
}

.lang-btn-compact {
    padding: 0.4rem 0.7rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 35px;
    text-align: center;
}

.lang-btn-compact.active,
.lang-btn-compact:hover {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-color: transparent;
    transform: translateY(-1px);
}

/* Horizontal Layout - Main Quiz Area Takes Full Width */
.quiz-container-optimized {
    display: flex;
    flex-direction: column;
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1rem;
}

/* Main Quiz Area - Full Width */
.quiz-main-expanded {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    background: transparent;
}

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

.question-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.question-number-compact {
    color: #ff6b35;
    font-weight: 600;
    font-size: 1rem;
    background: rgba(255, 107, 53, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
}

.question-timer-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.9rem;
}

.question-content-expanded {
    margin-bottom: 2rem;
}

.question-text-large {
    font-size: 1.35rem;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 500;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.question-image-compact {
    text-align: center;
    margin-bottom: 1.5rem;
}

.question-image-compact img {
    max-width: 100%;
    max-height: 250px;
    border-radius: 12px;
}

.answers-container-expanded {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.answers-container-expanded .answer-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.answers-container-expanded .answer-option:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
}

.answers-container-expanded .answer-option.selected {
    background: rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.4);
}

.answers-container-expanded .answer-option.correct {
    background: rgba(40, 167, 69, 0.15);
    border-color: rgba(40, 167, 69, 0.4);
}

.answers-container-expanded .answer-option.wrong {
    background: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.4);
}

.answers-container-expanded .answer-option.disabled {
    pointer-events: none;
    opacity: 0.8;
}

.answers-container-expanded .answer-badge {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.answers-container-expanded .answer-text {
    color: #fff;
    line-height: 1.4;
    flex: 1;
}

/* Horizontal Bottom Bar - Progress & Navigation */
.quiz-sidebar-compact {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-shrink: 0;
}

.progress-panel-compact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.progress-circle-small {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

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

.progress-ring-progress {
    stroke-dasharray: 0 188;
    transition: stroke-dasharray 0.5s ease;
    stroke-linecap: round;
}

.progress-text-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-weight: 700;
    text-align: center;
    font-size: 0.9rem;
}

.progress-text-small .progress-total {
    font-size: 0.7rem;
    color: #888;
}

.progress-stats-compact {
    display: flex;
    gap: 1.5rem;
}

.stat-compact {
    text-align: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.stat-compact .stat-value {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.stat-compact .stat-label {
    display: block;
    color: #888;
    font-size: 0.7rem;
}

/* Horizontal Question Navigation */
.navigation-panel-compact {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.question-grid-compact {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 600px;
}

.nav-question {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.nav-question:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.1);
}

.nav-question.active {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-color: transparent;
}

.nav-question.correct {
    background: #28a745;
    border-color: transparent;
}

.nav-question.wrong {
    background: #dc3545;
    border-color: transparent;
}

/* Navigation Buttons */
.question-controls-compact {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.control-btn-compact {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.control-btn-compact:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.05);
}

.control-btn-compact.primary {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-color: transparent;
}

.control-btn-compact:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.question-container-expanded {
    max-width: 900px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.question-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.question-number-compact {
    color: #ff6b35;
    font-weight: 600;
    font-size: 1rem;
    background: rgba(255, 107, 53, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.question-timer-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.question-content-expanded {
    flex: 1;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.question-text-large {
    font-size: 1.35rem;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 500;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.question-image-compact {
    text-align: center;
    margin-bottom: 1.5rem;
}

.question-image-compact img {
    max-width: 100%;
    max-height: 250px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.answers-container-expanded {
    margin-bottom: 2rem;
    flex-shrink: 0;
}

.answers-container-expanded .answer-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
}

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

.answers-container-expanded .answer-option:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateX(3px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.15);
}

.answers-container-expanded .answer-option:hover::before {
    left: 100%;
}

.answers-container-expanded .answer-option.selected {
    background: rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.2);
}

.answers-container-expanded .answer-option.correct {
    background: rgba(40, 167, 69, 0.15);
    border-color: rgba(40, 167, 69, 0.4);
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.2);
}

.answers-container-expanded .answer-option.wrong {
    background: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.4);
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.2);
}

.answers-container-expanded .answer-option.disabled {
    pointer-events: none;
    opacity: 0.8;
}

.answers-container-expanded .answer-badge {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.answers-container-expanded .answer-text {
    color: #fff;
    line-height: 1.4;
    flex: 1;
    font-weight: 400;
}

.question-controls-compact {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: auto;
    padding: 1.5rem 0;
    flex-shrink: 0;
}

.control-btn-compact {
    width: 55px;
    height: 55px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.control-btn-compact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.control-btn-compact:hover:not(:disabled)::before {
    width: 100%;
    height: 100%;
}

.control-btn-compact:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.control-btn-compact.primary {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.control-btn-compact.primary:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.control-btn-compact:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.control-btn-compact:disabled::before {
    display: none;
}

/* Mobile Responsive - Horizontal Layout */
@media (max-width: 768px) {
    .quiz-sidebar-compact {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .progress-panel-compact {
        width: 100%;
        justify-content: center;
    }
    
    .navigation-panel-compact {
        width: 100%;
    }
    
    .question-grid-compact {
        max-width: 100%;
    }
    
    .question-controls-compact {
        width: 100%;
        justify-content: center;
    }
    
    .answers-container-expanded {
        grid-template-columns: 1fr;
    }
    
    .header-content-compact {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .header-left {
        width: 100%;
    }
    
    .theme-title-compact {
        font-size: 1.2rem;
    }
    
    .question-text-large {
        font-size: 1.1rem;
        padding: 1rem;
    }
    
    .answers-container-expanded .answer-option {
        padding: 1rem;
    }
}
/* Clean Practice Mode Layout */
.theme-practice {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding-top: 0;
}

.practice-header-compact {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    position: relative;
    z-index: 10;
}

.practice-container-optimized {
    display: grid;
    grid-template-columns: 220px 1fr;
    height: calc(100vh - 140px);
    max-width: 1400px;
    margin: 0 auto;
}

.practice-main-expanded {
    padding: 2rem;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.02);
}

.practice-mode-badge-compact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.question-navigation-compact {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: auto;
    padding: 1.5rem 0;
    flex-shrink: 0;
}

.nav-btn-compact {
    width: 55px;
    height: 55px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.nav-btn-compact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.nav-btn-compact.primary {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.nav-btn-compact:hover:not(:disabled)::before {
    width: 100%;
    height: 100%;
}

.nav-btn-compact:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.nav-btn-compact.primary:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.nav-btn-compact:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.nav-btn-compact:disabled::before {
    display: none;
}

/* Mobile Responsive for Practice Mode */
@media (max-width: 768px) {
    .practice-container-optimized {
        grid-template-columns: 1fr;
        height: calc(100vh - 70px);
    }
    
    .practice-sidebar-compact {
        order: 2;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1rem;
        flex-direction: row;
        gap: 1rem;
    }
    
    .practice-progress-compact {
        flex-shrink: 0;
    }
    
    .practice-stats-compact {
        flex-direction: row;
        gap: 1rem;
        margin-top: 0;
    }
    
    .practice-controls-compact {
        flex-direction: row;
        margin-top: 0;
        flex: 1;
    }
}

/* Alert Messages */
.messages-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.alert {
    background: rgba(40, 40, 60, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 3rem 1rem 1.5rem;
    color: #fff;
    font-size: 0.95rem;
    position: relative;
    animation: slideIn 0.3s ease;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.alert-success {
    border-left: 4px solid #28a745;
}

.alert-error, .alert-danger {
    border-left: 4px solid #dc3545;
}

.alert-warning {
    border-left: 4px solid #ffc107;
}

.alert-info {
    border-left: 4px solid #17a2b8;
}

.alert-close {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.alert-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}