* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Arial, sans-serif; background: #0a0e1a; color: #e8e8e8; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Header */
.top-header { background: linear-gradient(90deg, #1a1f2e 0%, #0d1117 100%); padding: 12px 20px; border-bottom: 2px solid #e63946; position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo { font-size: 28px; font-weight: 900; color: #e63946; letter-spacing: 1px; text-transform: uppercase; background: linear-gradient(135deg, #e63946 0%, #ff6b7a 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.main-nav { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.main-nav a { color: #fff; font-size: 14px; font-weight: 600; padding: 6px 10px; transition: color .3s; }
.main-nav a:hover, .main-nav a.active { color: #e63946; }
.auth-buttons { display: flex; gap: 10px; }
.btn-login, .btn-register { padding: 8px 18px; border-radius: 4px; font-weight: 700; font-size: 13px; transition: transform .2s, box-shadow .2s; }
.btn-login { background: #2a3142; color: #fff; border: 1px solid #444; }
.btn-register { background: linear-gradient(135deg, #e63946, #c1121f); color: #fff; }
.btn-login:hover, .btn-register:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(230,57,70,.35); }

/* Hero */
.hero { position: relative; background: linear-gradient(135deg, #1a0e1f 0%, #0d1117 60%, #1a0e1f 100%); padding: 40px 20px; overflow: hidden; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
.hero-text h1 { font-size: 44px; font-weight: 900; line-height: 1.15; margin-bottom: 16px; color: #fff; }
.hero-text h1 span { color: #e63946; display: block; font-size: 52px; }
.hero-text p.tagline { font-size: 18px; color: #c0c0c0; margin-bottom: 22px; }
.bonus-box { display: inline-flex; gap: 18px; background: rgba(230,57,70,.12); padding: 14px 22px; border-radius: 8px; border-left: 4px solid #e63946; }
.bonus-box div b { display: block; font-size: 26px; color: #ffd166; }
.bonus-box div small { font-size: 11px; color: #c0c0c0; }
.hero-img img { border-radius: 12px; box-shadow: 0 20px 60px rgba(230,57,70,.25); }

/* Section base */
.section { padding: 50px 20px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 30px; font-weight: 800; margin-bottom: 8px; color: #fff; position: relative; }
.section-title::after { content: ""; display: block; width: 80px; height: 3px; background: #e63946; margin: 12px auto 0; border-radius: 2px; }
.section-sub { text-align: center; color: #9aa0aa; max-width: 720px; margin: 0 auto 36px; font-size: 15px; }

/* Games grid */
.games-section { background: #0d1320; }
.games-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.game-card { background: #161c2a; border: 1px solid #232b3d; border-radius: 8px; overflow: hidden; text-align: center; transition: transform .25s, border-color .25s; }
.game-card:hover { transform: translateY(-4px); border-color: #e63946; }
.game-card img { width: 100%; height: 140px; object-fit: cover; }
.game-card p { padding: 10px 6px; font-size: 13px; font-weight: 600; color: #d8dbe2; }

/* Categories tabs */
.cat-section { background: #0a0e1a; }
.cat-layout { display: grid; grid-template-columns: 280px 1fr; gap: 24px; }
.cat-tabs { background: #161c2a; border-radius: 8px; padding: 12px; }
.cat-tabs li { list-style: none; padding: 14px 16px; border-bottom: 1px solid #232b3d; cursor: pointer; font-weight: 600; color: #c0c4cf; font-size: 14px; }
.cat-tabs li.active { background: linear-gradient(90deg, #e63946, transparent); color: #fff; border-radius: 4px; }
.cat-tabs li:last-child { border-bottom: none; }
.cat-content { background: #161c2a; border-radius: 8px; padding: 22px; min-height: 320px; }
.cat-content h3 { color: #e63946; font-size: 20px; margin-bottom: 12px; }
.cat-content p { color: #c0c4cf; margin-bottom: 12px; font-size: 14.5px; }
.cat-content ul { padding-left: 22px; color: #c0c4cf; }
.cat-content ul li { margin-bottom: 6px; font-size: 14px; }

/* Steps banner */
.steps-banner { background: linear-gradient(90deg, #2a0f1a 0%, #1a0a14 100%); padding: 36px 20px; }
.steps-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.step-item { padding: 18px 12px; }
.step-num { display: inline-block; width: 52px; height: 52px; line-height: 52px; border-radius: 50%; background: #e63946; color: #fff; font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.step-item h4 { color: #fff; font-size: 16px; margin-bottom: 4px; }
.step-item p { color: #b0b5c2; font-size: 12.5px; }

/* About product / contact / services */
.three-col { background: #0d1320; }
.three-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.three-grid h3 { color: #e63946; font-size: 20px; margin-bottom: 14px; border-bottom: 1px solid #232b3d; padding-bottom: 8px; }
.three-grid h4 { color: #ffd166; font-size: 15px; margin: 14px 0 6px; }
.three-grid p, .three-grid li { color: #c0c4cf; font-size: 14px; margin-bottom: 8px; }
.contact-line { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: #d8dbe2; }
.contact-icon { width: 32px; height: 32px; border-radius: 50%; background: #e63946; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: 13px; }
.service-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed #232b3d; font-size: 13.5px; }
.service-row span:last-child { color: #ffd166; }

/* Long content */
.long-content { background: #0a0e1a; padding: 60px 20px; }
.long-inner { max-width: 1200px; margin: 0 auto; }
.long-inner h2 { color: #fff; font-size: 26px; margin: 28px 0 12px; }
.long-inner h3 { color: #e63946; font-size: 19px; margin: 20px 0 10px; }
.long-inner p { color: #c0c4cf; font-size: 15px; margin-bottom: 14px; }
.content-img { float: right; margin: 0 0 16px 22px; width: 320px; border-radius: 8px; }

/* FAQ */
.faq-section { background: #0d1320; padding: 50px 20px; }
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { background: #161c2a; border-left: 3px solid #e63946; border-radius: 6px; padding: 18px 22px; margin-bottom: 14px; }
.faq-item h4 { color: #fff; font-size: 16px; margin-bottom: 8px; }
.faq-item p { color: #c0c4cf; font-size: 14.5px; }

/* Testimonial */
.testimonial { background: linear-gradient(135deg, #1a0e1f, #0d1117); padding: 40px 20px; text-align: center; }
.testimonial blockquote { max-width: 760px; margin: 0 auto; color: #d8dbe2; font-style: italic; font-size: 16px; line-height: 1.7; }
.testimonial cite { display: block; margin-top: 12px; color: #ffd166; font-size: 13px; font-weight: 600; font-style: normal; }

/* Footer */
footer { background: #06090f; padding: 40px 20px 20px; border-top: 3px solid #e63946; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-col h4 { color: #e63946; font-size: 16px; margin-bottom: 14px; }
.footer-col p, .footer-col li { color: #9aa0aa; font-size: 13.5px; margin-bottom: 8px; list-style: none; }
.footer-col a { color: #9aa0aa; transition: color .2s; }
.footer-col a:hover { color: #e63946; }
.footer-bottom { max-width: 1200px; margin: 26px auto 0; padding-top: 18px; border-top: 1px solid #1a1f2e; text-align: center; color: #6c727f; font-size: 12.5px; }
.footer-bottom .age { display: inline-block; background: #e63946; color: #fff; padding: 3px 9px; border-radius: 4px; font-weight: 700; margin-right: 8px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { font-size: 32px; }
  .hero-text h1 span { font-size: 38px; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-layout { grid-template-columns: 1fr; }
  .steps-inner { grid-template-columns: repeat(2, 1fr); }
  .three-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-img { float: none; width: 100%; margin: 14px 0; }
  .main-nav { gap: 12px; font-size: 13px; }
  .header-inner { gap: 12px; }
}
@media (max-width: 540px) {
  .games-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps-inner { grid-template-columns: 1fr 1fr; }
  .hero-text h1 { font-size: 26px; }
  .hero-text h1 span { font-size: 30px; }
  .section-title { font-size: 22px; }
}
.step-num img{width:100%;height:100%;object-fit:cover;object-position:center}
.contact-icon img{width:100%;height:100%;object-fit:cover;object-position:center}