/* Buttons */
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border-radius: 10px;
  border: 1px solid #2a4656;
  background: rgba(10, 26, 37, .84);
  font-weight: 800;
}
.button-primary {
  background: linear-gradient(135deg, #ff8b17, #ff6200);
  border-color: transparent;
  box-shadow: 0 14px 35px rgba(255, 118, 0, .2);
}

/* Capability strip */
.cap-strip {
  border-block: 1px solid rgba(255, 255, 255, .07);
  background: #07131c;
}
.cap-grid {
  min-height: 74px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  text-align: center;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .15em;
  color: #aab9c2;
}

/* Framed images */
.image-frame,
.feature-banner,
.support-hero {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 25px 80px rgba(0, 0, 0, .3);
}
.image-frame img,
.feature-banner img,
.support-hero img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.feature-banner { margin-bottom: 28px; }
.support-hero { margin-bottom: 24px; }

/* Tool grid */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.tool-grid article {
  min-height: 190px;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #0d202d, #091722);
}
.tool-grid article span {
  font-family: ui-monospace, monospace;
  color: var(--orange);
  font-weight: 900;
}

.tool-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
}
.tool-grid h3 {
  margin: 28px 0 10px;
  font-size: 1.24rem;
}
.tool-grid p { color: var(--muted); }

/* Platform list */
.platform-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.platform-list span {
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: #b8c5cd;
}
.platform-list .current {
  border-color: rgba(255, 118, 0, .7);
  background: rgba(255, 118, 0, .08);
  color: white;
}
.platform-list small {
  color: var(--orange);
  margin-left: 8px;
}

/* Community card */
.community-card {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #091722;
}
.community-gallery {
  position: relative;
  min-height: 520px;
}
.community-gallery img {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .35);
}
.community-wide {
  width: 88%;
  margin-left: auto;
}
.community-tall {
  position: absolute;
  width: 38%;
  left: 0;
  bottom: 0;
}

/* Support grid */
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.support-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .26);
}

/* Download card */
.download-card {
  margin-block: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(25px, 3vw, 40px);
  border: 1px solid #1d4052;
  border-radius: 24px;
  background: linear-gradient(135deg, #0d2231, #091722);
}
.download-card p { color: var(--muted); }

.download-mascot {
  width: 260px;
  height: 320px;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 20px 55px rgba(0, 0, 0, .26);
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #03090e;
  padding-block: 48px;
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #8fa0aa;
}
.footer-mark {
  font-size: 1.8rem;
  color: white;
}
.footer-slogan { margin: .35rem 0 0; }
.footer-links {
  display: flex;
  gap: 24px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Active nav link */
.main-nav a.active {
  color: var(--orange);
}
