* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: #0a0e27;
  color: #e8eaf6;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.site-header {
  background: linear-gradient(135deg, #1a1f3a 0%, #0f1429 100%);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid rgba(124, 77, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}
.logo {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(90deg, #7c4dff, #18ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
}
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: #c5cae9;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
}
.main-nav a:hover, .main-nav a.active {
  color: #18ffff;
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, #7c4dff, #18ffff);
}
.nav-buttons {
  display: flex;
  gap: 12px;
}
.btn {
  padding: 10px 22px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  display: inline-block;
}
.btn-login {
  background: transparent;
  color: #18ffff;
  border: 1.5px solid #18ffff;
}
.btn-login:hover { background: rgba(24,255,255,0.1); }
.btn-register {
  background: linear-gradient(90deg, #7c4dff, #18ffff);
  color: #0a0e27;
}
.btn-register:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(124,77,255,0.5); }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #e8eaf6;
  font-size: 26px;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(124,77,255,0.15) 0%, transparent 60%);
  position: relative;
}
.hero h1 {
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.2;
}
.hero h1 span {
  background: linear-gradient(90deg, #7c4dff, #18ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 17px;
  color: #b0bec5;
  max-width: 720px;
  margin: 0 auto 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.hero-image {
  max-width: 580px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(124,77,255,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.hero-image img { width: 100%; height: auto; }

/* Section base */
.section {
  padding: 70px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title p {
  color: #90a4ae;
  max-width: 640px;
  margin: 0 auto;
  font-size: 15px;
}

/* Partners strip */
.partners {
  background: #11162e;
  padding: 30px 0;
  border-top: 1px solid rgba(124,77,255,0.15);
  border-bottom: 1px solid rgba(124,77,255,0.15);
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  align-items: center;
  justify-items: center;
}
.partners-grid img {
  max-height: 90px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.partners-grid img:hover { opacity: 1; }

/* How it works */
.how-it-works {
  background: #0d1228;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.step-card {
  background: linear-gradient(145deg, #161c3a, #0f1429);
  padding: 32px 22px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid rgba(124,77,255,0.18);
  transition: transform 0.3s, border-color 0.3s;
}
.step-card:hover {
  transform: translateY(-6px);
  border-color: #18ffff;
}
.step-num {
  width: 50px;
  height: 50px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c4dff, #18ffff);
  color: #0a0e27;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
}
.step-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #fff;
}
.step-card p {
  font-size: 14px;
  color: #b0bec5;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.feature-text { display: flex; flex-direction: column; gap: 24px; }
.feature-item {
  background: linear-gradient(135deg, #161c3a, #11162e);
  padding: 24px;
  border-radius: 14px;
  border-left: 3px solid #18ffff;
}
.feature-item h3 {
  font-size: 19px;
  margin-bottom: 8px;
  color: #fff;
}
.feature-item p {
  font-size: 14px;
  color: #b0bec5;
}
.feature-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feature-visual img {
  border-radius: 12px;
  border: 1px solid rgba(124,77,255,0.2);
  width: 100%;
  height: auto;
}

/* Stats */
.stats-section {
  background: linear-gradient(135deg, #0f1429, #1a1f3a);
  padding: 50px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  text-align: center;
}
.stat-item h3 {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(90deg, #7c4dff, #18ffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}
.stat-item p {
  font-size: 14px;
  color: #b0bec5;
}

/* Games grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 18px;
}
.game-card {
  background: #161c3a;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(124,77,255,0.15);
  transition: transform 0.3s;
  text-align: center;
  padding: 14px;
}
.game-card:hover { transform: translateY(-5px); border-color: #18ffff; }
.game-card img {
  margin: 0 auto 10px;
  border-radius: 8px;
}
.game-card h4 {
  font-size: 14px;
  color: #e8eaf6;
}

/* Testimonials */
.testimonials {
  background: #0d1228;
}
.testimonial-card {
  background: linear-gradient(145deg, #161c3a, #11162e);
  border-radius: 16px;
  padding: 36px;
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid rgba(124,77,255,0.2);
  text-align: center;
}
.testimonial-card p {
  font-style: italic;
  color: #cfd8dc;
  font-size: 16px;
  margin-bottom: 18px;
}
.testimonial-author {
  color: #18ffff;
  font-weight: 600;
  font-size: 14px;
}

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #161c3a;
  margin-bottom: 14px;
  border-radius: 10px;
  padding: 22px 26px;
  border: 1px solid rgba(124,77,255,0.15);
}
.faq-item h4 {
  font-size: 17px;
  color: #18ffff;
  margin-bottom: 10px;
}
.faq-item p {
  font-size: 14px;
  color: #b0bec5;
}
.faq-item ul {
  margin-top: 8px;
  padding-left: 22px;
  color: #b0bec5;
  font-size: 14px;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, #7c4dff 0%, #18ffff 100%);
  padding: 60px 0;
  text-align: center;
}
.cta-section h2 {
  color: #0a0e27;
  font-size: 30px;
  margin-bottom: 14px;
}
.cta-section p {
  color: #1a1f3a;
  margin-bottom: 24px;
  font-size: 16px;
}
.cta-section .btn {
  background: #0a0e27;
  color: #18ffff;
  padding: 14px 36px;
  font-size: 15px;
}

/* Footer */
.site-footer {
  background: #06091a;
  padding: 50px 0 20px;
  border-top: 1px solid rgba(124,77,255,0.2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 35px;
}
.footer-col h4 {
  color: #18ffff;
  margin-bottom: 14px;
  font-size: 16px;
}
.footer-col p, .footer-col a {
  color: #90a4ae;
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
}
.footer-col a:hover { color: #18ffff; }
.footer-col ul { list-style: none; }
.footer-bottom {
  border-top: 1px solid rgba(124,77,255,0.15);
  padding-top: 18px;
  text-align: center;
  color: #607d8b;
  font-size: 13px;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .main-nav {
    flex-basis: 100%;
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 12px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 15px; }
  .section { padding: 50px 0; }
  .section-title h2 { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-buttons .btn { padding: 8px 16px; font-size: 13px; }
}
.step-num img{width:100%;height:100%;object-fit:cover;object-position:center}