* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  background: #f0f4f8;
  color: #333;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Top notice bar */
.notice-bar {
  background: linear-gradient(90deg, #1e88e5, #1565c0);
  color: #fff;
  padding: 8px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.notice-bar .left { display: flex; align-items: center; gap: 8px; }
.notice-bar .btns a {
  padding: 6px 18px;
  border-radius: 6px;
  margin-left: 6px;
  font-weight: 700;
  font-size: 13px;
}
.btn-register { background: #ff9800; color: #fff; }
.btn-login { background: #43a047; color: #fff; }

/* Header / nav */
header.main-header {
  background: #ffffff;
  border-bottom: 2px solid #1565c0;
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.logo {
  font-size: 28px;
  font-weight: 900;
  color: #1565c0;
  letter-spacing: 1px;
  background: linear-gradient(45deg, #1565c0, #ff9800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
nav ul li a {
  padding: 8px 16px;
  border-radius: 6px;
  color: #333;
  font-weight: 600;
  font-size: 15px;
  transition: 0.3s;
}
nav ul li a:hover { background: #e3f2fd; color: #1565c0; }
nav ul li a.active { background: #1565c0; color: #fff; }

/* Hero banner */
.hero {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 50%, #c62828 100%);
  padding: 30px 15px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
}
.hero h1 {
  font-size: 36px;
  font-weight: 900;
  text-shadow: 2px 2px 0 #000, 0 0 12px rgba(255,200,0,0.6);
  color: #ffeb3b;
  margin-bottom: 10px;
  line-height: 1.2;
}
.hero h1 span { display: block; color: #fff; font-size: 28px; margin-top: 5px; }
.hero .promo-tag {
  background: #ffeb3b;
  color: #b71c1c;
  padding: 10px 25px;
  font-size: 22px;
  font-weight: 900;
  border-radius: 30px;
  margin: 15px 0;
  box-shadow: 0 4px 0 #c79c00;
}
.hero p.tagline {
  font-size: 17px;
  font-weight: 600;
  margin-top: 12px;
  text-shadow: 1px 1px 2px #000;
}

/* Category grid */
.categories {
  max-width: 1200px;
  margin: 25px auto;
  padding: 0 10px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.cat-card {
  background: linear-gradient(180deg, #fff8e1, #ffe082);
  border: 3px solid #1565c0;
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  transition: 0.3s;
  cursor: pointer;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 6px 14px rgba(0,0,0,0.2); }
.cat-card .cat-title {
  background: #1565c0;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 0;
  border-radius: 5px;
  margin-bottom: 8px;
}
.cat-card img {
  width: 100%;
  height: 80px;
  object-fit: contain;
  margin: 0 auto;
}
.cat-card .play-btn {
  display: inline-block;
  margin-top: 8px;
  background: #43a047;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 10px;
}

/* Section title */
.section-title {
  text-align: center;
  margin: 35px 0 20px;
  font-size: 24px;
  font-weight: 800;
  color: #333;
}
.section-title span { color: #1565c0; }

/* Tabs */
.tabs {
  max-width: 1200px;
  margin: 0 auto 15px;
  padding: 0 10px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  flex-wrap: nowrap;
}
.tab-btn {
  padding: 8px 18px;
  background: #fff;
  border: 1px solid #ccd6e0;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.3s;
}
.tab-btn.active, .tab-btn:hover {
  background: #1565c0;
  color: #fff;
  border-color: #1565c0;
}

/* Game grid */
.game-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 10px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.game-card {
  background: #f8fafc;
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  transition: 0.3s;
}
.game-card:hover { transform: scale(1.05); box-shadow: 0 4px 12px rgba(21,101,192,0.2); }
.game-card img {
  width: 100%;
  max-width: 170px;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}
.game-card p {
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
  color: #333;
}

/* Brand logos row */
.brand-strip {
  background: linear-gradient(135deg, #bbdefb, #e3f2fd);
  padding: 25px 15px;
  margin-top: 30px;
}
.brand-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}
.brand-strip img {
  height: 70px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

/* Content sections */
.content-section {
  max-width: 1200px;
  margin: 30px auto;
  padding: 25px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.content-section h2 {
  color: #1565c0;
  font-size: 22px;
  margin-bottom: 15px;
  border-left: 5px solid #ff9800;
  padding-left: 12px;
}
.content-section h3 {
  color: #333;
  font-size: 18px;
  margin: 20px 0 10px;
}
.content-section p {
  margin-bottom: 12px;
  text-align: justify;
  font-size: 15px;
  color: #444;
}
.content-section ul { margin: 10px 0 15px 25px; }
.content-section ul li { margin-bottom: 6px; font-size: 15px; }

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: 20px 0;
}
.two-col img { border-radius: 10px; width: 100%; }

/* Highlight stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 20px 0;
}
.stat-box {
  background: linear-gradient(135deg, #1565c0, #1976d2);
  color: #fff;
  padding: 20px 10px;
  text-align: center;
  border-radius: 10px;
}
.stat-box .num {
  font-size: 24px;
  font-weight: 900;
  color: #ffeb3b;
  display: block;
}
.stat-box .label { font-size: 13px; margin-top: 4px; display: block; }

/* FAQ */
.faq-item {
  background: #f5f9fc;
  border-left: 4px solid #1565c0;
  padding: 15px 18px;
  margin-bottom: 12px;
  border-radius: 6px;
}
.faq-item h4 {
  color: #1565c0;
  font-size: 16px;
  margin-bottom: 8px;
}
.faq-item p { font-size: 14px; color: #444; margin: 0; }
.faq-item ul { margin-top: 8px; margin-left: 20px; }

/* Review box */
.review-box {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  border: 1px dashed #ff9800;
  padding: 18px;
  border-radius: 10px;
  margin: 18px 0;
  font-style: italic;
  color: #5d4037;
}

/* Footer */
footer.main-footer {
  background: #0d47a1;
  color: #e3f2fd;
  padding: 30px 15px 15px;
  margin-top: 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
}
.footer-col h4 {
  color: #ffeb3b;
  margin-bottom: 12px;
  font-size: 16px;
  border-bottom: 1px solid #1976d2;
  padding-bottom: 6px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 7px; font-size: 14px; }
.footer-col ul li a:hover { color: #ffeb3b; text-decoration: underline; }
.footer-col p { font-size: 13px; line-height: 1.7; color: #bbdefb; }
.footer-bottom {
  max-width: 1200px;
  margin: 18px auto 0;
  padding-top: 12px;
  border-top: 1px solid #1976d2;
  text-align: center;
  font-size: 12px;
  color: #90caf9;
}
.footer-bottom .responsible {
  color: #ffeb3b;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}

/* Mobile */
@media (max-width: 768px) {
  .hero h1 { font-size: 24px; }
  .hero h1 span { font-size: 18px; }
  .hero .promo-tag { font-size: 16px; padding: 8px 18px; }
  .categories { grid-template-columns: repeat(3, 1fr); }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-container { padding: 10px; }
  .logo { font-size: 22px; }
  nav ul li a { padding: 6px 10px; font-size: 13px; }
  .notice-bar { flex-direction: column; gap: 6px; }
  .brand-strip img { height: 50px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .categories { grid-template-columns: repeat(2, 1fr); }
}