:root {
    --primary-color: #2ecc71;
    --primary-dark: #27ae60;
    --accent-color: #f1c40f;
    --text-color: #2c3e50;
    --bg-color: #f0fdf4;
    /* Very light green */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.6);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(46, 204, 113, 0.15);
    --panel-bg: #fff;
}

body.dark-mode {
    --text-color: #ecf0f1;
    --bg-color: #000000;
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 15px 40px rgba(46, 204, 113, 0.2);
    --panel-bg: #121212;
}

body.dark-mode .menu-toggle,
body.dark-mode .back-btn,
body.dark-mode .file-item,
body.dark-mode .search-box,
body.dark-mode .console-panel,
body.dark-mode .feature-card,
body.dark-mode .menu-item,
body.dark-mode .glass-card {
    background: var(--glass-bg);
    color: #ecf0f1;
    border: var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

body.dark-mode .search-box input {
    color: white;
}

body.dark-mode .bg-shape {
    opacity: 0.6;
    filter: blur(60px);
}

body.dark-mode .shape-1 {
    background: radial-gradient(circle, rgba(50, 50, 50, 0.8) 0%, rgba(0, 0, 0, 0) 70%);
}

body.dark-mode .shape-2 {
    background: radial-gradient(circle, rgba(46, 204, 113, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Shapes */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.shape-1 {
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: rgba(46, 204, 113, 0.2);
}

.shape-2 {
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(39, 174, 96, 0.15);
}

.container {
    max-width: 480px;
    /* Mobile focused max-width */
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.glass-header {
    position: sticky;
    top: 20px;
    z-index: 100;
    margin: 0 15px;
    /* Slight inset */
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: var(--glass-border);
    box-shadow: var(--shadow-soft);
    padding: 10px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.5);
    padding: 8px 15px;
    border-radius: 15px;
    flex-grow: 1;
    margin-right: 15px;
}

.search-icon {
    color: #95a5a6;
    margin-right: 10px;
}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 14px;
    color: var(--text-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Console Panel */
.console-panel {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: right 0.3s ease-in-out;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    border-left: var(--glass-border);
    display: flex;
    flex-direction: column;
}

.console-panel.open {
    right: 0;
}

.console-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.console-overlay.open {
    display: block;
    opacity: 1;
}

.console-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.close-console {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-color);
    cursor: pointer;
}

.console-body {
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
}

.console-user-section {
    text-align: center;
    margin-bottom: 20px;
}

.console-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 3px solid var(--primary-color);
}

.user-text h4 {
    margin-bottom: 5px;
}

.user-text p {
    font-size: 14px;
    color: #95a5a6;
    margin-bottom: 15px;
}

.console-btn {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-btn {
    background: var(--primary-color);
    color: white;
}

.admin-btn {
    background: #34495e;
    color: white;
}

.console-divider {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.console-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--primary-color);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--primary-color);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}


/* Hero Section */
.hero-section {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.main-logo {
    width: 120px;
    height: auto;
    margin-bottom: 15px;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.hero-subtitle {
    font-size: 14px;
    color: #7f8c8d;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid white;
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.card-icon-wrapper {
    width: 100%;
    height: 100px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
}

.card-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
}

/* About / Access Cards */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 20px;
}

.site-goal {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.owner-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.owner-profile:hover {
    background: rgba(255, 255, 255, 0.8);
}

.owner-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.owner-info h3 {
    font-size: 16px;
    margin-bottom: 2px;
}

.click-hint {
    font-size: 12px;
    color: var(--primary-color);
}

.owner-details {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
    padding: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.3s;
}

.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.social-links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s;
}

.social-btn:hover {
    transform: scale(1.02);
}

.social-btn.telegram {
    background: #0088cc;
    color: white;
}

.social-btn.youtube {
    background: #ff0000;
    color: white;
}

.social-btn.instagram {
    background: #e1306c;
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    color: white;
}

.contact-btn {
    display: block;
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
    transition: transform 0.2s;
    margin-bottom: 40px;
}

.contact-btn:hover {
    transform: scale(1.02);
    background: var(--primary-dark);
}

/* Sections Structure */
section {
    display: none;
    animation: slideIn 0.3s ease-out;
}

.active-section {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Sub-Pages Header */
.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    margin-top: 30px;
}

.back-btn {
    border: none;
    background: white;
    padding: 10px 15px;
    border-radius: 12px;
    font-weight: 600;
    color: var(--text-color);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.back-btn:hover {
    background: #f8f9fa;
}

.section-header h2 {
    font-size: 20px;
}

/* Menu List */
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-item {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid white;
    padding: 15px;
    border-radius: 18px;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
    border: none;
    /* for buttons */
    width: 100%;
    /* for buttons */
}

.date-item {
    /* Special styling for items that might need date display later */
}

.icon-box {
    width: 45px;
    height: 45px;
    background: rgba(46, 204, 113, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
}

.youtube-icon {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
}

.menu-item span {
    flex-grow: 1;
    font-weight: 500;
    font-size: 16px;
}

.arrow {
    color: #bdc3c7;
    font-size: 14px;
}

/* File List (PDFs) */
.file-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 12px 15px;
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid #eee;
}

.file-icon {
    font-size: 24px;
    color: #e74c3c;
    /* PDF color */
    margin-right: 15px;
}

.file-info {
    flex-grow: 1;
}

.file-name {
    display: block;
    font-weight: 500;
    margin-bottom: 2px;
}

.file-size {
    font-size: 12px;
    color: #95a5a6;
}

.action-icon {
    color: var(--primary-color);
}

/* Sub Sections */
.sub-category-btn {
    justify-content: space-between;
}

.sub-section-content {
    padding-left: 20px;
    /* Indent sub items */
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    animation: fadeIn 0.3s;
}

.sub-section-content.active-sub {
    display: flex;
}

/* Modal Styles */
.modal {
    position: fixed;
    /* Stay in place */
    z-index: 2000;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.6);
    /* Black w/ opacity */
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
}

.modal.open {
    display: flex;
}

.modal-content {
    background-color: var(--glass-bg);
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    /* Could be more or less, depending on screen size */
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

body.dark-mode .modal-content {
    background-color: #2c3e50;
    color: white;
    border-color: #34495e;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--text-color);
    text-decoration: none;
    cursor: pointer;
}

/* Form Styles */
#adminForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

#adminForm input,
#adminForm select {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #bdc3c7;
    outline: none;
    background: rgba(255, 255, 255, 0.8);
}

#adminForm button {
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

#adminForm button:hover {
    background: var(--primary-dark);
}

.empty-state {
    text-align: center;
    color: #95a5a6;
    font-style: italic;
    padding: 10px;
}

/* Blurred Background Logo */
.bg-logo-blur {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    max-width: 90vw;
    max-height: 90vh;
    background-image: url('../images/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.08;
    filter: blur(15px);
    z-index: -2;
    pointer-events: none;
}

body.dark-mode .bg-logo-blur {
    opacity: 0.04;
    filter: blur(20px) brightness(0.6);
}

/* Question Navigation Panel */
.question-nav-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.q-nav-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background: #f8f9fa;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.q-nav-dot:hover {
    border-color: #3498db;
    background: rgba(52, 152, 219, 0.05);
}

.q-nav-dot.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.4);
}

.q-nav-dot.answered {
    background: #2ecc71;
    color: white;
    border-color: #2ecc71;
}

.q-nav-dot.skipped {
    background: #f39c12;
    color: white;
    border-color: #f39c12;
}

body.dark-mode .q-nav-dot {
    background: #2c3e50;
    border-color: #34495e;
    color: #f1f2f6;
}

body.dark-mode .q-nav-dot:hover {
    border-color: #3498db;
}

body.dark-mode .q-nav-dot.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

body.dark-mode .q-nav-dot.answered {
    background: #2ecc71;
    color: white;
    border-color: #2ecc71;
}

body.dark-mode .q-nav-dot.skipped {
    background: #f39c12;
    color: white;
    border-color: #f39c12;
}

/* Previous button styling */
.prev-btn {
    background: #7f8c8d;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn:hover {
    background: #95a5a6;
    transform: translateY(-2px);
}

body.dark-mode .prev-btn {
    background: #34495e;
}

body.dark-mode .prev-btn:hover {
    background: #4e6a85;
}

/* Level Selection styles */
.level-select-btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid #ccc;
    background: white;
    color: #333;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s;
}
.level-select-btn:hover {
    border-color: #2ecc71;
}
.level-select-btn.active {
    border-color: #2ecc71;
    background: #2ecc71;
    color: white;
}
body.dark-mode .level-select-btn {
    background: #2c3e50;
    border-color: #444;
    color: #f1f2f6;
}
body.dark-mode .level-select-btn:hover {
    border-color: #2ecc71;
}
body.dark-mode .level-select-btn.active {
    background: #2ecc71;
    border-color: #2ecc71;
    color: white;
}

/* Word Scramble styles */
.word-answer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.word-slots {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.letter-slot {
    width: 45px;
    height: 45px;
    border: 2px dashed #95a5a6;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #2c3e50;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.letter-slot.filled {
    border-style: solid;
    border-color: #2ecc71;
    background: rgba(46, 204, 113, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.letter-tiles {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 500px;
}

.letter-tile {
    width: 45px;
    height: 45px;
    border: 2px solid #2ecc71;
    border-radius: 8px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #27ae60;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    user-select: none;
}

.letter-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(46, 204, 113, 0.15);
    background: rgba(46, 204, 113, 0.05);
}

.letter-tile.used {
    opacity: 0.3;
    pointer-events: none;
    transform: none;
    box-shadow: none;
    border-color: #ccc;
    color: #ccc;
}

.word-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.word-control-btn {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #f8f9fa;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.word-control-btn:hover {
    background: #e9ecef;
}

body.dark-mode .letter-slot {
    border-color: #555;
    color: #f1f2f6;
}
body.dark-mode .letter-slot.filled {
    border-color: #2ecc71;
    background: rgba(46, 204, 113, 0.1);
}
body.dark-mode .letter-tile {
    background: #2c3e50;
    border-color: #2ecc71;
    color: #2ecc71;
}
body.dark-mode .letter-tile.used {
    border-color: #444;
    color: #555;
}
body.dark-mode .word-control-btn {
    background: #2c3e50;
    border-color: #444;
    color: #f1f2f6;
}
body.dark-mode .word-control-btn:hover {
    background: #34495e;
}

/* Leaderboard Status Badges */
.lb-status {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    width: fit-content;
    margin-top: 3px;
}

/* Light Mode Badge Colors (High Contrast) */
.status-master {
    background: rgba(241, 196, 15, 0.12);
    color: #b78a00;
    border: 1px solid rgba(241, 196, 15, 0.4);
}
.status-advanced {
    background: rgba(52, 152, 219, 0.12);
    color: #1b75b3;
    border: 1px solid rgba(52, 152, 219, 0.4);
}
.status-diligent {
    background: rgba(155, 89, 182, 0.12);
    color: #7b3e97;
    border: 1px solid rgba(155, 89, 182, 0.4);
}
.status-seeker {
    background: rgba(46, 204, 113, 0.12);
    color: #1e8449;
    border: 1px solid rgba(46, 204, 113, 0.4);
}
.status-participant {
    background: rgba(149, 165, 166, 0.12);
    color: #5d6d7e;
    border: 1px solid rgba(149, 165, 166, 0.4);
}

/* Dark Mode Badge Colors */
body.dark-mode .status-master {
    background: rgba(241, 196, 15, 0.15);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.3);
}
body.dark-mode .status-advanced {
    background: rgba(52, 152, 219, 0.15);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}
body.dark-mode .status-diligent {
    background: rgba(155, 89, 182, 0.15);
    color: #9b59b6;
    border: 1px solid rgba(155, 89, 182, 0.3);
}
body.dark-mode .status-seeker {
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}
body.dark-mode .status-participant {
    background: rgba(149, 165, 166, 0.15);
    color: #95a5a6;
    border: 1px solid rgba(149, 165, 166, 0.3);
}

/* Mobile Performance Optimization */
@media (max-width: 768px) {
    .menu-item, .file-item, .feature-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.95) !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04) !important;
    }
    body.dark-mode .menu-item, 
    body.dark-mode .file-item,
    body.dark-mode .feature-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(30, 30, 30, 0.95) !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
}