* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #333; background: #f5f5f5; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
header { background: #1a1a1a; color: #fff; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo { font-size: 28px; font-weight: 900; color: #e63946; letter-spacing: 1px; }
nav ul { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; }
nav ul li a { padding: 8px 16px; color: #ddd; font-size: 14px; border-radius: 4px; transition: all 0.3s; display: block; }
nav ul li a:hover, nav ul li a.active { color: #fff; background: #e63946; }
.auth-buttons { display: flex; gap: 10px; }
.btn-login, .btn-register { padding: 8px 18px; border-radius: 4px; font-size: 13px; font-weight: 600; transition: all 0.3s; cursor: pointer; }
.btn-login { background: transparent; color: #fff; border: 1px solid #fff; }
.btn-login:hover { background: #fff; color: #1a1a1a; }
.btn-register { background: #e63946; color: #fff; border: 1px solid #e63946; }
.btn-register:hover { background: #c92938; }

/* Hero */
.hero { position: relative; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); color: #fff; padding: 60px 20px; text-align: center; overflow: hidden; }
.hero-content { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.hero h1 { font-size: 42px; margin-bottom: 18px; font-weight: 800; letter-spacing: 1px; }
.hero h1 span { color: #e63946; }
.hero p.subtitle { font-size: 17px; color: #c9d6df; max-width: 780px; margin: 0 auto 30px; }
.hero-banner-img { max-width: 633px; margin: 25px auto; border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,0.5); }
.country-select { margin-top: 30px; }
.country-select h3 { font-size: 18px; margin-bottom: 18px; color: #fff; font-weight: 500; }
.country-list { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.country-item { background: rgba(255,255,255,0.1); padding: 14px 22px; border-radius: 30px; font-size: 14px; transition: all 0.3s; cursor: pointer; }
.country-item:hover { background: #e63946; transform: translateY(-3px); }

/* Stats */
.stats-section { background: #fff; padding: 50px 20px; }
.stats-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; }
.stat-box { text-align: center; padding: 30px 20px; background: #fafafa; border-radius: 8px; border-top: 3px solid #e63946; }
.stat-box h3 { color: #999; font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.stat-box .stat-number { font-size: 32px; font-weight: 800; color: #1a1a2e; }

/* Why Section */
.why-section { padding: 60px 20px; background: #f5f5f5; }
.section-title { text-align: center; max-width: 800px; margin: 0 auto 40px; }
.section-title h2 { font-size: 32px; color: #1a1a2e; margin-bottom: 14px; position: relative; display: inline-block; padding-bottom: 12px; }
.section-title h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background: #e63946; }
.section-title p { color: #666; font-size: 15px; margin-top: 12px; }
.why-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.why-card { background: #fff; padding: 30px 24px; border-radius: 8px; text-align: center; transition: all 0.3s; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.why-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.why-card .icon-wrap { width: 60px; height: 60px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; background: #fff5f5; border-radius: 50%; }
.why-card h3 { color: #1a1a2e; font-size: 18px; margin-bottom: 12px; }
.why-card p { color: #666; font-size: 14px; line-height: 1.7; }

/* Games Showcase */
.games-section { padding: 60px 20px; background: #fff; }
.games-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.game-card { background: #fafafa; border-radius: 8px; overflow: hidden; transition: all 0.3s; cursor: pointer; border: 1px solid #eee; }
.game-card:hover { transform: translateY(-4px); box-shadow: 0 6px 16px rgba(0,0,0,0.1); }
.game-card .img-wrap { background: #1a1a2e; display: flex; justify-content: center; align-items: center; padding: 10px; min-height: 180px; }
.game-card .img-wrap img { max-width: 100%; max-height: 200px; object-fit: contain; }
.game-card .info { padding: 16px; }
.game-card .info h4 { font-size: 15px; color: #1a1a2e; margin-bottom: 6px; }
.game-card .info span { font-size: 12px; color: #888; }

/* Categories */
.cat-section { padding: 60px 20px; background: #f5f5f5; }
.cat-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.cat-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: all 0.3s; }
.cat-card:hover { transform: translateY(-4px); }
.cat-card .cat-img-wrap { background: linear-gradient(135deg, #16213e, #0f3460); display: flex; justify-content: center; align-items: center; padding: 20px; min-height: 220px; }
.cat-card .cat-img-wrap img { max-width: 100%; max-height: 280px; object-fit: contain; }
.cat-card .cat-content { padding: 22px; }
.cat-card .cat-content h3 { color: #1a1a2e; font-size: 20px; margin-bottom: 10px; }
.cat-card .cat-content p { color: #666; font-size: 14px; }

/* Brand Story */
.story-section { padding: 60px 20px; background: #fff; }
.story-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.story-text h2 { font-size: 28px; color: #1a1a2e; margin-bottom: 18px; }
.story-text p { color: #555; font-size: 15px; margin-bottom: 14px; }
.story-img { display: flex; justify-content: center; }
.story-img img { border-radius: 8px; max-width: 100%; box-shadow: 0 6px 20px rgba(0,0,0,0.1); }

/* Process Section */
.process-section { padding: 60px 20px; background: #f5f5f5; }
.process-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }
.process-box { background: #fff; padding: 26px; border-radius: 8px; border-left: 4px solid #e63946; }
.process-box .step-num { display: inline-block; background: #e63946; color: #fff; width: 32px; height: 32px; border-radius: 50%; text-align: center; line-height: 32px; font-weight: 700; margin-bottom: 14px; }
.process-box h4 { color: #1a1a2e; font-size: 17px; margin-bottom: 10px; }
.process-box p { color: #666; font-size: 14px; }

/* FAQ */
.faq-section { padding: 60px 20px; background: #fff; }
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { background: #fafafa; margin-bottom: 14px; padding: 22px 26px; border-radius: 8px; border-left: 3px solid #e63946; }
.faq-item h4 { color: #1a1a2e; font-size: 16px; margin-bottom: 10px; }
.faq-item p { color: #555; font-size: 14px; line-height: 1.7; }
.faq-item ul { margin: 8px 0 0 22px; color: #555; font-size: 14px; }

/* Testimonial */
.testimonial-section { padding: 50px 20px; background: linear-gradient(135deg, #1a1a2e, #16213e); color: #fff; text-align: center; }
.testimonial-box { max-width: 800px; margin: 0 auto; background: rgba(255,255,255,0.05); padding: 30px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); }
.testimonial-box p.quote { font-size: 17px; font-style: italic; line-height: 1.8; margin-bottom: 14px; }
.testimonial-box p.author { color: #e63946; font-weight: 600; font-size: 14px; }

/* Footer */
footer { background: #0d1117; color: #aaa; padding: 50px 20px 20px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 35px; padding-bottom: 30px; border-bottom: 1px solid #222; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; font-size: 13px; }
.footer-col ul li a { color: #aaa; transition: color 0.3s; }
.footer-col ul li a:hover { color: #e63946; }
.footer-col p { font-size: 13px; line-height: 1.7; margin-bottom: 8px; }
.footer-bottom { max-width: 1100px; margin: 20px auto 0; text-align: center; font-size: 13px; color: #777; }
.footer-bottom .age-warning { display: inline-block; background: #e63946; color: #fff; padding: 4px 12px; border-radius: 4px; margin-bottom: 12px; font-weight: 600; }

@media (max-width: 768px) {
  .header-inner { flex-direction: column; gap: 12px; }
  nav ul { justify-content: center; }
  .hero h1 { font-size: 28px; }
  .hero p.subtitle { font-size: 15px; }
  .story-inner { grid-template-columns: 1fr; }
  .section-title h2 { font-size: 24px; }
  .auth-buttons { width: 100%; justify-content: center; }
}
.why-card .icon-wrap img{width:100%;height:100%;object-fit:cover;object-position:center}
.process-box .step-num img{width:100%;height:100%;object-fit:cover;object-position:center}