/* TAKAS Website V39 — fail-closed Play Store / App Store download reception. */
.takas-store-downloads { padding-top: clamp(54px, 8vw, 92px); padding-bottom: clamp(54px, 8vw, 92px); background: linear-gradient(180deg, #0b0c10, #11151c); }
.takas-store-heading { display: flex; justify-content: space-between; align-items: end; gap: 26px; margin-bottom: 26px; }
.takas-store-heading h2 { margin: 0; font-size: clamp(30px, 5vw, 54px); letter-spacing: -.04em; }
.takas-store-heading > p { width: min(520px, 100%); margin: 0; color: #aaaeb9; line-height: 1.65; }
.takas-store-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.takas-store-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 20px; align-items: start; min-width: 0; padding: clamp(20px, 3vw, 30px); border: 1px solid #3c414b; border-radius: 22px; background: linear-gradient(145deg, #191b22, #0e1015); box-shadow: 0 20px 52px rgba(0, 0, 0, .25); }
.takas-store-card-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.takas-store-card-head p { margin: 0 0 2px; color: #a8abb3; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.takas-store-card-head h3 { margin: 0; font-size: clamp(20px, 3vw, 29px); }
.takas-store-symbol { display: grid; place-items: center; flex: 0 0 51px; width: 51px; height: 51px; border: 1px solid #555c68; border-radius: 15px; background: #282c35; color: #aeb3bd; font-size: 23px; }
.takas-store-symbol.apple { font-size: 31px; }
.takas-store-description { grid-column: 1; margin: 0; color: #b5b8c0; line-height: 1.55; }
.takas-store-qr { grid-column: 2; grid-row: 1 / span 4; width: 150px; padding: 9px; border-radius: 16px; background: #fff; }
.takas-store-qr[hidden] { display: none !important; }
.takas-store-qr canvas { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.takas-store-link { grid-column: 1; display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 46px; padding: 10px 17px; border: 1px solid #4c525e; border-radius: 12px; background: #252932; color: #8f949e; font-weight: 900; text-decoration: none; }
.takas-store-link[aria-disabled="true"] { cursor: not-allowed; pointer-events: none; }
.takas-store-status { grid-column: 1; min-height: 22px; margin: 0; color: #8f949e; font-size: 12px; }
.takas-store-card[data-state="active"] { border-color: #25d991; background: linear-gradient(145deg, #102d24, #0d1214); box-shadow: 0 0 25px rgba(0, 220, 134, .13), 0 20px 52px rgba(0, 0, 0, .28); }
.takas-store-card[data-state="active"] .takas-store-symbol { border-color: #6fffc0; background: linear-gradient(145deg, #20e397, #08784f); color: #031c13; }
.takas-store-card[data-state="active"] .takas-store-link { border-color: #78ffc5; background: linear-gradient(145deg, #17dc8d, #078653); color: #031b12; box-shadow: 0 8px 22px rgba(0, 220, 134, .2); }
.takas-store-card[data-state="active"] .takas-store-status { color: #6cf0b2; }
.takas-store-card[data-state="invalid"] .takas-store-status { color: #ff98aa; }
.takas-store-link:focus-visible { outline: 3px solid #8affca; outline-offset: 3px; }

@media (max-width: 820px) {
  .takas-store-heading { display: grid; }
  .takas-store-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .takas-store-card { grid-template-columns: 1fr; }
  .takas-store-qr { grid-column: 1; grid-row: auto; width: min(210px, 100%); justify-self: center; }
  .takas-store-link { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .takas-store-card,
  .takas-store-link { transition: none !important; }
}
