:root {
  --color-primary: #5d55ff;
  --color-primary-dark: #3c2dff;
  --color-accent: #ff6b2c;
  --color-success: #10b981;
  --color-bg: #ffffff;
  --color-surface: #f8fafc;
  --color-text: #1e293b;
  --color-text-light: #64748b;
  --color-muted: #94a3b8;
  --font-base: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(93, 85, 255, 0.25);
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--large {
  padding: 1.1rem 2.4rem;
  font-size: 1.1rem;
}

.btn--accent {
  background: var(--color-accent);
  color: #fff;
}

.btn--ghost {
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: var(--color-primary);
  background: transparent;
}

.btn--nav {
  background: rgba(93, 85, 255, 0.12);
  color: var(--color-primary);
  padding-inline: 1.2rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.site-logo {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  font-weight: 600;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.site-header__toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, #f5f7ff 0%, #fef9ff 100%);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero__content {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.hero__text h1 {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.1;
  color: var(--color-text);
}

.hero__subtitle {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.hero__description {
  font-size: 1.2rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__phone img {
  width: 100%;
  max-width: 320px;
  height: auto;
}

/* Download Steps Section */
.download-steps {
  padding: 4rem 0;
  background: var(--color-surface);
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--color-text);
}

.section-description {
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.step-item {
  text-align: center;
}

.step-number {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step-content {
  background: #fff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.qr-code {
  width: 200px;
  height: 200px;
  margin: 0 auto 1rem;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.qr-code img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.step-content p {
  font-size: 1.1rem;
  color: var(--color-text);
  font-weight: 500;
}

.download-buttons {
  text-align: center;
  margin-top: 2rem;
}

/* How to Play Section */
.how-to-play {
  padding: 4rem 0;
  background: #fff;
}

/* Win Money Section */
.win-money {
  padding: 4rem 0;
  background: var(--color-surface);
}

.win-money__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.win-money__text {
  order: 1;
}

.win-money__image {
  order: 2;
  text-align: center;
}

.win-money__image img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.win-money__text p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-top: 1rem;
}

/* Easy Withdrawal Section */
.easy-withdrawal {
  padding: 4rem 0;
  background: #fff;
}

.easy-withdrawal__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.easy-withdrawal__image {
  order: 1;
  text-align: center;
}

.easy-withdrawal__image img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.easy-withdrawal__text {
  order: 2;
}

.easy-withdrawal__text p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-top: 1rem;
}

/* Games Showcase */
.games-showcase {
  padding: 4rem 0;
  background: var(--color-surface);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.game-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(93, 85, 255, 0.15);
}

.game-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.game-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.game-card p {
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Features Section */
.features {
  padding: 4rem 0;
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.feature-item p {
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Features Showcase (for features page) */
.features-showcase {
  max-width: 900px;
  margin: 0 auto;
}

.feature-showcase-item {
  text-align: center;
  padding: 3rem 2rem;
}

.feature-icon-large {
  font-size: 6rem;
  margin-bottom: 1.5rem;
  display: block;
}

.feature-showcase-item h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.feature-showcase-item > p {
  font-size: 1.2rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.feature-showcase-item .bullet-grid {
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.feature-showcase-item .bullet-grid li {
  font-size: 1.1rem;
  padding: 0.75rem 0 0.75rem 1.5rem;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  text-align: center;
}

.cta-section .section-title {
  color: #fff;
}

.cta-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 3rem 0 1.5rem;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.site-footer h4 {
  margin-top: 0;
  color: #fff;
  margin-bottom: 1rem;
}

.site-footer a {
  color: rgba(226, 232, 240, 0.8);
  display: block;
  margin-bottom: 0.5rem;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: none;
}

.site-footer__bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.7);
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Page Hero (for other pages) */
.page-hero {
  padding: 4.5rem 0 2.5rem;
  background: linear-gradient(135deg, rgba(93, 85, 255, 0.08), rgba(255, 107, 44, 0.08));
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--color-text-light);
  max-width: 720px;
  margin: 0.75rem auto 0;
}

.page-section {
  padding: 3.5rem 0;
}

.page-section.alt {
  background: var(--color-surface);
}

.two-column {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
}

.two-column h2 {
  margin-top: 0;
}

.two-column h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.two-column > div {
  background: #fff;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.page-section.alt .two-column > div {
  background: var(--color-surface);
}

.bullet-grid {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.bullet-grid li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text-light);
}

.bullet-grid li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.6;
}

.ordered-list {
  counter-reset: list;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.ordered-list li,
.ordered-list > div {
  counter-increment: list;
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem 1.5rem 1.5rem 3.5rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.ordered-list li::before,
.ordered-list > div::before {
  content: counter(list);
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.page-section.alt .ordered-list li,
.page-section.alt .ordered-list > div {
  background: var(--color-surface);
}

.contact-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.policy h2 {
  margin-top: 2.5rem;
}

.policy ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--color-text-light);
}

details {
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  margin-bottom: 1rem;
}

summary {
  font-weight: 600;
  cursor: pointer;
}

summary::marker {
  color: var(--color-primary);
}

details[open] summary {
  color: var(--color-primary);
}

/* FAQ Container */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-container details {
  margin-bottom: 1rem;
}

.faq-container details p {
  margin-top: 1rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Contact Card Styles */
.contact-card {
  max-width: 900px;
  margin: 0 auto;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-item .feature-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.contact-item p {
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: var(--color-primary);
  font-weight: 600;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-tips {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.contact-tips h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-text);
}


/* Responsive Design */
@media (max-width: 768px) {
  .site-header__toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 5vw;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .site-nav--open {
    display: flex;
  }

  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__phone {
    order: -1;
  }

  .win-money__content,
  .easy-withdrawal__content {
    grid-template-columns: 1fr;
  }

  .win-money__image,
  .easy-withdrawal__image {
    order: 1;
  }

  .win-money__text,
  .easy-withdrawal__text {
    order: 2;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .games-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
  }

  .contact-item .feature-icon {
    margin: 0 auto 1rem;
  }
}
