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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #f8f9fa 0%, #fff5f0 100%);
            min-height: 100vh;
            transition: all 0.3s ease;
        }

        body.dark {
            background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 100%);
        }

        .dashboard {
            display: grid;
            grid-template-columns: 280px 1fr;
            grid-template-rows: 70px 1fr;
            grid-template-areas: 
                "sidebar topbar"
                "sidebar main";
            min-height: 100vh;
        }

        /* Sidebar */
        .sidebar {
            grid-area: sidebar;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 2rem 0;
            box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        body.dark .sidebar {
            background: rgba(26, 26, 26, 0.95);
            color: white;
        }

        .logo {
            text-align: center;
            margin-bottom: 2rem;
            font-size: 1.5rem;
            font-weight: bold;
            color: #ff6b35;
        }

        body.dark .logo {
            color: #ff8c42;
        }

        .nav-menu {
            list-style: none;
        }

        .nav-item {
            margin: 0.5rem 0;
        }

        .nav-link {
            display: flex;
            align-items: center;
            padding: 1rem 2rem;
            text-decoration: none;
            color: #555;
            transition: all 0.3s ease;
            border-left: 3px solid transparent;
        }

        body.dark .nav-link {
            color: #ddd;
        }

        .nav-link:hover, .nav-link.active {
            background: rgba(255, 107, 53, 0.1);
            border-left-color: #ff6b35;
            color: #ff6b35;
        }

        body.dark .nav-link:hover, body.dark .nav-link.active {
            background: rgba(255, 140, 66, 0.1);
            border-left-color: #ff8c42;
            color: #ff8c42;
        }

        .nav-icon {
            margin-right: 1rem;
            font-size: 1.2rem;
        }

        /* Top Bar */
        .topbar {
            grid-area: topbar;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        body.dark .topbar {
            background: rgba(26, 26, 26, 0.95);
            color: white;
        }

        .search-bar {
            flex: 1;
            max-width: 400px;
            margin: 0 2rem;
        }

        .search-input {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 2px solid #e0e0e0;
            border-radius: 25px;
            outline: none;
            transition: all 0.3s ease;
        }

        .search-input:focus {
            border-color: #ff6b35;
            box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
        }

        body.dark .search-input {
            background: rgba(255, 255, 255, 0.1);
            border-color: #555;
            color: white;
        }

        .user-section {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .theme-toggle {
            background: none;
            border: 2px solid #ff6b35;
            color: #ff6b35;
            padding: 0.5rem;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .theme-toggle:hover {
            background: #ff6b35;
            color: white;
        }

        body.dark .theme-toggle {
            border-color: #ff8c42;
            color: #ff8c42;
        }

        body.dark .theme-toggle:hover {
            background: #ff8c42;
            color: #1a1a1a;
        }

        .notifications {
            position: relative;
            background: #ff6b35;
            color: white;
            border: none;
            padding: 0.75rem;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .notifications:hover {
            transform: scale(1.1);
        }

        .notification-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #ff6b6b;
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            font-size: 0.7rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Notification Panel */
        .notification-panel {
            position: absolute;
            top: 70px;
            right: 2rem;
            width: 350px;
            max-height: 400px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: 15px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            overflow: hidden;
        }

        body.dark .notification-panel {
            background: rgba(26, 26, 26, 0.95);
            color: white;
        }

        .notification-panel.active {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .notification-header {
            padding: 1.5rem;
            border-bottom: 1px solid rgba(255, 107, 53, 0.2);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .notification-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: #333;
        }

        body.dark .notification-title {
            color: white;
        }

        .clear-all-btn {
            background: none;
            border: none;
            color: #ff6b35;
            cursor: pointer;
            font-size: 0.9rem;
            font-weight: 500;
        }

        body.dark .clear-all-btn {
            color: #ff8c42;
        }

        .notification-list {
            max-height: 300px;
            overflow-y: auto;
        }

        .notification-item {
            padding: 1rem 1.5rem;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        body.dark .notification-item {
            border-bottom-color: rgba(255, 255, 255, 0.1);
        }

        .notification-item:hover {
            background: rgba(255, 107, 53, 0.05);
        }

        .notification-item.unread {
            background: rgba(255, 107, 53, 0.1);
            border-left: 3px solid #ff6b35;
        }

        .notification-content {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
        }

        .notification-icon {
            font-size: 1.5rem;
            margin-top: 0.2rem;
        }

        .notification-text {
            flex: 1;
        }

        .notification-message {
            font-weight: 500;
            margin-bottom: 0.25rem;
            color: #333;
        }

        body.dark .notification-message {
            color: white;
        }

        .notification-time {
            font-size: 0.8rem;
            color: #666;
        }

        body.dark .notification-time {
            color: #bbb;
        }

        .no-notifications {
            text-align: center;
            padding: 2rem;
            color: #666;
            font-style: italic;
        }

        body.dark .no-notifications {
            color: #bbb;
        }

        .user-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(45deg, #ff6b35, #ff8c42);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
        }

        .user-name {
            font-weight: 600;
        }

        /* Main Content */
        .main-content {
            grid-area: main;
            padding: 2rem;
            overflow-y: auto;
        }

        .welcome-section {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 2rem;
            border-radius: 20px;
            margin-bottom: 2rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        body.dark .welcome-section {
            background: rgba(26, 26, 26, 0.95);
            color: white;
        }

        .welcome-title {
            font-size: 2rem;
            margin-bottom: 0.5rem;
            color: #333;
        }

        body.dark .welcome-title {
            color: white;
        }

        .welcome-subtitle {
            color: #666;
            font-size: 1.1rem;
        }

        body.dark .welcome-subtitle {
            color: #bbb;
        }

        /* Progress Overview */
        .progress-overview {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .stat-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 1.5rem;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        body.dark .stat-card {
            background: rgba(26, 26, 26, 0.95);
            color: white;
        }

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

        .stat-number {
            font-size: 2.5rem;
            font-weight: bold;
            color: #ff6b35;
            margin-bottom: 0.5rem;
        }

        body.dark .stat-number {
            color: #ff8c42;
        }

        .stat-label {
            color: #666;
            font-size: 0.9rem;
        }

        body.dark .stat-label {
            color: #bbb;
        }

        /* Course Grid */
        .section-title {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            color: #333;
            font-weight: 600;
        }

        body.dark .section-title {
            color: white;
        }

        .course-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .course-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 1.5rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            cursor: pointer;
        }

        body.dark .course-card {
            background: rgba(26, 26, 26, 0.95);
            color: white;
        }

        .course-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
        }

        .course-header {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }

        .course-icon {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            background: linear-gradient(45deg, #ff6b35, #ff8c42);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            font-size: 1.5rem;
        }

        .course-title {
            font-size: 1.2rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 0.25rem;
        }

        body.dark .course-title {
            color: white;
        }

        .course-lessons {
            color: #666;
            font-size: 0.9rem;
        }

        body.dark .course-lessons {
            color: #bbb;
        }

        .progress-section {
            margin: 1rem 0;
        }

        .progress-label {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
            color: #666;
        }

        body.dark .progress-label {
            color: #bbb;
        }

        .progress-bar {
            width: 100%;
            height: 8px;
            background: #e0e0e0;
            border-radius: 4px;
            overflow: hidden;
        }

        body.dark .progress-bar {
            background: #555;
        }

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

        .continue-btn {
            width: 100%;
            padding: 0.75rem;
            background: linear-gradient(45deg, #ff6b35, #ff8c42);
            color: white;
            border: none;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 1rem;
        }

        .continue-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
        }

        .enroll-btn {
            width: 100%;
            padding: 0.75rem;
            background: linear-gradient(45deg, #ff6b35, #ff8c42);
            color: white;
            border: none;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 1rem;
        }

        .enroll-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
        }

        .lesson-btn {
            width: 100%;
            padding: 0.5rem;
            background: rgba(255, 107, 53, 0.1);
            color: #ff6b35;
            border: 2px solid #ff6b35;
            border-radius: 8px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 0.5rem;
            font-size: 0.9rem;
        }

        .lesson-btn:hover {
            background: #ff6b35;
            color: white;
        }

        body.dark .lesson-btn {
            color: #ff8c42;
            border-color: #ff8c42;
            background: rgba(255, 140, 66, 0.1);
        }

        body.dark .lesson-btn:hover {
            background: #ff8c42;
            color: #1a1a1a;
        }

        .enrolled-badge {
            background: linear-gradient(45deg, #28a745, #20c997);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .course-description {
            color: #666;
            font-size: 0.9rem;
            margin: 1rem 0;
            line-height: 1.4;
        }

        body.dark .course-description {
            color: #bbb;
        }

        .course-details {
            margin: 1rem 0;
        }

        .detail-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
        }

        .detail-label {
            color: #666;
            font-weight: 500;
        }

        .detail-value {
            color: #333;
        }

        body.dark .detail-label {
            color: #bbb;
        }

        body.dark .detail-value {
            color: white;
        }

        .lesson-info {
            text-align: center;
            color: #666;
            font-size: 0.85rem;
            margin-top: 0.5rem;
        }

        body.dark .lesson-info {
            color: #bbb;
        }

        .course-actions {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .course-card.enrolled {
            border-left: 4px solid #ff6b35;
        }

        .course-card.available {
            opacity: 0.9;
        }

        .course-card.available:hover {
            opacity: 1;
        }

        .no-courses {
            text-align: center;
            color: #666;
            font-style: italic;
            padding: 2rem;
        }

        body.dark .no-courses {
            color: #bbb;
        }

        /* Upcoming Lessons */
        .upcoming-section {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 1.5rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        body.dark .upcoming-section {
            background: rgba(26, 26, 26, 0.95);
            color: white;
        }

        .upcoming-title {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: #333;
        }

        body.dark .upcoming-title {
            color: white;
        }

        .lesson-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
            border-radius: 10px;
            margin-bottom: 0.5rem;
            transition: all 0.3s ease;
        }

        .lesson-item:hover {
            background: rgba(255, 107, 53, 0.1);
        }

        .lesson-item.overdue {
            background: rgba(255, 107, 107, 0.1);
            border-left: 4px solid #ff6b6b;
        }

        .lesson-info h4 {
            margin-bottom: 0.25rem;
            color: #333;
        }

        body.dark .lesson-info h4 {
            color: white;
        }

        .lesson-course {
            color: #666;
            font-size: 0.9rem;
        }

        body.dark .lesson-course {
            color: #bbb;
        }

        .lesson-date {
            color: #ff6b35;
            font-weight: 600;
            font-size: 0.9rem;
        }

        body.dark .lesson-date {
            color: #ff8c42;
        }

        .lesson-date.overdue {
            color: #ff6b6b;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .dashboard {
                grid-template-columns: 1fr;
                grid-template-rows: 70px auto 1fr;
                grid-template-areas: 
                    "topbar"
                    "sidebar"
                    "main";
            }

            .sidebar {
                padding: 1rem 0;
            }

            .nav-link {
                padding: 0.75rem 1rem;
            }

            .main-content {
                padding: 1rem;
            }

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

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

        @media (max-width: 480px) {
            .progress-overview {
                grid-template-columns: 1fr;
            }

            .user-section {
                gap: 0.5rem;
            }

            .search-bar {
                display: none;
            }
        }

        /* Welcome Modal */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(10px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .welcome-modal {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            padding: 3rem;
            border-radius: 25px;
            text-align: center;
            max-width: 500px;
            width: 90%;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            transform: scale(0.8) translateY(50px);
            transition: all 0.3s ease;
        }

        body.dark .welcome-modal {
            background: rgba(26, 26, 26, 0.95);
            color: white;
        }

        .modal-overlay.active .welcome-modal {
            transform: scale(1) translateY(0);
        }

        .modal-icon {
            font-size: 4rem;
            margin-bottom: 1rem;
        }

        .modal-title {
            font-size: 2rem;
            margin-bottom: 1rem;
            color: #333;
            font-weight: 700;
        }

        body.dark .modal-title {
            color: white;
        }

        .modal-subtitle {
            color: #666;
            margin-bottom: 2rem;
            font-size: 1.1rem;
            line-height: 1.5;
        }

        body.dark .modal-subtitle {
            color: #bbb;
        }

        .name-input {
            width: 100%;
            padding: 1rem 1.5rem;
            border: 2px solid #e0e0e0;
            border-radius: 15px;
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
            outline: none;
            transition: all 0.3s ease;
            text-align: center;
        }

        .name-input:focus {
            border-color: #ff6b35;
            box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
        }

        body.dark .name-input {
            background: rgba(255, 255, 255, 0.1);
            border-color: #555;
            color: white;
        }

        body.dark .name-input::placeholder {
            color: #bbb;
        }

        .start-btn {
            background: linear-gradient(45deg, #ff6b35, #ff8c42);
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 15px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
        }

        .start-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
        }

        .start-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

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

        @keyframes bounceIn {
            0% {
                opacity: 0;
                transform: scale(0.3);
            }
            50% {
                opacity: 1;
                transform: scale(1.05);
            }
            70% {
                transform: scale(0.9);
            }
            100% {
                opacity: 1;
                transform: scale(1);
            }
        }

        .course-card, .stat-card, .upcoming-section {
            animation: fadeInUp 0.6s ease forwards;
        }

        .course-card:nth-child(2) { animation-delay: 0.1s; }
        .course-card:nth-child(3) { animation-delay: 0.2s; }
        .course-card:nth-child(4) { animation-delay: 0.3s; }

        .modal-icon {
            animation: bounceIn 0.8s ease forwards;
        }

        /* Content Sections */
        .content-section {
            display: none;
        }

        .content-section.active {
            display: block;
        }

        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-subtitle {
            color: #666;
            font-size: 1.1rem;
            margin-top: 0.5rem;
        }

        body.dark .section-subtitle {
            color: #bbb;
        }

        /* Course Filters */
        .course-filters {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 0.75rem 1.5rem;
            border: 2px solid #ff6b35;
            background: transparent;
            color: #ff6b35;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .filter-btn:hover, .filter-btn.active {
            background: #ff6b35;
            color: white;
        }

        body.dark .filter-btn {
            border-color: #ff8c42;
            color: #ff8c42;
        }

        body.dark .filter-btn:hover, body.dark .filter-btn.active {
            background: #ff8c42;
            color: #1a1a1a;
        }

        /* Progress Details */
        .progress-details {
            margin-top: 2rem;
        }

        /* Goals Section */
        .goal-setting {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .goal-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 2rem;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            text-align: center;
        }

        body.dark .goal-card {
            background: rgba(26, 26, 26, 0.95);
            color: white;
        }

        .goal-card h3 {
            margin-bottom: 1.5rem;
            color: #333;
        }

        body.dark .goal-card h3 {
            color: white;
        }

        .goal-input {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .goal-input input {
            width: 80px;
            padding: 0.75rem;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            text-align: center;
            font-size: 1.1rem;
            outline: none;
        }

        .goal-input input:focus {
            border-color: #ff6b35;
        }

        body.dark .goal-input input {
            background: rgba(255, 255, 255, 0.1);
            border-color: #555;
            color: white;
        }

        .goal-btn {
            background: linear-gradient(45deg, #ff6b35, #ff8c42);
            color: white;
            border: none;
            padding: 0.75rem 2rem;
            border-radius: 10px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .goal-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
        }

        .goal-progress {
            text-align: left;
        }

        .goal-progress-bar {
            width: 100%;
            height: 12px;
            background: #e0e0e0;
            border-radius: 6px;
            overflow: hidden;
            margin-bottom: 1rem;
        }

        body.dark .goal-progress-bar {
            background: #555;
        }

        .goal-progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #ff6b35, #ff8c42);
            border-radius: 6px;
            transition: width 0.5s ease;
        }

        .goal-text {
            text-align: center;
            color: #666;
            font-weight: 500;
        }

        body.dark .goal-text {
            color: #bbb;
        }

        /* Achievements */
        .achievements {
            margin-top: 2rem;
        }

        .achievement-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1.5rem;
        }

        .achievement-badge {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 1.5rem;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        body.dark .achievement-badge {
            background: rgba(26, 26, 26, 0.95);
            color: white;
        }

        .achievement-badge.earned {
            border: 2px solid #ff6b35;
            transform: scale(1.02);
        }

        .achievement-badge.locked {
            opacity: 0.5;
            filter: grayscale(100%);
        }

        .achievement-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
        }

        .achievement-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: #333;
        }

        body.dark .achievement-title {
            color: white;
        }

        .achievement-description {
            color: #666;
            font-size: 0.9rem;
        }

        body.dark .achievement-description {
            color: #bbb;
        }

        /* Settings */
        .settings-group {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 2rem;
            border-radius: 20px;
            margin-bottom: 2rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        body.dark .settings-group {
            background: rgba(26, 26, 26, 0.95);
            color: white;
        }

        .settings-group h3 {
            margin-bottom: 1.5rem;
            color: #333;
            font-size: 1.3rem;
        }

        body.dark .settings-group h3 {
            color: white;
        }

        .setting-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1.5rem;
            gap: 1rem;
        }

        .setting-item:last-child {
            margin-bottom: 0;
        }

        .setting-item label {
            font-weight: 500;
            color: #333;
        }

        body.dark .setting-item label {
            color: white;
        }

        .setting-input, .setting-select {
            padding: 0.75rem;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            outline: none;
            min-width: 200px;
        }

        .setting-input:focus, .setting-select:focus {
            border-color: #ff6b35;
        }

        body.dark .setting-input, body.dark .setting-select {
            background: rgba(255, 255, 255, 0.1);
            border-color: #555;
            color: white;
        }

        .setting-btn {
            background: linear-gradient(45deg, #ff6b35, #ff8c42);
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 10px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .setting-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
        }

        .setting-btn.danger {
            background: linear-gradient(45deg, #ff6b6b, #ff5252);
        }

        .setting-btn.danger:hover {
            box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
        }

        /* Toggle Switch */
        .setting-toggle {
            display: flex;
            align-items: center;
            cursor: pointer;
            gap: 1rem;
        }

        .setting-toggle input {
            display: none;
        }

        .toggle-slider {
            width: 50px;
            height: 24px;
            background: #ccc;
            border-radius: 12px;
            position: relative;
            transition: all 0.3s ease;
        }

        .toggle-slider:before {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: white;
            top: 2px;
            left: 2px;
            transition: all 0.3s ease;
        }

        .setting-toggle input:checked + .toggle-slider {
            background: #ff6b35;
        }

        .setting-toggle input:checked + .toggle-slider:before {
            transform: translateX(26px);
        }

        body.dark .toggle-slider {
            background: #555;
        }

        body.dark .setting-toggle input:checked + .toggle-slider {
            background: #ff8c42;
        }

        .setting-item small {
            display: block;
            color: #666;
            font-size: 0.8rem;
            margin-top: 0.5rem;
        }

        body.dark .setting-item small {
            color: #bbb;
        }
    