* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Arial, sans-serif; line-height: 1.7; color: #333; background: #fafafa; font-size: 14px; }
a { color: #e63946; text-decoration: none; }
a:hover { color: #c81d2a; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.top-bar { background: #1a1a1a; color: #fff; padding: 6px 0; font-size: 12px; }
.top-bar-inner { max-width: 1100px; margin: 0 auto; padding: 0 15px; display: flex; justify-content: space-between; flex-wrap: wrap; }
header { background: #fff; border-bottom: 1px solid #eee; box-shadow: 0 1px 4px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1100px; margin: 0 auto; padding: 12px 15px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.logo { font-size: 26px; font-weight: bold; color: #e63946; letter-spacing: 1px; }
.logo:hover { color: #c81d2a; }
nav ul { list-style: none; display: flex; gap: 4px; flex-wrap: wrap; }
nav li a { display: block; padding: 8px 14px; color: #333; font-weight: 500; border-radius: 4px; transition: all 0.2s; font-size: 14px; }
nav li a:hover, nav li a.active { background: #e63946; color: #fff; }
.auth-btns { display: flex; gap: 8px; }
.btn-login, .btn-register { padding: 8px 18px; border-radius: 4px; font-weight: 600; font-size: 13px; transition: all 0.2s; }
.btn-login { background: #fff; color: #e63946; border: 1px solid #e63946; }
.btn-login:hover { background: #ffe5e8; }
.btn-register { background: #e63946; color: #fff; border: 1px solid #e63946; }
.btn-register:hover { background: #c81d2a; color: #fff; }

/* Hero */
.hero { background: linear-gradient(135deg, #1a1a1a 0%, #3a0a0e 100%); color: #fff; padding: 50px 15px; text-align: center; }
.hero-inner { max-width: 1100px; margin: 0 auto; }
.hero h1 { font-size: 32px; margin-bottom: 15px; line-height: 1.3; }
.hero p { font-size: 16px; max-width: 750px; margin: 0 auto 25px; opacity: 0.92; }
.hero-img-wrap { max-width: 640px; margin: 25px auto 0; border-radius: 8px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.hero-img-wrap img { width: 100%; height: auto; }
.hero-cta { margin-top: 25px; }
.hero-cta a { display: inline-block; margin: 5px; padding: 12px 28px; background: #ffd60a; color: #1a1a1a; font-weight: bold; border-radius: 4px; font-size: 15px; }
.hero-cta a:hover { background: #ffea4d; color: #1a1a1a; }

/* Container */
.container { max-width: 1100px; margin: 0 auto; padding: 0 15px; }
section { padding: 40px 0; }
section h2 { font-size: 24px; color: #1a1a1a; margin-bottom: 8px; padding-bottom: 10px; border-bottom: 2px solid #e63946; display: inline-block; }
section .sec-sub { color: #666; margin-bottom: 22px; font-size: 14px; }

/* Stats */
.stats-bar { background: #e63946; color: #fff; padding: 25px 15px; }
.stats-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; text-align: center; }
.stat-num { font-size: 26px; font-weight: bold; }
.stat-lbl { font-size: 12px; opacity: 0.9; margin-top: 4px; }

/* Game Grid */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.game-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.08); transition: transform 0.2s; }
.game-card:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.game-card .img-wrap { background: #000; display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1; overflow: hidden; }
.game-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.game-card .info { padding: 10px; }
.game-card h3 { font-size: 13px; margin-bottom: 4px; color: #1a1a1a; }
.game-card .cat { font-size: 11px; color: #888; }

/* Two col article */
.article-block { background: #fff; padding: 25px; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); margin-bottom: 20px; }
.article-block h3 { color: #e63946; font-size: 18px; margin: 18px 0 8px; }
.article-block p { margin-bottom: 12px; color: #444; }
.article-block ul { margin: 10px 0 12px 22px; }
.article-block ul li { margin-bottom: 6px; }
.inline-img { float: right; margin: 0 0 10px 16px; max-width: 240px; border-radius: 4px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature-item { background: #fff; padding: 20px; border-radius: 6px; border-left: 4px solid #e63946; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.feature-item h3 { font-size: 16px; margin-bottom: 8px; color: #1a1a1a; }

/* Provider grid (mixed sizes) */
.provider-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.provider-item { background: #fff; padding: 12px; border-radius: 6px; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.provider-item .img-wrap { display: flex; align-items: center; justify-content: center; height: 110px; margin-bottom: 8px; }
.provider-item img { max-height: 110px; width: auto; max-width: 100%; }
.provider-item span { font-size: 12px; color: #555; font-weight: 600; }

/* FAQ */
.faq-item { background: #fff; padding: 16px 20px; border-radius: 6px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); border-left: 3px solid #ffd60a; }
.faq-item h4 { color: #1a1a1a; font-size: 15px; margin-bottom: 8px; }
.faq-item p { color: #555; font-size: 14px; }
.faq-item ul { margin: 6px 0 0 20px; font-size: 13px; color: #555; }

/* Testimonial */
.testimonial { background: linear-gradient(90deg, #fff5f6, #fff); padding: 20px; border-radius: 6px; border-left: 4px solid #e63946; margin: 20px 0; font-style: italic; color: #444; }
.testimonial strong { font-style: normal; color: #e63946; display: block; margin-bottom: 6px; }

/* Promo banner */
.promo-banner { background: #1a1a1a; color: #fff; padding: 28px 20px; border-radius: 8px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; }
.promo-banner h3 { color: #ffd60a; font-size: 20px; margin-bottom: 10px; }
.promo-banner .img-wrap { display: flex; justify-content: center; }
.promo-banner img { max-width: 100%; border-radius: 4px; }

/* Footer */
footer { background: #1a1a1a; color: #ccc; padding: 35px 15px 15px; margin-top: 30px; font-size: 13px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { color: #aaa; }
.footer-col a:hover { color: #ffd60a; }
.footer-bottom { max-width: 1100px; margin: 25px auto 0; padding-top: 15px; border-top: 1px solid #333; text-align: center; color: #777; font-size: 12px; }

/* Mobile */
@media (max-width: 768px) {
  .header-inner { justify-content: center; }
  nav ul { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-banner { grid-template-columns: 1fr; }
  .inline-img { float: none; margin: 0 0 12px; max-width: 100%; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 14px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .auth-btns { width: 100%; justify-content: center; }
  nav li a { padding: 6px 10px; font-size: 13px; }
}