/* Fortunica App — modern showcase */
.app-showcase {
  position: relative;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto 80px;
  padding: 0 24px;
  overflow: hidden;
}

@media (max-width: 1200px) {
  .app-showcase {
    padding: 0 16px;
  }
}

@media (max-width: 767px) {
  .app-showcase {
    margin-bottom: 56px;
  }
}

.app-showcase__glow {
  position: absolute;
  top: 50%;
  right: 5%;
  width: min(520px, 55vw);
  height: min(520px, 55vw);
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(17, 236, 149, 0.18) 0%, rgba(229, 184, 78, 0.08) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.app-showcase__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 42%);
  align-items: center;
  gap: 40px 48px;
  padding: 40px 44px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #2a3158 0%, #222850 45%, #1a2040 100%);
  border: 1px solid #4a5588;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.app-showcase__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-width: 0;
}

.app-showcase__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #05060f;
  background: linear-gradient(135deg, #11ec95, #2ef5a8);
  border-radius: var(--r-pill);
}

.app-showcase__title {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-align: left;
  cursor: default;
}

.app-showcase__lead {
  margin: 0 0 24px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.55;
  color: #c8d0ea;
}

.app-showcase__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin-bottom: 20px;
}

.app-showcase__stat {
  flex: 1 1 calc(33.333% - 10px);
  min-width: 100px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.app-showcase__stat--brand {
  background: linear-gradient(145deg, rgba(229, 184, 78, 0.2), rgba(17, 236, 149, 0.12));
  border-color: rgba(229, 184, 78, 0.35);
}

.app-showcase__stat-value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  color: #f5d070;
  text-align: center;
}

.app-showcase__stat--brand .app-showcase__stat-value {
  color: #ffffff;
}

.app-showcase__stat-value img {
  display: block;
}

.app-showcase__stat-label {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  color: #9aa6c8;
  text-align: center;
}

.app-showcase__features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.app-showcase__features li {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #dce2f4;
  background: rgba(17, 236, 149, 0.12);
  border: 1px solid rgba(17, 236, 149, 0.28);
  border-radius: var(--r-pill);
}

.app-showcase__features li::before {
  content: "✓ ";
  color: #11ec95;
}

.app-showcase .download-section-buttons,
.app-showcase__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
}

.app-showcase__store-btn {
  flex: 0 1 auto;
  min-width: 160px;
  max-width: 200px;
  height: 54px;
  padding: 0 16px;
  border-radius: 14px !important;
  background: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.app-showcase__store-btn.ios,
.app-showcase__store-btn.is-black,
.download-section-button.ios.app-showcase__store-btn {
  background: #ffffff !important;
}

.app-showcase__store-btn img {
  width: auto;
  max-width: 100%;
  height: 28px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

@media (min-width: 1025px) {
  .app-showcase__store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(17, 236, 149, 0.25);
  }
}

.app-showcase__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.app-showcase__device {
  position: relative;
  width: 100%;
  max-width: 340px;
  padding: 12px 12px 16px;
  border-radius: 36px;
  background: linear-gradient(160deg, #3d4678 0%, #252d52 50%, #1a2040 100%);
  border: 2px solid #5a6594;
  box-shadow:
    0 32px 48px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.app-showcase__device-notch {
  width: 36%;
  height: 22px;
  margin: 0 auto 10px;
  border-radius: 0 0 14px 14px;
  background: #1a2040;
}

.app-showcase__device-screen {
  border-radius: 24px;
  overflow: hidden;
  line-height: 0;
  background: #0b0d1f;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.app-showcase__device-screen img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 991px) {
  .app-showcase__inner {
    grid-template-columns: 1fr;
    padding: 28px 24px 32px;
    gap: 28px;
  }

  .app-showcase__glow {
    top: 20%;
    right: 50%;
    transform: translate(50%, -50%);
  }

  .app-showcase__content {
    align-items: center;
    text-align: center;
  }

  .app-showcase__title {
    text-align: center;
  }

  .app-showcase__lead {
    text-align: center;
  }

  .app-showcase__stats {
    justify-content: center;
  }

  .app-showcase__features {
    justify-content: center;
  }

  .app-showcase .download-section-buttons,
  .app-showcase__buttons {
    justify-content: center;
  }

  .app-showcase__visual {
    order: -1;
  }

  .app-showcase__device {
    max-width: 300px;
  }
}

@media (max-width: 520px) {
  .app-showcase__stat {
    flex: 1 1 calc(50% - 10px);
  }

  .app-showcase__store-btn {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Hide legacy download-section layout rules inside showcase */
.app-showcase .download-section-title,
.app-showcase .download-section-body,
.app-showcase .download-section-media,
.app-showcase .download-section-cards {
  display: none;
}
