/* Reset and Basic Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #161616;
    color: white;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header and Navigation */
header {
    background-color: #161616;
    padding: 20px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#navbar {
    position: fixed;
    background-color: #161616;
    padding: 20px 0;
    /* position: relative; */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo h1 {
    font-size: 1.8em;
    color: #927200;
    font-weight: 700;
}

nav {
    display: flex;
    align-items: center;
}

nav .nav-links {
    list-style: none;
    display: flex;
}

nav .nav-links li {
    margin-left: 30px;
}

nav .nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

nav .nav-links li a:hover {
    color: #927200;
}

/* Cart Icon */
.cart-icon {
    display: none; /* Hidden by default for desktop */
}

.cart-icon img {
    width: 24px;
    height: 24px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav .nav-links {
        display: none; /* Hide the nav links on mobile */
    }

    .cart-icon {
        display: block; /* Show cart icon on mobile */
    }

    .logo {
        flex: 1; /* Logo will take up available space */
    }

    .container {
        justify-content: space-between;
    }
}

/* Video Section */
.video-section {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.background-video {
    position: absolute;
    margin-top: 10px;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.video-overlay {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding-left: 50px; /* Adjust padding as needed */
}

.video-text {
    color: white;
    max-width: 600px;
}

.video-text h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.video-text p {
    font-size: 1.2em;
    line-height: 1.5;
    font-weight: 400;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .video-text h2 {
        font-size: 2em;
    }

    .video-text p {
        font-size: 1em;
    }

    .video-overlay {
        padding-left: 20px;
    }

    .video-section {
        height: 65vh;
    }

    .video-text {
        margin: 15px;
    }
}

@media (max-width: 480px) {
    .video-text h2 {
        font-size: 1.5em;
    }

    .video-text p {
        font-size: 0.9em;
    }

    .video-overlay {
        padding-left: 10px;
    }

    .video-section {
        height: 50vh;
    }

    .video-text {
        margin: 15px;
    }
}

/* Product */
/* Product Section */
.product-section {
    padding: 30px 0;
    background-color: #161616;
    color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    background-color: #927200;
}

.product-image {
    position: relative;
    margin-bottom: 20px;
}

.product-image img {
    width: 100%;
    border-radius: 10px;
}

.discount-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #920000;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
}

.product-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.difficulty {
    color: #bbb;
    margin-bottom: 20px;
}

.price {
    font-size: 1.2em;
    font-weight: 700;
    color: #ffffff;
}

/* Dots Container */
.dots-container {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #927200;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        scroll-behavior: smooth;
    }

    .product-title {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .product-section {
        overflow: hidden;
        scroll-behavior: smooth;
    }

    .product-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
    }

    .product-card {
        min-width: 85%;
        scroll-snap-align: start;
    }

    .dots-container {
        display: block;
    }
}

/* How to Play Section */
.how-to-play-section {
    padding: 60px 0;
    background-color: #161616;
    color: white;
}

.how-to-play-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.text-content h2 {
    font-size: 2.5em;
    color: #927200;
    margin-bottom: 20px;
}

.text-content p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #ffffff;
}

.video-content iframe {
    width: 100%;
    height: 300px;
    border-radius: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .how-to-play-grid {
        grid-template-columns: 1fr;
    }

    .text-content h2 {
        font-size: 2em;
    }

    .text-content p {
        font-size: 1.1em;
    }
}

/* Feature Section */
.feature-section {
    padding: 60px 0;
    background-color: #161616;
    color: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.feature-image img {
    width: 100%;
    border-radius: 10px;
}

.feature-text h2 {
    font-size: 2.5em;
    color: #927200;
    margin-bottom: 20px;
}

.feature-text p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-text h2 {
        font-size: 2em;
    }

    .feature-text p {
        font-size: 1.1em;
    }
}

/* Footer */
footer {
    background-color: #161616;
    color: white;
    padding: 40px 20px 20px;
    text-align: center;
}

.footer-quotes {
    font-size: 1.5em;
    margin-bottom: 30px;
    font-style: italic;
    color: #927200;
}

.footer-copyright {
    font-size: 0.9em;
    padding-top: 10px;
    border-top: 1px solid #927200;
    color: #bbb;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-quotes {
        font-size: 1.2em;
        margin-bottom: 20px;
    }

    .footer-copyright {
        font-size: 0.8em;
    }
}

.video-button {
    background-color: #927200;
    width: 150px;
    height: 35px;
    margin-top: 20px;
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    font-size: 12px;
    box-shadow: black 0px 0px 15px;
    cursor: pointer;
}