/* Reset & Base Styles */
:root {
    --primary-color: #004d40; /* Deep Emerald */
    --secondary-color: #d4af37; /* Matte Gold */
    --text-color: #333;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; margin-top: 2rem; }
h3 { font-size: 1.5rem; margin-top: 1.5rem; }
p { margin-bottom: 1rem; }

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: var(--primary-color);
    padding: 15px 0;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on mobile */
}

.logo img {
    max-height: 50px;
    width: auto;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    color: var(--secondary-color);
    font-size: 1.5rem;
    cursor: pointer;
    border: 1px solid var(--secondary-color);
    padding: 5px 10px;
    border-radius: 4px;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--secondary-color);
}

.cta-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background 0.3s;
    display: inline-block;
    text-align: center;
}

.cta-button:hover {
    background-color: #b3922d;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh; /* Reduced height for mobile */
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-color: #000; /* Fallback */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 20px;
    max-width: 800px;
}

.hero-content h1 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 2rem; /* Smaller on mobile */
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Content Sections */
.content-section {
    padding: 40px 20px;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.feature-item img {
    margin: 0 auto 15px;
    max-height: 80px;
}

/* Game Grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.game-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-card-content {
    padding: 20px;
    text-align: center;
}

.game-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.game-card-content a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-left: 4px solid var(--secondary-color);
}

.author-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.avatar, .avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.avatar-placeholder {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.quote {
    font-style: italic;
    color: #555;
}

/* FAQ */
.faq-container details {
    background: var(--white);
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.faq-container summary {
    font-weight: 700;
    cursor: pointer;
    color: var(--primary-color);
    list-style: none; /* Hide default marker */
    position: relative;
    padding-right: 20px;
}

.faq-container summary::after {
    content: '+';
    position: absolute;
    right: 0;
    font-weight: bold;
}

.faq-container details[open] summary::after {
    content: '-';
}

.faq-container p {
    margin-top: 10px;
    margin-bottom: 0;
    color: #555;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--secondary-color);
}

.copyright {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.payment-icons {
    margin-top: 10px;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    /* Header Mobile */
    .menu-toggle {
        display: block; /* Show hamburger on mobile */
    }

    nav {
        display: none; /* Hide menu by default */
        width: 100%;
        margin-top: 15px;
    }

    nav.active {
        display: block; /* Show when active */
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .header-content .cta-button {
        display: none; /* Hide header CTA on mobile to save space */
    }

    /* Hero Mobile */
    .hero-content h1 {
        font-size: 1.8rem;
    }

    /* Typography Mobile */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    /* Grid Mobile */
    .feature-grid, .game-grid, .testimonial-grid, .footer-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
}
