/* ==========================================================================
   Download buttons: engraved bronze plaque style + disabled App Store + sticky bar
   ========================================================================== */

.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.store-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 22px;
  font: inherit;
  text-align: left;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
}

/* Active store link: beveled bronze plaque with engraved lettering */
.store-btn--play {
  color: #1f1209;
  background: linear-gradient(180deg, var(--gold-bright) 0%, #c99a57 48%, #b98a4a 52%, #d2a764 100%);
  border: 1px solid var(--bronze-deep);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 0 rgba(110, 71, 36, 0.6),
    0 0 0 3px var(--ink-deep),
    0 0 0 4px var(--bronze),
    0 10px 22px rgba(0, 0, 0, 0.55);
  text-shadow: 0 1px 0 rgba(255, 240, 205, 0.55);
  transition: filter 0.2s ease, transform 0.2s ease;
}
.store-btn--play:hover,
.store-btn--play:active { color: #1f1209; filter: brightness(1.07); }
.store-btn--play:active {
  transform: translateY(2px);
  box-shadow: inset 0 2px 6px rgba(110, 71, 36, 0.6), 0 0 0 3px var(--ink-deep), 0 0 0 4px var(--bronze);
}

.store-btn__icon { flex: 0 0 26px; width: 26px; height: 26px; fill: currentColor; }
.store-btn__text { display: flex; flex-direction: column; line-height: 1.15; }
.store-btn__kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.store-btn__brand { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: 0.04em; }

/* Unavailable App Store button: neutral grey, never brand-colored */
.store-btn--soon {
  color: #f2f2f2;
  background: #2a2a2a;
  border: 1px solid #555;
  opacity: 0.55;
  filter: grayscale(0.6);
  cursor: not-allowed;
}
.store-btn__badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
  background: #d0d0d0;
  border-bottom-left-radius: 6px;
}

/* Mobile sticky download bar */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(20, 12, 8, 0.96);
  border-top: 1px solid var(--bronze);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s;
}
.sticky-cta.is-visible { transform: translateY(0); visibility: visible; }
.sticky-cta__icon { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--gold); }
.sticky-cta__name {
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-cta__btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1f1209;
  background: linear-gradient(180deg, var(--gold-bright), #b98a4a);
  border: 1px solid var(--bronze-deep);
  border-radius: 8px;
}
.sticky-cta__btn:hover,
.sticky-cta__btn:active { color: #1f1209; filter: brightness(1.07); }

@media (min-width: 768px) {
  .store-buttons { flex-direction: row; flex-wrap: wrap; }
  .store-buttons--center,
  .hero-plaque .store-buttons { justify-content: center; }
  .store-btn { min-width: 220px; }
  .sticky-cta { display: none; }
}
