* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #1a1a2e; background: #f8f9fa; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { color: #e94560; text-decoration: none; }
a:hover { text-decoration: underline; }

header { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); padding: 20px 0; position: sticky; top: 0; z-index: 100; }
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 28px; font-weight: 800; color: #e94560; text-decoration: none; }
.logo:hover { text-decoration: none; }
nav a { color: #fff; margin-left: 25px; font-weight: 500; transition: color 0.3s; }
nav a:hover { color: #e94560; text-decoration: none; }

.hero { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); color: #fff; padding: 60px 0; text-align: center; }
.hero h1 { font-size: 48px; margin-bottom: 15px; }
.hero p { font-size: 20px; opacity: 0.9; }

.main { padding: 40px 0; min-height: 60vh; }

h1, h2, h3 { color: #1a1a2e; margin-bottom: 20px; }
h1 { font-size: 36px; }
h2 { font-size: 28px; border-bottom: 3px solid #e94560; padding-bottom: 10px; display: inline-block; margin-top: 40px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; margin: 30px 0; }
.card { background: #fff; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; overflow: hidden; }
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(233,69,96,0.15); }
.card-body { padding: 20px; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: #666; font-size: 14px; margin-bottom: 15px; }
.card a { display: inline-block; background: #e94560; color: #fff; padding: 8px 18px; border-radius: 6px; font-weight: 600; }
.card a:hover { background: #d63d56; text-decoration: none; }

.game-card { background: linear-gradient(145deg, #fff, #f8f9fa); border: 2px solid #eee; }
.game-card .game-icon { width: 100%; height: 140px; background: linear-gradient(135deg, #1a1a2e, #0f3460); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.game-card h3 { font-size: 20px; margin: 15px 0 10px; }
.game-card .meta { font-size: 13px; color: #888; margin-bottom: 12px; }
.game-card .desc { color: #555; margin-bottom: 15px; line-height: 1.5; }

.game-page { background: #fff; border-radius: 12px; padding: 30px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.game-page .game-container { background: #1a1a2e; border-radius: 12px; padding: 20px; margin: 25px 0; min-height: 400px; display: flex; align-items: center; justify-content: center; }
.game-page .meta { color: #666; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; }

.article-page { background: #fff; border-radius: 12px; padding: 40px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); max-width: 900px; margin: 0 auto; }
.article-page h1 { font-size: 32px; margin-bottom: 10px; }
.article-page .meta { color: #888; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 2px solid #e94560; }
.article-page .content { font-size: 17px; line-height: 1.9; }
.article-page .content h2 { font-size: 24px; margin-top: 35px; margin-bottom: 15px; color: #1a1a2e; }
.article-page .content p { margin-bottom: 18px; }

footer { background: #1a1a2e; color: #fff; padding: 30px 0; text-align: center; margin-top: 50px; }
footer a { color: #e94560; margin: 0 15px; }

.back-link { display: inline-block; margin-bottom: 20px; color: #666; }
.back-link:hover { color: #e94560; }

.btn { display: inline-block; background: #e94560; color: #fff; padding: 12px 28px; border-radius: 8px; font-weight: 600; margin: 10px 5px; }
.btn:hover { background: #d63d56; text-decoration: none; color: #fff; }
.btn-secondary { background: #1a1a2e; }
.btn-secondary:hover { background: #16213e; }

.nav-links { margin-top: 30px; }
.nav-links a { margin: 0 10px; }
