
body {
    font-family: Arial, sans-serif; margin: 0; padding: 0; background: url("Styles/Images/background.webp") no-repeat center center fixed; background-size: cover; color: #ffffff; position: relative; background-color: #000000;
}
body::before {
    content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: -1;
}
header {
    background-color: #000000; color: rgb(255, 255, 255); padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; position: sticky;
}
.logo-container {
    display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.logo {
    height: 50px; width: 50px; text-decoration: none; flex-grow: 1;
}
.logo-container {
    margin: 0; font-size: 24px; text-align: left; transition: color 0.3 ease; text-decoration: none; color: white; font-weight: bold;
}
.logo-container:hover {
    color: #FCF596; text-decoration: none;
}
.menu-toggle,
.close-menu {
    font-size: 24px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
}
.main-nav {
    display: flex;
    gap: 20px;
    margin-left: auto;
    flex-shrink: 0;
    align-items: center;
}
.main-nav a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}
.main-nav a:hover {
    text-decoration: underline;
}
.hero {
    height: auto; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #ffffff; text-align: center;
}
.hero h1 {
    font-size: 46px; margin: 0; animation: pop 2s infinite ease-in-out;
}
@keyframes pop {
    0%, 100% {transform: scale(1);} 50% { transform: scale(0.8);}
}
.hero p {
    font-size: 18px; margin: 10px 0 0; padding-bottom: 40px;
}
.hero-gif {
    height: 150px; width: 100%; border-radius: 80px; display: block; margin: 0 auto; padding-bottom: 30px;
}
a:hover .hero-gif {
    transform: scale(1.02);
}
.game-slider {
    max-width: 1200px; margin: auto; padding: 20px; text-align: left; background-color: #000000; color:#ffffff; border-radius: 10px;
}
.categories {
    margin-bottom: 20px; font-weight: bold;
}
.categories button {
    padding: 10px 20px; margin: 5px; border: none; background-color: #FCF596; color: rgb(0, 0, 0); border-radius: 5px; cursor: pointer; font-weight: bold;
}
.categories button:hover {
    background-color: #b3ad66;
}
.slider {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; padding: 10px; border: 2px solid #ccc; border-radius: 10px;
}
.slide {
    text-align: center; background-color: #1A1A1D; border: 1px solid #FCF596; border-radius: 8px; padding:10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); display: flex; flex-direction: column; justify-content: space-between;
}
.slide:hover{
    transform: scale(1.1);
}
.slide img {
    width:100%; height: 130px; object-fit: cover; border-radius: 8px; margin-bottom: 10px; transition: transform 0.3s ease, box-shadow 0.3s ease; background-color: #333;
}
.slide p {
    font-size: 14px; color: #ffffff; margin: 0;
}
.game-item {
    display: none;
}
.game-item.active {
    display: flex;
}
.promotions {
    background-color: rgba(26, 26, 29, 0.8); color: #FFFFFF;padding: 40px 20px; text-align: center; margin: 20px auto; max-width: 1200px; border-radius: 10px;
}
.promotions h2 {
    font-size: 28px;margin-bottom: 20px; color: #F4DFC8;
}
.promotion-cards {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 20px;
}
.promotion-card {
    background-color: #000000; border: 1px solid #F4DFC8; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); text-align: center; width: 600px; height: 400px; padding: 20px; transition: transform 0.3s ease, box-shadow 0.3s ease; will-change: transform, box-shadow;
}
.promotion-card img {
    aspect-ratio: 216 / 200; object-fit: cover; border-radius: 10px; margin-bottom: 15px; background-color: #333;
}
.promotion-card h3 {
    font-size: 20px; color: #F4DFC8; margin-bottom: 10px; text-align: center;
}
.promotion-card p {
    font-size: 14px; line-height: 1.6; margin-bottom: 15px; color: #CCCCCC; text-align: center;
}
.promo-button {
    display: inline-block; padding: 10px 20px; font-size: 14px; color: #000000; background-color: #FCF596; text-decoration: none; border-radius: 5px; transition: background-color 0.3s ease, box-shadow 0.3s ease; font-weight: bold; margin: 0 auto;
}
.promo-button:hover {
    background-color: #b3ad66; box-shadow: 0 0 10px 5px #FCF596; font-weight: bold;
}
.content {
    padding: 20px; max-width: 1200px; margin: auto; background-color: #1A1A1D; border-radius: 10px; background-color: rgba(26, 26, 29, 0.8);
}
.content h2 {
    font-size: 28px; border-bottom: 2px solid #F4EAE0; padding-bottom: 5px; color: #FCF596;
}
.content p {
    line-height: 1.8;
}
.faq {
    padding: 20px; max-width: 1200px; margin: auto; background-color: #000000; border-radius: 10px;
}
.faq h2 {
    margin-bottom: 20px;
}
.faq-item {
    border-bottom: 2px solid #1A1A1D; margin-bottom: 15px; color: #ffffffee;
}
.faq-item h3 {
    margin: 0; cursor: pointer; color: #ffffffee; padding-right: 20px; position: relative;
}
.faq-item h3:hover {
    color: #FCF596;
}
.faq-item h3::after {
    content: '▼'; position: absolute; right: 0; transition: transform 0.3s ease;
}
.faq-item h3.expanded::after {
    transform: rotate(-180deg);
}
.faq-item p {
    margin: 5px 0 0; display: block; overflow: hidden; max-height: 0; transition: max-height 0.3s    ease; font-size: 16px; line-height: 1.8;
}
.faq-item p.expanded {
    max-height: 500px; transition: max-height 2s ease;
}
footer {
    max-width: 1200px; background-color: #000000; color: #FFFFFF; text-align: center; padding: 20px 20px; margin: auto; border-radius: 10px;
}
.footer-row {
    margin: 10px 0;
}
.footer-row p {
    margin: 5px 0; font-size: 14px;
}
.footer-columns {
    border-bottom: 2px solid #ffffff; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: left; padding: 20px;
}
.footer-column{
    font-size: 18px; margin-top: 10px;
}
.footer-column p {
    font-size: 14px; line-height: 1.6; margin: 5px 0;
}
.footer-columns-three {
    border-bottom: 2px solid #ffffff; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;  text-align: center; padding: 20px;
}
.footer-columns-three .footer-column h3 {
    font-size: 16px; margin-bottom: 10px; color: #FFFFFF;
}
.footer-columns-three .footer-column img {
    margin: 10px auto; height: auto; filter: grayscale(100%); transition: filter 0.3s ease;
}
.footer-columns-three .footer-column:nth-child(1) img {
    width: 40px; margin: 10px; height: 40px;
}
.footer-columns-three .footer-column:nth-child(2) img {
    width: 90px; margin: 10px; height: 40px;
}
.footer-columns-three .footer-column:nth-child(3) img {
    width: 40px; margin: 10px; height: 40px;
}
.footer-columns-three .footer-column img:hover {
    filter: grayscale(0%);
}
.last-footer-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; padding: 20px 40px; text-align: left;
}
.last-footer-row .left {
    display: flex; align-items: center; gap: 10px; text-decoration: none; color: #FFFFFF;
}
.last-footer-row .footer-logo {
    width: 60px; height: 60px; text-decoration: none; 
}
.last-footer-row a{
    text-decoration: none; color: #FFFFFF; font-size: 24px; font-weight: bold;
}
.last-footer-row a:hover {
    color: #FCF596;
}
.last-footer-row .right {
    display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 10px; text-decoration: none; font-size: 18px;
}
.footer-nav {
    display: flex; gap: 15px;
}
.footer-nav a {
    color: #FFFFFF; text-decoration: none; font-size: 16px;
}
.footer-nav a:hover {
    text-decoration: underline;
}
.last-footer-row p {
    font-size: 16px; color: #FFFFFF; margin: 0;
}
#blog-list ul {
    list-style: none;
    padding: 0;
}

#blog-list ul li {
    background: white;
    margin: 10px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#blog-list ul li:hover {
    background: #FCF596;
}
#blog-list ul li a {
    text-decoration: none;
    color: black;
}

#blog-list ul li a:hover {
    text-decoration: none;
}
.featured-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    width: 60%;
}

.featured-text h1 {
    color: #FCF596;
    font-size: 2.5rem;
    text-align: center;
}

.featured-p {
    margin: 20px auto;
    padding: 20px;
    text-align: justify;
    color: #ffffff;
    max-width: 1200px;
}

.featured-p p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
}

.game-tiles {
    text-align: center;
    margin: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.game-tiles h2 {
    color: #FCF596;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}
.tiles-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    justify-items: center;
    margin: 0 auto;
    max-width: 1200px;
}
.tile {
    text-align: center;
    background-color: #222;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: white;
    transition: transform 0.3s;
    width: 200px;
    height: 250px;
}
.tile img {
    width: 150px;
    height: 150px;
    border-radius: 5px;
    object-fit: cover;
}
.tile p {
    margin-top: 10px;
    font-size: 0.9rem;
}
.tile:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Darker background for better contrast */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Popup content */
.popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 90%; /* Make it responsive */
    max-width: 1000px; /* Maximum width */
    max-height: 80%; /* Max height reduced to allow more vertical space */
    overflow: hidden; /* Prevent overflow if iframe is too large */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 35px;
    color: #333;
    cursor: pointer;
    background: transparent;
    border: none;
}

/* Iframe styling */
iframe {
    width: 100%;
    height: 500px; /* Set a fixed height for the iframe */
    border: none;
    border-radius: 8px;
}

@media (min-width: 769px) {
    .auth-buttons {
        display: flex;
        justify-content: flex-end;
        gap: 20px;
    }
    .auth-button:first-child {
        background-color: #FCF596;
        color: black;
        padding: 12px 25px;
        font-size: 18px;
        font-weight: bold;
        border-radius: 30px;
        border: none;
        text-decoration: none;
        text-align: center;
        cursor: pointer;
    }
    .auth-button:first-child:hover {
        background-color: #f4b400;
        color: white;
    }
    .auth-button:last-child {
        background-color: black;
        color: white;
        border: 1px solid #FCF596;
        padding: 12px 25px;
        font-size: 18px;
        font-weight: bold;
        border-radius: 30px;
        text-decoration: none;
        text-align: center;
        cursor: pointer;
    }
    .auth-button:last-child:hover {
        background-color: white;
        color: black;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    header {
    position: sticky; /* Makes the header sticky */
    top: 0; /* Sticks the header to the top of the viewport */
    z-index: 1000; /* Ensures the header stays above other elements */
    background-color: #000000; /* Black background for visibility */
    color: rgb(255, 255, 255); /* White text color */
    padding: 10px 20px; /* Adds padding for spacing */
    display: flex; /* Ensures flexbox layout */
    align-items: center; /* Aligns items vertically */
    justify-content: space-between; /* Space between logo and navigation */
    flex-direction: row; /* Default flex direction */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5); /* Optional: Adds a shadow for separation */
}
    header .logo-container {
        display: flex; align-items: center; gap: 10px; text-decoration: none;
    }
    header .logo {
        aspect-ratio: 1 / 1s; text-decoration: none;
    }
    header a:hover h1 {
        color: #FCF596; text-decoration: none;
    }
    .menu-toggle {
        display: block;
    }
    .main-nav {
        display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9); padding: 20px; z-index: 1000;
    }
    .main-nav.active {
        display: flex; margin-top: 10px;
    }
    .close-menu {
        position: absolute;
        top: 1px; /* Adjust spacing from the top */
        right: 52px; /* Adjust spacing from the right */
        font-size: 24px; /* Ensure it's large and visible */
        color: white;
        background: none; /* No background */
        border: none;
        cursor: pointer;
        z-index: 1100;
        display: block;
    }
    .main-nav a {
        text-decoration: none;
        color: white;
        font-size: 16px;
        margin: 5px 0;
        text-align: center;
        padding: 8px 75px;
        width: auto;
        display: inline-block;
    }
    .auth-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 20px;
    }

    .auth-button {
        background-color: #f4b400;
        color: black;
        padding: 12px 25px;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        border-radius: 5px;
        border: none;
        cursor: pointer;
        width: auto;
    }
    .auth-button:hover {
        background-color: #FCF596;
        color: white;
    }

    .auth-button:last-child {
        background-color: black;
        color: white;
        border: 1px solid #FCF596;
        padding: 12px 25px;
        font-size: 16px;
        font-weight: bold;
        border-radius: 5px;
        text-decoration: none;
        text-align: center;
        cursor: pointer;
        width: auto;
    }
    .auth-button:last-child:hover {
        background-color: white;
        color: black;
    }
    .main-nav a {
        padding: 5px;
        font-size: 18px;
    }
    .hero h2 {
        font-size: 24px;
    }
    .hero p {
        font-size: 14px;
    }
    .hero-gif {
        height: 60px; width: auto; padding: 20px 0px 20px 0px;
    }
    .game-slider {
        padding: 10px;
    }
    .categories {
        display: flex; flex-wrap: wrap; justify-content: left; gap: 5px; font-size: 10px;
    }
    .slider {
        display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
    }
    .slide img {
        width: 100%; height: 100px; object-fit: cover; border-radius: 8px;
    }
    .featured-image {
        height: 200px; align-items: center; padding: 10px; margin: auto;
    }
    .featured-text h1 {
        font-size: 1.5rem;
    }
    .featured-p {
        margin: 15px auto;
        padding: 15px;
        font-size: 1rem;
        width: 90%;
    }

    .featured-p p {
        font-size: 1rem;
        line-height: 1.4;
    }
    .game-tiles h2 {
        font-size: 1.2rem;
    }
    .tiles-container {
        grid-template-columns: 1fr;
    }
    .tile {
        width: 100%;
        height: auto;
    }
    .promotions {
        padding: 20px;
    }
    .promotion-card {
        width: 60%; margin: 10px auto;
    }
    .promotion-card img {
        width: 100%;
        height: auto;
    }
    .promotion-card p {
        font-size: 14px;
    }
    .promo-button {
        font-size: 14px; padding: 8px 16px;
    }
    .faq-item p{
        font-size: 14px; padding-bottom: 10px;
    }
    footer {
        padding: 10px;
    }
    .footer-row {
        flex-direction: column;
    }
    .footer-columns{
        grid-template-columns: auto; gap: 5px; font-size: 12px;
    }
    .footer-columns-three {
        grid-template-columns: repeat(2, 1fr); gap: 10px;
    }
    .footer-columns-three .footer-column:nth-child(1) img {
        width: 30px; margin: 10px; gap: 10px; height: 30px;
    }
    .footer-columns-three .footer-column:nth-child(2) img {
        width: 60px; margin: 10px; gap: 10px;
    }
    .footer-columns-three .footer-column:nth-child(3) img {
        width: 30px; margin: 10px; gap: 10px; height: 30px;
    }
    .last-footer-row {
        grid-template-columns: 1fr; gap: 10px; text-align: center;
    }
    .last-footer-row .left h3 {
        text-decoration: none; color: #F4EAE0;
    }
    .last-footer-row .left h3:hover {
        text-decoration: none;
    }
    .footer-nav{
        text-align: center; text-size-adjust: 10px; gap: 10px;
    }
    .footer-nav a {
        color: #FFFFFF; text-decoration: none; position: relative;
    }
    .footer-nav a:not(:last-child)::after {
        content: " /"; margin-left: 5px; color: #FFFFFF;
    }
    .last-footer-row .right {
        align-items: center;
    }
    .last-footer-row p {
        text-align: center; margin: 0 auto;
    }
  }
  @media (max-width: 768px) {
    .slider {
      display: flex;
      overflow-x: scroll;
      scroll-snap-type: x mandatory;
      gap: 10px;
    }
    .slide {
      flex: 0 0 48%;
      scroll-snap-align: center;
    }
    .popup-content {
        width: 95%;
        padding: 10px;
    }

    .close-btn {
        top: 10px;
        right: 10px;
        font-size: 55px;
        color: black;
        background-color: white;
    }
    iframe {
        height: 400px; /* Adjust iframe height for smaller screens */
    }
  }