:root {
    --primary-color: #4CAF50;
    --primary-hover: #45a049;
    --primary-focus: #2E7D32;
    --text-color: #333;
    --light-text: #fff;
    --bg-dark: #222;
    --bg-darker: #181a1b;
    --bg-light: #f4f4f4;
    --focus-outline: 3px solid #4CAF50;
    --focus-outline-offset: 2px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    background: none;
    border: none;
    padding: 0;
}

.menu-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--light-text);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Menu open state */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Navigation icons */
.nav-links a i {
    width: 24px;
    margin-right: 12px;
    text-align: center;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.nav-links a:hover i,
.nav-links a:focus i {
    opacity: 1;
}

/* Screen reader only utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.menu-icon {
    display: block;
    position: relative;
    width: 24px;
    height: 20px;
}

.menu-line {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-line:nth-child(1) {
    top: 0;
}

.menu-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-line:nth-child(3) {
    bottom: 0;
}

/* Active state for menu toggle */
.menu-toggle.active .menu-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active .menu-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Navigation styles for mobile */
.menu-toggle {
    display: none; /* Hide by default on desktop */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    cursor: pointer;
    padding: 10px;
    margin-left: 10px;
    position: relative;
    z-index: 1002;
    transition: all 0.3s ease;
    outline: none;
}

.menu-toggle:hover,
.menu-toggle:focus {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.3);
}

.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    position: relative;
}

.menu-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Show menu toggle only on mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active .menu-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .menu-line:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    
    .menu-toggle.active .menu-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .navbar {
        position: relative;
        z-index: 1001;
        padding: 10px 15px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background-color: #1a1a1a;
        padding: 80px 20px 40px;
        transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        visibility: hidden;
        transform: translateX(280px);
        will-change: transform, opacity, visibility;
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
    
    .nav-links a {
        display: flex;
        align-items: center;
        padding: 14px 20px;
        color: #fff;
        text-decoration: none;
        font-size: 16px;
        border-radius: 6px;
        margin-bottom: 6px;
        transition: all 0.25s ease;
        background-color: rgba(255, 255, 255, 0.05);
    }
    
    .nav-links a i {
        margin-right: 15px;
        width: 24px;
        text-align: center;
        font-size: 18px;
        color: #4CAF50;
    }
    
    .nav-links a:hover,
    .nav-links a:focus {
        background-color: rgba(76, 175, 80, 0.1);
        color: #fff;
        transform: translateX(5px);
        outline: 2px solid rgba(76, 175, 80, 0.3);
    }
    
    .nav-links a.active {
        background-color: #4CAF50;
        color: white;
        font-weight: 500;
    }
    
    .nav-links a.active i {
        color: white;
    }
    
    /* Overlay when menu is open */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(3px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        will-change: opacity, visibility;
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }
    
    body.menu-open .menu-overlay {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background-color: rgba(24, 26, 27, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 5.5rem 1.5rem 2rem;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        margin: 0;
        justify-content: flex-start;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-links.active {
        transform: translateX(-100%);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links a {
        color: var(--light-text);
        text-decoration: none;
        padding: 1rem 1.25rem;
        margin: 0.25rem 0;
        display: flex;
        align-items: center;
        transition: all 0.2s ease;
        border-radius: 6px;
        font-size: 1.1rem;
        position: relative;
        overflow: hidden;
    }
    
    .nav-links a::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background-color: var(--primary-color);
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.2s ease;
    }
    
    .nav-links a:hover,
    .nav-links a:focus {
        background-color: rgba(255, 255, 255, 0.08);
        transform: translateX(4px);
        outline: none;
    }
    
    .nav-links a:hover::before,
    .nav-links a:focus::before {
        transform: scaleY(1);
    }
    
    .nav-links a.active {
        color: var(--primary-color);
        font-weight: 600;
        background-color: rgba(76, 175, 80, 0.1);
    }
    
    .nav-links a.active::before {
        transform: scaleY(1);
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .sub-nav {
        justify-content: space-between;
        padding: 0 60px 0 1rem;
    }
    
    .right-controls {
        flex-direction: row;
        justify-content: flex-end;
        width: auto;
        margin-top: 0;
        gap: 0.75rem;
    }
    
    /* Improve touch targets for mobile */
    .nav-links a,
    .menu-toggle {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Add a semi-transparent overlay when menu is open */
    .nav-links::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }
    
    .nav-links.active::before {
        opacity: 1;
        pointer-events: auto;
    }
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--bg-darker);
    color: var(--light-text);
    position: relative;
    z-index: 1000;
}

.left-section,
.right-section {
    flex: 1;
}

.logo h1 {
    font-size: 1.5rem;
    color: white;
}

.search-container {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.search-container input {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.search-btn {
    padding: 0.5rem 1rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: #45a049;
}

.auth-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.login-btn,
.register-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-btn {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.register-btn {
    background-color: #4CAF50;
    color: white;
}

.login-btn:hover {
    background-color: white;
    color: #333;
}

.register-btn:hover {
    background-color: #45a049;
}

.sub-nav {
    background-color: var(--bg-dark);
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 999;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease-in-out;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

/* Skip link for keyboard users */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 12px 16px;
    z-index: 1001;
    transition: top 0.3s ease-in-out;
    text-decoration: none;
    font-weight: bold;
    border-radius: 0 0 4px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--primary-focus);
    outline-offset: 2px;
}

/* Focus styles for all interactive elements */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: var(--focus-outline);
    outline-offset: var(--focus-outline-offset);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.5);
}

/* Remove default focus styles for mouse users, keep for keyboard */
:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

/* Enhanced focus styles for keyboard users */
:focus-visible {
    outline: var(--focus-outline);
    outline-offset: var(--focus-outline-offset);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.5);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 80%;
}

.right-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-selector select {
    height: 100%;
    padding: 0.3rem 0.5rem;
    border: 1px solid #666;
    border-radius: 4px;
    background-color: transparent;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
}

.language-selector select:hover {
    background-color: #555;
}

.language-selector select option {
    background-color: #333;
    color: white;
}

/* Footer Styles */
.footer {
    background-color: var(--bg-dark);
    color: var(--light-text);
    padding: 4rem 2rem 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 3rem;
}

.footer-section h3 {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section p {
    color: #999;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--light-text);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #333;
    color: var(--light-text);
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--primary-hover);
}

.footer-bottom {
border-top: 1px solid #444;
padding: 2rem 0;
text-align: center;
color: #999;
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}

.footer-bottom-links {
display: flex;
gap: 2rem;
}

.footer-bottom-links a {
color: #999;
text-decoration: none;
transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
color: var(--primary-color);
}

/* Responsive Footer */
@media (max-width: 1024px) {
.footer-content {
grid-template-columns: repeat(2, 1fr);
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Add these styles for the main container and sidebar */
.main-container {
    display: flex;
    flex: 1;
    padding: 20px;
    gap: 20px;
    background-color: var(--bg-light);
}

.sidebar {
    width: 280px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    height: fit-content;
}

.genre-section h2 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.genre-list {
    list-style: none;
}

.genre-list li {
    margin-bottom: 10px;
}

.genre-list a {
    display: flex;
    align-items: center;
    padding: 10px;
    color: #555;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.genre-list a:hover {
    background-color: #f0f0f0;
    color: var(--primary-color);
}

.genre-list i {
    width: 24px;
    margin-right: 10px;
    color: var(--primary-color);
}

.game-count {
    margin-left: auto;
    color: #888;
    font-size: 0.9rem;
}

.main-content {
    flex: 1;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    min-height: 500px;
}

/* Responsive design for sidebar */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .genre-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 10px;
    }
}

/* Games Section Styles */
.games-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.games-header h2 {
    color: #333;
    font-size: 1.8rem;
}

.games-filter select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.game-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-buttons {
    width: 100%;
    padding: 1rem;
}

.download-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.download-btn {
    width: 100%;
    padding: 1rem;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.download-btn {
    background-color: #2196F3;
}

.download-btn.torrent {
    background-color: #9C27B0;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.download-btn:hover {
    background-color: #1976D2;
}

.download-btn.torrent:hover {
    background-color: #7B1FA2;
}

.play-btn {
    display: none;
}

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.game-genre {
    color: #666;
    font-size: 0.9rem;
    background-color: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #ffc107;
}

.game-rating span {
    color: #666;
}

.game-description {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .games-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .game-buttons {
        padding: 0.5rem;
    }

    .download-btn {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    position: relative;
    z-index: 1000;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: 0.3s ease;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        background-color: #2c3e50;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        text-align: center;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 1rem;
        text-align: center;
    }
}

/* Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.slide-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.slide-btn {
    padding: 0.8rem 2rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.slide-btn:hover {
    background-color: #45a049;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background: white;
}

/* Responsive adjustments for slider */
@media (max-width: 768px) {
    .slider-container {
        height: 300px;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }
}

/* Bookmark Button Styles */
.bookmark-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 1rem;
    background-color: transparent;
    border: 1px solid #666;
    border-radius: 4px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bookmark-btn i {
    font-size: 0.9rem;
}

.bookmark-btn:hover {
    background-color: #555;
    border-color: #888;
}

/* Active state for genre links */
.genre-list a.active {
    background-color: #4CAF50;
    color: white;
}

.genre-list a.active i {
    color: white;
}

/* No games message styling */
.no-games-message {
    display: none;
    width: 100%;
    padding: 3rem;
    text-align: center;
    background: white;
    border-radius: 8px;
    margin: 2rem 0;
}

.no-games-content {
    color: #666;
}

.no-games-content i {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.no-games-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

/* Animation for game cards */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card {
    animation: fadeIn 0.5s ease-in-out;
}

/* Navbar Responsive Styles */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 1rem;
    }

    .left-section,
    .right-section,
    .center-section {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .search-container {
        max-width: 100%;
    }

    .auth-buttons {
        justify-content: center;
        width: 100%;
    }

    .sub-nav {
        flex-direction: column;
        align-items: stretch;
        padding: 0.5rem 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        margin-bottom: 1rem;
    }

    .right-controls {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .language-selector {
        width: 100%;
        text-align: center;
    }

    .language-selector select {
        width: 100%;
        max-width: 200px;
    }
}

/* Mobile-specific adjustments for smaller screens */
@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .search-container input,
    .search-btn {
        font-size: 0.9rem;
        padding: 0.4rem;
    }

    .login-btn,
    .register-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
}

/* whatsapp icon */
.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px; /* Adjust the size of the icon as needed */
    height: auto;
    z-index: 9999; /* Ensure the icon is above other content */
}

/* --- Contact Page Styling --- */
.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.contact-container h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}   

.contact-container p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-container form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-container input,
.contact-container textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.contact-container button {
    padding: 1rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.contact-container button:hover {
    background-color: #45a049;
}

.contact-set {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.contact-information {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}   

.contact-information a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.contact-information a:hover {
    color: #4CAF50;
}

.contact-information i {
    font-size: 1.5rem;
    color: #4CAF50;
}

.contact-information span {
    font-size: 1.2rem;
    font-weight: 500;
}
 

