/*
  E-PSN / Nebula Janus branding reference.
  Shared static endpoint styling for assets.e-psn.eu.
*/

:root {
  --epsn-black: #0b0e11;
  --epsn-charcoal: #12161b;
  --epsn-slate: #1c2229;
  --epsn-border: #303842;
  --epsn-white: #ffffff;
  --epsn-soft-white: #f3f4f6;
  --epsn-muted: #a8b0ba;
  --janus-orange: #f57c00;
  --janus-orange-dark: #d96800;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Montserrat, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--epsn-white);
  background: var(--epsn-black);
}

.brand-shell {
  min-height: 100vh;
  background:
    linear-gradient(110deg, rgba(11,14,17,.97), rgba(18,22,27,.88)),
    url("/branding/nebula-janus-login-bg.webp") center/cover no-repeat;
  color: var(--epsn-white);
}

.brand-card {
  box-sizing: border-box;
  max-width: 1040px;
  margin: 0 auto;
  padding: 72px 32px;
}

.brand-logo {
  display: block;
  width: min(520px, 85%);
  height: auto;
  margin-bottom: 42px;
}

.brand-card h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.025em;
}

.brand-card > p {
  max-width: 760px;
  margin: 0;
  color: var(--epsn-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.asset-box {
  padding: 20px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.asset-box h2 {
  margin: 0 0 16px;
  font-size: 1.05rem;
  font-weight: 600;
}

.asset-box code {
  color: var(--janus-orange);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: .88rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.asset-box:hover {
  background: rgba(255,255,255,.075);
  border-color: rgba(245,124,0,.45);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .brand-shell {
    background:
      linear-gradient(rgba(11,14,17,.96), rgba(11,14,17,.93)),
      url("/branding/nebula-janus-login-bg-mobile.webp") center top/cover no-repeat;
  }

  .brand-card { padding: 48px 22px; }
  .brand-logo { width: min(420px,92%); margin-bottom: 34px; }
  .asset-grid { grid-template-columns: 1fr; }
}
