* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Arial, sans-serif; background: #5a0000; color: #fff; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.top-bar { background: #3a0000; padding: 6px 20px; font-size: 12px; color: #f2c14e; display: flex; justify-content: space-between; flex-wrap: wrap; }
.top-bar span { margin-right: 15px; }

header { background: linear-gradient(180deg, #7a0000 0%, #5a0000 100%); border-bottom: 2px solid #f2c14e; position: sticky; top: 0; z-index: 100; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; max-width: 1280px; margin: 0 auto; flex-wrap: wrap; }
.logo { font-size: 28px; font-weight: 900; color: #f2c14e; letter-spacing: 2px; text-shadow: 2px 2px 0 #3a0000; }
nav ul { list-style: none; display: flex; gap: 5px; flex-wrap: wrap; }
nav ul li a { padding: 8px 14px; color: #fff; font-weight: 600; font-size: 14px; border-radius: 4px; transition: 0.3s; display: block; }
nav ul li a:hover, nav ul li a.active { color: #f2c14e; background: rgba(242, 193, 78, 0.1); }
.auth-buttons { display: flex; gap: 8px; }
.btn-login, .btn-register { padding: 8px 18px; border-radius: 20px; font-weight: 700; font-size: 13px; border: none; cursor: pointer; }
.btn-login { background: #f2c14e; color: #5a0000; }
.btn-register { background: linear-gradient(180deg, #ff4e00 0%, #c40000 100%); color: #fff; }
.btn-login:hover, .btn-register:hover { opacity: 0.9; }
.menu-toggle { display: none; background: none; border: none; color: #f2c14e; font-size: 28px; cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(135deg, #7a0000 0%, #c40000 50%, #7a0000 100%); padding: 50px 20px; text-align: center; position: relative; overflow: hidden; }
.hero h1 { font-size: 42px; color: #f2c14e; text-shadow: 3px 3px 0 #3a0000; margin-bottom: 12px; letter-spacing: 2px; }
.hero .subtitle { font-size: 18px; color: #fff; margin-bottom: 18px; max-width: 720px; margin-left: auto; margin-right: auto; }
.hero .cta-btn { display: inline-block; background: linear-gradient(180deg, #ffae00 0%, #ff4e00 100%); color: #3a0000; padding: 14px 36px; border-radius: 30px; font-weight: 800; font-size: 16px; margin-top: 10px; }

/* Steps */
.steps { background: #f4ead0; color: #5a0000; padding: 25px 20px; }
.steps-wrap { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { display: flex; align-items: center; gap: 12px; background: #fff8e6; padding: 15px; border-radius: 8px; }
.step-num { background: #c40000; color: #f2c14e; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.step-text strong { display: block; font-size: 14px; }
.step-text small { color: #7a3a00; font-size: 12px; }

/* Section common */
section { padding: 40px 20px; }
.container { max-width: 1280px; margin: 0 auto; }
h2 { color: #f2c14e; font-size: 26px; margin-bottom: 20px; border-left: 5px solid #f2c14e; padding-left: 12px; }
h3 { color: #ffd97a; font-size: 20px; margin: 18px 0 10px; }
h4 { color: #fff8e6; font-size: 16px; margin: 12px 0 6px; }
p { margin-bottom: 12px; color: #f4ead0; font-size: 15px; }

/* Popular */
.popular { background: #4a0000; }
.popular-grid { display: grid; grid-template-columns: 220px 1fr 320px; gap: 20px; align-items: center; }
.tab-list { display: flex; flex-direction: column; gap: 8px; }
.tab-list button { background: #c40000; color: #fff; border: none; padding: 12px; border-radius: 6px; font-weight: 700; cursor: pointer; }
.tab-list button.act { background: #f2c14e; color: #5a0000; }
.popular-img { text-align: center; }
.popular-img img { max-height: 280px; margin: 0 auto; border-radius: 8px; }
.popular-info p { font-size: 14px; }
.popular-info .play-now { display: inline-block; background: #c40000; color: #f2c14e; padding: 10px 24px; border-radius: 20px; font-weight: 700; margin-top: 10px; }

/* Jackpot */
.jackpot { background: linear-gradient(180deg, #7a0000 0%, #5a0000 100%); text-align: center; padding: 40px 20px; }
.jackpot-banner { font-size: 38px; color: #ffd97a; font-weight: 900; letter-spacing: 4px; margin-bottom: 18px; text-shadow: 2px 2px 0 #3a0000; }
.jackpot-num { display: inline-block; background: #1a0000; border: 3px solid #f2c14e; padding: 12px 28px; font-size: 36px; color: #ff4e00; font-family: 'Courier New', monospace; font-weight: 900; border-radius: 8px; }

/* Games */
.games { background: #5a0000; }
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin-top: 16px; }
.game-card { background: #7a0000; border: 1px solid #f2c14e; border-radius: 8px; padding: 8px; text-align: center; transition: 0.3s; }
.game-card:hover { transform: translateY(-4px); box-shadow: 0 6px 18px rgba(242,193,78,0.3); }
.game-card img { border-radius: 6px; margin: 0 auto 8px; }
.game-card span { font-size: 13px; color: #f4ead0; display: block; }

/* About brand */
.brand-intro { background: #4a0000; }
.brand-intro .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.brand-intro img { border-radius: 10px; border: 2px solid #f2c14e; }

/* Features */
.features { background: #5a0000; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 20px; }
.feat { background: #7a0000; padding: 18px; border-radius: 8px; border-top: 3px solid #f2c14e; }
.feat h3 { color: #ffd97a; font-size: 17px; margin-bottom: 8px; }
.feat p { font-size: 14px; }

/* Process */
.process { background: #4a0000; }
.process-list { counter-reset: stp; margin-top: 16px; }
.process-list .item { background: #7a0000; padding: 16px 16px 16px 60px; border-radius: 8px; margin-bottom: 12px; position: relative; }
.process-list .item::before { counter-increment: stp; content: counter(stp); position: absolute; left: 14px; top: 14px; background: #f2c14e; color: #5a0000; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; }
.process-list .item h4 { color: #ffd97a; margin-bottom: 6px; }
.process-list .item p { font-size: 14px; margin-bottom: 0; }

/* Review */
.review { background: #5a0000; }
.review-box { background: #7a0000; border-left: 4px solid #f2c14e; padding: 18px; border-radius: 6px; margin-top: 16px; font-style: italic; }

/* FAQ */
.faq { background: #4a0000; }
.faq-item { background: #7a0000; padding: 16px; border-radius: 8px; margin-bottom: 12px; border-left: 4px solid #f2c14e; }
.faq-item h4 { color: #ffd97a; font-size: 16px; margin-bottom: 8px; }
.faq-item p { font-size: 14px; margin-bottom: 6px; }
.faq-item ul { margin-left: 20px; color: #f4ead0; font-size: 14px; }

/* News preview */
.news-preview { background: #5a0000; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 16px; }
.news-card { background: #7a0000; border-radius: 8px; overflow: hidden; }
.news-card img { width: 100%; height: 160px; object-fit: cover; }
.news-card .body { padding: 14px; }
.news-card h3 { font-size: 16px; color: #ffd97a; }
.news-card p { font-size: 13px; }

/* Footer */
footer { background: #2a0000; padding: 36px 20px 16px; border-top: 3px solid #f2c14e; }
.footer-wrap { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-col h4 { color: #f2c14e; margin-bottom: 12px; font-size: 16px; border-bottom: 1px solid #5a0000; padding-bottom: 6px; }
.footer-col p, .footer-col li { font-size: 13px; color: #d9c89a; margin-bottom: 6px; }
.footer-col ul { list-style: none; }
.footer-col ul li a:hover { color: #f2c14e; }
.copyright { max-width: 1280px; margin: 24px auto 0; padding-top: 14px; border-top: 1px solid #5a0000; text-align: center; font-size: 12px; color: #a98c5a; }
.age-warn { display: inline-block; background: #c40000; color: #fff; padding: 4px 10px; border-radius: 4px; font-weight: 700; margin-top: 8px; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  nav { width: 100%; display: none; margin-top: 10px; }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 2px; }
  .hero h1 { font-size: 30px; }
  .steps-wrap { grid-template-columns: 1fr; }
  .popular-grid { grid-template-columns: 1fr; }
  .brand-intro .grid { grid-template-columns: 1fr; }
  .footer-wrap { grid-template-columns: 1fr 1fr; }
  .jackpot-banner { font-size: 26px; }
  .jackpot-num { font-size: 22px; padding: 8px 14px; }
}
@media (max-width: 480px) {
  .footer-wrap { grid-template-columns: 1fr; }
  .auth-buttons { width: 100%; justify-content: flex-end; }
}
.step-num img{width:100%;height:100%;object-fit:cover;object-position:center}
.process-list .item::before img{width:100%;height:100%;object-fit:cover;object-position:center}