/* General Styles */

html {
    scroll-behavior: smooth;
}

* {
    transition: all 0.3s ease; /* Applies to all properties with a smooth transition */
}


body {
    font-family: 'Dosis', sans-serif;
    background-color: #EEEEEE;
    margin: 0;
    padding: 0;
}

h1 {
    margin-block-start: 0;
    margin-block-end: 0;
}

.b-10 {
    margin-bottom: 10px;
}

.b-30 {
    margin-bottom: 30px;
}

.l-5 {
    margin-left: 5px;
}

.r_5 {
    margin-right: -5px;
}

header {
    position: fixed; /* Keeps the header at the top of the screen */
    top: 0;          /* Aligns it to the top */
    left: 0;
    width: 100%;     /* Ensures it stretches across the screen */
    background-color: #000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;   /* Ensures the header stays on top of other elements */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1340px;
    max-width: 90%;
    padding: 30px 0;
    margin: 0 auto;
}

.header-container .logo img {
    height: 30px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin: 0 20px;
}

/* Remove right margin from the last list item */
nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    color: #FFF;
    text-decoration: none;
    font-size: 16px;
    position: relative; /* Ensures the pseudo-element can be positioned relative to the link */
    transition: color 0.3s ease; /* Transition for color change */
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #FFF;
    transform: scaleX(0); /* Initially, the underline is invisible */
    transform-origin: bottom right; /* Makes the underline grow from the right */
    transition: transform 0.3s ease; /* Smooth transition for the underline */
}

nav ul li a:hover::after {
    transform: scaleX(1); /* On hover, make the underline visible */
    transform-origin: bottom left; /* Makes the underline grow from the left */
}

/* Hero Section */
#hero {
    background-color: #000;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Stacks the logo and button vertically */
    text-align: center;
    width:100%
}

.hero-container {
    width: 100%; /* Ensure it spans the full width of the parent */
    max-width: 90%; /* Keeps it within 90% of the viewport */
    text-align: center;
}

.hero-logo img {
    width: 100%; /* Scales the SVG to 90% of the container */
    max-width: 500px; /* Ensures it doesn't exceed its container */
    margin-bottom: 30px;
    height: auto; /* Keeps the aspect ratio */
}


.hero-button-container {
    display: flex;
    justify-content: center; /* Centers the button horizontally */
}

.hero-button {
    display: inline-block;
    width: 200px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    color: #FFF;
    border: 2px solid #FFF;
    border-radius: 9px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background-color: #FFF;
    color: #000;
}

.hero-title {
    font-family: 'Dosis', sans-serif;
    font-size: 48px;
    font-weight: 600;
    color: #FFF;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-family: 'Dosis', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #FFF;
    margin-bottom: 40px;
}

.divider {
    display: flex;
    width: 100%;
    height: 20px;
}

.divider div {
    flex: 1; /* This makes each div take up equal width */
    height: 100%;
}

.divider .color-1 { background-color: #9D71C1; }
.divider .color-2 { background-color: #0CBEFF; }
.divider .color-3 { background-color: #6AC65A; }
.divider .color-4 { background-color: #FACD00; }
.divider .color-5 { background-color: #FB7D05; }
.divider .color-6 { background-color: #E0424C; }
.divider .color-7 { background-color: #FF85B4; }


.split-section {
    width: 100%;
    padding: 90px 0;
}

.background-white {
    background-color: #FFF;
}

.section-container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically centers the sections */
    width: 1280px;
    max-width: 90%;
    margin: 0 auto;
}

.left-section {
    width: calc(50% - 30px); /* 50% of the container minus half of the gap (60px) */
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers the text inside the section */
}

.left-section h1 {
    font-family: 'Dosis', sans-serif;
    font-size: 40px;
    font-weight: 500;
}

.left-section p {
    font-family: 'Dosis', sans-serif;
    font-size: 24px;
    font-weight: 400;
}

.right-section {
    width: calc(50% - 30px); /* 50% of the container minus half of the gap (60px) */
}

.right-section img {
    width: 100%; /* Ensures the image is responsive */
    height: auto;
}

/* Media query for screens 800px or smaller */
@media (max-width: 900px) {
    .section-container {
        flex-direction: column; /* Stacks the sections vertically */
        text-align: center; /* Centers the text for small screens */
    }

    .left-section, .right-section {
        width: 100%; /* Makes both sections take full width */
        margin-bottom: 30px; /* Adds space between the sections */
    }
}

.text-uppercase {
    text-transform: uppercase;
}

.how-to-play {
    width: 100%;
    background-color: #000;
    padding: 90px 0;
    text-align: center;
}

.how-to-play-container {
    max-width: 90%;
    width: 1280px;
    margin: 0 auto;
}

.how-to-play h1 {
    font-family: 'Dosis', sans-serif;
    font-size: 48px;
    font-weight: 500;
    color: #FFF;
    margin-bottom: 35px;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* Play Video Image */
.play-video-image {
    width: 100%; /* Ensure the image fills the container */
    cursor: pointer; /* Change cursor to indicate clickable */
    transition: opacity 0.3s ease; /* Smooth transition for opacity change */
    border-radius: 20px;
}

/* Video Iframe */
.video-iframe {
    display: none; /* Hide the iframe initially */
    position: absolute; /* Positioned behind the image */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* When the image is clicked, the iframe will display */
.video-iframe.active {
    display: block;
}

/* When the image is clicked, set opacity to 0 */
.play-video-image.clicked {
    opacity: 0;
}

.pdf-button {
    display: inline-block;
    width: 200px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    color: #000;
    border: 2px solid #000;
    border-radius: 9px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px; /* Adds space above the button */
}

.pdf-button:hover {
    background-color: #000;
    color: #FFF;
}

.reviews-section {
    width: 100%;
    background-color: #3F3A60;
    padding: 90px 0;
}

.reviews-section p {
    margin-block-start: 0;
    margin-block-end: 0;
}

.reviews-container {
    width: 1280px;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
}

.bgg-logo img {
    width: 200px;
    margin-bottom: 60px;
}

.review-boxes {
    display: flex;
    justify-content: space-between;
    gap: 31px;
    margin-bottom: 40px; /* Space between review boxes and button */
}

.review-box {
    background-color: #FFF;
    border-radius: 25px;
    padding: 30px;
    flex: 1; /* Ensures boxes are equal width */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between elements */
    margin-bottom: 15px; /* Space below the header */
}

.review-name {
    font-family: 'Dosis', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #000;
}

.review-checkmark {
    width: 18px;
    opacity: 0.6;
}

.review-verified {
    font-family: 'Dosis', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    opacity: 0.6;
}

.review-score {
    font-family: 'Inter', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #FF5100;
}

.review-text {
    font-family: 'Dosis', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #000;
    text-align: left;
}

.reviews-button {
    display: inline-block;
    margin: 0 auto;
}


@media (max-width: 960px) {
    .review-boxes {
        flex-direction: column; /* Stack the review boxes */
        gap: 20px; /* Adjust spacing between stacked boxes */
    }

    .review-box {
        align-items: left; /* Center-align content in stacked boxes */
        text-align: left; /* Center text for better stacking */
    }
}

.replayability-section {
    width: 100%;
    background-color: #1e1e1e;
    padding: 90px 0;
    color: white;
}


.replayability-container {
    width: 1280px;
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
}

.replayability-header {
    font-family: 'Dosis', sans-serif;
    font-size: 48px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px; /* Space below header */
}

.replayability-container h2 {
    margin-block-start: 0;
    margin-block-end: 0;
}

.replayability-subheader {
    font-family: 'Dosis', sans-serif;
    font-size: 24px;
    font-weight: 400;
    max-width: 1025px;
    margin: 0 auto 40px; /* Center the text with space below */
}

.replayability-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.replayability-images img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .replayability-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .replayability-images {
        grid-template-columns: 1fr;
    }
}

.footer-section {
    width: 100%;
    background-color: #000; /* Dark background */
    padding: 60px 0;
    color: #fff;
    text-align: center;
}

.footer-container {
    width: 1280px;
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px; /* Spacing between elements */
}

.footer-logo img {
    width: 80px;
    height: auto;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    /* gap: 30px;  Space between menu items */
}

.footer-nav ul li {
    display: inline-block;
}

.footer-nav ul li a {
    font-family: 'Dosis', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #FFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright {
    font-family: 'Dosis', sans-serif;
    font-size: 14px;
    opacity: 0.8; /* Slight transparency for subtle styling */
}

.footer-thank-you {
    text-align: center;
    margin-top: 30px; /* Space between nav and thank-you section */
    margin-bottom: 30px; /* Space before the copyright */
}

.footer-thank-you h3 {
    font-family: 'Dosis', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #FFF;
    margin-bottom: 15px;
}

.footer-thank-you p {
    font-family: 'Dosis', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #FFF;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

footer nav ul li:first-child {
    margin-left: 0; /* Removes left margin from the first list item */
}

/* Byte 19 Credit */

.footer-byte19-container img {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}

.footer-byte19 {
    font-family: 'Dosis', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: white;
    margin-bottom: 10px;
}

.footer-byte19 a {
    color: white; /* Match the theme color */
    text-decoration: none;
    font-weight: 600;
    position: relative;
    display: inline-block; /* Ensures proper positioning */
}

.footer-byte19 a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px; /* Distance from text */
    width: 100%; /* Full width initially */
    height: 2px;
    background-color: white;
    transform: scaleX(0); /* Start with no underline visible */
    transform-origin: left; /* Start animation from the left */
    transition: transform 0.3s ease-in-out; /* Smooth transition */
}

.footer-byte19 a:hover::after {
    transform: scaleX(1); /* Expand underline from left to right */
}



@media (max-width: 400px) {
    .footer-nav li:nth-child(2) { /* Target the second menu item (REVIEWS) */
        display: none;
    }
}

@media (max-width: 400px) {
    .header-nav li:nth-child(2) { /* Target the second menu item (REVIEWS) */
        display: none;
    }
}



/* Footer Credit Section */
.footer-credit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
    color: #ffffff;
    top: 50px;
    z-index: 4;
}

/* Shark Logo in Footer */
.footer-credit p {
    position: relative;
    top: -4px;
    right: -11px;
    font-size: 18px;
}

.footer-credit svg path {
    fill: #ffffff; /* Change to your desired color */
    transition: fill 0.3s ease;
}


.footer-credit svg:hover path {
    fill: #6837C9; /* Change to your desired color */
}

.second-cities h3 {
    color: var(--dark-color);
}

/* Smaller Waves and Fin */
/* Waves section */
.waves {
    position: relative;
    overflow: hidden;
    height: 22px; /* Exact height of your wave SVG */
    width: 100%;
    background-image: url('/image/wave-small.svg'); /* Path to your wave */
    background-repeat: repeat-x; /* Tile horizontally forever */
    background-size: 50px 22px; /* Exact size of one wave */
    animation: wave-scroll 10s linear infinite; /* Infinite scroll */
    z-index: 3;
    top: 50px;
}

/* Animation to move the waves */
@keyframes wave-scroll {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -100px 0; /* Move by exactly one wave width */
    }
}

/* Shark Fin */
.shark-fin {
    position: relative;
    top: 72px;
    z-index: 1; /* Behind the wave */
    width: 100%; /* Full width of the footer */
    overflow: hidden; /* Hide anything outside the container */
}

/* Shark Fin Image */
.shark-fin img {
    width: auto;
    height: 100%; /* Ensures it matches the height */
    left: 0; /* Start from the left */
    animation: fin-drift 20s linear infinite; /* Animation to move left to right */
}


/* Continuous scrolling animation for shark fin */
@keyframes fin-drift {
    0% {
        transform: translateX(-200px); /* Start off-screen to the left (full width of the viewport) */
    }
    100% {
        transform: translateX(100vw); /* Move to the right off-screen (full width of the viewport) */
    }
}

.ocean-wrapper {
    position: relative;
    height: 20px;
    z-index: 2;
}

.ocean-color {
    height: 88px;
    width: 100%;
    background-color: #1a1a1a;
    position: absolute;
    top: 49px;
    left: 0;
}