/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #fdfbf7 0%, #e8f5e9 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 2em;
}

.logo-text {
    font-size: 1.5em;
    font-weight: 700;
    color: #2e7d32;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    color: #2e7d32;
    cursor: pointer;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 15px;
    border-radius: 20px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2e7d32;
    background: rgba(46, 125, 50, 0.1);
}

/* Main Content */
.site-main {
    min-height: calc(100vh - 300px);
    padding: 40px 0;
}

/* Hero Section */
.games-hero {
    background: linear-gradient(135deg, #fdfbf7 0%, #e8f5e9 100%);
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 50px;
}

.games-hero h1 {
    font-size: 2.5em;
    color: #2e7d32;
    margin-bottom: 15px;
}

.games-hero .tagline {
    font-size: 1.3em;
    color: #558b2f;
    margin-bottom: 15px;
}

.games-hero .description {
    font-size: 1.1em;
    color: #555;
    max-width: 700px;
    margin: 0 auto 25px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.badge {
    background: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    color: #2e7d32;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    font-size: 0.95em;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.game-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.game-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #fdfbf7 0%, #f5e8dc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6em;
    position: relative;
}

.game-image.garden {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.game-image:after {
    content: 'Click to Play';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(46, 125, 50, 0.9);
    color: white;
    padding: 12px;
    text-align: center;
    font-size: 0.2em;
    font-weight: 600;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.game-card:hover .game-image:after {
    transform: translateY(0);
}

.game-content {
    padding: 30px;
}

.game-title {
    font-size: 1.8em;
    color: #2e7d32;
    margin-bottom: 15px;
    font-weight: 700;
}

.game-description {
    color: #666;
    font-size: 1.05em;
    margin-bottom: 20px;
    line-height: 1.6;
}

.game-features {
    list-style: none;
    margin: 0 0 25px 0;
    padding: 0;
}

.game-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: #555;
}

.game-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
    font-size: 1.2em;
}

.play-button {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
    color: white !important;
    padding: 16px 30px;
    border-radius: 50px;
    text-decoration: none !important;
    font-size: 1.15em;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, #f1f8e9 0%, #fff9f0 100%);
    padding: 50px 30px;
    border-radius: 20px;
    margin-bottom: 50px;
}

.benefits-title {
    text-align: center;
    font-size: 2em;
    color: #2e7d32;
    margin-bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.benefit-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.benefit-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.benefit-title {
    color: #2e7d32;
    margin-bottom: 10px;
    font-size: 1.2em;
    font-weight: 600;
}

.benefit-text {
    color: #666;
    font-size: 0.95em;
}

/* Content Sections */
.content-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.content-section h2 {
    color: #2e7d32;
    margin-bottom: 20px;
    font-size: 2em;
}

.content-section h3 {
    color: #558b2f;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.content-section p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-section ul,
.content-section ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.content-section li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2e7d32;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4caf50;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-button {
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.success-message {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #4caf50;
}

.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #f44336;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3em;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.social-links .badge {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.85em;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
}

.footer-links a:hover {
    opacity: 1;
}

/* Game Page Specific */
.game-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.game-header {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    padding: 30px;
    text-align: center;
}

.game-header h1 {
    font-size: 2.5em;
    color: #2e7d32;
    margin-bottom: 10px;
}

.game-frame {
    width: 100%;
    height: 80vh;
    min-height: 600px;
    border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        gap: 10px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .games-hero h1 {
        font-size: 2em;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .game-image {
        height: 200px;
        font-size: 4em;
    }
    
    .content-section {
        padding: 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.2em;
    }
    
    .games-hero {
        padding: 30px 20px;
    }
    
    .games-hero h1 {
        font-size: 1.6em;
    }
    
    .hero-badges {
        gap: 10px;
    }
    
    .badge {
        font-size: 0.85em;
        padding: 8px 15px;
    }
}
