* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
  background: #0a1628;
  color: #e8eef5;
  line-height: 1.7;
  font-size: 14px;
}
a { color: #ffd84d; text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; }

/* HEADER */
.top-bar {
  background: linear-gradient(90deg, #0d1b2a 0%, #1b3a5b 100%);
  padding: 6px 0;
  font-size: 12px;
  color: #b8c5d4;
  text-align: center;
  border-bottom: 1px solid #1e3a5f;
}
header {
  background: #122842;
  border-bottom: 3px solid #ffd84d;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  flex-wrap: wrap;
}
.logo {
  font-size: 28px;
  font-weight: 900;
  color: #ffd84d;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(255,216,77,0.4);
}
.logo span { color: #fff; }

nav.main-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
nav.main-nav a {
  color: #e8eef5;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s;
}
nav.main-nav a:hover { background: #1e3a5f; color: #ffd84d; }
nav.main-nav a.active {
  background: #ffd84d;
  color: #0a1628;
}
.auth-buttons { display: flex; gap: 8px; }
.btn {
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  border: none;
  display: inline-block;
  transition: transform 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-login {
  background: transparent;
  color: #ffd84d;
  border: 2px solid #ffd84d;
}
.btn-register {
  background: linear-gradient(90deg, #ff6b35, #ffd84d);
  color: #0a1628;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, rgba(10,22,40,0.85), rgba(30,58,95,0.7));
  padding: 30px 15px;
  text-align: center;
  border-bottom: 2px solid #1e3a5f;
}
.hero-wrap { max-width: 1200px; margin: 0 auto; }
.hero h1 {
  font-size: 32px;
  color: #ffd84d;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  line-height: 1.25;
}
.hero-tagline {
  font-size: 16px;
  color: #b8c5d4;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero-image {
  margin: 20px auto;
  max-width: 900px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}
.hero-image img { width: 100%; height: auto; }
.hero-cta { margin-top: 20px; }
.hero-cta .btn { font-size: 15px; padding: 12px 28px; margin: 5px; }

/* SECTIONS */
section.block {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 15px;
}
.section-title {
  color: #ffd84d;
  font-size: 22px;
  border-left: 4px solid #ffd84d;
  padding-left: 12px;
  margin-bottom: 18px;
}
.section-sub {
  color: #ffd84d;
  font-size: 18px;
  margin: 22px 0 12px;
}
.section-sub-3 {
  color: #fff;
  font-size: 16px;
  margin: 16px 0 8px;
}
p { margin-bottom: 12px; color: #d0d8e3; }

/* GAME GRID */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin: 18px 0;
}
.game-card {
  background: #122842;
  border: 1px solid #1e3a5f;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(255,216,77,0.2);
  border-color: #ffd84d;
}
.game-card img { width: 100%; height: auto; }
.game-card .game-name {
  padding: 8px 6px;
  font-size: 12px;
  color: #e8eef5;
  font-weight: 600;
}

/* FEATURE GRID */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 18px 0;
}
.feature-box {
  background: linear-gradient(145deg, #122842, #1a3556);
  padding: 18px;
  border-radius: 8px;
  border-left: 3px solid #ffd84d;
}
.feature-box h3 {
  color: #ffd84d;
  font-size: 16px;
  margin-bottom: 8px;
}
.feature-box p { font-size: 13px; color: #c8d3e0; margin: 0; }

/* STATS */
.stats-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  background: #0d1f36;
  padding: 22px;
  border-radius: 8px;
  margin: 20px 0;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 26px;
  font-weight: 900;
  color: #ffd84d;
  display: block;
}
.stat-label { font-size: 12px; color: #b8c5d4; margin-top: 4px; }

/* TWO COL */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  margin: 22px 0;
}
.two-col img { border-radius: 8px; }

/* FAQ */
.faq-wrap { margin: 20px 0; }
.faq-item {
  background: #122842;
  border-left: 3px solid #ffd84d;
  padding: 14px 18px;
  margin-bottom: 12px;
  border-radius: 0 6px 6px 0;
}
.faq-item h4 {
  color: #ffd84d;
  font-size: 15px;
  margin-bottom: 8px;
}
.faq-item p { margin: 6px 0; font-size: 13px; }
.faq-item ul { margin: 8px 0 8px 22px; color: #c8d3e0; font-size: 13px; }

/* TABLE */
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  background: #122842;
  font-size: 13px;
}
.cmp-table th, .cmp-table td {
  border: 1px solid #1e3a5f;
  padding: 10px 12px;
  text-align: left;
}
.cmp-table th {
  background: #1a3556;
  color: #ffd84d;
}

/* TESTIMONIAL */
.testimonial {
  background: linear-gradient(145deg, #1a3556, #122842);
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  border-top: 3px solid #ffd84d;
  font-style: italic;
  color: #e0e8f2;
}

/* FOOTER */
footer {
  background: #061120;
  margin-top: 40px;
  padding: 30px 15px 15px;
  border-top: 3px solid #ffd84d;
}
.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: #ffd84d;
  font-size: 15px;
  margin-bottom: 12px;
  border-bottom: 1px solid #1e3a5f;
  padding-bottom: 6px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 6px; font-size: 13px; }
.footer-col ul li a { color: #b8c5d4; }
.footer-col ul li a:hover { color: #ffd84d; }
.footer-col p { font-size: 12px; color: #b8c5d4; margin-bottom: 6px; }
.footer-bottom {
  max-width: 1200px;
  margin: 25px auto 0;
  padding-top: 15px;
  border-top: 1px solid #1e3a5f;
  text-align: center;
  font-size: 12px;
  color: #8a98ab;
}
.age-badge {
  display: inline-block;
  background: #ff3b3b;
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 700;
  margin: 0 6px;
}

/* MOBILE */
@media (max-width: 768px) {
  .header-inner { padding: 8px 10px; }
  .logo { font-size: 22px; }
  nav.main-nav { order: 3; width: 100%; justify-content: center; margin-top: 8px; }
  nav.main-nav a { padding: 6px 10px; font-size: 13px; }
  .btn { padding: 6px 12px; font-size: 12px; }
  .hero h1 { font-size: 22px; }
  .hero-tagline { font-size: 14px; }
  .section-title { font-size: 18px; }
  .two-col { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
  .stat-num { font-size: 22px; }
}