/* Shared styling for /{lang}/info/* landing pages */
body {
  background: #222;
  color: #fff;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  text-align: center;
  padding: 20px;
  margin: 0;
}

body.embed {
  background: #ffffff;
  color: #121826;
  text-align: left;
  padding: 12px;
}

body.embed .logo { display: none; }

body.embed .container {
  max-width: none;
  margin: 0;
  background: transparent;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
}

body.embed h1,
body.embed .section h2,
body.embed .related-links h2,
body.embed .app-gallery h2 {
  color: #2f6fed;
}

body.embed h1 {
  font-size: clamp(1.45rem, 4.6vw, 2rem);
  line-height: 1.15;
}

body.embed .section,
body.embed .cta,
body.embed .related-links,
body.embed .app-gallery,
body.embed .hero-panel,
body.embed .feature-card {
  background: #ffffff;
  border: 1px solid #d9e1f0;
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

body.embed .cta {
  border-left: 0;
}

body.embed .features li,
body.embed .section p,
body.embed .cta,
body.embed .related-links li,
body.embed .hero-panel p,
body.embed .feature-card p {
  color: #121826;
}

body.embed a {
  color: #121826;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

body.embed a:hover,
body.embed a:focus-visible {
  color: #2f6fed;
}

body.embed .button {
  display: none !important;
}

body.embed .related-links a:visited {
  color: #5a677f;
}

body.embed .app-gallery-card figcaption,
body.embed .feature-card h3,
body.embed .hero-panel h2 {
  color: #2f6fed;
}

.logo img {
  max-height: 70px;
  width: auto;
  margin-bottom: 15px;
}

.container {
  max-width: 850px;
  margin: auto;
  background: #111;
  padding: 30px;
  border-radius: 6px;
  border: 1px solid #444;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  text-align: left;
}

h1 {
  color: #f39c12;
  text-align: center;
  margin-top: 0;
}

.section {
  margin-top: 30px;
}

.section h2 {
  color: #f39c12;
}

.features {
  margin-top: 25px;
  padding-left: 20px;
}

.features li {
  margin-bottom: 10px;
}

.cta {
  margin-top: 30px;
  padding: 20px;
  background: #1a1a1a;
  border-left: 4px solid #f39c12;
  font-weight: bold;
}

.store-cta {
  margin-top: 16px;
  text-align: center;
}

.store-badge {
  display: inline-block;
  text-decoration: none;
}

.store-badge:hover {
  opacity: 0.92;
}

.store-badge img {
  height: 72px;
  width: auto;
  display: block;
}

.app-gallery {
  margin-top: 20px;
  padding: 14px;
  background: linear-gradient(180deg, #151515 0%, #101010 100%);
  border: 1px solid #2d2d2d;
  border-radius: 12px;
}

.app-gallery h2 {
  color: #f39c12;
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.app-gallery-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #444 #111;
}

.app-gallery-card {
  flex: 0 0 220px;
  width: 220px;
  margin: 0;
  background: #0c0c0c;
  border: 1px solid #2f2f2f;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.app-gallery-card:hover {
  transform: translateY(-2px);
  border-color: #4a4a4a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.app-gallery-card img {
  width: 100%;
  height: 390px;
  display: block;
  background: #060606;
  object-fit: contain;
  object-position: center;
  cursor: zoom-in;
}

.app-gallery-card figcaption {
  margin: 0;
  padding: 12px 12px 13px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: #f1f1f1;
  border-top: 1px solid #232323;
  background: linear-gradient(180deg, #151515 0%, #101010 100%);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.app-gallery-card img:focus-visible {
  outline: 2px solid #f39c12;
  outline-offset: -2px;
}

.app-shot-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.app-shot-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.84);
}

.app-shot-dialog {
  position: relative;
  z-index: 1;
  width: min(94vw, 980px);
  height: min(88vh, 920px);
  margin: 5vh auto;
  border-radius: 12px;
  background: #0f0f0f;
  border: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.app-shot-dialog img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.app-shot-close,
.app-shot-nav {
  position: absolute;
  border: 0;
  color: #fff;
  background: rgba(20, 20, 20, 0.8);
  cursor: pointer;
}

.app-shot-close {
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}

.app-shot-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 56px;
  border-radius: 9px;
  font-size: 34px;
  line-height: 1;
}

.app-shot-prev {
  left: 10px;
}

.app-shot-next {
  right: 10px;
}

.app-shot-close:hover,
.app-shot-nav:hover {
  background: rgba(243, 156, 18, 0.88);
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  h1 {
    font-size: 1.8rem;
    line-height: 1.15;
  }
  body.embed h1 {
    font-size: 1.4rem;
  }
  body.embed .section,
  body.embed .cta,
  body.embed .related-links,
  body.embed .app-gallery,
  body.embed .hero-panel,
  body.embed .feature-card {
    padding-left: 12px;
    padding-right: 12px;
  }
  .section h2,
  .related-links h2,
  .app-gallery h2 {
    font-size: 0.98rem;
    line-height: 1.2;
  }
  .app-gallery-card {
    flex-basis: 180px;
    width: 180px;
  }
  .app-gallery-card img {
    height: 320px;
  }
  .app-shot-dialog {
    width: 96vw;
    height: 86vh;
    margin: 6vh auto;
  }
  .app-shot-nav {
    width: 40px;
    height: 50px;
    font-size: 30px;
  }
}

.button {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 25px;
  background: #f39c12;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.button:hover {
  background: #003b8f;
}

.related-links {
  margin-top: 26px;
  padding: 16px 18px;
  background: #171717;
  border: 1px solid #333;
  border-radius: 6px;
}

.related-links h2 {
  margin: 0 0 10px;
  color: #f39c12;
  font-size: 1.05rem;
}

.related-links ul {
  margin: 0;
  padding-left: 18px;
}

.related-links li {
  margin-bottom: 7px;
}

.related-links a {
  color: #9fd0ff;
  text-decoration: none;
}

.related-links a:hover {
  text-decoration: underline;
}
