/* ============================================================
   Apps page — design source: Medrudra Apps
   ============================================================ */

/* ---- hero (blob on the right on this page) ----------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FDF9F8, #fff 80%);
}

.hero-blob {
  position: absolute;
  right: -10%;
  top: -40%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 0, 0, .10), transparent 65%);
  filter: blur(55px);
}

.hero-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 28px 44px;
  text-align: center;
}

.hero h1 {
  font: 800 60px/1.05 'Bricolage Grotesque', sans-serif;
  letter-spacing: -.035em;
  margin: 24px 0 18px;
  animation: fadeUp .7s .08s ease both;
}

.hero p {
  font: 400 18px/1.65 'Instrument Sans', sans-serif;
  color: #5B5B5B;
  max-width: 560px;
  margin: 0 auto;
  animation: fadeUp .7s .16s ease both;
}

/* ---- app cards --------------------------------------------- */

.app-list {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 28px 90px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.app-card {
  background: #fff;
  border: 1px solid rgba(26, 26, 26, .1);
  border-radius: 22px;
  padding: 30px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  box-shadow: 0 2px 10px rgba(26, 26, 26, .04);
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.app-card:hover {
  border-color: rgba(139, 0, 0, .35);
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(139, 0, 0, .1);
}

/* Brand-mark tile — white so the maroon mark reads (mirrors the launcher icon) */
.app-icon {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(139, 0, 0, .18);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(139, 0, 0, .18);
  animation: float 6s ease-in-out infinite;
}
.app-icon img {
  width: 54px;
  height: 54px;
  display: block;
}
.app-icon--dark {
  animation-duration: 6.5s;
  animation-delay: .4s;
}

.app-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.app-name { font: 700 22px 'Bricolage Grotesque', sans-serif; }
.app-badge {
  font: 600 11px 'Instrument Sans', sans-serif;
  background: rgba(139, 0, 0, .08);
  color: #8B0000;
  padding: 4px 10px;
  border-radius: 99px;
}
.app-desc {
  font: 400 14.5px/1.6 'Instrument Sans', sans-serif;
  color: #6B6B6B;
  margin-top: 6px;
  max-width: 440px;
}

.app-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 170px;
}
.btn-play {
  text-align: center;
  background: #8B0000;
  color: #fff;
  font: 700 14px 'Instrument Sans', sans-serif;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(139, 0, 0, .25);
}
.btn-play:hover { color: #fff; background: #660000; }
.btn-apk {
  text-align: center;
  border: 1.5px solid rgba(26, 26, 26, .16);
  color: #1A1A1A;
  font: 600 14px 'Instrument Sans', sans-serif;
  padding: 12px 20px;
  border-radius: 12px;
}
.btn-apk:hover { color: #8B0000; border-color: rgba(139, 0, 0, .35); }

.apps-note {
  text-align: center;
  font: 400 13.5px 'Instrument Sans', sans-serif;
  color: #9B9B9B;
  margin-top: 6px;
}

/* ---- responsive (prototype is desktop-only) ---------------- */

@media (max-width: 760px) {
  .hero h1 { font-size: 44px; }
  .app-card {
    grid-template-columns: auto 1fr;
    padding: 24px 20px;
  }
  .app-actions {
    grid-column: 1 / -1;
    flex-direction: row;
  }
  .btn-play, .btn-apk { flex: 1; }
}

@media (max-width: 480px) {
  .hero-inner { padding: 56px 20px 32px; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 16px; }
  .app-list { padding: 16px 20px 64px; }
  .app-actions { flex-direction: column; }
}
