       body {
        background-image: url(project-images/light.mode.jpg);
        background-repeat: no-repeat;
        background-attachment: fixed; 
        background-size: cover;      
        background-position: center; 
       }
.navbar {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 2rem .5rem;
    position: fixed;
    left: 0;
    top: 0;
    width: 150px; /* زود العرض */
    height: 95%;
    z-index: 100;
    background: #18323e;
    backdrop-filter: blur(20px);
}

.nav-brand {
    margin-bottom: 3rem;
    font-size: 1.5rem; 
    font-weight: bold; 
}
.nav-brand span { 
    opacity: 0.5; 
}
.nav-links{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: auto;
}
.nav-links a {
    color: white;
    text-decoration: none;
    margin: 0 ;
    font-size: 0.9rem;
    transition: 0.3s;
}
.nav-links a:hover { color: white; }

a .btn-login {
    margin-top: auto;
    background: white;
    color: black;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
}

.btn-theme-toggle {
    float:right;
    border-radius: 15px;
    font-size: 22px;
    margin-top: 30px;
}

        /*! auto ads */

        .slide-container {
            margin-top:-30px;
            
            position: relative;
            width: 75%;
            margin-left:16%;
            float:center;

        }

        .slide img {
            margin-top: 6.5%;
            border-radius: 0 35px 0 35px ;
            box-shadow: 2px 2px 2px 2px #eee;
            width: 100%;
            max-height: 670px;
            object-fit: cover;
            display: none; 
            opacity: o;
            position: absolute;
            display: none;
            
        }

        .slide img.active {
            display: block; /* الصورة الحالية تظهر */
            opacity: 1;
            position: relative;
        }
            
       /*!  Backlogged */
       /*! Discover, collect, analyze your games */

        h1 {
            font-size: 90px;
            color: rgb(48, 106, 116);
            margin-top: 30px;
            margin-left: 185px;

        }
        h2 {
            font-size: 40px;
            color: rgb(70, 116, 116);
            margin-top: -50px;
            margin-left: 185px;
        }

        .discover {
            display: flex;
            align-items: center; 
            justify-content: flex-start; 
            gap: 20px;             
            margin: 40px 10%;
            background-color: #0f172a;
            border-radius: 10px;
            padding: 15px;
        }

        .discover img {
            width: 850px;         
            border-radius: 10px;
        }

        .discover .link {
            float: top;
            font-size: 30px;
            line-height: 1.5;
            margin-top:-205px;
        }

        .discover .link h6 {
            font-size: 17px;
        }

        .discover div a {
            text-decoration: none;
            color: white;
            
        }
   
        /*! Goes to category */

        .menu {
            margin:20px;
            padding-right :60px;
            float: right;
        }

        .cat{
            font-size: 30px;
            border-radius: 15px;
            color: white;
            padding-left:30px;
            text-align: center;
            background-color: #0f172a;
            position:relative;
        }

        /*! cards  */

      .cards {
    display: flex;
    flex-wrap: wrap;      
    gap: 20px;             
    justify-content: center;
    margin: 40px auto;
    max-width: 1200px;
}

    .card {
    background: #0f172a;
    border-radius: 12px;
    width: 270px;
    height: 490px;
   
    padding: 15px;
    text-align: center;
    transition: transform 0.3s;
}
#action-cards {
    
    align-items: center;
    display: flex;
    flex-wrap: wrap;    
    gap: 20px;            
    justify-content: center;
    margin: 40px auto;
    max-width: 1200px;
}
#sports-cards {
    
    align-items: center;
    display: flex;
    flex-wrap: wrap;    
    gap: 20px;            
    justify-content: center;
    margin: 40px auto;
    max-width: 1200px;
}
#racing-cards {
    align-items: center;
    display: flex;
    flex-wrap: wrap;    
    gap: 20px;            
    justify-content: center;
    margin: 40px auto;
    max-width: 1200px;
}
#horror-cards {
    align-items: center;
    display: flex;
    flex-wrap: wrap;    
    gap: 20px;            
    justify-content: center;
    margin: 40px auto;
    max-width: 1500px;
    
}
.card:hover {
    transform: translateY(-18px);
}

.card img {
    width: 86%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 18px;
    margin: 10px 0;
}

.card p {
    font-size: 14px;
    color: #555;
}

#category a{
    text-decoration:none;
    text-align: center;
    padding:20;
}



.hid button{
    font-size:12px;
    padding:3px;
    margin:10px;
    border-radius: 10px;

}
div .info {
    align-items: center;
    margin-bottom: -15px;
}
div h3 {
    color:aliceblue;
}

*p {
    color:#4b646f;
}

footer {
    background: rgba(7, 17, 31, 0.96);
    border-top: 1px solid var(--border);
    padding: 3rem;
    margin-top: 4rem;
    margin-bottom: -90px;
    margin-right: -7.5px;

}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: -70px;
}

.footer-box h3 {
    color: var(--blue);
    margin-bottom: 15px;
    border: none;
    padding: 0;
}

.footer-box p,
.footer-box a {
    color: var(--text);
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    transition: 0.3s;
}

.footer-box a:hover {
    color: var(--blue);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 1rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: white;
    border-color: var(--blue);
    background: rgba(56, 189, 248, 0.15);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 35px;
    color: var(--text);
    border-top: 1px solid var(--border);
    padding-top: 20px;
}