@font-face {
  font-family: 'Gordita';
  src: url('/fonts/Gordita-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gordita';
  src: url('/fonts/Gordita-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: 'Gordita', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #fafafa;
  color: #111827;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  padding: 24px;
}

.app-card {
  width: min(100%, 480px);
  padding: clamp(32px, 8vw, 56px);
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 28px;
  background: #161c2f;
  box-shadow: 0 24px 64px rgb(17 24 39 / 18%);
}

.logo-link {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.logo {
  display: block;
  width: 100%;
  height: auto;
}

.actions {
  display: grid;
  gap: 14px;
  margin-top: 42px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #b32d33;
  color: #fafafa;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.app-icon {
  position: relative;
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.app-icon img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.app-icon--rate img {
  position: absolute;
  top: -1px;
  left: 50%;
  width: 52px;
  height: 52px;
  max-width: none;
  transform: translateX(-50%);
}

.button:hover {
  background: #9f282d;
  box-shadow: 0 10px 24px rgb(179 45 51 / 20%);
  transform: translateY(-1px);
}

.button:active {
  box-shadow: none;
  transform: translateY(0);
}

.admin-note {
  margin: 26px 0 0;
  color: rgb(250 250 250 / 72%);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.admin-note strong {
  color: #fafafa;
  font-weight: 700;
}

.button:focus-visible,
.logo-link:focus-visible {
  outline: 3px solid rgb(179 45 51 / 35%);
  outline-offset: 4px;
}

@media (max-width: 480px) {
  .page-shell {
    padding: 16px;
  }

  .app-card {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .actions {
    margin-top: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
