* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; background: #1a2434; color: #d4dae3; line-height: 1.6; font-size: 14px; }
a { text-decoration: none; color: inherit; }

/* Top bar */
.top-bar { background: #cc0000; color: #fff; padding: 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 6px rgba(0,0,0,0.4); }
.top-bar-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; height: 56px; }
.logo { font-size: 26px; font-weight: bold; color: #fff; letter-spacing: 1px; font-style: italic; }
.logo span { color: #ffd700; }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; margin-left: 30px; }
.main-nav a { padding: 8px 14px; color: #fff; font-weight: 600; font-size: 13px; text-transform: uppercase; border-radius: 3px; transition: background 0.2s; }
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,0.15); }
.auth-buttons { display: flex; gap: 8px; }
.btn-register, .btn-login { padding: 8px 22px; border-radius: 20px; font-weight: bold; font-size: 13px; cursor: pointer; border: none; }
.btn-register { background: transparent; color: #fff; border: 1px solid #fff; }
.btn-login { background: #ffd700; color: #1a2434; }
.btn-register:hover { background: rgba(255,255,255,0.15); }
.btn-login:hover { background: #ffb700; }

/* Sub navigation */
.sub-nav { background: #243447; padding: 10px 0; border-bottom: 1px solid #2f4159; }
.sub-nav-inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: flex; gap: 20px; overflow-x: auto; }
.sub-nav-item { display: flex; flex-direction: column; align-items: center; padding: 6px 10px; cursor: pointer; min-width: 70px; color: #b0bccd; font-size: 12px; }
.sub-nav-item.active { color: #ffd700; }
.sub-nav-item .icon { font-size: 20px; margin-bottom: 4px; }

/* Hero banner */
.hero { background: linear-gradient(135deg, #2a3a52 0%, #1a2434 100%); padding: 30px 20px; }
.hero-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.hero-main { background: #2a3a52; border-radius: 6px; overflow: hidden; padding: 30px; position: relative; min-height: 280px; display: flex; flex-direction: column; justify-content: center; }
.hero-main h1 { color: #ffd700; font-size: 32px; margin-bottom: 12px; line-height: 1.3; }
.hero-main p { color: #d4dae3; font-size: 15px; margin-bottom: 20px; max-width: 480px; }
.hero-cta { display: inline-block; background: #ffd700; color: #1a2434; padding: 12px 30px; border-radius: 22px; font-weight: bold; width: fit-content; }
.hero-side { background: #2a3a52; border-radius: 6px; overflow: hidden; }
.hero-side img { width: 100%; height: auto; display: block; }
.hero-side-body { padding: 16px; }
.hero-side-body h3 { color: #ffd700; font-size: 16px; margin-bottom: 8px; }

/* Content sections */
.main-content { max-width: 1280px; margin: 0 auto; padding: 30px 20px; }
.section { background: #243447; border-radius: 6px; margin-bottom: 24px; overflow: hidden; }
.section-header { background: #2f4159; padding: 14px 20px; border-bottom: 1px solid #1a2434; display: flex; justify-content: space-between; align-items: center; }
.section-header h2 { color: #ffd700; font-size: 18px; }
.section-header .more-link { color: #b0bccd; font-size: 13px; }
.section-body { padding: 20px; }

/* Game grid */
.game-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.game-card { background: #1a2434; border-radius: 6px; overflow: hidden; cursor: pointer; transition: transform 0.2s; border: 1px solid #2f4159; }
.game-card:hover { transform: translateY(-3px); border-color: #ffd700; }
.game-card img { width: 100%; height: auto; display: block; }
.game-card-body { padding: 10px; }
.game-card-body h4 { color: #d4dae3; font-size: 13px; margin-bottom: 4px; }
.game-card-body p { color: #8a96a8; font-size: 11px; }

/* Stats row */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-box { background: #243447; padding: 22px; border-radius: 6px; text-align: center; border-left: 3px solid #ffd700; }
.stat-box .num { color: #ffd700; font-size: 28px; font-weight: bold; display: block; margin-bottom: 6px; }
.stat-box .label { color: #b0bccd; font-size: 13px; }

/* Two column layout */
.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-bottom: 24px; }
.col-card { background: #243447; border-radius: 6px; padding: 24px; }
.col-card h2 { color: #ffd700; font-size: 20px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #2f4159; }
.col-card h3 { color: #d4dae3; font-size: 15px; margin: 16px 0 8px; }
.col-card p { color: #b0bccd; margin-bottom: 12px; font-size: 14px; }
.col-card ul { padding-left: 20px; color: #b0bccd; margin-bottom: 12px; }
.col-card ul li { margin-bottom: 6px; }
.col-card img { max-width: 100%; height: auto; border-radius: 4px; margin: 10px 0; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-item { background: #1a2434; padding: 20px; border-radius: 6px; border: 1px solid #2f4159; }
.feature-item .ico { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: #ffd700; color: #1a2434; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 12px; font-weight: bold; }
.feature-item h3 { color: #ffd700; font-size: 15px; margin-bottom: 8px; }
.feature-item p { color: #b0bccd; font-size: 13px; }

/* FAQ */
.faq-item { background: #1a2434; border-radius: 4px; padding: 16px 20px; margin-bottom: 10px; border-left: 3px solid #ffd700; }
.faq-item h4 { color: #ffd700; font-size: 15px; margin-bottom: 8px; }
.faq-item p { color: #b0bccd; font-size: 14px; }
.faq-item ul { margin-top: 6px; padding-left: 22px; color: #b0bccd; font-size: 14px; }

/* Testimonial */
.testimonial { background: #2f4159; border-radius: 6px; padding: 20px; margin-top: 20px; border-left: 4px solid #ffd700; font-style: italic; color: #d4dae3; }

/* Partners */
.partner-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.partner-box { background: #2f4159; padding: 20px; border-radius: 6px; text-align: center; }
.partner-box img { max-width: 100%; height: auto; max-height: 120px; object-fit: contain; margin: 0 auto 8px; }
.partner-box span { color: #b0bccd; font-size: 12px; display: block; }

/* Footer */
footer { background: #14202f; padding: 40px 20px 20px; margin-top: 40px; border-top: 3px solid #cc0000; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 30px; }
.footer-col h4 { color: #ffd700; font-size: 14px; margin-bottom: 14px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a, .footer-col p { color: #8a96a8; font-size: 13px; }
.footer-col ul li a:hover { color: #ffd700; }
.footer-bottom { border-top: 1px solid #2f4159; padding-top: 20px; text-align: center; color: #8a96a8; font-size: 12px; }
.footer-bottom .age-warn { display: inline-block; background: #cc0000; color: #fff; padding: 4px 10px; border-radius: 3px; font-weight: bold; margin-right: 10px; }

@media (max-width: 768px) {
  .top-bar-inner { padding: 0 10px; height: auto; flex-wrap: wrap; padding: 10px; }
  .main-nav { order: 3; width: 100%; margin: 10px 0 0; overflow-x: auto; }
  .main-nav a { padding: 6px 10px; font-size: 12px; }
  .logo { font-size: 22px; }
  .btn-register, .btn-login { padding: 6px 14px; font-size: 12px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-main h1 { font-size: 24px; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .sub-nav-inner { gap: 10px; }
}
.feature-item .ico img{width:100%;height:100%;object-fit:cover;object-position:center}