:root {
  --bg: #0f1226;
  --bg-accent: #101534;
  --card: rgba(255, 255, 255, 0.06);
  --card-hover: rgba(255, 255, 255, 0.12);
  --text: #e8eaf6;
  --muted: #b6b9d6;
  --brand: #7aa2ff;
  --brand-2: #a07aff;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html, body {
  padding: 0;
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(122,162,255,0.15), transparent 60%),
    radial-gradient(900px 500px at 90% 20%, rgba(160,122,255,0.15), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #0b0e20 100%);
  min-height: 100%;
}

.page {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}

.header {
  padding: 28px 20px 16px;
}

.brand {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.brand-logo {
  height: 88px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
}

.brand-text h1 {
  font-size: 24px;
  letter-spacing: 0.2px;
  margin: 0 0 4px 0;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.partner-logos {
  max-width: 980px;
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 60px; /* slight indent under the title area */
  flex-wrap: wrap;
}

.partner-logos img {
  height: 30px;
  width: auto;
  opacity: 0.95;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
  transition: transform 160ms ease, opacity 160ms ease;
}

.partner-logos img:hover {
  transform: translateY(-1px);
  opacity: 1;
}

.content {
  padding: 10px 20px 32px;
}

.link-columns {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.column h2 {
  margin: 0 0 6px 0;
  font-size: 21px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 8px;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.link-card:hover {
  background: var(--card-hover);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}

.link-card .link-text {
  display: flex;
  flex-direction: column;
}

.link-card .title {
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 0.1px;
}

.link-card .meta {
  color: var(--muted);
  font-size: 20px;
  margin-top: 4px;
}

.link-card .icon {
  opacity: 0.9;
  font-size: 27px;
  transform: translateX(0);
  transition: transform 160ms ease, opacity 160ms ease;
}

.link-card:hover .icon {
  transform: translateX(2px);
  opacity: 1;
}

.link-card.download .icon {
  transform: translateY(0);
}

.link-card.download:hover .icon {
  transform: translateY(2px);
}

.footer {
  padding: 20px;
  color: var(--muted);
  text-align: center;
  font-size: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(0deg, rgba(0,0,0,0.2), transparent);
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .link-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .brand-logo { height: 80px; }
  .link-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand { gap: 12px; }
  .brand-logo { height: 72px; }
  .brand-text h1 { font-size: 30px; }
  .subtitle { font-size: 20px; }
  .link-card { padding: 21px 24px; }
  .link-card .title { font-size: 22px; }
}
