* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Arial, sans-serif; background: #f5f7fb; color: #2b2b2b; line-height: 1.65; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Header */
.top-bar { background: #0a1a3a; color: #cfd8ec; font-size: 13px; padding: 6px 0; }
.top-bar .wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.top-bar a { color: #ffd54a; }

header.main-header { background: #ffffff; border-bottom: 3px solid #0a1a3a; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.header-inner { max-width: 1180px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.logo { font-size: 28px; font-weight: 900; color: #0a1a3a; letter-spacing: 1px; padding: 4px 14px; border: 2px solid #0a1a3a; border-radius: 6px; background: linear-gradient(135deg, #0a1a3a 0%, #1d3a7a 100%); color: #ffd54a; }
nav.main-nav ul { display: flex; gap: 4px; flex-wrap: wrap; }
nav.main-nav a { display: block; padding: 10px 16px; color: #0a1a3a; font-weight: 600; font-size: 14px; text-transform: uppercase; border-radius: 4px; transition: all 0.2s; }
nav.main-nav a:hover { background: #f0f3fa; color: #1d3a7a; }
nav.main-nav a.active { background: #0a1a3a; color: #ffd54a; }
.auth-btns { display: flex; gap: 8px; }
.btn { padding: 9px 20px; border-radius: 4px; font-weight: 700; font-size: 13px; text-transform: uppercase; transition: all 0.2s; border: 2px solid transparent; cursor: pointer; }
.btn-login { background: transparent; color: #0a1a3a; border-color: #0a1a3a; }
.btn-login:hover { background: #0a1a3a; color: #ffd54a; }
.btn-register { background: #ffd54a; color: #0a1a3a; border-color: #ffd54a; }
.btn-register:hover { background: #ffc107; }

/* Hero */
.hero { background: linear-gradient(135deg, #0a1a3a 0%, #1d3a7a 50%, #2d4ea8 100%); color: #fff; padding: 50px 16px; position: relative; overflow: hidden; }
.hero-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-text h1 { font-size: 42px; line-height: 1.2; margin-bottom: 16px; color: #ffd54a; text-shadow: 2px 2px 6px rgba(0,0,0,0.3); }
.hero-text .tagline { font-size: 18px; margin-bottom: 14px; color: #fff; }
.hero-text p { font-size: 15px; color: #d8e1f2; margin-bottom: 22px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta a { padding: 14px 28px; border-radius: 30px; font-weight: 700; font-size: 14px; text-transform: uppercase; }
.cta-primary { background: #ffd54a; color: #0a1a3a; }
.cta-primary:hover { background: #ffc107; }
.cta-secondary { background: transparent; color: #fff; border: 2px solid #ffd54a; }
.hero-image { text-align: center; }
.hero-image img { max-width: 460px; margin: 0 auto; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }

/* Promo banner */
.promo-banner { background: #ffd54a; color: #0a1a3a; text-align: center; padding: 14px 16px; font-weight: 700; font-size: 16px; }
.promo-banner span { background: #0a1a3a; color: #ffd54a; padding: 4px 12px; border-radius: 4px; margin: 0 6px; }

/* Section base */
.section { padding: 50px 16px; }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-title { text-align: center; color: #0a1a3a; font-size: 30px; margin-bottom: 12px; position: relative; padding-bottom: 14px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 70px; height: 3px; background: #ffd54a; }
.section-sub { text-align: center; color: #5a6783; margin-bottom: 36px; max-width: 720px; margin-left: auto; margin-right: auto; font-size: 15px; }

/* Intro */
.intro-content { background: #fff; padding: 36px; border-radius: 10px; box-shadow: 0 2px 12px rgba(10,26,58,0.06); }
.intro-content p { margin-bottom: 16px; color: #3a4358; font-size: 15px; }
.intro-content p strong { color: #0a1a3a; }

/* Games grid */
.games-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.game-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 3px 10px rgba(10,26,58,0.08); transition: transform 0.25s, box-shadow 0.25s; text-align: center; }
.game-card:hover { transform: translateY(-6px); box-shadow: 0 8px 18px rgba(10,26,58,0.18); }
.game-thumb { background: #f0f3fa; padding: 14px; display: flex; align-items: center; justify-content: center; min-height: 180px; }
.game-thumb img { max-height: 160px; width: auto; border-radius: 6px; }
.game-info { padding: 12px; }
.game-info h3 { font-size: 14px; color: #0a1a3a; margin-bottom: 4px; }
.game-info span { font-size: 12px; color: #7a8499; }

/* Features */
.features { background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-box { padding: 26px 20px; text-align: center; border: 1px solid #eaeef7; border-radius: 10px; transition: all 0.25s; }
.feature-box:hover { border-color: #ffd54a; box-shadow: 0 6px 16px rgba(10,26,58,0.1); }
.feature-icon { width: 64px; height: 64px; background: linear-gradient(135deg, #0a1a3a, #1d3a7a); color: #ffd54a; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 900; }
.feature-box h3 { color: #0a1a3a; font-size: 17px; margin-bottom: 10px; }
.feature-box p { color: #5a6783; font-size: 14px; }

/* About preview */
.about-row { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.about-row .text h2 { color: #0a1a3a; font-size: 28px; margin-bottom: 16px; }
.about-row .text p { margin-bottom: 14px; color: #3a4358; font-size: 15px; }
.about-row .image img { border-radius: 10px; box-shadow: 0 6px 18px rgba(10,26,58,0.18); }

/* Stats */
.stats { background: linear-gradient(135deg, #0a1a3a, #1d3a7a); color: #fff; padding: 40px 16px; }
.stats-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item .num { font-size: 36px; color: #ffd54a; font-weight: 900; display: block; }
.stat-item .lbl { font-size: 14px; color: #d8e1f2; }

/* Process */
.process-section { background: #f5f7fb; }
.process-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.process-box { background: #fff; padding: 26px; border-radius: 10px; border-left: 4px solid #ffd54a; }
.process-box h3 { color: #0a1a3a; font-size: 18px; margin-bottom: 12px; }
.process-box ol { padding-left: 22px; color: #3a4358; }
.process-box ol li { margin-bottom: 8px; font-size: 14px; }

/* News preview */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 3px 12px rgba(10,26,58,0.08); }
.news-card .news-img { background: #f0f3fa; padding: 16px; display: flex; align-items: center; justify-content: center; min-height: 200px; }
.news-card .news-img img { max-height: 180px; width: auto; }
.news-card .news-body { padding: 18px; }
.news-card .news-meta { font-size: 12px; color: #7a8499; margin-bottom: 8px; }
.news-card .news-meta span { background: #f0f3fa; padding: 3px 8px; border-radius: 3px; margin-right: 6px; color: #1d3a7a; }
.news-card h3 { color: #0a1a3a; font-size: 16px; margin-bottom: 10px; line-height: 1.4; }
.news-card p { color: #5a6783; font-size: 13px; margin-bottom: 12px; }
.news-card a.read-more { color: #1d3a7a; font-weight: 700; font-size: 13px; }

/* Testimonial */
.testimonial { background: #fff; padding: 30px; border-left: 5px solid #ffd54a; border-radius: 8px; max-width: 820px; margin: 0 auto; font-style: italic; color: #3a4358; }
.testimonial .author { display: block; margin-top: 12px; font-style: normal; font-weight: 700; color: #0a1a3a; font-size: 14px; }

/* FAQ */
.faq-section { background: #fff; }
.faq-list { max-width: 920px; margin: 0 auto; }
.faq-item { background: #f5f7fb; margin-bottom: 14px; padding: 22px 26px; border-radius: 8px; border-left: 4px solid #1d3a7a; }
.faq-item h4 { color: #0a1a3a; font-size: 17px; margin-bottom: 10px; }
.faq-item p { color: #3a4358; font-size: 14px; }
.faq-item ul { margin: 8px 0 0 22px; list-style: disc; color: #3a4358; font-size: 14px; }

/* Footer */
footer { background: #0a1a3a; color: #cfd8ec; padding: 40px 16px 16px; }
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid #1d3a7a; }
.footer-col h4 { color: #ffd54a; font-size: 16px; margin-bottom: 14px; text-transform: uppercase; }
.footer-col p, .footer-col li { font-size: 13px; color: #cfd8ec; margin-bottom: 8px; }
.footer-col a { color: #cfd8ec; }
.footer-col a:hover { color: #ffd54a; }
.footer-bottom { padding-top: 18px; text-align: center; font-size: 13px; color: #8995b0; }
.footer-bottom .age { display: inline-block; background: #d32f2f; color: #fff; padding: 3px 8px; border-radius: 3px; margin-right: 8px; font-weight: 700; }

/* Mobile */
@media (max-width: 900px) {
  .header-inner { flex-direction: column; }
  nav.main-nav ul { justify-content: center; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 30px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .about-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .games-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .section-title { font-size: 22px; }
}
.feature-icon img{width:100%;height:100%;object-fit:cover;object-position:center}