 :root {
     --primary-color: #667eea;
     --secondary-color: #764ba2;
     --accent-color: #f093fb;
     --dark-bg: #1a1a2e;
     --card-bg: #16213e;
     --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
     --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
     --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
     --background: #0f0f23;
     --card-bg: rgba(255, 255, 255, 0.08);
     --card-border: rgba(255, 255, 255, 0.12);
     --text-primary: #ffffff;
     --text-secondary: rgba(255, 255, 255, 0.7);
     --shadow-light: 0 8px 32px rgba(0, 0, 0, 0.3);
     --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.4);
     --border-radius: 20px;
     --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
 }

 /* body {
            background: linear-gradient(135deg, var(--dark-bg) 0%, var(--card-bg) 100%);
            color: white;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            min-height: 100vh;
        } */

 body.dark-mode {
     background-color: #121212;
     color: #f5f5f5;
 }

 body.dark-mode .card {
     background-color: #1e1e1e;
     border-color: #333;
     color: #fff;
 }

 body .footer {
     color: #fff
 }

 .mode-toggle {
     cursor: pointer;
 }

 body .side-adsense-block,
 body .adsense-block {
     border: 2px dashed rgb(89 88 88)
 }

 .navbar {
     background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
     backdrop-filter: blur(10px);
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
 }

 .navbar-brand {
     font-weight: bold;
     font-size: 1.5rem;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
 }

 .nav-link {
     font-weight: 500;
     transition: all 0.3s ease;
     border-radius: 8px;
     margin: 0 5px;
 }

 .nav-link:hover {
     background: rgba(255, 255, 255, 0.2);
     transform: translateY(-2px);
 }

 .hero-section {
     padding: 0vh 0;
     background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
     position: relative;
     overflow: hidden;
 }

 .hero-section::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
 }

 .game-card {
     background: var(--card-bg);
     border-radius: 15px;
     overflow: hidden;
     transition: all 0.3s ease;
     border: 1px solid rgba(255, 255, 255, 0.1);
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
     position: relative;
 }

 .game-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
 }

 .game-card img {
     width: 100%;
     height: 200px;
     object-fit: cover;
     transition: transform 0.3s ease;
 }

 .game-card:hover img {
     transform: scale(1.1);
 }

 .category-card {
     background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
     border-radius: 15px;
     padding: 30px;
     text-align: center;
     transition: all 0.3s ease;
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
     color: white;
 }

 .category-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 15px 35px rgba(240, 147, 251, 0.3);
 }

 .category-card i {
     font-size: 3rem;
     margin-bottom: 15px;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
 }

 .section-title {
     font-size: 2.5rem;
     font-weight: bold;
     text-align: center;
     margin-bottom: 3rem;
     background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
     border-bottom: #d9c0ff solid 0.2rem;
     padding: 0 0 1rem 0;
 }

 .side-adsense-block {
     background: rgba(255, 255, 255, 0.1);
     border: 2px dashed rgba(255, 255, 255, 0.3);
     padding: 30px;
     text-align: center;
     border-radius: 10px;
     height: 100%;
     backdrop-filter: blur(10px);
     display: flex;
     justify-content: center;
     flex-direction: column;
 }

 .adsense-block {
     background: rgba(255, 255, 255, 0.1);
     border: 2px dashed rgba(255, 255, 255, 0.3);
     padding: 30px;
     text-align: center;
     border-radius: 10px;
     margin: 30px 0;
     backdrop-filter: blur(10px);
 }

 .footer {
     background: var(--dark-bg);
     padding: 40px 0;
     margin-top: 80px;
     border-top: 1px solid rgba(255, 255, 255, 0.1);
 }


 /*================

        ==================*/

 .hero-section {
     padding: 0vh 0;
     background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
     position: relative;
     overflow: hidden;
 }

 .hero-section::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
 }





 .category-section-title {
     font-size: 2.5rem;
     font-weight: bold;
     text-align: center;
     margin-bottom: 3rem;
     background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
     border-bottom: #d9c0ff solid 0.2rem;
     padding: 0 0 1rem 0;
 }

 .adsense-block {
     background: rgba(255, 255, 255, 0.1);
     border: 2px dashed rgba(255, 255, 255, 0.3);
     padding: 40px;
     text-align: center;
     border-radius: 10px;
     margin: 30px 0;
     backdrop-filter: blur(10px);
 }

 .footer {
     background: var(--dark-bg);
     padding: 40px 0;
     margin-top: 80px;
     border-top: 1px solid rgba(255, 255, 255, 0.1);
 }

 .page-content {
     min-height: 80vh;
     padding-top: 30px;
 }

 .carousel-item img {
     height: 60vh;
     object-fit: cover;
     /*border-radius: 15px;*/
 }

 .carousel-caption {
     background: rgba(0, 0, 0, 0.7);
     border-radius: 10px;
     /*backdrop-filter: blur(10px);*/
 }

 .btn-gradient {
     background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
     border: none;
     color: white;
     padding: 12px 30px;
     border-radius: 25px;
     font-weight: 500;
     transition: all 0.3s ease;
     text-decoration: none;
     display: inline-block;
 }

 .btn-gradient:hover {
     transform: translateY(-2px);
     box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
     color: white;
 }

 .game-stats {
     display: flex;
     justify-content: space-between;
     margin-top: 10px;
     font-size: 0.9rem;
     opacity: 0.8;
 }

 .rating {
     color: #ffd700;
 }

 .game-detail-hero {
     background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
     padding: 60px 0;
     border-radius: 15px;
     margin-bottom: 40px;
 }

.title-section {
    border-bottom: #d9c0ff solid 2px;
}
 /*========
        Category Styles
        ==============*/


 #categories-page section h2.category-section-title {
     text-align: left;
 }

 a.game-title {
     text-decoration: none;
     color: white;
 }


 /*====================
            game details
============*/

 body .game-detail-hero {
     background: none;
     border-radius: 15px;
     overflow: hidden;
     transition: all 0.3s ease;
     border: 1px solid rgba(255, 255, 255, 0.1);
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
     position: relative;
     padding: 0px;
 }


 body .game-card {
     background: var(--card-bg);
     border-radius: 15px;
     overflow: hidden;
     transition: all 0.3s ease;
     border: 1px solid rgba(255, 255, 255, 0.1);
     box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
     position: relative;

 }

 body.game-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
 }

 body.game-card img {
     width: 100%;
     height: 200px;
     object-fit: cover;
     transition: transform 0.3s ease;
 }

 body.game-card:hover img {
     transform: scale(1.1);
 }


 /* responsive */

 @media (max-width: 993px) {
     .side-adsense-block {
         display: none;
     }

     #gameContainer .col-8 {
         width: 100% !important;
         flex: 0 0 auto;
     }

     #gameSection {
         text-align: center;
         margin: 10px auto;
     }

     #gameSection a {
         display: flex;
         margin: 0 auto;
     }

 }
