body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a1a;
    color: #f8f9fa;
    line-height: 1.6;
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --primary-color: #4CAF50; /* Green */
    --secondary-color: #FFEB3B; /* Yellow */
    --dark-bg: #1a1a1a; /* Blackish */
    --light-bg: #f8f9fa;
    --text-color-dark: #f8f9fa;
    --text-color-light: #212529;
}

/* Global styles */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-color-dark);
}

.bg-dark {
    background-color: var(--dark-bg) !important;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #388E3C;
    border-color: #388E3C;
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-success {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--dark-bg);
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #FDD835;
    border-color: #FDD835;
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.btn-link:hover {
    color: #388E3C;
    text-decoration: underline;
}

.hover-primary:hover {
    color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Typography */
h1 {
    font-size: 2.8rem;
}
h2 {
    font-size: 2.2rem;
}
h3 {
    font-size: 1.8rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }
    h2 {
        font-size: 2.5rem;
    }
    h3 {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 4rem;
    }
    h2 {
        font-size: 2.8rem;
    }
    h3 {
        font-size: 2.2rem;
    }
}

/* Header */
.main-header {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    transition: background-color 0.3s ease;
    z-index: 1030;
}

.navbar-brand .logo-img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand .logo-img:hover {
    transform: scale(1.05);
}

.site-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.navbar-brand:hover .site-name {
    color: var(--secondary-color);
}

.navbar-nav .nav-link {
    color: var(--text-color-dark);
    font-weight: 600;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-toggler {
    border-color: var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2876, 175, 80, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.offcanvas {
    background-color: var(--dark-bg);
    color: var(--text-color-dark);
}

.offcanvas .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas .offcanvas-title {
    color: var(--primary-color);
}

.offcanvas .btn-close {
    filter: invert(1);
}

.offcanvas .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 1199.98px) {
    .navbar-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .navbar-nav .nav-item {
        flex-shrink: 0;
    }
    .navbar-collapse {
        display: none !important;
    }
    .offcanvas {
        visibility: visible;
    }
}

@media (max-width: 767.98px) {
    .site-name {
        font-size: 1rem;
    }
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.2rem;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    background-image: url('images/media/snake-game-hero_6.png');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 120px; /* Adjust for fixed header */
    padding-bottom: 80px;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1, .hero-section p {
    color: var(--text-color-dark);
}

.scroll-arrow {
    position: relative;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-arrow i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.scroll-arrow i:hover {
    color: var(--secondary-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-7px); }
}

/* Game Details */
.app-details .detail-item {
    background-color: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-details .detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3) !important;
}

.app-details h5, .app-details p {
    color: var(--text-color-dark);
}

.badge {
    background-color: var(--primary-color) !important;
    color: var(--dark-bg);
    font-weight: 700;
}

/* Game Play Section (iframe) */
.game-play-section {
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    padding-bottom: 80px;
}

.game-play-section .overlay-game-play {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
    z-index: 1;
}

.game-play-section .game-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px) brightness(0.7);
    z-index: 0;
}

.game-play-section .game-play-content {
    position: relative;
    z-index: 2;
}

.game-play-section h2, .game-play-section p {
    color: var(--text-color-dark);
}

.game-iframe-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    max-width: 1200px;
    margin: 0 auto;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.game-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Description */
#description ul li {
    margin-bottom: 0.5rem;
    color: var(--text-color-light);
}

#description p {
    color: var(--text-color-light);
}

#description h2 {
    color: var(--text-color-light);
}

/* Screenshots Gallery */
.screenshots-gallery {
    background-image: url('images/media/gallery-background_6.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

.screenshots-gallery .container {
    position: relative;
    z-index: 2;
}

.screenshots-gallery h2 {
    color: var(--text-color-dark);
}

.carousel-item img {
    height: 350px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-image: none;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control-prev-icon::after {
    content: '\f053'; /* Font Awesome chevron-left */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.carousel-control-next-icon::after {
    content: '\f054'; /* Font Awesome chevron-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* User Reviews */
.game-reviews h2, .game-reviews h3, .game-reviews p {
    color: var(--text-color-light);
}

.overall-score {
    background-color: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color-dark);
}

.overall-score .display-2 {
    color: var(--primary-color);
}

.review-card {
    background-color: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3) !important;
}

.review-card .avatar-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.progress-bar-container {
    height: 10px;
    background-color: #333;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

.sentiment-chart .row {
    color: var(--text-color-light);
}

/* Game Statistics */
.game-stats {
    background-image: url('images/media/game-stats-background_6.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}


.game-stats  .game-stats-over {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.game-stats .container {
    position: relative;
    z-index: 2;
}

.game-stats .stat-item {
    background-color: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3) !important;
}

.game-stats .stat-item i {
    color: var(--primary-color);
}

.game-stats .stat-item .counter {
    color: var(--secondary-color);
}

.game-stats .stat-item p {
    color: var(--text-color-dark);
}

/* Download & Key Statistics */
.game-stats-download h2, .game-stats-download p {
    color: var(--text-color-light);
}

.game-stats-download .stat-highlight {
    background-color: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-stats-download .stat-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3) !important;
}

.game-stats-download .stat-highlight i {
    color: var(--primary-color);
}

.game-stats-download .stat-highlight .counter {
    color: var(--primary-color);
}

/* Developer Story */
.team-game {
    background-image: url('images/media/developer-story-background_6.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}


.team-game .overlay-team-game {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.team-game .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}



.screenshots-gallery .screenshots-gallery-over{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.team-game .container {
    position: relative;
    z-index: 2;
}

.team-game h2, .team-game h4, .team-game p, .team-game blockquote {
    color: var(--text-color-dark);
}

.developer-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

/* Update Log */
.update-log h2, .update-log h5, .update-log p {
    color: var(--text-color-light);
}

.update-log span{
    color: #000 !important;
}

.update-item {
    background-color: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.update-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2) !important;
}

.update-item .small {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Footer */
.main-footer {
    background-color: #0d0d0d !important;
    color: var(--text-color-dark);
    padding-top: 50px;
    padding-bottom: 30px;
}

.main-footer .navbar-brand .logo-img {
    height: 35px;
}

.main-footer .site-name {
    font-size: 1.3rem;
}

.main-footer h4 {
    color: var(--primary-color);
}

.main-footer ul li a {
    color: rgba(255, 255, 255, 0.6) !important;
    transition: color 0.3s ease;
}

.main-footer ul li a:hover {
    color: var(--primary-color) !important;
}

.main-footer p {
    color: rgba(255, 255, 255, 0.6);
}

.main-footer .text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.main-footer .text-white-50:hover {
    color: var(--primary-color) !important;
}

/* Responsive adjustments for headings and site name */
@media (max-width: 767.98px) {
    .site-name {
        font-size: 0.9rem; /* Smaller for mobile */
    }
    h1 {
        font-size: 1.7rem; /* Mobile H1 */
    }
    h2 {
        font-size: 1.4rem; /* Mobile H2 */
    }
    h3 {
        font-size: 1.1rem; /* Mobile H3 */
    }
    .display-3 {
        font-size: 2.2rem;
    }
    .display-4 {
        font-size: 1.8rem;
    }
    .display-5 {
        font-size: 1.5rem;
    }
    .display-2 {
        font-size: 2.5rem;
    }
    .display-1 {
        font-size: 3rem;
    }
    .hero-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    .scroll-arrow {
        bottom: 15px;
    }
    .carousel-item img {
        height: 250px;
    }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
    .site-name {
        font-size: 1.2rem; /* Tablet Site Name */
    }
    h1 {
        font-size: 2.5rem; /* Tablet H1 */
    }
    h2 {
        font-size: 1.9rem; /* Tablet H2 */
    }
    h3 {
        font-size: 1.5rem; /* Tablet H3 */
    }
    .display-3 {
        font-size: 2.8rem;
    }
    .display-4 {
        font-size: 2.2rem;
    }
    .display-5 {
        font-size: 1.8rem;
    }
    .display-2 {
        font-size: 3.2rem;
    }
    .display-1 {
        font-size: 3.8rem;
    }
    .carousel-item img {
        height: 300px;
    }
}

@media (min-width: 1024px) {
    .site-name {
        font-size: 1.5rem; /* Desktop Site Name */
    }
    h1 {
        font-size: 3.5rem; /* Desktop H1 */
    }
    h2 {
        font-size: 2.5rem; /* Desktop H2 */
    }
    h3 {
        font-size: 2rem; /* Desktop H3 */
    }
    .display-3 {
        font-size: 3.5rem;
    }
    .display-4 {
        font-size: 2.8rem;
    }
    .display-5 {
        font-size: 2.2rem;
    }
    .display-2 {
        font-size: 4rem;
    }
    .display-1 {
        font-size: 4.5rem;
    }
}/* Parent container for user-generated content */
.userClauseNet {
    padding-top: 2rem; /* Top spacing for the content block */
    padding-left: 1.5rem; /* Left spacing for the content block */
    padding-right: 1.5rem; /* Right spacing for the content block */
    max-width: 800px; /* Max width for readability, adjust as needed */
    margin-left: auto; /* Center the block horizontally */
    margin-right: auto; /* Center the block horizontally */
    line-height: 1.6; /* Standard line height for better readability */
    color: #fff !important; /* Default text color */
    font-family: Arial, sans-serif; /* A common, readable font */
    font-size: 1rem; /* Base font size for the content */
}

/* Heading 1 styles */
.userClauseNet h1 {
    font-size: 2.2rem; /* Moderate size for main headings */
    font-weight: bold;
    margin-top: 2.5rem; /* Space above h1 */
    margin-bottom: 1rem; /* Space below h1 */
    line-height: 1.2; /* Tighter line height for headings */
    color: #fff !important;
}

/* Heading 2 styles */
.userClauseNet h2 {
    font-size: 1.8rem; /* Moderate size for sub-headings */
    font-weight: bold;
    margin-top: 2rem; /* Space above h2 */
    margin-bottom: 0.8rem; /* Space below h2 */
    line-height: 1.3;
    color: #fff !important;
}

/* Heading 3 styles */
.userClauseNet h3 {
    font-size: 1.5rem; /* Moderate size for tertiary headings */
    font-weight: bold;
    margin-top: 1.8rem; /* Space above h3 */
    margin-bottom: 0.7rem; /* Space below h3 */
    line-height: 1.4;
    color: #fff !important;
}

/* Heading 4 styles */
.userClauseNet h4 {
    font-size: 1.2rem; /* Smaller heading size */
    font-weight: bold;
    margin-top: 1.5rem; /* Space above h4 */
    margin-bottom: 0.6rem; /* Space below h4 */
    line-height: 1.5;
    color: #fff !important;
}

/* Heading 5 styles */
.userClauseNet h5 {
    font-size: 1rem; /* Same as body text, but bold for emphasis */
    font-weight: bold;
    margin-top: 1.2rem; /* Space above h5 */
    margin-bottom: 0.5rem; /* Space below h5 */
    line-height: 1.5;
    color: #fff !important;
}

/* Paragraph styles */
.userClauseNet p {
    margin-bottom: 1rem; /* Space between paragraphs */
    color: #fff !important;
}

/* Unordered list styles */
.userClauseNet ul {
    margin-top: 1rem; /* Space above the list */
    margin-bottom: 1rem; /* Space below the list */
    padding-left: 1.5rem; /* Indent for bullet points */
    list-style-type: disc; /* Default bullet style */
    color: #fff !important;
}

/* Ordered list styles (often paired with ul, li) */
.userClauseNet ol {
    margin-top: 1rem; /* Space above the list */
    margin-bottom: 1rem; /* Space below the list */
    padding-left: 1.5rem; /* Indent for numbers */
    list-style-type: decimal; /* Default numbering style */
    color: #fff !important;
}

/* List item styles */
.userClauseNet li {
    margin-bottom: 0.5rem; /* Space between list items */
    color: #fff !important;
}


@media(max-width: 991px){
    .offcanvas-body {
        background-color: #000;
        overflow-y: inherit;
    }
}


@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
        align-items: center;
    }
}

main{
    overflow: hidden !important;
}