/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Decorate Headings */
h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #3498db;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

/* Age Gate Popup */
#age-gate-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

#age-gate-popup.hidden {
    display: none;
}

.popup-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.popup-content h2 {
    margin-top: 0;
    color: #3498db;
}

#confirm-age {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#confirm-age:hover {
    background-color: #2980b9;
}

/* Navbar */
.navbar {
    background: linear-gradient(90deg, #3498db, #6dd5fa);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 1rem 0.5rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.navbar nav {
    display: flex;
    flex-direction: row;
}

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

.navbar nav ul li {
    margin-left: 20px;
}

.navbar nav ul li a {
    color: #ffffff;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.2s;
}

.navbar nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Highlight Active Page in Navbar */
.navbar nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-weight: bold;
    border-radius: 4px;
    padding: 0.5rem 1rem;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.hamburger div {
    background-color: #555;
    height: 3px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .navbar nav.active {
        display: flex;
    }

    .navbar nav ul {
        flex-direction: column;
        align-items: center;
    }

    .navbar nav ul li {
        margin: 10px 0;
    }
}

/* Hero Section */
.hero {
    background: url('herobg.jpg') center / cover no-repeat;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem; color: #ffffff;
}


.hero-content p {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 2rem;
}

/* Updated Hero Highlights for Minimalist Look */
.hero-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    font-size: 1rem;
    color: #ffffff;
}

.hero-highlights li {
    background: none;
    border: none;
    padding: 0.5rem 0.5rem;
    border-radius: 4px;
    width: auto;
    max-width: 420px;
    text-align: center;
    box-shadow: none;
    font-weight: 500;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero-highlights li:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-cta {
    margin-top: 0.5rem;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(90deg, #3498db 60%, #6dd5fa 100%);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.9rem 2.2rem;
    border-radius: 30px;
    box-shadow: 0 4px 16px rgba(52,152,219,0.13);
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.cta-btn:hover {
    background: linear-gradient(90deg, #2980b9 60%, #3498db 100%);
    transform: translateY(-2px) scale(1.04);
}

.hero-image {
    margin-top: 2rem;
    background-color: #e9ecef;
    height: 300px;
    border-radius: 8px;
}

/* Disclaimer Bar */
.disclaimer-bar {
    background-color: #e78f3c;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

.disclaimer-bar p {
    margin: 0;
    font-weight: 500;
}

/* Game Section */
.game-section {
    padding: 4rem 0;
    background-color: #fff;
}

.game-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.game-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.game-item {
    text-align: center;
}

.game-item h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Enhanced Game Container Decoration */
.game-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border: 2px solid #3498db;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    aspect-ratio: 16 / 9;
}

.game-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* About Section */
    .about-section {
        padding: 4rem 0;
        background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),url('aboutbg.png') center / cover no-repeat;
    }

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.about-section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: rgb(238, 238, 238);
    font-style: italic;
}

/* Review Section */
.review-section {
    background-color: #fff;
    padding: 4rem 0;
}

.review-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 5px solid #3498db;
}

.review-card p {
    font-style: italic;
    margin: 0 0 1rem 0;
}

.review-card h4 {
    text-align: right;
    color: #555;
    margin: 0;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.feature-item h3 {
    color: #3498db;
}

/* Contact Page */
.contact-section {
    padding: 4rem 0;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
}

.contact-section p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #2980b9;
}

#form-status {
    text-align: center;
    margin-top: 1rem;
    font-weight: bold;
}

/* Legal Pages */
.legal-page {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    max-width: 800px;
    line-height: 1.8;
    color: #333;
}

.legal-page h2 {
    font-size: 2.5rem;
    color: #3498db;
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.legal-page h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-page p, .legal-page ul {
    margin-bottom: 1rem;
    color: #555;
}

.legal-page ul {
    padding-left: 20px;
    list-style: disc;
}

/* Footer */
.site-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo .logo {
    color: #fff;
}

.footer-links, .footer-disclaimer {
    flex: 1;
    min-width: 250px;
}

.site-footer h4 {
    color: #3498db;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #bdc3c7;
}

.footer-links ul li a:hover {
    color: #fff;
}

/* Highlight Active Page in Footer */
.footer-links ul li a.active {
    text-decoration: underline;
    font-weight: bold;
    color: #ffffff;
}

.footer-disclaimer p {
    font-size: 0.9rem;
    color: #bdc3c7;
}

.copyright {
    text-align: center;
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* Scroll to Top Button */
#scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: none;
    z-index: 100;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
    }

    .navbar nav ul {
        flex-direction: column;
        align-items: center;
        margin-top: 1rem;
    }

    .navbar nav ul li {
        margin: 0.5rem 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .game-container {
        height: auto;
        padding-top: 56.25%; /* 16:9 Aspect Ratio */
    }

    #game-frame {
        position: absolute;
        top: 0;
        left: 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
