body {
  font-family: Arial, sans-serif;
}

/* Шапка */
.header-img {
  max-height: 600px;
  object-fit: cover;
}
.navbar-brand {
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Футер */
footer a {
  color: #555;
  text-decoration: none;
  margin: 0 5px;
}
footer a:hover {
  text-decoration: underline;
}

/* Карточка приложения — по умолчанию */
.app-surface {
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 120ms ease, border-color 120ms ease, background-color 120ms ease;
}
.app-card:hover .app-surface {
  background: #ffffff;
  border-color: rgba(0,0,0,0.10);
  box-shadow: 0 6px 18px rgba(0,0,0,0.16);
}

/* Размер карточки — меньше, чем в сторах */
.app-fixed {
  width: 180px;   /* ширина карточки */
  height: 240px;  /* высота */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Иконка */
.app-icon {
  width: 100%;
  height: auto;
  border-radius: 22%;
}

/* Заголовок */
.card-title {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
}

/* Звёздочка рейтинга */
.star {
  font-size: 0.8em;
  color: #6c757d;
}

/* Бейджи-магазины */
.store-badge {
  width: 160px;
  max-width: 100%;
  transition: transform 0.2s ease;
}
.store-badge:hover {
  transform: scale(1.05);
}

/* Скриншоты */
.screenshot-thumb {
  cursor: pointer;
  max-height: 320px;
  border-radius: 8px;
  transition: transform 0.2s ease;
}
.screenshot-thumb:hover {
  transform: scale(1.02);
}

/* -------------------- */
/*  Адаптив под мобильные */
/* -------------------- */
@media (max-width: 768px) {
  /* карточки компактнее */
  .app-fixed {
    width: 140px;
    height: 200px;
  }

  .card-title {
    font-size: 0.75rem;
  }

  /* бейджи магазинов меньше */
  .store-badge {
    width: 140px;
  }

  /* скриншоты ниже */
  .screenshot-thumb {
    max-height: 240px;
  }

  .header-img {
    max-height: 300px; /* шапка не занимает слишком много */
  }
}

@media (max-width: 480px) {
  /* карточки в один ряд, ещё меньше */
  .app-fixed {
    width: 120px;
    height: 180px;
  }

  .card-title {
    font-size: 0.7rem;
  }

  .store-badge {
    width: 120px;
  }

  .screenshot-thumb {
    max-height: 200px;
  }
}
