/* Gladiatorz V0.229 – Android app download and room for its additional navigation link.
   Existing login/mobile/countdown styles and image files remain unchanged.
   The device frames are CSS; the existing artwork keeps its aspect ratio. */

.landing-app {
  padding-top: clamp(54px, 6vw, 92px);
  padding-bottom: clamp(64px, 7vw, 108px);
  border-top: 1px solid rgba(212,175,55,.16);
  background:
    radial-gradient(ellipse at 78% 48%, rgba(135,72,24,.14), transparent 65%),
    linear-gradient(180deg, rgba(17,11,6,.85), rgba(8,6,4,.96));
}
.landing-app .landing-app-heading {
  margin-bottom: clamp(26px, 3vw, 42px);
}
.landing-app-heading h2 {
  margin: 0;
  color: #f1dfb2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.1vw, 58px);
  line-height: 1.05;
  text-shadow: 0 2px 18px rgba(0,0,0,.48);
}
.landing-app-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(26px, 4vw, 62px);
  padding: clamp(24px, 3.6vw, 54px);
  border: 1px solid rgba(217,177,77,.38);
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 85% 40%, rgba(178,99,34,.14), transparent 65%),
    linear-gradient(135deg, #21170e, #0e0b07 64%, #191009);
  box-shadow: 0 24px 60px rgba(0,0,0,.36), inset 0 1px rgba(255,224,162,.07);
}
.landing-app-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 9%;
  right: 9%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e1c072, transparent);
  pointer-events: none;
}
.landing-app-copy,
.landing-app-showcase {
  min-width: 0;
}
.landing-app-platform {
  display: inline-block;
  margin-bottom: 14px;
  color: #dfbd70;
  font: 800 11px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 1.8px;
}
.landing-app-copy h3 {
  max-width: 12em;
  margin: 0 0 19px;
  color: #f5e4bc;
  font: 700 clamp(29px, 3.15vw, 47px)/1.12 Georgia, "Times New Roman", serif;
  text-wrap: balance;
  text-shadow: 0 3px 14px rgba(0,0,0,.3);
}
.landing-app-description {
  max-width: 36em;
  margin: 0;
  color: #d4c4a4;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.7;
}
.landing-app-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 23px 0 26px;
  padding: 0;
  list-style: none;
}
.landing-app-features li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #e0c78b;
  font-size: 13px;
  line-height: 1.4;
}
.landing-app-features svg,
.landing-app-download svg {
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.landing-app-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  min-height: 56px;
  max-width: 100%;
  padding: 14px 22px;
  border: 1px solid #f0d28e;
  border-radius: 8px;
  background: linear-gradient(180deg, #f0d390, #d7ad57);
  box-shadow: inset 0 1px rgba(255,255,255,.38), 0 5px 20px rgba(0,0,0,.28);
  color: #241709;
  font: 800 clamp(14px, 1.14vw, 16px)/1.4 system-ui, -apple-system, "Segoe UI", sans-serif;
  text-align: center;
  text-decoration: none;
  touch-action: manipulation;
  transition: background .16s ease, box-shadow .16s ease;
}
.landing-app-download span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.landing-app-download:hover {
  background: linear-gradient(180deg, #ffe6ad, #e1ba6e);
  box-shadow: inset 0 1px rgba(255,255,255,.44), 0 5px 24px rgba(182,130,39,.18);
}
.landing-app-download:focus-visible {
  outline: 2px solid #ffe4a1;
  outline-offset: 5px;
}
.landing-app-download:active {
  background: #d6ad5c;
}
.landing-app-file {
  margin: 13px 0 0;
  color: #c9b68d;
  font-size: 12px;
  line-height: 1.5;
}
.landing-app-note {
  margin: 7px 0 0;
  color: #af9d7d;
  font-size: 12px;
  line-height: 1.5;
}

/* Decorative landscape tablet + phone; natural image proportions, no crop. */
.landing-app-showcase {
  padding: 12px 0 0;
}
.landing-app-devices {
  position: relative;
  width: 100%;
  max-width: 610px;
  aspect-ratio: 1.48;
  margin: 0 auto;
}
.landing-app-devices::before {
  content: "";
  position: absolute;
  inset: 7% -2% 10%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(219,154,49,.13), transparent 67%);
  pointer-events: none;
}
.landing-app-device {
  position: absolute;
  box-sizing: border-box;
  border: 1px solid #827054;
  background: linear-gradient(145deg, #4a4133, #12110f 24%, #29241b 75%, #5a4d36);
  box-shadow: inset 0 0 0 2px #0c0c0b, 0 18px 34px rgba(0,0,0,.6);
}
.landing-app-device::before {
  content: "";
  position: absolute;
  left: 1.4%;
  top: calc(50% - 2px);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #090909;
  box-shadow: 0 0 0 1px rgba(139,130,108,.25);
}
.landing-app-device-tablet {
  top: 8%;
  left: 2%;
  width: 87%;
  padding: 10px 17px;
  border-radius: 19px;
  transform: rotate(-4deg);
}
.landing-app-device-phone {
  right: 0;
  bottom: 5%;
  width: 65%;
  padding: 6px 13px;
  border-radius: 16px;
  transform: rotate(5deg);
}
.landing-app-screen {
  overflow: hidden;
  border: 1px solid #0b0a08;
  border-radius: 7px;
  background: #050403;
}
.landing-app-screen img {
  display: block;
  width: 100%;
  height: auto;
}
.landing-app-showcase-caption {
  margin: 17px 0 0;
  color: #bfa572;
  font: 700 10px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 1.6px;
  text-align: center;
}

@media (max-width: 1100px) {
  .landing-app-card {
    gap: 24px;
    padding: 28px;
  }
  .landing-app-copy h3 { font-size: 32px; }
  .landing-app-download {
    padding: 13px 16px;
    gap: 9px;
    font-size: 14px;
  }
}
@media (max-width: 760px) {
  .landing-app-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: clamp(20px, 4vw, 28px);
  }
  .landing-app-copy h3 { max-width: none; }
  .landing-app-description { max-width: 40em; }
  .landing-app-features { margin: 18px 0 22px; }
  .landing-app-showcase { padding: 0; }
  .landing-app-devices { width: min(100%, 490px); }
  .landing-app-showcase-caption { margin-top: 8px; }
}
@media (max-width: 420px) {
  .landing-app-download { width: 100%; }
  .landing-app-copy h3 { font-size: 29px; }
  .landing-app-platform { font-size: 10px; letter-spacing: 1.3px; }
  .landing-app-device-tablet { padding: 7px 11px; border-radius: 14px; }
  .landing-app-device-phone { padding: 4px 9px; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-app-download { transition: none; }
}

/* Room for the ninth link in narrow desktop headers. Touch menus retain
   V0.228a; header height and login geometry remain unchanged. */
@media (min-width: 821px) and (max-width: 1000px) and (pointer: fine) {
  body.portal-page .portal-topnav-inner { gap: 18px; }
  body.portal-page .portal-nav-links { gap: 3px; }
  body.portal-page .portal-nav-link { padding-inline: 7px; font-size: 12px; }
}
