* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, sans-serif; background: #eef2fb; color: #2a2a4a; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.top-bar { background: #f5f7fc; padding: 6px 20px; font-size: 13px; color: #5e6a8a; border-bottom: 1px solid #e0e5f0; }
.top-bar-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; }

header { background: #fff; box-shadow: 0 2px 10px rgba(60,80,150,0.08); position: sticky; top: 0; z-index: 100; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; flex-wrap: wrap; }
.logo { font-size: 28px; font-weight: 900; color: #4a5fc1; letter-spacing: 1px; background: linear-gradient(90deg,#4a5fc1,#7b3fbf); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
nav ul { display: flex; list-style: none; gap: 8px; flex-wrap: wrap; }
nav ul li a { padding: 10px 18px; border-radius: 6px; font-weight: 600; color: #3a4570; transition: all .25s; display: block; }
nav ul li a:hover, nav ul li a.active { background: linear-gradient(135deg,#4a5fc1,#6b3fbf); color: #fff; }
.auth-btns { display: flex; gap: 10px; }
.btn-login, .btn-signup { padding: 9px 22px; border-radius: 6px; font-weight: 700; font-size: 14px; transition: transform .2s; }
.btn-login { background: linear-gradient(135deg,#7b3fbf,#9a4fdf); color: #fff; }
.btn-signup { background: linear-gradient(135deg,#ffb13d,#ff8a00); color: #fff; }
.btn-login:hover, .btn-signup:hover { transform: translateY(-2px); }

/* Hero */
.hero { background: linear-gradient(135deg,#f7c64b 0%,#ff9a3d 50%,#ff6b3d 100%); padding: 50px 20px; overflow: hidden; }
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.hero h1 { font-size: 44px; color: #fff; text-shadow: 3px 3px 0 #c93e00; margin-bottom: 18px; line-height: 1.2; }
.hero .promo { display: flex; gap: 12px; margin: 18px 0; flex-wrap: wrap; }
.promo-box { background: linear-gradient(135deg,#3251c7,#5b3fbf); color: #fff; padding: 12px 22px; border-radius: 30px; font-weight: 800; border: 2px solid #ffd700; }
.promo-box span { color: #ffd700; }
.hero p { color: #fff; font-size: 17px; text-shadow: 1px 1px 0 #aa3700; }
.hero-cta { display: inline-block; margin-top: 18px; background: #fff; color: #d23800; padding: 14px 38px; border-radius: 30px; font-weight: 800; font-size: 16px; }
.hero-img { text-align: center; }
.hero-img img { margin: 0 auto; border-radius: 12px; box-shadow: 0 8px 25px rgba(0,0,0,0.25); }

/* Section common */
section { padding: 50px 20px; }
.section-title { text-align: center; font-size: 30px; font-weight: 800; color: #3a4570; margin-bottom: 35px; position: relative; }
.section-title::after { content: ''; display: block; width: 70px; height: 4px; background: linear-gradient(90deg,#4a5fc1,#7b3fbf); margin: 12px auto 0; border-radius: 2px; }
.container { max-width: 1200px; margin: 0 auto; }

/* Game categories grid */
.cat-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; }
.cat-card { background: linear-gradient(180deg,#5b6fd5,#3a4ca8); border-radius: 14px; padding: 12px; text-align: center; color: #fff; transition: transform .25s; box-shadow: 0 4px 12px rgba(60,80,180,0.2); }
.cat-card:hover { transform: translateY(-6px); }
.cat-card h3 { font-size: 15px; margin-bottom: 8px; background: linear-gradient(90deg,#7c8df0,#4a5fc1); padding: 5px; border-radius: 6px; }
.cat-card img { width: 100%; height: 110px; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.cat-card .play-btn { display: inline-block; background: linear-gradient(135deg,#ffb13d,#ff8a00); padding: 6px 14px; border-radius: 18px; font-size: 12px; font-weight: 700; }

/* Slot section */
.slot-tabs { background: #fff; border: 2px solid #c8d3ee; border-radius: 12px; padding: 16px; display: flex; gap: 14px; overflow-x: auto; margin-bottom: 25px; }
.slot-tab { flex: 0 0 auto; padding: 10px 18px; border-radius: 8px; font-weight: 700; font-size: 13px; color: #4a5fc1; cursor: pointer; text-align: center; }
.slot-tab.active { background: linear-gradient(135deg,#7b3fbf,#9a4fdf); color: #fff; }

.slot-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; }
.slot-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 3px 10px rgba(60,80,150,0.1); transition: transform .25s; }
.slot-card:hover { transform: translateY(-4px); }
.slot-card img { width: 100%; height: 130px; object-fit: cover; }
.slot-card p { text-align: center; padding: 8px 6px; font-size: 13px; font-weight: 600; color: #3a4570; }

/* Stats */
.stats { background: linear-gradient(135deg,#3a4ca8,#7b3fbf); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; max-width: 1200px; margin: 0 auto; text-align: center; }
.stat-item { padding: 20px; }
.stat-item .num { font-size: 38px; font-weight: 900; color: #ffd700; }
.stat-item .label { font-size: 14px; margin-top: 6px; }

/* About brief */
.about-brief { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-brief h2 { font-size: 28px; color: #3a4570; margin-bottom: 16px; }
.about-brief p { margin-bottom: 14px; color: #4a5570; }
.about-brief img { border-radius: 14px; box-shadow: 0 6px 20px rgba(60,80,150,0.18); }

/* Features */
.features { background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feature-box { padding: 26px; border-radius: 14px; background: linear-gradient(135deg,#f5f7ff,#eef2fb); border-left: 5px solid #7b3fbf; }
.feature-box h3 { color: #4a5fc1; font-size: 18px; margin-bottom: 10px; }
.feature-box img { width: 100%; max-height: 180px; object-fit: contain; margin-bottom: 12px; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.news-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 14px rgba(60,80,150,0.1); }
.news-card img { width: 100%; height: 200px; object-fit: cover; }
.news-card-body { padding: 18px; }
.news-meta { font-size: 12px; color: #888; margin-bottom: 8px; }
.news-meta span { background: #ede0ff; color: #7b3fbf; padding: 3px 10px; border-radius: 12px; margin-left: 8px; font-weight: 600; }
.news-card h3 { font-size: 17px; color: #3a4570; margin-bottom: 8px; }

/* FAQ */
.faq-wrap { max-width: 900px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: 10px; padding: 20px 24px; margin-bottom: 14px; border-left: 4px solid #4a5fc1; box-shadow: 0 2px 8px rgba(60,80,150,0.06); }
.faq-item h4 { color: #4a5fc1; font-size: 17px; margin-bottom: 10px; }
.faq-item p { color: #4a5570; font-size: 15px; }
.faq-item ul { margin-top: 8px; padding-left: 22px; color: #4a5570; }

/* Testimonial */
.testi { background: linear-gradient(135deg,#fff5e6,#ffe9d6); padding: 40px; border-radius: 14px; max-width: 900px; margin: 40px auto 0; text-align: center; font-style: italic; color: #5a4a3a; border-left: 6px solid #ff8a00; }
.testi strong { display: block; margin-top: 12px; font-style: normal; color: #d23800; }

/* Footer */
footer { background: #2a3370; color: #c8d3ee; padding: 50px 20px 20px; margin-top: 30px; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.footer-col h4 { color: #ffd700; margin-bottom: 14px; font-size: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; font-size: 14px; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { max-width: 1200px; margin: 30px auto 0; padding-top: 20px; border-top: 1px solid #4a5590; text-align: center; font-size: 13px; }

@media (max-width: 900px) {
  .hero-inner, .about-brief { grid-template-columns: 1fr; }
  .cat-grid, .slot-grid { grid-template-columns: repeat(3,1fr); }
  .stats-grid, .feature-grid, .news-grid, .footer-grid { grid-template-columns: repeat(2,1fr); }
  .hero h1 { font-size: 30px; }
  nav ul { gap: 4px; }
  nav ul li a { padding: 7px 10px; font-size: 13px; }
}
@media (max-width: 520px) {
  .cat-grid, .slot-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid, .feature-grid, .news-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 24px; }
  .auth-btns { width: 100%; margin-top: 10px; justify-content: center; }
}