/* Chess & Board Games Website */
:root { --primary: #5d4e37; --secondary: #f5f0e8; --accent: #8b7355; --text: #333; --bg: #fff; --bg-warm: #faf8f5; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Noto Sans", "Noto Serif", Georgia, serif; line-height: 1.8; color: var(--text); background: var(--bg); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
header { background: linear-gradient(135deg, #3e2723, #5d4e37); color: white; padding: 1rem 0; box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
header .container { display: flex; justify-content: space-between; align-items: center; position: relative; }
.logo { font-size: 1.8rem; font-weight: bold; letter-spacing: 2px; }
nav ul { display: flex; list-style: none; gap: 2rem; }
nav a { color: white; text-decoration: none; font-size: 1.1rem; transition: opacity 0.3s; }
nav a:hover { opacity: 0.8; }
.menu-toggle { display: none; cursor: pointer; font-size: 1.5rem; }
.hero { background: linear-gradient(rgba(62,39,35,0.9), rgba(93,78,55,0.9)), url('https://images.unsplash.com/photo-1529699211952-734e80c4d42b?w=1200') center/cover; color: white; text-align: center; padding: 80px 20px; }
.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; letter-spacing: 3px; }
.btn { display: inline-block; background: var(--accent); color: white; padding: 12px 30px; border-radius: 30px; text-decoration: none; font-weight: bold; transition: transform 0.3s; }
.btn:hover { transform: translateY(-2px); }
section { padding: 60px 0; }
section:nth-child(even) { background: var(--bg-warm); }
h2 { text-align: center; font-size: 2rem; margin-bottom: 2rem; color: var(--primary); }
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.game-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 3px 15px rgba(0,0,0,0.08); transition: transform 0.3s; border: 1px solid #e0d5c5; }
.game-card:hover { transform: translateY(-5px); }
.game-card img { width: 100%; height: 180px; object-fit: cover; }
.game-card .content { padding: 20px; }
.game-card h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.2rem; }
.game-card p { color: #666; font-size: 0.95rem; margin-bottom: 15px; }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 30px; }
.article-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 3px 15px rgba(0,0,0,0.08); }
.article-card:hover { transform: translateY(-5px); }
.article-card img { width: 100%; height: 200px; object-fit: cover; }
.article-card .content { padding: 20px; }
.article-card h3 { color: var(--primary); margin-bottom: 10px; font-size: 1.3rem; }
.category { display: inline-block; background: var(--secondary); color: var(--primary); padding: 4px 12px; border-radius: 20px; font-size: 0.85rem; margin-bottom: 10px; }
.article-detail { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.article-detail h1 { font-size: 2rem; color: var(--primary); margin-bottom: 1rem; }
.article-detail .meta { color: #888; margin-bottom: 2rem; }
.article-detail img { width: 100%; border-radius: 10px; margin: 20px 0; }
.article-detail p { margin-bottom: 1.5rem; font-size: 1.1rem; }
.article-detail h2 { color: var(--primary); margin: 2rem 0 1rem; text-align: left; }
footer { background: #222; color: white; padding: 40px 0; text-align: center; }
footer a { color: #ccc; text-decoration: none; }
footer a:hover { color: white; }
@media (max-width: 768px) {
    nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); padding: 20px; }
    nav ul.active { display: flex; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 1.8rem; }
    .games-grid, .articles-grid { grid-template-columns: 1fr; }
}
.game-page { max-width: 900px; margin: 0 auto; padding: 40px 20px; text-align: center; }
.game-frame { background: #2c2416; border-radius: 12px; padding: 20px; margin: 20px 0; }
.game-frame iframe { width: 100%; height: 500px; border: none; border-radius: 8px; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; }
