/* Inherit the Make Fun Together design system, with subtle brand tuning */
:root {
    --primary-color: #2a9d8f; /* teal-green for forest vibe */
    --primary-dark: #1f7c72;
    --secondary-color: #e76f51; /* warm accent */
    --accent-color: #48cae4; /* bright sky accent */
    --dark-color: #264653;
    --light-color: #f5f9f7;
    --gray-color: #e0e7e5;
    --text-color: #1d2b2a;
    --text-light: #56706d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-weight: 700; line-height: 1.2; }
p { margin: 15px 0; color: var(--text-light); }
a { text-decoration: none; color: var(--primary-color); transition: all 0.3s ease; }
a:hover { color: var(--primary-dark); }
.btn { display: inline-block; background-color: var(--primary-color); color: white; padding: 12px 25px; border-radius: 30px; font-weight: 600; transition: all 0.3s ease; }
.btn:hover { background-color: var(--primary-dark); color: white; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
section { padding: 80px 0; }
section h2 { text-align: center; margin-bottom: 50px; font-size: 2.5rem; position: relative; }
section h2:after { content: ''; position: absolute; width: 80px; height: 4px; background: var(--primary-color); bottom: -15px; left: 50%; transform: translateX(-50%); border-radius: 2px; }

/* Header */
header { background-color: white; box-shadow: 0 2px 15px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; }
header .container { display: flex; justify-content: space-between; align-items: center; padding: 20px; }
.logo h1 { font-size: 1.8rem; color: var(--primary-color); }
nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 30px; }
nav ul li a { font-weight: 600; color: var(--text-color); position: relative; }
nav ul li a:after { content: ''; position: absolute; width: 0; height: 2px; background: var(--primary-color); bottom: -5px; left: 0; transition: width 0.3s ease; }
nav ul li a:hover:after { width: 100%; }

/* Hero */
.hero { background: linear-gradient(135deg, #1f7c72 0%, #2a9d8f 60%, #48cae4 100%); color: white; text-align: center; padding: 120px 0; }
.hero h2 { font-size: 3rem; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; max-width: 700px; margin: 20px auto 40px; color: rgba(255,255,255,0.9); }
.hero .btn { background-color: white; color: var(--primary-color); }
.hero .btn:hover { background-color: rgba(255,255,255,0.9); }

/* Games */
.game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1400px; margin: 0 auto; }
.game-item { position: relative; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.1); transition: all 0.3s ease; cursor: pointer; aspect-ratio: 9 / 16; }
.game-item:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.game-image { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: all 0.3s ease; }
.game-item:hover .game-image { transform: scale(1.05); }
.game-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: white; padding: 30px 20px 20px; transform: translateY(100%); transition: all 0.3s ease; }
.game-item:hover .game-overlay { transform: translateY(0); }
.game-overlay h3 { color: white; font-size: 1.3rem; margin-bottom: 8px; }
.game-overlay p { color: rgba(255,255,255,0.9); margin: 0; font-size: 0.95rem; }

/* Values */
.culture { background-color: var(--gray-color); }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.value-card { background-color: white; padding: 30px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.value-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.value-card h3 { color: var(--primary-color); margin-bottom: 15px; font-size: 1.5rem; }

/* Contact */
.contact-info { display: flex; flex-wrap: wrap; justify-content: center; gap: 50px; }
.info-item { flex: 1; min-width: 250px; max-width: 400px; text-align: center; padding: 30px; background-color: white; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.info-item h3 { color: var(--primary-color); margin-bottom: 15px; }

/* Footer */
footer { background-color: var(--dark-color); color: white; padding: 60px 0 30px; }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 40px; }
.footer-logo h2 { color: white; margin-bottom: 10px; }
.footer-logo p { color: rgba(255,255,255,0.7); margin: 0; }
.footer-links ul { list-style: none; display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: white; }

/* Responsive */
@media screen and (max-width: 768px) {
    nav ul { flex-direction: column; gap: 10px; }
    nav ul li { margin-left: 0; }
    .hero h2 { font-size: 2rem; }
    section h2 { font-size: 2rem; }
    header .container { flex-direction: column; gap: 20px; }
    .game-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links ul { justify-content: center; }
}
@media screen and (max-width: 480px) {
    .game-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .game-item { border-radius: 12px; }
}


