* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, sans-serif; background: #0d0d0d; color: #e8e8e8; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.top-bar { background: #1a1a1a; padding: 8px 0; font-size: 12px; color: #aaa; text-align: center; border-bottom: 1px solid #2a2a2a; }
header { background: linear-gradient(180deg, #c8102e 0%, #8b0a1f 100%); padding: 15px 0; position: sticky; top: 0; z-index: 999; box-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.nav-wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.logo { font-size: 28px; font-weight: 900; color: #fff; letter-spacing: 1px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.logo span { color: #ffd700; }
nav ul { display: flex; list-style: none; gap: 5px; flex-wrap: wrap; }
nav ul li a { padding: 8px 14px; color: #fff; font-weight: 600; border-radius: 4px; transition: 0.3s; font-size: 14px; }
nav ul li a:hover, nav ul li a.active { background: #ffd700; color: #8b0a1f; }
.auth-btns { display: flex; gap: 8px; }
.btn { padding: 9px 18px; border-radius: 4px; font-weight: 700; font-size: 13px; transition: 0.3s; display: inline-block; }
.btn-login { background: transparent; color: #fff; border: 2px solid #ffd700; }
.btn-register { background: #ffd700; color: #8b0a1f; border: 2px solid #ffd700; }
.btn-login:hover { background: #ffd700; color: #8b0a1f; }
.btn-register:hover { background: #fff; }

/* Hero */
.hero { background: linear-gradient(135deg, #1a0000 0%, #3d0000 50%, #1a0000 100%); padding: 50px 0; text-align: center; position: relative; overflow: hidden; }
.hero h1 { font-size: 38px; color: #ffd700; margin-bottom: 15px; text-shadow: 0 0 20px rgba(255,215,0,0.5); }
.hero .tagline { font-size: 18px; color: #fff; margin-bottom: 25px; max-width: 800px; margin-left: auto; margin-right: auto; }
.hero-banner { max-width: 700px; margin: 30px auto; border: 3px solid #ffd700; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 40px rgba(255,215,0,0.3); }
.hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 15px; max-width: 900px; margin: 30px auto 0; }
.stat-box { background: rgba(0,0,0,0.5); border: 1px solid #ffd700; padding: 18px; border-radius: 8px; }
.stat-box .num { font-size: 26px; color: #ffd700; font-weight: 900; }
.stat-box .lbl { font-size: 12px; color: #ddd; margin-top: 4px; }

/* Sections */
section { padding: 50px 0; }
.section-title { text-align: center; margin-bottom: 35px; }
.section-title h2 { font-size: 30px; color: #ffd700; display: inline-block; padding-bottom: 10px; border-bottom: 3px solid #c8102e; }
.section-title p { color: #aaa; margin-top: 12px; font-size: 14px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* About intro */
.intro { background: #141414; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; align-items: center; }
.intro-text p { margin-bottom: 14px; color: #ccc; font-size: 15px; }
.intro-text h3 { color: #ffd700; margin-bottom: 12px; font-size: 22px; }
.intro-img { border-radius: 10px; overflow: hidden; border: 2px solid #c8102e; }

/* Game grid */
.games { background: #0d0d0d; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.game-card { background: #1a1a1a; border-radius: 10px; overflow: hidden; transition: 0.3s; border: 1px solid #2a2a2a; }
.game-card:hover { transform: translateY(-5px); border-color: #ffd700; box-shadow: 0 8px 20px rgba(255,215,0,0.2); }
.game-card .thumb { background: #000; display: flex; justify-content: center; align-items: center; padding: 10px; }
.game-card .thumb img { max-height: 170px; width: auto; }
.game-card .info { padding: 12px; text-align: center; }
.game-card .info h4 { color: #ffd700; font-size: 14px; margin-bottom: 4px; }
.game-card .info span { font-size: 12px; color: #888; }

/* Features */
.features { background: #141414; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feat-card { background: linear-gradient(135deg, #1a1a1a, #252525); padding: 25px; border-radius: 10px; border-left: 4px solid #ffd700; }
.feat-card h3 { color: #ffd700; font-size: 18px; margin-bottom: 10px; }
.feat-card p { color: #bbb; font-size: 14px; }

/* Showcase */
.showcase { background: #0d0d0d; }
.showcase-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 25px; }
.showcase-main { border-radius: 10px; overflow: hidden; border: 2px solid #c8102e; }
.showcase-side { display: grid; grid-template-rows: 1fr 1fr; gap: 15px; }
.showcase-side div { border-radius: 10px; overflow: hidden; border: 2px solid #2a2a2a; }

/* Testimonial */
.testimonial { background: #1a0000; border-top: 2px solid #c8102e; border-bottom: 2px solid #c8102e; padding: 40px 0; }
.testi-box { max-width: 800px; margin: 0 auto; text-align: center; padding: 25px; background: rgba(0,0,0,0.4); border-radius: 10px; }
.testi-box p { font-style: italic; font-size: 17px; color: #fff; margin-bottom: 12px; }
.testi-box .author { color: #ffd700; font-weight: 700; }

/* FAQ */
.faq { background: #141414; }
.faq-item { background: #1a1a1a; margin-bottom: 12px; padding: 18px 22px; border-radius: 8px; border-left: 4px solid #c8102e; }
.faq-item h4 { color: #ffd700; font-size: 16px; margin-bottom: 8px; }
.faq-item p { color: #ccc; font-size: 14px; }
.faq-item ul { margin-top: 8px; padding-left: 20px; color: #bbb; font-size: 14px; }

/* CTA */
.cta { background: linear-gradient(135deg, #c8102e, #8b0a1f); padding: 50px 0; text-align: center; }
.cta h2 { color: #fff; font-size: 28px; margin-bottom: 15px; }
.cta p { color: #ffd; margin-bottom: 22px; font-size: 15px; }

/* Footer */
footer { background: #0a0a0a; padding: 45px 0 20px; border-top: 3px solid #c8102e; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 25px; }
.footer-col h4 { color: #ffd700; font-size: 16px; margin-bottom: 14px; border-bottom: 1px solid #2a2a2a; padding-bottom: 8px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #aaa; font-size: 14px; transition: 0.3s; }
.footer-col ul li a:hover { color: #ffd700; }
.footer-col p { color: #888; font-size: 13px; margin-bottom: 8px; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #2a2a2a; color: #666; font-size: 13px; }

@media (max-width: 768px) {
  .hero h1 { font-size: 26px; }
  .intro-grid, .showcase-grid { grid-template-columns: 1fr; }
  nav ul { justify-content: center; width: 100%; }
  .nav-wrap { justify-content: center; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
}