:root {
  /* Background */
  --color-bg: #230606;
  --color-bg-elevated: #2f0a0a;
  --color-bg-card: #3a1212;

  /* Gold accents */
  --color-gold: #d4af37;
  --color-gold-light: #f5d76e;
  --color-gold-dark: #a67c00;
  --color-gold-gradient: linear-gradient(180deg, #f5d060 0%, #c8941a 100%);
  --color-gold-border: rgba(212, 175, 55, 0.55);
  --color-gold-glow: rgba(245, 215, 110, 0.35);

  /* Text */
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.72);
  --color-text-subtle: rgba(255, 255, 255, 0.5);

  /* Typography */
  --font-heading: 'Rubik', system-ui, -apple-system, sans-serif;
  --font-body: 'Roboto', system-ui, -apple-system, sans-serif;

  --install-bar-height: 56px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  background-color: var(--color-bg);
  background-image: url('/img/bg-2.jpg'), url('/img/bg-1.jpg');
  background-position: center bottom, center top;
  background-repeat: no-repeat;
  background-size: min(100%, 1920px) auto, min(100%, 1920px) auto;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 768px) {
  body {
    background-image: url('/img/bg-2-desc.jpg'), url('/img/bg-1-desc.jpg');
    background-size: 100% auto, 100% auto;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: var(--color-gold-light);
  text-decoration: none;
}

a:hover {
  color: var(--color-gold);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
}

main {
  display: block;
}

.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px;
}

.header {
  position: relative;
  z-index: 1;
  padding: 16px 0 0;
  text-align: center;
}

.header__logo-link {
  display: inline-block;
  line-height: 0;
}

.header__logo {
  width: auto;
  max-width: 140px;
  height: auto;
  margin: 0 auto;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 12px 0 50px;
  text-align: center;
}

.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0 0 20px;
}

.hero__title-line {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 5.2vw, 2.25rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
}

.hero__title-line--gold {
  position: relative;
  margin-top: 4px;
  font-size: clamp(1.75rem, 7.5vw, 3.25rem);
  font-weight: 800;
  background: linear-gradient(180deg,
      #fff8dc 0%,
      #ffe566 18%,
      #f5c842 45%,
      #e8a820 72%,
      #c8941a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.28);
  paint-order: stroke fill;
  filter: drop-shadow(0 3px 14px rgba(245, 192, 60, 0.45));
}

.hero__title-line--gold::after {
  content: '';
  position: absolute;
  top: 8%;
  right: 12%;
  width: 18px;
  height: 18px;
  background: radial-gradient(circle, #fff 0%, rgba(255, 245, 200, 0.9) 25%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.85;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 calc(33.333% - 8px);
  max-width: 140px;
  padding: 8px 8px 8px 6px;
  border-radius: 10px;
  background: rgba(45, 14, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero__badge-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.hero__badge-text {
  font-family: var(--font-body);
  font-size: clamp(0.5625rem, 2.4vw, 0.6875rem);
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  color: var(--color-text);
}

.catalog {
  position: relative;
  z-index: 1;
  padding: 8px 0 48px;
}

.catalog__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Casino cards */
.casino-card {
  width: 100%;
}

.casino-card__frame {
  overflow: hidden;
  border-radius: 18px;
  border: 2px solid transparent;
  background:
    linear-gradient(180deg, rgba(58, 18, 18, 0.98) 0%, rgba(26, 8, 8, 0.98) 100%) padding-box,
    linear-gradient(180deg, #f5d76e 0%, #c8941a 45%, #8a5e12 100%) border-box;
  box-shadow:
    0 0 24px rgba(245, 192, 60, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.casino-card__ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 26px;
  padding: 4px 10px;
  background: var(--color-gold-gradient);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.casino-card__ribbon-text {
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #1a0808;
}

.casino-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1.15fr);
  align-items: stretch;
  min-height: 168px;
}

.casino-card__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.casino-card__col--brand {
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 10px 12px;
}

.casino-card__col--brand > a {
  display: flex;
  justify-content: center;
  line-height: 0;
}

.casino-card__col--offer {
  justify-content: space-between;
  gap: 12px;
  padding: 14px 12px 12px 10px;
}

.casino-card__divider {
  width: 1px;
  background: linear-gradient(180deg,
      transparent 0%,
      rgba(245, 215, 110, 0.15) 12%,
      #f5d76e 50%,
      rgba(245, 215, 110, 0.15) 88%,
      transparent 100%);
}

.casino-card__logo {
  width: auto;
  max-width: 108px;
  max-height: 42px;
  object-fit: contain;
}

.casino-card__rating {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.casino-card__score {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-text);
}

.casino-card__stars {
  display: inline-block;
  font-size: 0.6875rem;
  line-height: 1;
  letter-spacing: 0.5px;
}

.casino-card__stars::before {
  content: '★★★★★';
  background: linear-gradient(90deg,
      #f5d76e 0%,
      #f5d76e calc((var(--rating) / 5) * 100%),
      rgba(255, 255, 255, 0.22) calc((var(--rating) / 5) * 100%),
      rgba(255, 255, 255, 0.22) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.casino-card__payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.casino-card__payment {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.casino-card__payment img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.casino-card__payments-more {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.casino-card__bonus {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  color: inherit;
}

.casino-card__bonus:hover {
  color: inherit;
}

.casino-card__bonus-icon {
  flex-shrink: 0;
  display: flex;
  width: 48px;
  height: 48px;
}

.casino-card__bonus-icon svg {
  display: block;
  width: 48px;
  height: 48px;
}

.casino-card__bonus-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.casino-card__bonus-label {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.casino-card__bonus-amount {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 5.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--color-text);
}

.casino-card__bonus-amount--raw {
  font-size: clamp(1rem, 4.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.25;
}

.casino-card__bonus-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 2px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--color-gold-border);
  background: rgba(0, 0, 0, 0.35);
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-gold-light);
}

@keyframes casino-cta-pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 4px 16px rgba(200, 148, 26, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.35),
      0 0 0 0 rgba(245, 215, 110, 0);
  }

  50% {
    transform: scale(1.02);
    box-shadow:
      0 8px 28px rgba(245, 192, 60, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.4),
      0 0 0 5px rgba(245, 215, 110, 0.22);
  }
}

.casino-card__cta {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--color-gold-gradient);
  box-shadow:
    0 4px 16px rgba(200, 148, 26, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: casino-cta-pulse 2.4s ease-in-out infinite;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.casino-card__cta::after {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 228, 120, 0.45), rgba(200, 148, 26, 0.15));
  opacity: 0.55;
  animation: casino-cta-pulse 2.4s ease-in-out infinite;
}

.casino-card__cta:hover {
  color: #1a0808;
  animation: none;
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 8px 24px rgba(200, 148, 26, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.casino-card__cta:hover::after {
  animation: none;
  opacity: 0.75;
}

@media (prefers-reduced-motion: reduce) {

  .casino-card__cta,
  .casino-card__cta::after {
    animation: none;
  }
}

.casino-card__cta-text {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-align: center;
  text-transform: uppercase;
  color: #1a0808;
}

.casino-card__cta-arrow {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1;
  color: #1a0808;
}

.casino-card__disclaimer {
  margin: 8px 0 0;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  color: var(--color-text-subtle);
}

.casino-card--featured .casino-card__body {
  min-height: 172px;
}

@media (min-width: 480px) {
  .catalog__list {
    gap: 24px;
  }

  .casino-card__frame {
    border-radius: 20px;
  }

  .casino-card__logo {
    max-width: 120px;
    max-height: 48px;
  }

  .casino-card__cta-text {
    font-size: 0.8125rem;
  }
}

@media (min-width: 768px) {
  .catalog {
    padding-top: 0;
  }

  .catalog__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }

  .casino-card {
    min-width: 0;
  }

  .casino-card__body {
    min-height: 188px;
  }

  .casino-card__col--brand {
    padding: 18px 14px 16px;
  }

  .casino-card__col--offer {
    padding: 18px 16px 16px 12px;
  }

  .casino-card__ribbon {
    min-height: 28px;
    padding: 5px 12px;
  }

  .casino-card__ribbon-text {
    font-size: 0.6875rem;
  }

  .casino-card__cta {
    min-height: 48px;
  }

  .casino-card__cta-text {
    font-size: 0.875rem;
  }
}

@media (min-width: 1024px) {
  .catalog__list {
    gap: 28px 24px;
  }
}

@media (min-width: 480px) {
  .header__logo {
    max-width: 160px;
  }

  .hero__badge {
    flex: 0 1 auto;
    max-width: 160px;
    padding: 10px 12px 10px 8px;
    gap: 8px;
  }

  .hero__badge-icon {
    width: 36px;
    height: 36px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
    padding: 0 24px;
  }

  .header {
    padding-top: 24px;
  }

  .header__logo {
    max-width: 180px;
  }

  .hero {
    padding: 20px 0 48px;
  }

  .hero__title {
    gap: 4px;
    margin-bottom: 28px;
  }

  .hero__badges {
    gap: 12px;
  }

  .hero__badge {
    max-width: 200px;
    padding: 12px 16px 12px 10px;
    border-radius: 12px;
  }

  .hero__badge-icon {
    width: 40px;
    height: 40px;
  }

  .hero__badge-text {
    font-size: 0.75rem;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 960px;
  }

  .header__logo {
    max-width: 200px;
  }

  .hero {
    padding-bottom: 24px;
  }
}

/* FAQ */
.faq {
  position: relative;
  z-index: 1;
  padding: 32px 0 56px;
}

.faq__title {
  position: relative;
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 10vw, 3.5rem);
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(180deg,
      #fff8dc 0%,
      #ffe566 22%,
      #f5c842 50%,
      #e8a820 78%,
      #c8941a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 3px 12px rgba(245, 192, 60, 0.4));
}

.faq__title::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 54%;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #fff 0%, rgba(255, 245, 200, 0.85) 30%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.9;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(28, 10, 10, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.faq__question-text {
  flex: 1;
  font-family: var(--font-heading);
  font-size: clamp(0.9375rem, 3.8vw, 1.0625rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
}

.faq__chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 2px;
  border-right: 2.5px solid var(--color-gold-light);
  border-bottom: 2.5px solid var(--color-gold-light);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq__item--open .faq__chevron {
  transform: rotate(-135deg);
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.25s ease;
}

.faq__item--open .faq__answer {
  grid-template-rows: 1fr;
}

.faq__answer-inner {
  overflow: hidden;
  min-height: 0;
}

.faq__answer-inner>p {
  overflow: hidden;
  min-height: 0;
  margin: 0;
  padding: 0 20px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}

.faq__item--open .faq__answer-inner>p {
  padding-bottom: 18px;
}

@media (min-width: 768px) {
  .faq {
    padding: 48px 0 72px;
  }

  .faq__title {
    margin-bottom: 32px;
  }

  .faq__list {
    gap: 14px;
  }

  .faq__item {
    border-radius: 18px;
  }

  .faq__question {
    padding: 22px 24px;
  }

  .faq__answer-inner>p {
    padding: 0 24px;
    font-size: 0.9375rem;
  }

  .faq__item--open .faq__answer-inner>p {
    padding-bottom: 22px;
  }
}

@media (min-width: 1024px) {
  .faq .container {
    max-width: 640px;
  }
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 40px 0 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer__logo-link {
  display: inline-block;
  line-height: 0;
  margin-bottom: 20px;
}

.footer__logo {
  width: auto;
  max-width: 140px;
  height: auto;
  margin: 0 auto;
  opacity: 0.95;
}

.footer__description {
  max-width: 42ch;
  margin: 0 0 24px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.footer__regulators {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer__regulator {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(245, 240, 232, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}

a.footer__regulator:hover {
  background: #faf6f0;
  border-color: var(--color-gold-border);
}

.footer__regulator img {
  display: block;
  width: auto;
  max-width: 96px;
  max-height: 36px;
  object-fit: contain;
}

.footer__regulator--wide {
  min-width: 72px;
  padding: 8px 14px;
}

.footer__regulator--wide img {
  max-width: 120px;
  max-height: 32px;
}

.footer__regulator--text {
  min-width: 48px;
  padding: 8px 12px;
}

.footer__regulator-age {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1;
  color: #1a0808;
}

.footer__copyright {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text-subtle);
}

@media (min-width: 768px) {
  .footer {
    padding-top: 48px;
  }

  .footer__logo {
    max-width: 160px;
  }

  .footer__description {
    max-width: 56ch;
    font-size: 0.875rem;
  }

  .footer__regulators {
    gap: 16px;
  }
}

/* Install app top bar */
.install-app-bar {
  position: sticky;
  top: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: var(--install-bar-height);
  padding: 8px 12px;
  padding-top: calc(8px + env(safe-area-inset-top, 0px));
  background: linear-gradient(180deg, #4a1818 0%, var(--color-bg-elevated) 100%);
  border-bottom: 1px solid var(--color-gold-border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.install-app-bar[hidden] {
  display: none !important;
}

.install-app-bar__close {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.install-app-bar__close:hover {
  color: var(--color-text);
}

.install-app-bar__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.install-app-bar__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.install-app-bar__title {
  overflow: hidden;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-text);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.install-app-bar__subtitle {
  overflow: hidden;
  font-size: 0.6875rem;
  line-height: 1.2;
  color: var(--color-text-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.install-app-bar__cta {
  flex-shrink: 0;
  padding: 10px 16px;
  border: none;
  border-radius: 999px;
  background: var(--color-gold-gradient);
  color: #1a0808;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow:
    0 4px 16px rgba(200, 148, 26, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.install-app-bar__cta:hover {
  transform: scale(1.03);
  box-shadow:
    0 6px 22px rgba(245, 192, 60, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Install app bottom sheet (mobile) */
.install-app-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 6000;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  transform: translateY(100%);
  transition: transform 1s cubic-bezier(0.32, 0.72, 0, 1);
  pointer-events: none;
}

.install-app-sheet[hidden] {
  display: none !important;
}

.install-app-sheet--open {
  transform: translateY(0);
  pointer-events: auto;
}

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

.install-app-sheet__inner {
  padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  background-color: #f2f2f2;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
}

.install-app-sheet__header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.install-app-sheet__title {
  margin: 0;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #1c1c1e;
  text-align: center;
  text-transform: uppercase;
}

.install-app-sheet__close {
  position: absolute;
  top: 50%;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  color: #8e8e93;
  cursor: pointer;
  transform: translateY(-50%);
}

.install-app-sheet__app-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 12px 14px;
  border-radius: 16px;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.install-app-sheet__app-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}

.install-app-sheet__app-name {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  color: #1c1c1e;
}

.install-app-sheet__steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.install-app-sheet__step {
  margin: 0;
}

.install-app-sheet__step-text {
  display: inline;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  color: #3a3a3c;
}

.install-app-sheet__step-text strong {
  font-weight: 700;
  color: #1c1c1e;
}

.install-app-sheet__share-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin: 0 2px;
  transform: translateY(-1px);
}

.install-app-sheet__share-icon img {
  display: block;
  width: 20px;
  height: 20px;
}

.install-app-sheet__menu-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin: 0 2px;
  transform: translateY(-1px);
}

.install-app-sheet__menu-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.install-app-sheet__steps[hidden] {
  display: none !important;
}

.install-app-sheet__a2hs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
  margin: 0 2px;
  padding: 4px 8px 4px 10px;
  border: 1px solid #c7c7cc;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

.install-app-sheet__a2hs-text {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  color: #1c1c1e;
  white-space: nowrap;
}

.install-app-sheet__a2hs-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.install-app-sheet__a2hs-icon svg {
  display: block;
  width: 14px;
  height: 14px;
}

.install-app-sheet__step-icon {
  display: inline-block;
  vertical-align: middle;
  width: 22px;
  height: 22px;
  margin: 0 2px;
  border-radius: 5px;
  object-fit: cover;
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .install-app-sheet {
    display: none;
  }
}