* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: linear-gradient(180deg, #1a0a3e 0%, #2d1b5e 50%, #1e0f4a 100%);
  color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
header {
  background: linear-gradient(90deg, #2a1659 0%, #3d1f7a 100%);
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid #6a3fd8;
  box-shadow: 0 2px 15px rgba(106, 63, 216, 0.4);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.logo {
  font-size: 26px;
  font-weight: 900;
  background: linear-gradient(90deg, #ff4fc3, #6a3fd8, #4fc3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
nav ul li a {
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
}
nav ul li a:hover { background: rgba(106, 63, 216, 0.5); }
nav ul li a.active {
  background: linear-gradient(90deg, #ff4fc3, #6a3fd8);
  color: #fff;
}
.auth-btns { display: flex; gap: 8px; }
.btn-login, .btn-register {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-login {
  background: transparent;
  border: 2px solid #ff4fc3;
  color: #ff4fc3;
}
.btn-login:hover { background: #ff4fc3; color: #fff; }
.btn-register {
  background: linear-gradient(90deg, #ff4fc3, #6a3fd8);
  color: #fff;
  border: 2px solid transparent;
}
.btn-register:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 79, 195, 0.5); }

/* Hero Banner */
.hero {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 15px;
}
.hero-banner {
  background: linear-gradient(135deg, #4a1f8a 0%, #1e0f4a 100%);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border: 1px solid #6a3fd8;
  box-shadow: 0 8px 30px rgba(106, 63, 216, 0.3);
}
.hero-text { flex: 1; min-width: 250px; }
.hero-text h1 {
  font-size: 38px;
  font-weight: 900;
  background: linear-gradient(90deg, #ff4fc3, #4fc3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1.2;
}
.hero-text p { font-size: 15px; color: #d0c8ee; margin-bottom: 18px; }
.hero-text .cta {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(90deg, #ff4fc3, #6a3fd8);
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s;
}
.hero-text .cta:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255, 79, 195, 0.5); }
.hero-img { flex: 0 0 auto; }
.hero-img img {
  width: 338px;
  height: 276px;
  border-radius: 12px;
  object-fit: cover;
}

/* Info Strip */
.info-strip {
  max-width: 1200px;
  margin: 15px auto;
  padding: 14px 20px;
  background: linear-gradient(90deg, #2a1659 0%, #1e0f4a 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  border: 1px solid #4a2a8a;
}
.info-strip-text { font-size: 14px; font-weight: 700; }
.info-strip-text small { display: block; font-size: 12px; color: #b8a8e0; font-weight: 400; }
.info-strip-icons { display: flex; gap: 18px; font-size: 12px; color: #c8b8e8; }
.info-strip-btn {
  padding: 10px 22px;
  background: linear-gradient(90deg, #6a3fd8, #4fc3ff);
  border-radius: 22px;
  font-weight: 700;
  font-size: 13px;
}

/* Featured Cards */
.featured {
  max-width: 1200px;
  margin: 25px auto;
  padding: 0 15px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.feat-card {
  background: linear-gradient(180deg, #2d1b5e 0%, #1e0f4a 100%);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #4a2a8a;
  transition: transform 0.3s;
}
.feat-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(106, 63, 216, 0.4); }
.feat-card img { width: 100%; height: 200px; object-fit: cover; }
.feat-card-body { padding: 14px; }
.feat-card-body h3 { font-size: 16px; margin-bottom: 6px; color: #ff4fc3; }
.feat-card-body p { font-size: 13px; color: #c8b8e8; }

/* Section title */
.section-title {
  max-width: 1200px;
  margin: 35px auto 18px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ff4fc3;
  text-transform: uppercase;
}

/* Game Grid */
.game-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px 30px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.game-tile {
  background: #2d1b5e;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid #4a2a8a;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-tile:hover {
  transform: scale(1.05);
  border-color: #ff4fc3;
  box-shadow: 0 8px 20px rgba(255, 79, 195, 0.4);
}
.game-tile img { width: 100%; height: 100%; object-fit: cover; }

/* Story / Intro */
.story-section {
  max-width: 1200px;
  margin: 30px auto;
  padding: 30px 20px;
  background: linear-gradient(180deg, rgba(45, 27, 94, 0.6) 0%, rgba(30, 15, 74, 0.6) 100%);
  border-radius: 16px;
  border: 1px solid #4a2a8a;
}
.story-section h2 {
  font-size: 24px;
  color: #ff4fc3;
  margin-bottom: 18px;
  border-left: 4px solid #ff4fc3;
  padding-left: 14px;
}
.story-section h3 {
  font-size: 18px;
  color: #4fc3ff;
  margin: 20px 0 10px;
}
.story-section p {
  font-size: 14px;
  color: #d8d0ee;
  margin-bottom: 14px;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.story-grid-item {
  background: rgba(74, 42, 138, 0.3);
  padding: 16px;
  border-radius: 10px;
  border-left: 3px solid #6a3fd8;
}
.story-grid-item img { border-radius: 8px; margin-bottom: 10px; width: 100%; }
.story-grid-item h4 { color: #ff4fc3; font-size: 15px; margin-bottom: 8px; }
.story-grid-item p { font-size: 13px; color: #c8b8e8; margin-bottom: 0; }

/* Stats */
.stats-row {
  max-width: 1200px;
  margin: 25px auto;
  padding: 0 15px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.stat-box {
  background: linear-gradient(135deg, #4a1f8a 0%, #2d1b5e 100%);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid #6a3fd8;
}
.stat-box .num {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(90deg, #ff4fc3, #4fc3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-box .label {
  font-size: 12px;
  color: #c8b8e8;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* FAQ */
.faq-section {
  max-width: 1200px;
  margin: 30px auto;
  padding: 25px 20px;
  background: rgba(30, 15, 74, 0.5);
  border-radius: 16px;
  border: 1px solid #4a2a8a;
}
.faq-section h2 {
  font-size: 22px;
  color: #ff4fc3;
  margin-bottom: 18px;
}
.faq-item {
  background: rgba(74, 42, 138, 0.25);
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 12px;
  border-left: 3px solid #6a3fd8;
}
.faq-item h4 {
  font-size: 15px;
  color: #4fc3ff;
  margin-bottom: 8px;
}
.faq-item p { font-size: 13px; color: #d0c8ee; }
.faq-item ul { font-size: 13px; color: #d0c8ee; margin-left: 18px; margin-top: 6px; }

/* Review */
.review-box {
  max-width: 1200px;
  margin: 20px auto;
  padding: 18px 20px;
  background: linear-gradient(90deg, rgba(255, 79, 195, 0.1) 0%, rgba(79, 195, 255, 0.1) 100%);
  border-radius: 12px;
  border-left: 4px solid #ff4fc3;
  font-style: italic;
  font-size: 14px;
  color: #e0d8f0;
}

/* Footer */
footer {
  background: linear-gradient(180deg, #1e0f4a 0%, #0e0526 100%);
  padding: 35px 20px 15px;
  margin-top: 40px;
  border-top: 2px solid #6a3fd8;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}
.footer-col h4 {
  color: #ff4fc3;
  font-size: 15px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col p, .footer-col li {
  font-size: 13px;
  color: #b8a8e0;
  margin-bottom: 8px;
  list-style: none;
}
.footer-col a:hover { color: #4fc3ff; }
.footer-bottom {
  max-width: 1200px;
  margin: 25px auto 0;
  padding-top: 18px;
  border-top: 1px solid #4a2a8a;
  text-align: center;
  font-size: 12px;
  color: #8878b8;
}
.footer-bottom .badge {
  display: inline-block;
  padding: 5px 12px;
  background: #ff4fc3;
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  margin: 0 6px;
}

@media (max-width: 768px) {
  .hero-banner { flex-direction: column; text-align: center; }
  .hero-text h1 { font-size: 28px; }
  .hero-img img { width: 100%; max-width: 338px; height: auto; }
  nav ul { justify-content: center; width: 100%; }
  .auth-btns { width: 100%; justify-content: center; }
  .header-inner { justify-content: center; }
}