* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  background: #b80000;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* HEADER */
.top-bar {
  background: #800000;
  padding: 6px 0;
  font-size: 12px;
  text-align: center;
  color: #ffd966;
  border-bottom: 1px solid #5a0000;
}
header {
  background: linear-gradient(180deg, #c30000 0%, #9b0000 100%);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.logo {
  font-size: 28px;
  font-weight: 900;
  color: #ffd966;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px #5a0000;
  font-style: italic;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
nav ul li a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.2s;
}
nav ul li a:hover, nav ul li a.active {
  background: #ffd966;
  color: #800000;
}
.auth-buttons {
  display: flex;
  gap: 10px;
}
.btn {
  padding: 9px 22px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
  cursor: pointer;
  border: none;
}
.btn-login {
  background: #fff;
  color: #b80000;
  border: 2px solid #ffd966;
}
.btn-register {
  background: linear-gradient(180deg, #ffd966 0%, #f0a800 100%);
  color: #800000;
  box-shadow: 0 3px 8px rgba(0,0,0,0.3);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.4); }

/* HERO */
.hero {
  background: linear-gradient(135deg, #d40000 0%, #8b0000 100%);
  padding: 30px 15px;
  text-align: center;
  position: relative;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.hero h1 {
  font-size: 38px;
  color: #ffd966;
  margin-bottom: 15px;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
  line-height: 1.2;
}
.hero p {
  font-size: 15px;
  margin-bottom: 20px;
  color: #fff8e0;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* SECTION HEADERS */
.section {
  padding: 30px 15px;
  background: #b80000;
}
.section-alt { background: #a00000; }
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  background: linear-gradient(90deg, transparent 0%, #ffd966 20%, #ffd966 80%, transparent 100%);
  color: #800000;
  padding: 10px 20px;
  text-align: center;
  margin-bottom: 25px;
  border-radius: 4px;
  position: relative;
}
.section-title h2 {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* GAME GRID */
.game-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.game-card {
  background: #800000;
  border: 2px solid #ffd966;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255,217,102,0.4);
}
.game-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.game-card .game-name {
  padding: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  background: #5a0000;
  color: #ffd966;
}

/* CATEGORY ROW */
.category-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}
.category-box {
  background: #800000;
  border-radius: 10px;
  padding: 15px;
  border: 2px solid #ffd966;
}
.category-box h3 {
  text-align: center;
  color: #ffd966;
  margin-bottom: 12px;
  font-size: 16px;
  text-transform: uppercase;
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.mini-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ffd966;
}

/* JACKPOT */
.jackpot-box {
  background: linear-gradient(135deg, #ffd966 0%, #f0a800 100%);
  color: #800000;
  text-align: center;
  padding: 25px;
  border-radius: 12px;
  margin: 25px 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.jackpot-box h2 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 8px;
}
.jackpot-number {
  font-size: 42px;
  font-weight: 900;
  color: #b80000;
  letter-spacing: 2px;
  font-family: 'Courier New', monospace;
}

/* SPORTS */
.sport-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.sport-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #ffd966;
}
.sport-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.sport-card .sport-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(128,0,0,0.85);
  color: #ffd966;
  padding: 8px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}

/* APP DOWNLOAD */
.app-section {
  background: linear-gradient(135deg, #5a0000 0%, #800000 100%);
  padding: 40px 15px;
  text-align: center;
}
.app-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.app-text h2 {
  color: #ffd966;
  font-size: 28px;
  margin-bottom: 12px;
}
.app-text p {
  margin-bottom: 18px;
  color: #fff8e0;
}
.app-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.app-btn {
  background: #000;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  border: 2px solid #ffd966;
}

/* CONTENT BLOCKS */
.content-block {
  background: #a00000;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  border-left: 5px solid #ffd966;
}
.content-block h2 {
  color: #ffd966;
  margin-bottom: 12px;
  font-size: 22px;
}
.content-block h3 {
  color: #ffd966;
  margin: 15px 0 10px;
  font-size: 17px;
}
.content-block p {
  margin-bottom: 12px;
  color: #fff8e0;
  font-size: 14.5px;
}
.content-block ul {
  margin: 10px 0 12px 25px;
  color: #fff8e0;
}
.content-block ul li { margin-bottom: 6px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

/* FAQ */
.faq-item {
  background: #800000;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 12px;
  border-left: 4px solid #ffd966;
}
.faq-item h4 {
  color: #ffd966;
  margin-bottom: 8px;
  font-size: 15px;
}
.faq-item p { color: #fff8e0; font-size: 14px; }

/* TESTIMONIAL */
.testimonial {
  background: #5a0000;
  padding: 20px;
  border-radius: 10px;
  border: 2px dashed #ffd966;
  font-style: italic;
  margin: 20px 0;
  color: #fff8e0;
}

/* STATS */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 20px 0;
}
.stat-box {
  background: #800000;
  padding: 18px;
  text-align: center;
  border-radius: 8px;
  border-top: 3px solid #ffd966;
}
.stat-box .stat-num {
  font-size: 26px;
  color: #ffd966;
  font-weight: 900;
  display: block;
}
.stat-box .stat-label {
  font-size: 12px;
  color: #fff8e0;
  text-transform: uppercase;
}

/* FOOTER */
footer {
  background: #5a0000;
  padding: 35px 15px 15px;
  color: #fff8e0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 25px;
}
.footer-col h4 {
  color: #ffd966;
  margin-bottom: 12px;
  font-size: 14px;
  text-transform: uppercase;
  border-bottom: 1px solid #ffd966;
  padding-bottom: 6px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; font-size: 13px; }
.footer-col ul li a:hover { color: #ffd966; }
.footer-col p { font-size: 13px; margin-bottom: 8px; }
.footer-bottom {
  max-width: 1200px;
  margin: 25px auto 0;
  padding-top: 15px;
  border-top: 1px solid #800000;
  text-align: center;
  font-size: 12px;
  color: #ffd966;
}
.responsible-badge {
  display: inline-block;
  background: #ffd966;
  color: #800000;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
  margin: 5px;
}

/* MOBILE */
@media (max-width: 768px) {
  .header-inner { flex-direction: column; gap: 10px; }
  nav ul { gap: 8px; justify-content: center; }
  nav ul li a { font-size: 11px; padding: 6px 8px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .category-row { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: repeat(3, 1fr); }
  .sport-grid { grid-template-columns: repeat(2, 1fr); }
  .app-inner { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .jackpot-number { font-size: 28px; }
}
@media (max-width: 480px) {
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .auth-buttons { width: 100%; justify-content: center; }
}