:root {
  --bg-top: #7b2cff;
  --bg-mid1: #c026d3;
  --bg-mid2: #ec4899;
  --bg-bottom: #fbbf24;
  --card: #ffffff;
  --shadow: 0 18px 40px rgba(76, 12, 90, 0.2);
  --radius: 10px;
  --btnGreen: #20b764;
  --btnBlue: #1da0da;
  --android: #43b400;
  --ios: #083f7c;
  --faq: #a21caf;
  --drawer: #3b0764;
  --drawer-bar: #db2777;
  --muted: #6b7280;
  --text: #0f172a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid1) 30%, var(--bg-mid2) 62%, var(--bg-bottom) 100%);
  min-height: 100vh;
}

a {
  color: #9d174d;
}

img {
  max-width: 100%;
  height: auto;
}

.page {
  width: min(580px, 94vw);
  margin: 22px auto 34px;
}

.hero-card,
.content-card,
.dl-card,
.faq-item {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  padding: 16px 16px 18px;
  overflow: hidden;
  border-radius: 4px;
}

@keyframes rgbText {
  0% { color: #ff004c; }
  16% { color: #ff7a00; }
  33% { color: #ffe600; }
  50% { color: #00ff6a; }
  66% { color: #00c8ff; }
  83% { color: #8a2be2; }
  100% { color: #ff004c; }
}

.menu-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.4px;
  cursor: pointer;
  user-select: none;
  animation: rgbText 0.45s linear infinite;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.hamburger {
  width: 24px;
  height: 16px;
  display: grid;
  gap: 4px;
}

.hamburger span {
  height: 3px;
  border-radius: 3px;
  background: currentColor;
}

.hero-logo {
  display: flex;
  justify-content: center;
  margin: 42px auto 12px;
  width: fit-content;
  padding: 8px 18px;
  background: #050505;
  border-radius: 14px;
}

.hero-logo img {
  width: 150px;
  height: auto;
  display: block;
}

.hero-image-wrap {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #3b0764;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.cta-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 8px 0;
}

.cta {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.1);
}

.cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 auto;
}

.cta.whatsapp { background: var(--btnGreen); }
.cta.telegram { background: var(--btnBlue); }

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 9998;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 320px;
  max-width: 86vw;
  background: var(--drawer);
  transform: translateX(-110%);
  transition: transform 0.22s ease;
  z-index: 9999;
  box-shadow: 6px 0 22px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.drawer-header {
  height: 68px;
  background: var(--drawer-bar);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-title {
  color: #fff;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0.2px;
}

.drawer-close {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.drawer-nav { padding: 0; margin: 0; }

.drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  color: #fce7f3;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
}

.drawer-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
  background: #000;
}

.drawer-item.is-active {
  background: #ec4899;
  color: #fff;
}

.drawer-open { overflow: hidden; }
.drawer-open .drawer { transform: translateX(0); }
.drawer-open .drawer-overlay {
  opacity: 1;
  pointer-events: auto;
}

.dl-cards {
  margin-top: 18px;
  display: grid;
  gap: 18px;
}

.dl-card {
  padding: 16px 18px 18px;
}

.dl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dl-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dl-os-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.dl-name {
  font-weight: 800;
  font-size: 18px;
  color: #111;
}

.dl-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: #4b5563;
  font-weight: 600;
  font-size: 15px;
  flex-wrap: wrap;
}

.dl-meta strong { color: #374151; }

.dl-big-btn {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.4px;
  color: #fff;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.dl-big-btn.is-android { background: var(--android); }
.dl-big-btn.is-ios { background: var(--ios); }

.content-card {
  margin-top: 18px;
  padding: 16px 16px 18px;
}

.content-card h1 {
  margin: 4px 0 10px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
}

.content-card h2 {
  margin: 16px 0 8px;
  font-size: 16px;
  font-weight: 900;
}

.content-card h3 {
  margin: 14px 0 6px;
  font-size: 14px;
  font-weight: 900;
}

.content-card p {
  margin: 0 0 10px;
  color: #111827;
  font-size: 13px;
  line-height: 1.65;
}

.content-card ul,
.content-card ol {
  margin: 0 0 12px;
  padding-left: 20px;
}

.content-card li {
  margin: 8px 0;
  color: #111;
  font-size: 13px;
  line-height: 1.5;
}

.faq-section { margin-top: 18px; }

.faq-title {
  margin: 0 0 14px;
  text-align: center;
  font-weight: 900;
  font-size: 26px;
  color: #0b1220;
}

.faq-wrap { display: grid; gap: 12px; }

.faq-item { overflow: hidden; }

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary { list-style: none; }

.faq-q {
  cursor: pointer;
  user-select: none;
  padding: 16px 18px;
  background: var(--faq);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-icon {
  font-size: 22px;
  font-weight: 900;
}

.faq-a {
  padding: 14px 18px 16px;
  font-size: 15px;
  color: #0f172a;
  line-height: 1.55;
}

.footer-only {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 24px auto 30px;
  padding: 6px 14px;
  background: #fff;
  color: #111;
  font-size: 11px;
  font-weight: 500;
  border-radius: 6px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  text-align: center;
}

@media (max-width: 560px) {
  .dl-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .dl-meta {
    justify-content: flex-start;
    gap: 12px 18px;
    font-size: 14px;
  }

  .faq-title { font-size: 22px; }

  .faq-q {
    font-size: 16px;
    padding: 14px;
  }
}

@media (max-width: 420px) {
  .cta-row {
    gap: 12px;
    padding-left: 2px;
    padding-right: 2px;
  }
}
