body.light-mode .filter-sidebar {
    color: #1f2937;
}

body.light-mode .filter-title {
    color: #111827;
}

body.light-mode .filter-group-title {
    color: #9ca3af;
}

body.light-mode .filter-option,
body.light-mode .filter-price,
body.light-mode .filter-difficulty {
    color: #6b7280;
}

body.light-mode .filter-option:hover,
body.light-mode .filter-price:hover,
body.light-mode .filter-difficulty:hover {
    color: #111827;
}

body.light-mode .filter-option.active,
body.light-mode .filter-price.active,
body.light-mode .filter-difficulty.active {
    color: #ffffff;
}

body.light-mode .marketplace-title {
    color: #111827;
}

body.light-mode .search-input,
body.light-mode .sort-select {
    background: #ffffff;
    border-color: #e5e7eb;
    color: #111827;
}

body.light-mode .search-input::placeholder {
    color: #9ca3af;
}

body.light-mode .search-box svg circle,
body.light-mode .search-box svg path {
    stroke: #9ca3af;
}

.marketplace-section {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    padding: 8rem 0 4rem;
}

.marketplace-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    gap: 3rem;
}

.filter-sidebar {
    flex: 0 0 280px;
    position: sticky;
    top: 8rem;
    max-height: calc(100vh - 10rem);
    overflow-y: auto;
    overflow-x: hidden;
    background: transparent;
    border: none;
    border-radius: 16px;
    padding: 0;
    padding-right: 1rem;
}

.filter-sidebar::-webkit-scrollbar {
    width: 6px;
}

.filter-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.filter-sidebar::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 10px;
}

.filter-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.5);
}

.filter-title {
    font-family: 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 2rem 0;
    letter-spacing: -0.01em;
}

.filter-group {
    margin-bottom: 2.5rem;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 0.75rem 0;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.filter-option,
.filter-price,
.filter-difficulty {
    background: transparent;
    border: none;
    border-radius: 6px;
    padding: 0.65rem 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-option:hover,
.filter-price:hover,
.filter-difficulty:hover {
    background: rgba(139, 92, 246, 0.08);
    color: rgba(255, 255, 255, 0.9);
}

.filter-option.active,
.filter-price.active,
.filter-difficulty.active {
    background: rgba(139, 92, 246, 0.15);
    color: #ffffff;
    font-weight: 600;
}

.marketplace-content {
    flex: 1;
    min-width: 0;
}

.marketplace-header {
    margin-bottom: 3rem;
}

.marketplace-title {
    font-family: 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0 0 2rem 0;
}

.marketplace-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-box {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-box svg {
    position: absolute;
    left: 1.25rem;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 0.85rem 1.25rem 0.85rem 3rem;
    background: rgba(25, 25, 30, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-input:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(30, 30, 35, 0.7);
}

.sort-select {
    padding: 0.85rem 1.25rem;
    background: rgba(25, 25, 30, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 180px;
}

.sort-select:focus {
    outline: none;
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(30, 30, 35, 0.7);
}

.sort-select option {
    background: #1a1a1f;
    color: #ffffff;
}

.courses-grid-marketplace {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.course-card {
    background: rgba(25, 25, 30, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
}

.course-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(109, 40, 217, 0.3) 100%);
    position: relative;
    flex-shrink: 0;
}

.course-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.course-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}

.course-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(139, 92, 246, 0.15);
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #fbbf24;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.rating-num {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.course-students {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.course-button {
    display: block;
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: var(--deep-purple);
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    border: none;
    cursor: pointer;
}

.course-button:hover {
    background: #5b21b6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(109, 40, 217, 0.5);
}

.no-courses {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
}

@media (max-width: 1200px) {
    .marketplace-container {
        padding: 0 2rem;
        gap: 2rem;
    }

    .filter-sidebar {
        flex: 0 0 240px;
    }

    .courses-grid-marketplace {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 968px) {
    .marketplace-section {
        padding: 7rem 0 3rem;
    }

    .marketplace-container {
        flex-direction: column;
        padding: 0 1.5rem;
    }

    .filter-sidebar {
        position: static;
        width: 100%;
        flex: none;
    }

    .marketplace-title {
        font-size: 2.25rem;
    }

    .marketplace-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .sort-select {
        width: 100%;
    }

    .courses-grid-marketplace {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .navigation {
        padding: 1rem 0;
        position: fixed !important;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 10002 !important;
    }

    body:not(.light-mode) .navigation {
        background: rgba(10, 1, 24, 0.95) !important;
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    }

    body.light-mode .navigation {
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(20px);
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-container {
        padding: 0 16px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: relative;
        max-width: none !important;
    }

    .logo {
        z-index: 10003 !important;
        position: relative;
        order: 1;
    }

    .logo-container {
        height: 38px !important;
        position: relative;
    }

    .logo-image {
        height: 38px !important;
        width: auto !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }

    .logo-image.logo-default {
        display: block !important;
        opacity: 1 !important;
        z-index: 2 !important;
    }

    .logo-image.logo-hover {
        display: none !important;
        opacity: 0 !important;
        z-index: 1 !important;
    }

    body.light-mode .logo-image.logo-default {
        display: none !important;
        opacity: 0 !important;
        z-index: 1 !important;
    }

    body.light-mode .logo-image.logo-hover {
        display: block !important;
        opacity: 1 !important;
        z-index: 2 !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        z-index: 10003 !important;
        order: 2;
    }

    .nav-links {
        display: none !important;
    }

    .nav-actions {
        display: none !important;
    }

    .start-now-btn {
        display: none !important;
    }

    .marketplace-section {
        padding-top: 5rem;
    }

    .marketplace-container {
        padding: 0 1rem;
    }

    .filter-sidebar {
        display: none !important;
    }

    .mobile-filter-icon-toggle {
        display: flex !important;
    }

    .mobile-filter-overlay {
        display: block !important;
    }

    .marketplace-header {
        margin-bottom: 32px;
    }

    .marketplace-title {
        font-size: 24px !important;
        text-align: center;
        margin: 0 !important;
        padding: 24px 0 28px 0;
    }

    .marketplace-controls {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .search-box {
        width: 100%;
        order: 1;
    }

    .search-input {
        width: 100%;
        padding: 12px 16px 12px 44px !important;
        font-size: 14px !important;
    }

    .search-box svg {
        left: 14px !important;
    }

    .controls-right {
        width: 100%;
        display: flex !important;
        gap: 10px;
        order: 2;
    }

    .mobile-filter-icon-toggle {
        flex-shrink: 0;
    }

    .sort-select {
        flex: 1;
        min-width: 0 !important;
        padding: 12px 16px !important;
        font-size: 14px !important;
    }

    .courses-grid-marketplace {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .course-card {
        max-width: 100%;
    }

    .course-image {
        height: 180px;
    }

    .course-content {
        padding: 16px;
    }

    .course-title {
        font-size: 18px !important;
    }

    .course-description {
        font-size: 14px !important;
    }

    .course-button {
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 640px) {
    .marketplace-container {
        padding: 0 1rem;
    }

    .filter-sidebar {
        padding: 1.5rem;
    }

    .filter-title {
        font-size: 1.25rem;
    }

    .marketplace-title {
        font-size: 1.75rem;
    }

    .courses-grid-marketplace {
        grid-template-columns: 1fr;
    }

    .course-card {
        max-width: 100%;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10003;
    -webkit-tap-highlight-color: transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
}

body:not(.light-mode) .mobile-menu-toggle.active {
    background: rgba(139, 92, 246, 0.15);
}

body.light-mode .mobile-menu-toggle.active {
    background: rgba(139, 92, 246, 0.1);
}

.menu-bar {
    width: 100%;
    height: 2.5px;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body:not(.light-mode) .menu-bar {
    background: #ffffff;
}

body.light-mode .menu-bar {
    background: #8b5cf6;
}

.mobile-menu-toggle.active .menu-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active .menu-bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active .menu-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

body:not(.light-mode) .mobile-menu-overlay {
    background: rgba(10, 1, 24, 0.98);
    backdrop-filter: blur(20px);
}

body.light-mode .mobile-menu-overlay {
    background: rgba(243, 244, 246, 0.98);
    backdrop-filter: blur(20px);
}

.mobile-menu-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 80px 24px 24px;
    transform: translateY(-20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
}

.mobile-menu-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active .mobile-menu-header {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

body:not(.light-mode) .mobile-menu-header {
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

body.light-mode .mobile-menu-header {
    border-bottom: 1px solid #e5e7eb;
}

.mobile-menu-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
}

.mobile-user-info {
    flex: 1;
}

body:not(.light-mode) .mobile-user-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
}

body.light-mode .mobile-user-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px 0;
}

body:not(.light-mode) .mobile-user-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

body.light-mode .mobile-user-info p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.mobile-menu-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    padding: 8px 0;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-overlay.active .mobile-menu-link {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active .mobile-menu-nav .mobile-menu-link:nth-child(1) {
    transition-delay: 0.15s;
}

.mobile-menu-overlay.active .mobile-menu-nav .mobile-menu-link:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-menu-nav .mobile-menu-link:nth-child(3) {
    transition-delay: 0.25s;
}

.mobile-menu-overlay.active .mobile-menu-nav .mobile-menu-link:nth-child(4) {
    transition-delay: 0.3s;
}

.mobile-menu-overlay.active .mobile-menu-nav .mobile-menu-link:nth-child(5) {
    transition-delay: 0.35s;
}

.mobile-menu-overlay.active .mobile-menu-footer .mobile-menu-link:nth-child(1) {
    transition-delay: 0.4s;
}

.mobile-menu-overlay.active .mobile-menu-footer .mobile-menu-link:nth-child(2) {
    transition-delay: 0.45s;
}

body:not(.light-mode) .mobile-menu-link {
    color: rgba(255, 255, 255, 0.85) !important;
}

body.light-mode .mobile-menu-link {
    color: #1f2937 !important;
}

body:not(.light-mode) .mobile-menu-link:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #ffffff !important;
}

body.light-mode .mobile-menu-link:hover {
    background: #f9fafb;
    color: #111827 !important;
}

body:not(.light-mode) .mobile-menu-link.active {
    background: rgba(139, 92, 246, 0.15);
    color: #ffffff !important;
}

body.light-mode .mobile-menu-link.active {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6 !important;
}

body:not(.light-mode) .mobile-menu-link svg {
    color: rgba(255, 255, 255, 0.85);
}

body.light-mode .mobile-menu-link svg {
    color: #1f2937;
}

.mobile-menu-link:active {
    transform: scale(0.98);
}

.mobile-menu-link svg {
    flex-shrink: 0;
}

.mobile-menu-footer {
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateY(10px);
}

.mobile-menu-overlay.active .mobile-menu-footer {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.35s;
}

body:not(.light-mode) .mobile-menu-footer {
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

body.light-mode .mobile-menu-footer {
    border-top: 1px solid #e5e7eb;
}

body:not(.light-mode) .mobile-logout-btn {
    color: #ff6464 !important;
}

body.light-mode .mobile-logout-btn {
    color: #ef4444 !important;
}

body:not(.light-mode) .mobile-logout-btn svg {
    color: #ff6464;
}

body.light-mode .mobile-logout-btn svg {
    color: #ef4444;
}

body:not(.light-mode) .mobile-logout-btn:hover {
    background: rgba(239, 68, 68, 0.1) !important;
    color: #ff8080 !important;
}

body.light-mode .mobile-logout-btn:hover {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}

.mobile-filter-icon-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}

body:not(.light-mode) .mobile-filter-icon-toggle {
    background: rgba(139, 92, 246, 0.15);
    color: #ffffff;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

body.light-mode .mobile-filter-icon-toggle {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.mobile-filter-icon-toggle:active {
    transform: scale(0.95);
}

.mobile-filter-icon-toggle svg {
    display: block;
}

.controls-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

body:not(.light-mode) .mobile-filter-overlay {
    background: rgba(5, 0, 8, 0.85);
    backdrop-filter: blur(12px);
}

body.light-mode .mobile-filter-overlay {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
}

.mobile-filter-panel {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    width: calc(100% - 32px);
    max-width: 500px;
    max-height: calc(100vh - 100px);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-filter-overlay.active .mobile-filter-panel {
    transform: translateX(-50%) translateY(0);
}

body:not(.light-mode) .mobile-filter-panel {
    background: rgba(20, 20, 25, 0.98);
    border: 1px solid rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(20px);
}

body.light-mode .mobile-filter-panel {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e5e7eb;
    backdrop-filter: blur(20px);
}

.mobile-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    flex-shrink: 0;
}

body:not(.light-mode) .mobile-filter-header {
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

body.light-mode .mobile-filter-header {
    border-bottom: 1px solid #e5e7eb;
}

body:not(.light-mode) .mobile-filter-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

body.light-mode .mobile-filter-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.mobile-filter-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

body:not(.light-mode) .mobile-filter-close {
    background: rgba(139, 92, 246, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

body.light-mode .mobile-filter-close {
    background: #f3f4f6;
    color: #6b7280;
}

.mobile-filter-close:active {
    transform: scale(0.95);
}

.mobile-filter-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.mobile-filter-content .filter-group {
    margin-bottom: 28px;
}

.mobile-filter-content .filter-group:last-child {
    margin-bottom: 0;
}

.mobile-filter-content .filter-group-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 12px 0;
}

body:not(.light-mode) .mobile-filter-content .filter-group-title {
    color: rgba(255, 255, 255, 0.5);
}

body.light-mode .mobile-filter-content .filter-group-title {
    color: #9ca3af;
}

.mobile-filter-content .filter-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-filter-content .filter-option,
.mobile-filter-content .filter-price,
.mobile-filter-content .filter-difficulty {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: left;
}

body:not(.light-mode) .mobile-filter-content .filter-option,
body:not(.light-mode) .mobile-filter-content .filter-price,
body:not(.light-mode) .mobile-filter-content .filter-difficulty {
    background: rgba(139, 92, 246, 0.05);
    color: rgba(255, 255, 255, 0.7);
}

body.light-mode .mobile-filter-content .filter-option,
body.light-mode .mobile-filter-content .filter-price,
body.light-mode .mobile-filter-content .filter-difficulty {
    background: #f9fafb;
    color: #6b7280;
}

body:not(.light-mode) .mobile-filter-content .filter-option:hover,
body:not(.light-mode) .mobile-filter-content .filter-price:hover,
body:not(.light-mode) .mobile-filter-content .filter-difficulty:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #ffffff;
}

body.light-mode .mobile-filter-content .filter-option:hover,
body.light-mode .mobile-filter-content .filter-price:hover,
body.light-mode .mobile-filter-content .filter-difficulty:hover {
    background: #f3f4f6;
    color: #111827;
}

body:not(.light-mode) .mobile-filter-content .filter-option.active,
body:not(.light-mode) .mobile-filter-content .filter-price.active,
body:not(.light-mode) .mobile-filter-content .filter-difficulty.active {
    background: rgba(139, 92, 246, 0.2);
    color: #ffffff;
}

body.light-mode .mobile-filter-content .filter-option.active,
body.light-mode .mobile-filter-content .filter-price.active,
body.light-mode .mobile-filter-content .filter-difficulty.active {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.mobile-filter-actions {
    display: flex;
    gap: 12px;
    padding: 16px 24px;
    flex-shrink: 0;
}

body:not(.light-mode) .mobile-filter-actions {
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

body.light-mode .mobile-filter-actions {
    border-top: 1px solid #e5e7eb;
}

.clear-filters-btn {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    -webkit-tap-highlight-color: transparent;
}

body:not(.light-mode) .clear-filters-btn {
    background: rgba(139, 92, 246, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

body.light-mode .clear-filters-btn {
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.clear-filters-btn:active {
    transform: scale(0.98);
}

.apply-filters-btn {
    flex: 1;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #ffffff;
    -webkit-tap-highlight-color: transparent;
}

.apply-filters-btn:active {
    transform: scale(0.98);
}

