* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Roboto, Arial, sans-serif; background: #0a1228; color: #e8ecf5; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* Header */
.top-header { background: #0a1228; border-bottom: 1px solid #1e2a4a; position: sticky; top: 0; z-index: 100; }
.header-inner { max-width: 1280px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.logo { font-size: 26px; font-weight: 800; color: #fbbf24; letter-spacing: 1px; text-transform: uppercase; }
.logo::after { content: " ●"; color: #3b82f6; font-size: 14px; }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a { padding: 10px 16px; border-radius: 6px; font-size: 14px; font-weight: 500; color: #cbd5e1; transition: all 0.2s; }
.main-nav a:hover { background: #1e2a4a; color: #fff; }
.main-nav a.active { background: #3b82f6; color: #fff; }
.auth-buttons { display: flex; gap: 8px; }
.btn-login, .btn-register { padding: 9px 22px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; transition: 0.2s; }
.btn-login { background: #f1f5f9; color: #0a1228; }
.btn-register { background: linear-gradient(90deg, #3b82f6, #2563eb); color: #fff; }
.btn-login:hover { background: #fff; }
.btn-register:hover { opacity: 0.9; }

/* Hero */
.hero { background: linear-gradient(135deg, #1e2a4a 0%, #0a1228 100%); padding: 40px 20px; }
.hero-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: stretch; }
.hero-main { position: relative; border-radius: 14px; overflow: hidden; min-height: 320px; }
.hero-main img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-content { position: relative; z-index: 2; padding: 40px; background: linear-gradient(90deg, rgba(10,18,40,0.85) 30%, rgba(10,18,40,0.2) 100%); height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero-badge { display: inline-block; background: #3b82f6; color: #fff; padding: 5px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; margin-bottom: 16px; width: fit-content; }
.hero h1 { font-size: 42px; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 14px; }
.hero h1 span { color: #fbbf24; }
.hero p { font-size: 16px; color: #cbd5e1; margin-bottom: 22px; max-width: 480px; }
.hero-cta { background: #fbbf24; color: #0a1228; padding: 12px 28px; border-radius: 8px; font-weight: 700; display: inline-block; width: fit-content; }
.hero-side { display: flex; flex-direction: column; gap: 14px; }
.hero-side-card { background: linear-gradient(135deg, #ef4444, #b91c1c); padding: 18px; border-radius: 12px; display: flex; align-items: center; gap: 14px; min-height: 95px; }
.hero-side-card:nth-child(2) { background: linear-gradient(135deg, #10b981, #047857); }
.hero-side-card:nth-child(3) { background: linear-gradient(135deg, #6366f1, #4338ca); }
.hero-side-card h3 { font-size: 15px; color: #fff; margin-bottom: 4px; }
.hero-side-card p { font-size: 12px; color: rgba(255,255,255,0.85); }

/* Sections */
section { padding: 30px 20px; }
.container { max-width: 1280px; margin: 0 auto; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid #1e2a4a; }
.section-head h2 { font-size: 20px; color: #fff; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.section-head h2::before { content: "▸"; color: #fbbf24; }
.section-head a { font-size: 13px; color: #3b82f6; font-weight: 600; }

/* Live banner row */
.live-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.live-card { background: #131c36; border-radius: 10px; padding: 14px; border: 1px solid #1e2a4a; }
.live-card .live-tag { font-size: 11px; color: #ef4444; font-weight: 700; margin-bottom: 6px; }
.live-card .live-title { font-size: 13px; color: #fff; margin-bottom: 8px; font-weight: 600; }
.live-card .live-teams { font-size: 12px; color: #94a3b8; }

/* Top choices */
.top-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.top-tile { background: #131c36; border-radius: 10px; padding: 14px 8px; text-align: center; border: 1px solid #1e2a4a; transition: 0.2s; }
.top-tile:hover { border-color: #3b82f6; transform: translateY(-2px); }
.top-tile img { width: 50px; height: 50px; object-fit: contain; margin: 0 auto 8px; }
.top-tile span { font-size: 12px; color: #cbd5e1; display: block; }

/* Live casino grid */
.casino-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.casino-card { background: #131c36; border-radius: 10px; overflow: hidden; border: 1px solid #1e2a4a; transition: 0.2s; }
.casino-card:hover { transform: translateY(-3px); border-color: #fbbf24; }
.casino-card img { width: 100%; height: 130px; object-fit: cover; }
.casino-card .casino-info { padding: 10px; }
.casino-card h4 { font-size: 13px; color: #fff; font-weight: 600; }

/* Sports row */
.sport-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.sport-pill { background: #131c36; border: 1px solid #1e2a4a; border-radius: 10px; padding: 16px 8px; text-align: center; }
.sport-pill .sport-ico { font-size: 24px; margin-bottom: 6px; display: block; }
.sport-pill span { font-size: 12px; color: #cbd5e1; }

/* Hot mini games */
.mini-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.mini-card { background: #131c36; border-radius: 10px; overflow: hidden; border: 1px solid #1e2a4a; }
.mini-card img { width: 100%; height: 110px; object-fit: cover; }
.mini-card .mini-name { padding: 8px; font-size: 12px; color: #cbd5e1; text-align: center; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.blog-card { background: #131c36; border-radius: 12px; overflow: hidden; border: 1px solid #1e2a4a; }
.blog-card img { width: 100%; height: 160px; object-fit: cover; }
.blog-card .blog-body { padding: 16px; }
.blog-card .blog-date { font-size: 12px; color: #3b82f6; margin-bottom: 6px; font-weight: 600; }
.blog-card h4 { font-size: 15px; color: #fff; margin-bottom: 8px; line-height: 1.4; }
.blog-card p { font-size: 13px; color: #94a3b8; }

/* Intro long content */
.intro-box { background: #131c36; padding: 28px; border-radius: 12px; border: 1px solid #1e2a4a; }
.intro-box h2 { font-size: 22px; color: #fff; margin-bottom: 14px; }
.intro-box h3 { font-size: 17px; color: #fbbf24; margin: 18px 0 10px; }
.intro-box p { font-size: 14px; color: #cbd5e1; margin-bottom: 12px; }
.intro-box ul { padding-left: 22px; color: #cbd5e1; font-size: 14px; }
.intro-box ul li { margin-bottom: 6px; }

/* FAQ */
.faq-item { background: #131c36; padding: 18px 22px; border-radius: 10px; margin-bottom: 12px; border-left: 3px solid #3b82f6; }
.faq-item h4 { font-size: 15px; color: #fff; margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: #cbd5e1; }

/* Review box */
.review-box { background: linear-gradient(135deg, #1e2a4a, #131c36); padding: 22px; border-radius: 12px; border-left: 4px solid #fbbf24; margin: 24px 0; }
.review-box .review-label { font-size: 13px; color: #fbbf24; font-weight: 600; margin-bottom: 8px; }
.review-box p { font-size: 14px; color: #e8ecf5; font-style: italic; }

/* Footer */
footer { background: #050a1a; padding: 40px 20px 20px; border-top: 1px solid #1e2a4a; margin-top: 40px; }
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer-col h4 { color: #fbbf24; font-size: 15px; margin-bottom: 14px; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #94a3b8; font-size: 13px; }
.footer-col ul li a:hover { color: #fff; }
.footer-col p { color: #94a3b8; font-size: 13px; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid #1e2a4a; padding-top: 16px; text-align: center; color: #64748b; font-size: 12px; }
.footer-bottom .age-tag { color: #fbbf24; font-weight: 700; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .top-grid { grid-template-columns: repeat(4, 1fr); }
  .casino-grid, .mini-grid { grid-template-columns: repeat(3, 1fr); }
  .sport-row { grid-template-columns: repeat(4, 1fr); }
  .live-row { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: stretch; }
  .main-nav { justify-content: center; }
  .hero h1 { font-size: 28px; }
  .hero-content { padding: 24px; }
  .top-grid { grid-template-columns: repeat(3, 1fr); }
  .casino-grid, .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .sport-row { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .auth-buttons { justify-content: center; }
}