:root {
    --primary-color: #00b386;
    --secondary-color: #2c3e50;
    --text-color: #34495e;
    --light-gray: #ecf0f1;
    --dark-gray: #7f8c8d;
    --white: #ffffff;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition-speed: 0.3s;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

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

ul {
    list-style: none;
}

/* Header */
header {
    padding: 20px 0;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    transition: color var(--transition-speed) ease, transform var(--transition-speed) ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.mobile-nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--light-gray), var(--white));
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    color: var(--dark-gray);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 500;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    background-color: #009973;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Featured Game Section */
.featured-game {
    padding: 80px 0;
}

.featured-game h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.game-showcase {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.game-info {
    flex: 1;
}

.game-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.game-info p {
    margin-bottom: 20px;
}

.game-features {
    margin-bottom: 30px;
}

.game-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.game-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.game-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.featured-game-img {
    max-width: 100%;
    height: auto;
    width: 100%;
    max-height: 550px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    object-fit: contain;
}

/* Game Gallery Section */
.game-gallery {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.game-gallery h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.gallery-grid img {
    max-width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.footer-links ul {
    display: flex;
}

.footer-links ul li {
    margin-left: 20px;
}

.footer-links ul li a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links ul li a:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Game Detail Page */
.game-detail {
    padding: 80px 0;
}

.game-detail-header {
    text-align: center;
    margin-bottom: 50px;
}

.game-detail-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.game-detail-content {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.game-description {
    flex: 1;
}

.game-screenshot {
    flex: 1;
}

.game-features-section h3,
.game-technical h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.game-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.feature-card {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.feature-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.game-cta {
    text-align: center;
    margin: 50px 0;
}

/* Privacy and Terms Pages */
.legal-content {
    padding: 60px 0;
}

.legal-content h2 {
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.legal-content h3 {
    margin: 30px 0 15px;
    color: var(--secondary-color);
}

.legal-content h4 {
    margin: 20px 0 10px;
    color: var(--secondary-color);
}

.legal-content p,
.legal-content ul {
    margin-bottom: 20px;
}

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

.legal-content ul li {
    margin-bottom: 10px;
}

.last-updated {
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.contact-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    color: var(--dark-gray);
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info, 
.contact-form {
    flex: 1;
}

.contact-info h3,
.contact-form h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-methods {
    margin-top: 30px;
}

.contact-method {
    margin-bottom: 20px;
}

.contact-method h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    resize: vertical;
}

/* About Page */
.about-section {
    padding: 80px 0;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.about-content {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
}

.about-text {
    flex: 3;
}

.about-image {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.about-text h3 {
    margin: 30px 0 15px;
    color: var(--secondary-color);
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p,
.about-text ul {
    margin-bottom: 20px;
}

.about-text ul {
    list-style-type: disc;
    padding-left: 20px;
}

.about-text ul li {
    margin-bottom: 10px;
}

/* Games Page */
.games-section {
    padding: 80px 0;
}

.games-section h2 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.games-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    color: var(--dark-gray);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.game-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.game-card-image {
    height: 200px;
    overflow: hidden;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.game-card-image .placeholder-image {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.game-card-content {
    padding: 25px;
}

.game-card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.game-card-content p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.game-card-platforms {
    margin-bottom: 20px;
}

.game-card-platforms span {
    display: inline-block;
    background-color: var(--light-gray);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-right: 8px;
}

.coming-soon .game-card-image .placeholder-image {
    color: var(--primary-color);
    font-weight: 700;
    background-color: rgba(0, 204, 153, 0.1);
}

/* Responsive adjustments for Games page */
@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
}

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

    .game-detail-content {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links ul {
        margin-top: 20px;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    /* Mobile Navigation */
    .mobile-nav-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--white);
        box-shadow: var(--box-shadow);
        padding: 20px 0;
        text-align: center;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0 0 15px 0;
    }

    /* About page */
    .about-content {
        flex-direction: column;
    }
} 

/* Game Detail Screenshot */
.game-detail-screenshot-img {
    max-width: 100%;
    height: auto;
    max-height: 600px; /* Adjust max-height as needed */
    display: block; /* Helps prevent extra space below image */
    margin: 0 auto; /* Center the image if container is wider */
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    object-fit: contain;
} 