* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, sans-serif; background: #f0f8ff; color: #333; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
header { background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%); color: #fff; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.nav-wrap { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; flex-wrap: wrap; }
.logo { font-size: 28px; font-weight: 900; color: #ffd700; letter-spacing: 1px; text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }
nav ul { display: flex; list-style: none; gap: 8px; flex-wrap: wrap; }
nav ul li a { padding: 8px 16px; border-radius: 20px; font-weight: 600; transition: all 0.3s; display: block; }
nav ul li a:hover, nav ul li a.active { background: #ffd700; color: #0d47a1; }
.auth-btns { display: flex; gap: 8px; }
.btn { padding: 8px 18px; border-radius: 20px; font-weight: 700; border: 2px solid #ffd700; transition: all 0.3s; cursor: pointer; }
.btn-login { background: transparent; color: #ffd700; }
.btn-register { background: #ffd700; color: #0d47a1; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.3); }

/* Hero */
.hero { background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 50%, #ff6b6b 100%); padding: 60px 20px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.hero h1 { font-size: 42px; font-weight: 900; text-shadow: 2px 2px 4px rgba(0,0,0,0.4); margin-bottom: 16px; }
.hero p { font-size: 18px; max-width: 800px; margin: 0 auto 24px; text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }
.hero-img { max-width: 600px; margin: 20px auto; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.hero-cta { display: inline-block; padding: 14px 36px; background: #0d47a1; color: #ffd700; border-radius: 30px; font-weight: 800; font-size: 18px; margin-top: 16px; }

/* Sections */
section { padding: 50px 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 32px; color: #0d47a1; margin-bottom: 10px; }
.section-title span { color: #ff6b6b; }
.section-sub { text-align: center; color: #666; margin-bottom: 36px; max-width: 800px; margin-left: auto; margin-right: auto; }

/* Category Grid */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.cat-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.08); text-align: center; transition: transform 0.3s; padding: 16px; }
.cat-card:hover { transform: translateY(-5px); }
.cat-card img { margin: 0 auto 10px; border-radius: 8px; }
.cat-card h3 { color: #0d47a1; font-size: 16px; margin-bottom: 6px; }
.cat-card .play-btn { display: inline-block; padding: 6px 18px; background: #4caf50; color: #fff; border-radius: 12px; font-weight: 700; font-size: 13px; margin-top: 8px; }

/* Game Grid */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.game-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 3px 10px rgba(0,0,0,0.1); text-align: center; padding: 10px; transition: all 0.3s; }
.game-card:hover { transform: scale(1.03); box-shadow: 0 6px 16px rgba(0,0,0,0.15); }
.game-card img { margin: 0 auto 8px; border-radius: 8px; }
.game-card p { font-size: 13px; color: #333; font-weight: 600; }

/* Stats */
.stats { background: linear-gradient(135deg, #0d47a1 0%, #1a73e8 100%); color: #fff; padding: 50px 20px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; max-width: 1200px; margin: 0 auto; text-align: center; }
.stat-item h3 { font-size: 38px; color: #ffd700; margin-bottom: 8px; }
.stat-item p { font-size: 15px; }

/* About Block */
.about-block { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-text h2 { color: #0d47a1; font-size: 28px; margin-bottom: 16px; }
.about-text p { margin-bottom: 14px; color: #444; }
.about-img img { border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature-card { background: #fff; padding: 24px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); border-top: 4px solid #ffd700; }
.feature-card h3 { color: #0d47a1; margin-bottom: 12px; font-size: 18px; }
.feature-card p { color: #555; font-size: 14px; }

/* Testimonial */
.testimonial { background: #fff; padding: 30px; border-radius: 12px; max-width: 800px; margin: 30px auto 0; box-shadow: 0 6px 18px rgba(0,0,0,0.08); border-left: 5px solid #ff6b6b; }
.testimonial blockquote { font-style: italic; color: #555; margin-bottom: 12px; }
.testimonial cite { color: #0d47a1; font-weight: 700; }

/* FAQ */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { background: #fff; margin-bottom: 14px; padding: 20px 24px; border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,0.06); border-left: 4px solid #1a73e8; }
.faq-item h4 { color: #0d47a1; margin-bottom: 10px; font-size: 17px; }
.faq-item p { color: #555; font-size: 14px; }
.faq-item ul { margin: 8px 0 0 20px; color: #555; font-size: 14px; }

/* News Preview */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.news-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.news-card img { width: 100%; height: 180px; object-fit: cover; }
.news-card-body { padding: 18px; }
.news-meta { font-size: 12px; color: #888; margin-bottom: 8px; }
.news-meta span { background: #ffd700; color: #0d47a1; padding: 2px 8px; border-radius: 10px; font-weight: 700; margin-left: 8px; }
.news-card h3 { color: #0d47a1; font-size: 17px; margin-bottom: 10px; }
.news-card p { color: #555; font-size: 14px; }

/* Footer */
footer { background: #0d47a1; color: #fff; padding: 40px 20px 20px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.footer-col h4 { color: #ffd700; margin-bottom: 16px; font-size: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; font-size: 14px; }
.footer-col ul li a:hover { color: #ffd700; }
.footer-bottom { max-width: 1200px; margin: 30px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.2); text-align: center; font-size: 13px; }

@media (max-width: 768px) {
  .nav-wrap { padding: 10px; }
  .logo { font-size: 22px; }
  nav ul { width: 100%; justify-content: center; margin-top: 10px; order: 3; }
  nav ul li a { padding: 6px 10px; font-size: 13px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .about-block { grid-template-columns: 1fr; }
  .section-title { font-size: 24px; }
  .btn { padding: 6px 12px; font-size: 13px; }
}