* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --header-height: 84px;
}

body {
  min-height: 100vh;
  background-color: #d6dbe6;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  padding-top: calc(var(--header-height) + 24px);
  color: #1a1b24;
  overflow-x: hidden;
}

/* Top Navigation Bar */
header {
  width: 100%;
  max-width: 1360px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  background-color: rgba(214, 219, 230, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(20, 21, 33, 0.06);
  z-index: 50;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.desktop-nav a {
  text-decoration: none;
  color: #3b3d4a;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: #000;
}

.desktop-nav a[aria-current="page"],
.mobile-nav-links a[aria-current="page"] {
  color: #1e1f2b;
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-launch {
  background-color: #262739;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.1s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-launch:hover {
  background-color: #141521;
}

/* Hamburger Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-btn span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: #1a1b24;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* Hamburger active transformation to X */
.hamburger-btn.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Drawer & Overlay */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background-color: #ffffff;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  padding: 80px 28px 40px;
  gap: 32px;
  z-index: 90;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mobile-nav-links a {
  text-decoration: none;
  color: #1a1b24;
  font-size: 1.05rem;
  font-weight: 500;
}

.drawer-btn {
  width: 100%;
  text-align: center;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 80;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Main Hero Window */
.hero-container {
  width: 100%;
  max-width: 1360px;
  min-height: 82vh;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.07);

  background-image: url('/assets/banner.webp');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

/* Hero Text & Actions */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px 0 24px;
  z-index: 10;
}

.center-flower {
  width: 24px;
  height: 24px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(1.6rem, 4.2vw, 3.35rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #1e1f2b;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.5;
  color: #3f4252;
  font-weight: 400;
  max-width: 1070px;
  margin-bottom: 28px;
}

.btn-try {
  background-color: #0b0c10;
  color: #ffffff;
  padding: 13px 36px;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: all 0.2s ease;
}

.btn-try:hover {
  background-color: #23252f;
  transform: translateY(-1px);
}

/* Footer */
.site-footer {
  width: 100%;
  max-width: 1360px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 16px 12px 16px;
  font-size: 0.85rem;
  color: #585c70;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-nav a {
  text-decoration: none;
  color: #585c70;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #1a1b24;
}

/* Hero CTA Row (WhatsApp / Telegram) */
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.btn-whatsapp,
.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-whatsapp {
  background-color: #25d366;
}

.btn-telegram {
  background-color: #229ed9;
}

.btn-whatsapp:hover,
.btn-telegram:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* Content Sections */
.section {
  width: 100%;
  max-width: 1360px;
  padding: 64px 16px;
}

.section-inner {
  margin: 0 auto;
  text-align: center;
}

.section-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #585c70;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #1e1f2b;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #3f4252;
  margin: 0 auto 14px auto;
}

.section-lead a {
  color: #1e1f2b;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Card Grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 36px;
  text-align: left;
}

.info-card {
  background-color: #ffffff;
  border-radius: 22px;
  padding: 28px 26px;
  box-shadow: 0 20px 40px -25px rgba(0, 0, 0, 0.15);
}

.info-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e1f2b;
  margin-bottom: 10px;
}

.info-card p {
  font-size: 0.94rem;
  line-height: 1.55;
  color: #3f4252;
}

/* Device Download Cards */
.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
  text-align: left;
}

.device-card {
  background-color: #ffffff;
  border-radius: 26px;
  padding: 34px 30px;
  box-shadow: 0 20px 40px -25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.device-icon {
  width: 30px;
  height: 30px;
  color: #1e1f2b;
  margin-bottom: 18px;
}

.device-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1e1f2b;
  margin-bottom: 10px;
}

.device-card p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #3f4252;
  margin-bottom: 22px;
}

.btn-outline {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 9999px;
  border: 1.5px solid #1e1f2b;
  color: #1e1f2b;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  background-color: #1e1f2b;
  color: #ffffff;
}

/* Game Category Cards */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 36px;
  text-align: left;
}

.game-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: 0 20px 40px -25px rgba(0, 0, 0, 0.15);
}

.game-icon {
  width: 26px;
  height: 26px;
  color: #1e1f2b;
  margin-bottom: 16px;
}

.game-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1e1f2b;
  margin-bottom: 6px;
}

.game-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #3f4252;
}

/* Start Now / Welcome Bonus Banner */
.cta-banner {
  background-color: #1e1f2b;
  border-radius: 32px;
  padding: 56px 40px;
}

.cta-banner .section-title,
.cta-banner .section-lead {
  color: #ffffff;
}

.cta-banner .section-lead a {
  color: #ffffff;
}

.cta-banner .section-lead {
  color: #c7c9d6;
}

/* FAQ */
.faq-list {
  margin-top: 32px;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid rgba(30, 31, 43, 0.1);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-size: 1rem;
  font-weight: 600;
  color: #1e1f2b;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #585c70;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 4px 22px 4px;
  color: #3f4252;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer additions */
.footer-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-disclaimer {
  width: 100%;
  max-width: 1360px;
  font-size: 0.78rem;
  color: #8a8da0;
  margin-top: 4px;
}

/* Sticky Mobile Contact Bar */
.sticky-contact-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: none;
  gap: 10px;
  z-index: 95;
  transform: translateY(140%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-contact-bar.visible {
  transform: translateY(0);
}

.sticky-contact-bar .btn-whatsapp,
.sticky-contact-bar .btn-telegram {
  flex: 1;
  justify-content: center;
  padding: 13px 16px;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* Sub-page Header (plain text intro, no banner image) */
.page-header {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 16px 0 16px;
  text-align: center;
}

/* Sub-page Hero Banner (Download APK / iOS guides) */
.page-hero {
  width: 100%;
  max-width: 1360px;
  min-height: clamp(260px, 34vw, 420px);
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
  background-image: url('/assets/bannerdownload.webp');
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
}

.page-hero__content {
  max-width: 480px;
  padding: 32px 6%;
}

.page-title {
  font-size: clamp(1.4rem, 4.2vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: #1e1f2b;
  margin-bottom: 12px;
}

.page-lead {
  font-size: 0.98rem;
  line-height: 1.55;
  color: #3f4252;
}

.legal-updated {
  font-size: 0.82rem;
  font-weight: 600;
  color: #8a8da0;
  margin-bottom: 14px;
}

/* Legal Document (Terms / Privacy) */
.legal-doc {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.legal-clause {
  margin-top: 40px;
}

.legal-clause:first-child {
  margin-top: 0;
}

.legal-clause h2 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1e1f2b;
  margin-bottom: 12px;
}

.legal-clause p {
  font-size: 0.96rem;
  line-height: 1.65;
  color: #3f4252;
  margin-bottom: 12px;
}

.legal-clause h3 {
  font-size: 1.02rem;
  font-weight: 600;
  color: #1e1f2b;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-clause .plain-list {
  margin-top: 0;
}

/* Standalone intro paragraph between the hero and the first section */
.page-intro {
  width: 100%;
  max-width: 1200px;
  margin: 24px auto 0 auto;
  padding: 0 16px;
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #3f4252;
}

/* Download Card (APK spec + primary CTA, kept above the mobile fold) */
.download-card {
  width: 100%;
  margin: 24px auto 0 auto;
  background-color: #ffffff;
  border-radius: 26px;
  padding: 26px 24px;
  box-shadow: 0 20px 40px -25px rgba(0, 0, 0, 0.18);
  text-align: left;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 16px;
  margin-bottom: 20px;
}

.spec-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a8da0;
  margin-bottom: 3px;
}

.spec-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e1f2b;
}

.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 20px;
  border-radius: 9999px;
  background-color: #1e1f2b;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-download:hover {
  background-color: #0b0c10;
  transform: translateY(-1px);
}

.download-card__note {
  font-size: 0.86rem;
  line-height: 1.5;
  color: #3f4252;
  text-align: center;
  margin: 14px 0 12px 0;
}

.download-card .hero-cta-row {
  margin-top: 0;
}

.platform-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(30, 31, 43, 0.08);
  font-size: 0.86rem;
  line-height: 1.5;
  color: #3f4252;
  text-align: center;
}

.platform-note a {
  color: #1e1f2b;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Requirement cards with a screenshot */
.info-card__media {
  width: 100%;
  max-width: 220px;
  border-radius: 14px;
  display: block;
  margin: 0 auto 16px auto;
  box-shadow: 0 12px 30px -20px rgba(0, 0, 0, 0.3);
}

.step-path {
  display: inline-block;
  background-color: #eef0f5;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e1f2b;
  margin: 10px 0;
}

/* Callout box (important note) */
.callout {
  background-color: #eef0f5;
  border-left: 4px solid #1e1f2b;
  border-radius: 14px;
  padding: 20px 22px;
  margin-top: 28px;
  text-align: left;
}

.callout h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1e1f2b;
  margin-bottom: 8px;
}

.callout p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #3f4252;
}

/* Plain bullet lists */
.plain-list {
  margin: 12px 0 16px 0;
  padding-left: 20px;
  color: #3f4252;
  font-size: 0.94rem;
  line-height: 1.7;
  text-align: left;
}

.plain-list li {
  margin-bottom: 4px;
}

/* Inline code (filenames, addresses) */
code {
  background-color: #eef0f5;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.88em;
  color: #1e1f2b;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

/* Numbered installation steps */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 36px;
  text-align: left;
}

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #1e1f2b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e1f2b;
  margin-bottom: 8px;
}

.step-body p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #3f4252;
  margin-bottom: 10px;
}

.step-body a {
  color: #1e1f2b;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.step-media {
  margin: 14px 0 0 0;
}

.step-media + .step-media {
  margin-top: 12px;
}

.step-media img {
  width: 100%;
  max-width: 260px;
  border-radius: 16px;
  display: block;
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.25);
}

/* Responsive Breakpoints */
@media (max-width: 860px) {
  header {
    display: grid;
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .brand-logo {
    grid-column: 1;
  }

  /* Lets header-actions' children (.btn-launch, .hamburger-btn) become
     direct grid items of header, so each gets its own column instead of
     competing for space inside the logo/hamburger's fixed-width columns. */
  .header-actions {
    display: contents;
  }

  .header-actions .btn-launch {
    grid-column: 2;
    justify-self: center;
  }

  .hamburger-btn {
    grid-column: 3;
    justify-self: end;
    display: flex;
  }

  body {
    padding: 16px;
    padding-top: calc(var(--header-height) + 16px);
    padding-bottom: 96px;
  }

  .hero-content {
    padding-top: 48px;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner {
    padding: 40px 24px;
  }

  .page-hero {
    min-height: clamp(220px, 62vw, 320px);
    border-radius: 24px;
  }

  .page-hero__content {
    max-width: 78%;
    padding: 24px 7%;
  }

  .sticky-contact-bar {
    display: flex;
  }
}

@media (max-width:1024px){
    .hero-subtitle{
        font-size:0.8rem;
    }
}