/* General Body Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #f5f5f7; /* Light text for dark background */
    background: linear-gradient(145deg, #1a3b52, #122a3a);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

html {
    background: linear-gradient(145deg, #1a3b52, #122a3a);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* Header and Navigation */
header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #2a5d7d; /* Lighter border for dark theme */
    background-color: rgba(26, 59, 82, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left, .header-right {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff; /* White logo text */
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.logo img {
    margin-right: 10px;
}

nav {
    margin: 0 1.5rem;
}

nav a {
    background: linear-gradient(135deg, #DAA520, #FCEABB, #BF8F00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden on desktop */
    cursor: pointer;
    width: 24px;
    height: 20px;
    position: relative;
    z-index: 110;
}

.hamburger-menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #1d1d1f;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-menu span:nth-child(1) { top: 0px; }
.hamburger-menu span:nth-child(2) { top: 8px; }
.hamburger-menu span:nth-child(3) { top: 16px; }


.header-buttons a {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.btn-secondary {
    background: linear-gradient(to bottom, #103247 0%, #000 100%);
    color: #fff;
    border: 1px solid #2a5d7d;
}

.btn-secondary:hover {
    background: linear-gradient(to bottom, #1a4b69 0%, #111 100%);
}

.btn-primary {
    background: linear-gradient(135deg, #DAA520, #FCEABB, #BF8F00);
    color: #3D2900;
    font-weight: bold;
    border: none;
}

.btn-primary:hover {
    opacity: 0.9;
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.3);
}


/* Main Content */
main {
    padding: 6rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

h1, h2 {
    font-size: 3rem;
    color: #fff; /* White headings */
    font-weight: 600;
    margin: 0 0 1.5rem 0;
}

p {
    color: #a9cce3; /* Softer light blue text */
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* Call to Action Button */
.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #DAA520, #FCEABB, #BF8F00);
    color: #3D2900;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: all 0.3s;
    border: none;
}

.cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.3);
}

/* Game List Section */
#games {
    padding: 60px 0;
}

.game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
    text-align: left;
    justify-content: center; /* Center grid items to prevent gaps */
}

/* Cards */
.game-item, .promotion-item, .tournament-item {
    background: rgba(16, 50, 71, 0.5); /* Semi-transparent dark blue */
    border: 1px solid #2a5d7d;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    margin: 1rem;
}

.game-item:hover, .promotion-item:hover, .tournament-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: #DAA520;
}

.game-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.game-item h3 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 1.2rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid #2a5d7d;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #a9cce3;
    font-size: 0.9rem;
}

.footer-left {
    text-align: left;
}

.footer-right a {
    color: #a9cce3;
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s;
}

.footer-right a:hover {
    color: #fff;
}

/* Mobile Navigation Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #122a3a;
    z-index: 105;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.35s ease-in-out;
}

.mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.mobile-nav a {
    background: linear-gradient(135deg, #DAA520, #FCEABB, #BF8F00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 500;
    margin: 1.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: row; /* Keep it as a row for mobile */
        justify-content: space-between;
        padding: 1rem;
    }

    nav {
        display: none; /* Hide desktop nav */
    }
    
    .hamburger-menu {
        display: block; /* Show hamburger */
        order: 3; /* Move to the right */
        margin-left: 20px;
    }
    
    .header-left, .header-right {
        margin-bottom: 0; /* Remove margin */
    }
    
    .header-left { order: 1; }
    .header-right { order: 2; }


    main {
        padding: 4rem 1rem;
    }

    h1, h2 {
        font-size: 2.5rem;
    }

    footer {
        flex-direction: column;
    }

    .footer-right {
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    header {
        flex-wrap: wrap;
        position: relative;
        padding-bottom: 1rem;
    }
    
    .header-right {
        order: 3;
        flex-basis: 100%;
        margin-top: 1rem;
        justify-content: center;
    }

    .hamburger-menu {
        position: absolute;
        top: 1.5rem; 
        right: 1rem;
        transform: translateY(-50%);
    }
} 

/* Custom AOS Animation */
[data-aos="pop-in"] {
  transform: scale(0.5) translateY(50px);
  opacity: 0;
  transition-property: transform, opacity;
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-aos="pop-in"].aos-animate {
  transform: scale(1) translateY(0);
  opacity: 1;
} 

/* Banner Styles */
.banner {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    margin-bottom: 2rem;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
}

.banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

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

@media (max-width: 768px) {
    .banner {
        height: 200px;
    }
    
    .banner-content h2 {
        font-size: 2rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .banner {
        height: 150px;
    }
    
    .banner-content h2 {
        font-size: 1.5rem;
    }
    
    .banner-content p {
        font-size: 0.9rem;
    }
} 