        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body, html, div, img, svg, path {
            cursor: default !important;
        }

        button, a {
            cursor: default !important;
        }

        input {
            cursor: text !important;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #0f0f0f;
            color: #fff;
            min-height: 100vh;
            padding: 0;
        }

        .navbar {
            padding: 20px 30px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

        .navbar-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .navbar-right {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .navbar-icon {
            width: 32px;
            height: 32px;
            border-radius: 6px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }

        .navbar-title {
            font-size: 20px;
            font-weight: 600;
            color: #fff;
        }

        .search-btn {
            background: #1a1a1a;
            border: none;
            border-radius: 8px;
            padding: 8px;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s ease;
        }

        .search-btn:hover {
            background: #252525;
        }

        .search-btn svg {
            width: 20px;
            height: 20px;
        }

        .discord-btn {
            background: #5865F2;
            border: none;
            border-radius: 8px;
            padding: 8px;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: background 0.2s ease;
        }

        .discord-btn:hover {
            background: #4752C4;
        }

        .discord-btn svg {
            width: 20px;
            height: 20px;
        }

        .discord-btn svg path {
            fill: #fff;
        }

        .settings-btn {
            background: #1a1a1a;
            border: none;
            border-radius: 8px;
            padding: 8px;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s ease;
        }

        .settings-btn:hover {
            background: #252525;
        }

        .settings-btn svg {
            width: 20px;
            height: 20px;
            fill: #fff;
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            z-index: 1000;
            align-items: flex-start;
            justify-content: center;
            padding-top: 15vh;
        }

        .modal.active {
            display: flex;
        }

        .modal-content {
            background: rgba(30, 30, 30, 0.95);
            border-radius: 16px;
            padding: 24px;
            max-width: 600px;
            width: 90%;
            position: relative;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        }

        #searchModal .modal-content {
            padding: 0;
            background: rgba(40, 40, 40, 0.98);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 24px;
            overflow: hidden;
            max-height: 70vh;
            display: flex;
            flex-direction: column;
        }

        #searchModal .modal-header {
            display: none;
        }

        #searchModal .close-btn {
            display: none;
        }

        .close-btn {
            position: absolute;
            top: 16px;
            right: 16px;
            background: none;
            border: none;
            color: #888;
            font-size: 28px;
            line-height: 1;
            padding: 0;
            width: 32px;
            height: 32px;
            transition: color 0.2s ease;
        }

        .close-btn:hover {
            color: #fff;
        }

        .modal-header {
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 20px;
        }

        .modal-buttons {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .modal-btn {
            background: rgba(255, 255, 255, 0.05);
            border: none;
            color: #fff;
            padding: 14px 20px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 500;
            transition: background 0.2s ease;
        }

        .modal-btn:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 20px;
        }

        .search-container-modal {
            position: relative;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .search-icon-modal {
            position: absolute;
            left: 24px;
            top: 50%;
            transform: translateY(-50%);
            width: 22px;
            height: 22px;
            pointer-events: none;
        }

        .search-input-modal {
            width: 100%;
            padding: 24px 24px 24px 60px;
            background: transparent;
            border: none;
            color: #fff;
            font-size: 20px;
            outline: none;
        }

        .search-input-modal::placeholder {
            color: #888;
        }

        .search-results {
            overflow-y: auto;
            max-height: calc(70vh - 80px);
            padding: 16px;
        }

        .search-results::-webkit-scrollbar {
            width: 8px;
        }

        .search-results::-webkit-scrollbar-track {
            background: transparent;
        }

        .search-results::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.2);
            border-radius: 4px;
        }

        .search-results::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .search-results-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(100px, 100px));
            gap: 12px;
            justify-content: center;
        }

        .search-result-tile {
            width: 100px;
            height: 100px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            transition: all 0.2s ease;
            position: relative;
            overflow: hidden;
        }

        .search-result-tile:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: scale(1.02);
        }

        .search-result-icon {
            width: 100%;
            height: 100%;
            border-radius: 12px;
            object-fit: cover;
        }

        .search-result-title {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            font-size: 11px;
            font-weight: 500;
            color: #fff;
            line-height: 1.2;
            padding: 8px;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
        }

        .search-no-results {
            text-align: center;
            padding: 40px 20px;
            color: #888;
            font-size: 16px;
        }

        .games-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 140px));
            gap: 16px;
            justify-content: center;
        }

        .game-tile {
            width: 140px;
            height: 140px;
            background: #1a1a1a;
            border-radius: 12px;
            transition: all 0.2s ease;
            position: relative;
            overflow: hidden;
        }

        .game-tile:hover {
            background: #252525;
            transform: scale(1.02);
        }

        .game-tile:active {
            transform: scale(0.98);
        }

        .game-icon {
            width: 100%;
            height: 100%;
            border-radius: 12px;
            object-fit: cover;
        }

        .game-title {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            font-size: 13px;
            font-weight: 500;
            color: #fff;
            line-height: 1.2;
            padding: 10px;
            opacity: 0;
            transition: opacity 0.2s ease;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
        }

        .game-tile:hover .game-title {
            opacity: 1;
        }

        @media (max-width: 768px) {
            .navbar {
                padding: 15px 20px;
            }

            .navbar-right {
                gap: 10px;
            }

            .navbar-icon {
                width: 28px;
                height: 28px;
            }

            .navbar-title {
                font-size: 18px;
            }

            .search-btn {
                width: 36px;
                height: 36px;
                padding: 6px;
            }

            .search-btn svg {
                width: 18px;
                height: 18px;
            }

            .discord-btn {
                width: 36px;
                height: 36px;
                padding: 6px;
            }

            .discord-btn svg {
                width: 18px;
                height: 18px;
            }

            .settings-btn {
                width: 36px;
                height: 36px;
                padding: 6px;
            }

            .settings-btn svg {
                width: 18px;
                height: 18px;
            }

            .modal-content {
                padding: 24px;
            }

            .modal-header {
                font-size: 20px;
            }

            .container {
                padding: 15px;
            }

            .games-grid {
                grid-template-columns: repeat(auto-fill, minmax(120px, 120px));
                gap: 12px;
            }

            .game-tile {
                width: 120px;
                height: 120px;
            }

            .game-title {
                font-size: 12px;
                padding: 8px;
            }
        }

        @media (max-width: 480px) {
            .navbar {
                padding: 12px 15px;
            }

            .navbar-right {
                gap: 8px;
            }

            .navbar-icon {
                width: 24px;
                height: 24px;
            }

            .navbar-title {
                font-size: 16px;
            }

            .search-btn {
                width: 32px;
                height: 32px;
                padding: 5px;
            }

            .search-btn svg {
                width: 16px;
                height: 16px;
            }

            .discord-btn {
                width: 32px;
                height: 32px;
                padding: 5px;
            }

            .discord-btn svg {
                width: 16px;
                height: 16px;
            }

            .settings-btn {
                width: 32px;
                height: 32px;
                padding: 5px;
            }

            .settings-btn svg {
                width: 16px;
                height: 16px;
            }

            .modal-content {
                padding: 24px;
            }

            .close-btn {
                font-size: 24px;
                width: 28px;
                height: 28px;
            }

            .modal-header {
                font-size: 18px;
            }

            .modal-btn {
                padding: 12px 16px;
                font-size: 14px;
            }

            .games-grid {
                grid-template-columns: repeat(auto-fill, minmax(100px, 100px));
                gap: 10px;
            }

            .game-tile {
                width: 100px;
                height: 100px;
            }

            .game-title {
                font-size: 11px;
                padding: 6px;
            }
        }