        :root {
            --primary-blue: #0055aa;
            --secondary-blue: #003366;
            --text-blue: #66ccff;
            --glow-blue: #0088cc;
            --hover-blue: #0077cc;
            --dark-bg: #000814;
            --background-blue: #000814;
        }

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

        body {
            background-color: var(--dark-bg);
            color: var(--text-blue);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
            position: relative;
        }

        .header {
            background-color: var(--dark-bg);
            border-bottom: 1px solid var(--primary-blue);
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 10;
        }

        .logo {
            color: var(--text-blue);
            font-weight: bold;
            text-decoration: none;
            font-size: 18px;
            text-shadow: 0 0 5px var(--glow-blue);
        }

        .controls {
            display: flex;
            align-items: center;
        }

        .icon-btn {
            background: none;
            color: var(--text-blue);
            border: none;
            cursor: pointer;
            font-size: 14px;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 4px;
            margin-left: 10px;
            transition: background-color 0.2s;
        }

        .icon-btn:hover {
            background-color: rgba(102, 204, 255, 0.1);
        }

        .search-container {
            flex-grow: 1;
            max-width: 500px;
            margin: 0 20px;
        }

        .search-input {
            width: 100%;
            background-color: rgba(0, 20, 40, 0.6);
            border: 1px solid var(--primary-blue);
            border-radius: 2px;
            padding: 8px 15px;
            color: var(--text-blue);
            font-size: 16px;
            outline: none;
        }

        .search-input:focus {
            box-shadow: 0 0 8px rgba(0, 85, 170, 0.4);
        }

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

        .main-content {
            flex: 1;
            padding: 20px;
            position: relative;
            z-index: 1;
        }

        .section-header {
            margin-bottom: 20px;
            border-bottom: 1px solid rgba(0, 85, 170, 0.3);
            padding-bottom: 10px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .section-title {
            font-size: 20px;
            color: white;
            text-shadow: 0 0 5px var(--glow-blue);
        }

        .games-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 15px;
            margin-bottom: 30px;
        }

        .game-card {
            background-color: rgba(0, 20, 40, 0.3);
            border: 1px solid var(--primary-blue);
            border-radius: 2px;
            overflow: hidden;
            transition: transform 0.2s, box-shadow 0.2s;
            cursor: pointer;
        }

        .game-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0, 85, 170, 0.4);
        }

        .game-image {
            width: 100%;
            aspect-ratio: 1/1;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #001428;
            overflow: hidden;
        }

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

        .game-info {
            padding: 10px;
        }

        .game-title {
            font-weight: bold;
            font-size: 14px;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 20px;
            margin-bottom: 30px;
        }

        .page-btn {
            background-color: rgba(0, 55, 102, 0.3);
            color: var(--text-blue);
            border: 1px solid var(--primary-blue);
            padding: 6px 12px;
            margin: 0 5px;
            cursor: pointer;
            border-radius: 2px;
        }

        .page-btn.active {
            background-color: var(--primary-blue);
            color: white;
        }

        .page-btn:hover:not(.active) {
            background-color: rgba(0, 55, 102, 0.6);
        }

        .footer {
            border-top: 1px solid var(--primary-blue);
            padding: 15px;
            text-align: center;
            font-size: 12px;
            color: rgba(102, 204, 255, 0.7);
        }

        .game-player {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 8, 20, 0.95);
            display: none;
            flex-direction: column;
            z-index: 100;
        }

        .game-player.active {
            display: flex;
        }

        .game-player-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 15px;
            background-color: rgba(0, 20, 40, 0.8);
            border-bottom: 1px solid var(--primary-blue);
        }

        .game-title-bar {
            font-weight: bold;
            color: var(--text-blue);
            text-shadow: 0 0 5px var(--glow-blue);
            font-size: 16px;
        }

        .game-player-controls {
            display: flex;
            gap: 10px;
        }

        .game-frame-container {
            flex-grow: 1;
            position: relative;
        }

        .game-frame {
            width: 100%;
            height: 100%;
            border: none;
            background-color: black;
        }

        .loading-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: var(--dark-bg);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1;
        }

        .spinner {
            border: 3px solid rgba(0, 85, 170, 0.3);
            border-top: 3px solid var(--primary-blue);
            border-radius: 50%;
            width: 30px;
            height: 30px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .loader-container {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 200px;
        }

        .message-box {
            text-align: center;
            padding: 30px;
            max-width: 400px;
            margin: 0 auto;
            background-color: rgba(0, 20, 40, 0.3);
            border: 1px solid var(--primary-blue);
            border-radius: 2px;
        }

        .message-box i {
            font-size: 30px;
            margin-bottom: 15px;
            opacity: 0.7;
        }

        .message-box h2 {
            margin-bottom: 10px;
        }

        .message-box p {
            margin-bottom: 20px;
            opacity: 0.8;
        }

        .message-box button {
            background-color: var(--primary-blue);
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 2px;
            cursor: pointer;
        }

        @media (max-width: 768px) {
            .games-grid {
                grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
            }

            .search-container {
                max-width: none;
                margin: 0 10px;
            }
        }
