* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Roboto, Arial, sans-serif; background: linear-gradient(180deg, #4a0e1f 0%, #6b1530 50%, #4a0e1f 100%); color: #fff; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Header */
.top-bar { background: #2d0813; padding: 8px 0; font-size: 12px; text-align: center; color: #f4c4cf; }
header { background: #5a0e25; padding: 12px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.logo { font-size: 26px; font-weight: 900; color: #ffd700; letter-spacing: 1px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
nav ul { display: flex; list-style: none; gap: 6px; flex-wrap: wrap; }
nav a { display: block; padding: 8px 14px; border-radius: 20px; font-size: 14px; font-weight: 600; color: #fff; transition: all 0.3s; }
nav a:hover, nav a.active { background: linear-gradient(135deg, #e60039, #ff4d6d); color: #fff; }
.auth-buttons { display: flex; gap: 8px; }
.btn-login, .btn-register { padding: 8px 18px; border-radius: 22px; font-weight: 700; font-size: 13px; transition: transform 0.2s; }
.btn-login { background: transparent; border: 2px solid #ffd700; color: #ffd700; }
.btn-register { background: linear-gradient(135deg, #ffd700, #ffaa00); color: #5a0e25; }
.btn-login:hover, .btn-register:hover { transform: translateY(-2px); }

/* Hero */
.hero { padding: 24px 16px; max-width: 1200px; margin: 0 auto; }
.hero-banner { background: linear-gradient(135deg, #8b1538, #c41e3a); border-radius: 16px; padding: 30px 24px; text-align: center; box-shadow: 0 8px 30px rgba(0,0,0,0.4); border: 2px solid #ffd700; }
.hero-banner h1 { font-size: 30px; color: #ffd700; margin-bottom: 12px; text-shadow: 0 2px 8px rgba(0,0,0,0.6); }
.hero-banner p { font-size: 15px; color: #ffe5e9; max-width: 700px; margin: 0 auto 18px; }
.hero-cta { display: inline-block; padding: 12px 32px; background: linear-gradient(135deg, #ffd700, #ff8c00); color: #4a0e1f; border-radius: 26px; font-weight: 800; font-size: 15px; }

/* Section title */
.section { max-width: 1200px; margin: 0 auto; padding: 28px 16px; }
.section-title { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,215,0,0.3); }
.section-title h2 { font-size: 20px; color: #ffd700; font-weight: 800; }
.section-title .more { margin-left: auto; font-size: 12px; color: #ffb3c1; }

/* Game grid */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.game-card { background: linear-gradient(180deg, #7a1832, #5a0e25); border-radius: 12px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; border: 1px solid rgba(255,215,0,0.2); }
.game-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(255,77,109,0.3); }
.game-card img { width: 100%; height: 140px; object-fit: cover; }
.game-card .info { padding: 10px; }
.game-card .info h4 { font-size: 13px; color: #fff; margin-bottom: 4px; }
.game-card .info span { font-size: 11px; color: #ffd700; }

/* Jackpot */
.jackpot { background: linear-gradient(135deg, #3d0a18, #6b1530); border-radius: 14px; padding: 24px 16px; text-align: center; margin: 16px 0; border: 2px solid #ffd700; }
.jackpot h3 { font-size: 18px; color: #ffd700; margin-bottom: 10px; letter-spacing: 2px; }
.jackpot-number { font-size: 36px; font-weight: 900; color: #fff; text-shadow: 0 0 18px #ffd700; letter-spacing: 4px; }

/* Category tabs */
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 16px; }
.cat-tabs button { background: #7a1832; color: #fff; border: none; padding: 10px 18px; border-radius: 22px; white-space: nowrap; font-weight: 600; cursor: pointer; font-size: 13px; }
.cat-tabs button.active { background: linear-gradient(135deg, #ffd700, #ff8c00); color: #4a0e1f; }

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature-card { background: rgba(255,255,255,0.05); border-radius: 12px; padding: 20px; border-left: 4px solid #ffd700; }
.feature-card h3 { font-size: 16px; color: #ffd700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: #ffd5dc; }

/* Sport banner */
.sport-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.sport-card { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: #5a0e25; }
.sport-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.sport-card .label { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.85)); padding: 14px 12px 12px; }
.sport-card .label h4 { color: #ffd700; font-size: 14px; }

/* Content block */
.content-block { background: rgba(0,0,0,0.2); border-radius: 14px; padding: 24px; margin-top: 16px; }
.content-block h2 { color: #ffd700; font-size: 22px; margin-bottom: 14px; }
.content-block h3 { color: #ffaa00; font-size: 17px; margin: 18px 0 10px; }
.content-block p { font-size: 14px; color: #ffe5e9; margin-bottom: 12px; }
.content-block ul { padding-left: 22px; margin-bottom: 12px; color: #ffe5e9; font-size: 14px; }
.content-block li { margin-bottom: 6px; }

/* FAQ */
.faq-item { background: rgba(255,255,255,0.04); border-radius: 10px; padding: 16px; margin-bottom: 10px; border-left: 3px solid #ff4d6d; }
.faq-item h4 { color: #ffd700; font-size: 15px; margin-bottom: 8px; }
.faq-item p { color: #ffe5e9; font-size: 14px; }

/* Testimonial */
.testimonial { background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(255,77,109,0.1)); border: 1px solid rgba(255,215,0,0.3); border-radius: 12px; padding: 18px; margin: 20px 0; font-style: italic; color: #fff5d6; }

/* Footer */
footer { background: #2d0813; padding: 36px 16px 20px; margin-top: 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.footer-col h4 { color: #ffd700; font-size: 15px; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; font-size: 13px; color: #ffb3c1; }
.footer-col a:hover { color: #ffd700; }
.footer-bottom { max-width: 1200px; margin: 24px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,215,0,0.2); text-align: center; font-size: 12px; color: #ffb3c1; }
.age-warning { display: inline-block; background: #e60039; color: #fff; padding: 4px 12px; border-radius: 12px; font-weight: 700; margin: 0 6px; }

@media (max-width: 768px) {
  .header-inner { flex-direction: column; align-items: stretch; }
  nav ul { justify-content: center; }
  .auth-buttons { justify-content: center; }
  .hero-banner h1 { font-size: 22px; }
  .jackpot-number { font-size: 26px; letter-spacing: 2px; }
  .game-card img { height: 110px; }
}