/* Wiserdusk venture / app marketing pages (hisaabio, neowplay, dragplay, oliobay) */

.page-app {
  overflow-x: hidden;
}

.page-app .app-hero {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(88px, 18vw, 120px) clamp(16px, 5vw, 60px) clamp(48px, 10vw, 80px);
  overflow-x: hidden;
}

.page-app .app-hero-inner {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.page-app .app-hero-inner > * {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-app .app-hero-inner .download-buttons {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 0;
}

.page-app .app-hero-inner .download-btn {
  width: auto;
  min-width: 220px;
  max-width: 100%;
  margin: 0;
}

.page-app .app-features,
.page-app .how-it-works {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-app .app-hero h1 {
  font-size: clamp(1.75rem, 8vw, 3.5rem);
  margin: 0 0 16px;
  line-height: 1.15;
  max-width: 100%;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

.page-app .app-hero p {
  font-size: clamp(1rem, 3.5vw, 1.2rem);
  opacity: 0.92;
  max-width: 40rem;
  margin: 0 auto;
  line-height: 1.65;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

.page-app .app-hero-icon {
  font-size: clamp(2.5rem, 12vw, 5rem);
  margin-bottom: 0;
  line-height: 1;
  width: auto;
}

.page-app .download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  max-width: 40rem;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.page-app .download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  max-width: 100%;
  box-sizing: border-box;
  transition: transform 0.2s, box-shadow 0.2s;
  color: #333;
  border: none;
}

/* Google Play badge — always black/white regardless of theme */
.page-app .download-btn.gplay-badge {
  background: #000 !important;
  color: #fff !important;
  border-radius: 8px;
  padding: 8px 16px 8px 12px;
  gap: 10px;
  min-width: 0;
  font-weight: 400;
  line-height: 1;
}

.page-app .download-btn.gplay-badge:hover {
  background: #1a1a1a !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.page-app .gplay-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
}

.page-app .gplay-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.05;
  color: #fff !important;
  min-width: 0;
}

.page-app .gplay-text small {
  display: block;
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.9;
  white-space: nowrap;
}

.page-app .gplay-brand {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: #fff !important;
}

.page-app .download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.2);
}

.page-app .app-features {
  padding: clamp(40px, 8vw, 80px) clamp(16px, 5vw, 60px);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.page-app .feature-section h2 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  margin-bottom: 16px;
  color: #fff;
}

.page-app .feature-section p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  margin-bottom: 24px;
}

.page-app .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
  margin-top: 28px;
}

.page-app .feature-card {
  background: #0b1228;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  min-width: 0;
}

.page-app .feature-card-icon {
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.page-app .feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #fff;
}

.page-app .feature-card p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  margin: 0;
  font-size: 0.95rem;
}

.page-app .how-it-works {
  background: #050816;
  padding: clamp(40px, 8vw, 80px) clamp(16px, 5vw, 60px);
  width: 100%;
  box-sizing: border-box;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-app .how-it-works-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.page-app .how-it-works h2 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  margin-bottom: 12px;
  color: #fff;
}

.page-app .how-it-works .how-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
}

.page-app .steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-app .step {
  background: #0b1228;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  min-width: 0;
}

.page-app .step-number {
  width: 52px;
  height: 52px;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 14px;
}

.page-app .step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #fff;
}

.page-app .step p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
  margin: 0;
  font-size: 0.95rem;
}

/* Mobile-only store button no longer needed (hero now shows on all screens) */
.page-app .mobile-app-store-cta {
  display: none !important;
}

/* Per-app colors */
.page-app.theme-hisaabio .app-hero { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; }
.page-app.theme-hisaabio .download-btn { color: #667eea; }
.page-app.theme-hisaabio .step-number { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }

.page-app.theme-neowplay .app-hero { background: linear-gradient(135deg, #1e3a5f 0%, #0ea5e9 100%); color: #fff; }
.page-app.theme-neowplay .download-btn { color: #0e7490; }
.page-app.theme-neowplay .step-number { background: linear-gradient(135deg, #1e3a5f 0%, #0ea5e9 100%); }

.page-app.theme-dragplay .app-hero { background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); color: #fff; }
.page-app.theme-dragplay .download-btn { color: #5b21b6; }
.page-app.theme-dragplay .step-number { background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); }

.page-app.theme-oliobay .app-hero { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); color: #fff; }
.page-app.theme-oliobay .download-btn { color: #f43f84; }
.page-app.theme-oliobay .step-number { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }

.page-app.theme-bataket .app-hero { background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%); color: #fff; }
.page-app.theme-bataket .download-btn { color: #6d28d9; }
.page-app.theme-bataket .step-number { background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%); }

.page-app.theme-preyking .app-hero { background: linear-gradient(135deg, #14532d 0%, #16a34a 100%); color: #fff; }
.page-app.theme-preyking .download-btn { color: #15803d; }
.page-app.theme-preyking .step-number { background: linear-gradient(135deg, #14532d 0%, #16a34a 100%); }

.page-app.theme-sisurfer .app-hero { background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 100%); color: #fff; }
.page-app.theme-sisurfer .download-btn { color: #0284c7; }
.page-app.theme-sisurfer .step-number { background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 100%); }

.page-app.theme-sicafe .app-hero { background: linear-gradient(135deg, #78350f 0%, #92400e 100%); color: #fff; }
.page-app.theme-sicafe .download-btn { color: #92400e; }
.page-app.theme-sicafe .step-number { background: linear-gradient(135deg, #78350f 0%, #92400e 100%); }

.page-app .download-btn.zomato-badge {
  background: #e23744 !important;
  color: #fff !important;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 10px;
}

.page-app .download-btn.zomato-badge:hover {
  background: #cb2b39 !important;
}

.page-app .app-showcase {
  padding: clamp(40px, 8vw, 72px) clamp(16px, 5vw, 60px);
  width: 100%;
  box-sizing: border-box;
}

.page-app .app-showcase-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.page-app .showcase-copy h2 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
}

.page-app .showcase-copy p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  font-size: 1rem;
  margin: 0 0 20px;
}

.page-app .showcase-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-app .showcase-pill {
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.page-app .showcase-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
  margin: 0 auto;
  width: 100%;
}

.page-app .showcase-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 14px 16px;
  color: #fff;
}

.page-app .showcase-card strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.page-app .showcase-card span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 768px) {
  .page-app .app-showcase-inner {
    grid-template-columns: 1fr;
  }
}
  /* Hero: show on mobile — name + big Play badge only, no description */
  .page-app .app-hero {
    display: flex !important;
    padding: clamp(80px, 20vw, 96px) 20px 36px !important;
  }

  .page-app .app-hero-inner {
    gap: 18px;
    width: 100%;
    max-width: 100%;
  }

  /* App name: bold but not absurd */
  .page-app .app-hero h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
    margin: 0 !important;
    letter-spacing: -0.01em;
  }

  /* Hide description, chips, and emoji icon on mobile */
  .page-app .app-hero-inner > p,
  .page-app .app-hero > p,
  .page-app .app-hero-icon,
  .page-app .app-hero-inner .sports-strip,
  .page-app .app-hero-inner .rarity-row,
  .page-app .app-hero-inner .mode-chips,
  .page-app .app-hero-inner .cat-chips {
    display: none !important;
  }

  /* Compact centered Play badge */
  .page-app .app-hero .download-buttons {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin-top: 8px;
  }

  .page-app .app-hero .download-btn.gplay-badge {
    width: auto !important;
    max-width: min(100%, 210px) !important;
    padding: 10px 16px 10px 12px !important;
    border-radius: 8px !important;
    gap: 10px !important;
    justify-content: flex-start !important;
    margin: 0 auto !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  }

  .page-app .app-hero .gplay-icon {
    width: 22px !important;
    height: 22px !important;
  }

  .page-app .app-hero .gplay-brand {
    font-size: 0.95rem !important;
  }

  .page-app .app-hero .gplay-text small {
    font-size: 0.55rem !important;
  }

  /* Features start right below hero */
  .page-app .app-features {
    padding-top: 28px !important;
  }
}

@media (min-width: 769px) {
  .page-app .mobile-app-store-cta {
    display: none !important;
  }

  .page-app .app-hero .download-btn,
  .page-app .app-hero .gplay-badge {
    width: auto !important;
    min-width: 220px;
  }
}
