/* 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(260px, 340px);
  }
}

.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, #0f172a 0%, #1e3a5f 55%, #0071e3 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: #bae6fd;
  font-weight: 600;
}

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

.app-screens__item {
  aspect-ratio: 9 / 16;
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(76, 130, 255, 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(200px, 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(76, 130, 255, 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(0, 113, 227, 0.12);
  border: 1px solid rgba(0, 113, 227, 0.28);
  font-size: 0.9rem;
}

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

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

body.light-theme .start-promo-app {
  background: rgba(0, 113, 227, 0.08);
  border-color: rgba(0, 113, 227, 0.2);
}

body.light-theme .start-promo-app a {
  color: #0071e3;
}
