    /* Reset and Base Styles */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --light: #ffffff;
            --dark: #37474f;
            --text-dark: #263238;
            --text-light: #546e7a;
            --gray: #f5f7fa;
            --primary: #8800f8;
            --primary-light: #aa4dff;
            --secondary: #ff6b6b;
            --accent: #4ecdc4;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--text-dark);
            line-height: 1.6;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
            min-height: 100vh;
            transition: var(--transition);
        }

        body.dark-mode {
            --light: #2d3436;
            --dark: #f8f9fa;
            --text-dark: #f8f9fa;
            --text-light: #b2bec3;
            --gray: #636e72;
            background: linear-gradient(135deg, #2d3436 0%, #000000 100%);
        }

        /* Header Styles */
        header {
            background-color: var(--light);
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: var(--transition);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .icon-small {
            width: 60px;
            height: 60px;
            border-radius: 8px;
        }

        .logo h1 {
            font-size: 1.5rem;
            color: var(--primary);
        }

        .link-a-formating {
            text-decoration: none;
            color: inherit;
        }

        /* Menu Toggle */
        .menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-around;
            width: 30px;
            height: 25px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 10;
        }

        .menu-toggle span {
            width: 100%;
            height: 3px;
            background-color: var(--dark);
            border-radius: 10px;
            transition: var(--transition);
            position: relative;
            transform-origin: center;
        }

        /* Navigation */
        nav ul {
            display: flex;
            list-style: none;
            gap: 1.5rem;
        }

        nav a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            transition: var(--transition);
            padding: 0.5rem 1rem;
            border-radius: 4px;
        }

        nav a:hover {
            color: var(--primary);
            background-color: rgba(136, 0, 248, 0.1);
        }

        /* Theme Toggle */
        .theme-toggle {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .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: var(--transition);
            border-radius: 34px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 16px;
            width: 16px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: var(--transition);
            border-radius: 50%;
        }

        input:checked + .slider {
            background-color: var(--primary);
        }

        input:checked + .slider:before {
            transform: translateX(26px);
        }

        /* Search Container */
        .search-container {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 2rem;
        }

        .search-box {
            position: relative;
            max-width: 500px;
            margin: 0 auto;
            transition: var(--transition);
        }

        .search-icon {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-light);
        }

        .search-input {
            width: 100%;
            padding: 12px 20px 12px 45px;
            border: none;
            border-radius: 50px;
            background-color: var(--light);
            box-shadow: var(--shadow);
            font-size: 1rem;
            color: var(--text-dark);
            transition: var(--transition);
        }

        .search-input:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(136, 0, 248, 0.3);
        }

        /* Main Content */
        main {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem 3rem;
        }

        .hero {
            text-align: center;
            margin-bottom: 3rem;
            padding: 2rem;
            border-radius: 12px;
            background-color: var(--light);
            box-shadow: var(--shadow);
        }

        .hero h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: var(--primary);
        }

        .hero p {
            font-size: 1.2rem;
            color: var(--text-light);
            max-width: 800px;
            margin: 0 auto;
        }

        /* Games Container */
        .games-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
        }

        .game-card {
            background-color: var(--light);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
        }

        .game-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        }

        .game-image {
            height: 300px;
            
            overflow: hidden;
        }

        .game-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .game-card:hover .game-image img {
            transform: scale(1.05);
        }

        .game-content {
            padding: 1.5rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .game-title {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            color: var(--text-dark);
        }

        .game-description {
            color: var(--text-light);
            margin-bottom: 1.5rem;
            flex-grow: 1;
            overflow: hidden;
            max-height: 60px;
            transition: max-height 0.5s ease;
            text-align: justify;
        }

        .game-description.show {
            max-height: 500px;
        }

        .game-actions {
            display: flex;
            gap: 1rem;
        }

        .btn {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
            display: inline-block;
            text-align: center;
        }

        .btn-primary {
            background-color: var(--primary);
            color: white;
            flex: 2;
        }

        .btn-primary:hover {
            background-color: var(--primary-light);
        }

        .btn-secondary {
            background-color: var(--gray);
            color: var(--text-dark);
            flex: 1;
            
        }

        .btn-secondary:hover {
            background-color: var(--text-light);
            color: var(--light);
        }

        .game-link-formating {
            color: white;
            text-decoration: none;
            display: block;
        }

        /* No Results */
        .no-results {
            grid-column: 1 / -1;
            text-align: center;
            padding: 3rem;
            background-color: var(--light);
            border-radius: 12px;
            box-shadow: var(--shadow);
        }

        .no-results i {
            font-size: 3rem;
            color: var(--text-light);
            margin-bottom: 1rem;
        }

        .no-results h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
            color: var(--text-dark);
        }

        .no-results p {
            color: var(--text-light);
        }

        /* Footer */
        footer {
            background-color: var(--light);
            padding: 3rem 0 1rem;
            margin-top: 3rem;
            transition: var(--transition);
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .footer-section h3 {
            font-size: 1.2rem;
            margin-bottom: 1rem;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .para-for-footer {
            color: var(--text-light);
            margin-bottom: 1rem;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.5rem;
        }

        .footer-links a {
            text-decoration: none;
            color: var(--text-light);
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--primary);
        }

        .link-a-formating-footer {
            text-decoration: none;
            color: inherit;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            margin-top: 2rem;
            border-top: 1px solid var(--gray);
            color: var(--text-light);
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 2rem;
            padding-right: 2rem;
        }

        /* Responsive Design */
        @media (max-width: 900px) {
            .header-content {
                flex-wrap: wrap;
            }
            
            nav {
                order: 3;
                width: 100%;
                margin-top: 1rem;
                display: none;
            }
            
            nav.active {
                display: block;
            }
            
            nav ul {
                flex-direction: column;
                gap: 0.5rem;
            }
            
            .menu-toggle {
                display: flex;
            }
            
            .theme-toggle {
                margin-left: auto;
                margin-right: 1rem;
            }
        }

        @media (max-width: 600px) {
            .header-content {
                padding: 1rem;
            }
            
            .logo h1 {
                font-size: 1.2rem;
            }
            
            .hero h2 {
                font-size: 2rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .search-container {
                padding: 0 1rem;
            }
            
            main {
                padding: 0 1rem 2rem;
            }
            
            .games-container {
                grid-template-columns: 1fr;
            }
            
            .game-actions {
                flex-direction: column;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
            }
        }