body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000000;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-wrapper {
    background-color: #000000;
    margin: 40px 40px 0 40px;
    padding: 0 20px 20px 20px;
    border: 0.1px solid #ffffff;
    flex: 1;
}

footer {
    background-color: #34190F;
    color: #ffffff;
    width: 100%;
    padding: 0;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.footer-image {
    margin: 0;
    height: 150px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #34190F;
    padding: 1rem 0;  /* Added padding */
}

.footer-image img {
    max-width: none;  /* Remove max-width restriction */
    width: 260px;  /* Set specific width */
    height: auto;
    object-fit: contain;  /* Maintain aspect ratio */
}

.footer-content {
    padding: 2rem 1rem;
    background-color: #34190F;
    text-align: center;  /* Center all content in footer */
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    text-align: center;  /* Explicitly center copyright text */
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-wrapper {
        margin: 20px 20px 0 20px;
        padding: 0 10px 10px 10px;
    }

    .navbar {
        margin: 0 -10px;
        padding: 1rem 10px;
    }

    .about-us-section {
        margin: 4rem -10px 0 -10px;
        width: auto;
        overflow: hidden;
    }

    .about-grid {
        display: flex;  /* Change to flex for mobile */
        flex-direction: column;  /* Stack vertically */
    }

    .about-cell {
        width: 100%;  /* Full width */
        min-height: 200px;
        padding: 2rem 1rem;
    }

    /* Hide scroll button on mobile */
    .scroll-down {
        display: none!important;
    }

    .footer-image {
        height: 100px;
    }

    .footer-image img {
        width: 500px;  /* Smaller width for mobile */
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .copyright {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
    }
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    border-bottom: 0.1px solid #ffffff;
    margin-bottom: 1rem;
    margin: 0 -20px;
    padding: 1rem 20px;
}

.navbar-nav {
    gap: 2rem;
    margin: 0 auto;
}

.nav-link {
    color: #ffffff !important;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #9C472C !important;
}

.nav-link.active {
    color: #9C472C !important;
}

.navbar-toggler {
    border: none;
    padding: 0;
    font-size: 1.2rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Mobile Menu Styles */
@media (max-width: 991px) {
    .navbar {
        position: relative;
        border-bottom: none;
    }

    .navbar-toggler {
        position: fixed;
        top: 30px;
        right: 30px;
        z-index: 20000;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background-color: #9C472C;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-toggler i {
        color: #ffffff;
    }

    .navbar-collapse {
        position: fixed;
        top: 20px;
        right: 20px;
        left: auto;
        z-index: 10000;
        transform: none;
        width: 280px;
        height: auto;
        min-height: 300px;
        background-color: #000000;
        padding: 3rem 1rem 2rem;
        transition: all 0.3s ease;
        border: 0.1px solid #ffffff;
        text-align: center;
        opacity: 0;
        visibility: hidden;
        transform-origin: top right;
        transform: scale(0);
    }

    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
        z-index: 10000;
        transform: scale(1);
    }

    .mobile-close-btn {
        position: absolute;
        
        top: 15px;
        right: 15px;
    }

    .navbar-nav {
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        gap: 1.5rem;  /* Adjust spacing between items */
    }

    /* Update the backdrop to match main wrapper margins */
    .navbar-collapse.show::before {
        top: 20px;
        left: 20px;
        right: 20px;
        bottom: 0;
        width: auto;
        z-index: 10000;
        height: auto;
    }
}

/* Hide close button on desktop */
.mobile-close-btn {
    display: none;
}

/* Hero Banner Styles */
.hero-banner {
    padding: 4rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Add the crystal image */
.hero-banner::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 120%;
    background-image: url('../images/5tQJaUcKFe7X.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    z-index: 0;
}

/* Add gradient overlay for better text readability */
.hero-banner::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, #000000);
    z-index: 0;
}

.hero-banner .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-label {
    color: #808080;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero-title {
    color: #ffffff;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-text {
    color: #ffffff;
    font-size: 0.8rem;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 700px;
    font-weight: 400;
}

/* Responsive adjustments for hero banner */
@media (max-width: 768px) {
    .hero-banner {
        padding: 2rem 1rem;  /* Reduced padding */
    }

    .hero-label {
        font-size: 0.8rem;  /* Decreased from 1.1rem */
        margin-bottom: 1rem;  /* Reduced spacing */
    }

    .hero-title {
        font-size: 2rem;  /* Decreased from 2.5rem */
        margin-bottom: 1rem;  /* Reduced spacing */
    }

    .hero-text {
        font-size: 0.7rem;  /* Decreased from 0.8rem */
        padding: 0 1rem;
        line-height: 1.4;  /* Slightly reduced line height for mobile */
    }

    /* Hide crystal image on mobile */
    .hero-banner::before,
    .hero-banner::after {
        display: none;
    }
}

/* About Us Section Styles */
.about-us-section {
    padding: 0;
    position: relative;
    margin: 4rem -20px 0 -20px;
    background: linear-gradient(45deg, #9C472C 0%, rgba(156, 71, 44, 0.8) 100%);
}

.about-container {
    display: flex;
    flex-direction: row;
    gap: 0;
    min-height: 400px;
}

.about-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    border: 0.1px solid #ffffff;
    gap: 2rem;
}

.about-number {
    color: #ffffff;
    font-size: 8rem;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: -2px;
    line-height: 1;
}

.about-text {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
    margin: 0;
    opacity: 0.9;
    max-width: 80%;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .about-us-section {
        margin: 4rem -10px 0 -10px;  /* Adjusted margin for mobile */
    }

    .about-container {
        flex-direction: column;  /* Stack boxes on mobile */
        width: 100%;  /* Ensure full width */
    }

    .about-box {
        padding: 2rem 1rem;
        width: 100%;  /* Ensure full width */
        box-sizing: border-box;  /* Include padding in width calculation */
    }

    .about-number {
        font-size: 6rem;
    }

    .about-text {
        font-size: 0.8rem;
        line-height: 1.4;
        max-width: 90%;
    }
}

/* Scroll down button styles */
.scroll-down {
    position: absolute;
    display: flex;
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
    top: -20px;
    z-index: 2;
}

.scroll-btn {
    background-color: #ffffff;
    border: none;
    width: 40px;
    height: 100px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-25%);
    position: relative;
    z-index: 2;
}

.scroll-btn .arrow-icon {
    width: 20px;
    height: 70px;
    animation: bounce 2s infinite;
}

/* Updated bounce animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(8px);
    }
    60% {
        transform: translateY(4px);
    }
}

/* About grid styles */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.about-cell {
    aspect-ratio: 16/9;
    border: 0.1px solid #ffffff;
    min-height: 300px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 2rem 4rem 2rem;  /* Increased bottom padding */
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;  /* Increased gap between number and text */
    max-width: 80%;
}

/* Games Section Styles */
.games-section {
    padding: 4rem 0;
    position: relative;
    text-align: center;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.header-image {
    width: 30px;
    height: 30px;
    margin-top: -20px;
}

.section-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 400;
    margin: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .games-section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.6rem;
    }
}

/* Games grid styles */
.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.game-image {
    width: 90%;
    height: 180px;
    border-radius: 8px;  /* Smaller border radius */
    object-fit: cover;  /* This will ensure images cover the area properly */
    margin: 0 auto;
}

.start-button {
    background: linear-gradient(to right, #FA7B4C, #F3CABB);
    border: none;
    border-radius: 25px;
    color: #000000;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.8rem 2.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.start-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(250, 123, 76, 0.3);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 0.5rem;
    }

    .game-card {
        gap: 1rem;
    }

    .game-image {
        width: 100%;
        height: 140px;
    }

    .start-button {
        font-size: 0.9rem;
        padding: 0.7rem 2rem;
    }
}

/* Add at the top of your CSS file, right after the body styles */
html {
    scroll-behavior: smooth;
}

/* Info Section Styles */
.info-section {
    padding: 1rem 0;
    position: relative;
    display: flex;
    justify-content: center;
    background-image: url('../images/WbJgOZ8s93sm.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 250px;  /* Decreased from 350px to 250px */
    overflow: hidden;
}

.info-content {
    width: 600px;
    display: flex;
    justify-content: center;
    z-index: 1;
}

.disclaimer-box {
    background: linear-gradient(135deg, #92472A, #2C150D);
    border-radius: 50px;  /* Increased border radius for more rounded sides */
    padding: 1.5rem 2rem;  /* Added more horizontal padding */
    width: 90%;
    text-align: center;
}

.disclaimer-title {
    color: #ffffff;
    font-size: 2rem;  /* Increased from 1.2rem */
    font-weight: 500;
    margin-bottom: 1.5rem;  /* Increased margin for better spacing */
    text-align: center;
}

.disclaimer-text {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .disclaimer-box {
        width: 100%;
        padding: 1.2rem;
    }

    .disclaimer-text {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .disclaimer-title {
        font-size: 1.6rem;  /* Increased mobile size too */
    }
} 