/* Page promotion app Android OkDak */

.app-hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .app-hero__grid {
    grid-template-columns: 1fr minmax(280px, 480px);
  }
}

.app-play-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.app-play-banner__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
}

.app-play-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.1rem 0.65rem 0.85rem;
  border-radius: 0.75rem;
  background: #000;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-play-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.app-play-badge__icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
}

.app-play-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.app-play-badge__label {
  font-size: 0.65rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.app-play-badge__store {
  font-size: 1.05rem;
  font-weight: 700;
}

.app-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-top: 1.25rem;
}

.app-phone {
  position: relative;
  margin-inline: auto;
  width: min(100%, 300px);
  aspect-ratio: 9 / 19;
  border-radius: 2.25rem;
  padding: 0.65rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.app-phone::before {
  content: "";
  position: absolute;
  top: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.app-phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 1.75rem;
  overflow: hidden;
  background: linear-gradient(165deg, #09090b 0%, #18181b 55%, var(--okdak-accent) 120%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 1rem 1.5rem;
}

.app-phone__logo {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.app-phone__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.app-phone__url {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  font-family: ui-monospace, monospace;
}

.app-phone__pill {
  margin-top: 0.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  color: #99f6e4;
  font-weight: 600;
}

.app-screens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.app-screens__item {
  aspect-ratio: 9 / 16;
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(var(--okdak-accent-rgb), 0.25), rgba(127, 83, 255, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  text-align: center;
}

.app-screens__item svg {
  width: 2rem;
  height: 2rem;
  opacity: 0.85;
}

.app-screens__item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.app-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.app-specs__item {
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.app-specs__item strong {
  display: block;
  color: #fff;
  margin-bottom: 0.2rem;
}

body.light-theme .app-play-banner {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
}

body.light-theme .app-phone {
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.02));
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .app-screens__item {
  background: linear-gradient(160deg, rgba(var(--okdak-accent-rgb), 0.12), rgba(127, 83, 255, 0.08));
  border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .app-screens__item span {
  color: rgba(0, 0, 0, 0.75);
}

body.light-theme .app-specs__item {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.7);
}

body.light-theme .app-specs__item strong {
  color: #111;
}

.start-promo-app {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  padding: 0.65rem 1rem;
  border-radius: 0.85rem;
  background: rgba(var(--okdak-accent-rgb), 0.12);
  border: 1px solid rgba(var(--okdak-accent-rgb), 0.28);
  font-size: 0.9rem;
}

.start-promo-app a {
  color: #99f6e4;
  font-weight: 700;
  text-decoration: none;
}

html[data-okdak-theme="light"] .start-promo-app a,
body.light-theme .start-promo-app a {
  color: var(--okdak-accent-muted);
}

.start-promo-app a:hover {
  text-decoration: underline;
}

body.light-theme .start-promo-app {
  background: rgba(var(--okdak-accent-rgb), 0.08);
  border-color: rgba(var(--okdak-accent-rgb), 0.2);
}

body.light-theme .start-promo-app a {
  color: var(--okdak-accent);
}

.app-hero-shot {
  margin: 0;
}

.app-hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  margin-inline: auto;
  border-radius: 1rem;
}

.app-media {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1rem;
}

.app-media .start-section-head p {
  margin: 0.4rem 0 0;
  color: var(--apple-text-secondary, #86868b);
  font-size: 0.95rem;
  line-height: 1.5;
}

.app-lang {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: auto;
  margin-right: 0.75rem;
}

.app-lang a {
  min-width: 2.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--apple-text-secondary, #a1a1aa);
}

.app-lang a[aria-current="page"] {
  background: var(--okdak-accent, var(--okdak-accent));
  color: #09090b;
}

html[data-okdak-theme="light"] .app-lang a[aria-current="page"],
body.light-theme .app-lang a[aria-current="page"] {
  color: #fff;
}

.app-video {
  position: relative;
  width: min(100%, 960px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.app-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.app-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.app-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.9rem;
}

@media (max-width: 700px) {
  .app-gallery {
    grid-template-columns: 1fr;
  }
}

body.light-theme .app-video,
html[data-okdak-theme="light"] .app-video {
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
