:root {
  --bg: #090b10;
  --panel: #131722;
  --panel-2: #171b28;
  --text: #f4efe6;
  --muted: #b4bbc6;
  --red: #cf4646;
  --red-soft: rgba(207, 70, 70, 0.34);
}

* { box-sizing: border-box; }

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

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }

.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(160deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.1) 100%),
    url("./assets/persos-triptych.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.layout {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
  padding: 28px 24px 30px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  margin-bottom: 20px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.kicker {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d6b9a1;
}

h1 {
  margin: 8px 0 4px;
  font-family: Cinzel, serif;
  font-size: clamp(2rem, 4.8vw, 3.1rem);
  line-height: 1.05;
}

.subtitle {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}

.discord-top {
  align-self: start;
  justify-self: end;
  border: 1px solid var(--red-soft);
  background: rgba(32, 14, 16, 0.72);
  color: #ffdede;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.discord-top:hover {
  border-color: rgba(207, 70, 70, 0.78);
  box-shadow: 0 0 18px rgba(207, 70, 70, 0.25);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.item {
  display: block;
  min-height: 190px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--red-soft);
  background:
    linear-gradient(155deg, rgba(27, 14, 16, 0.44), rgba(16, 20, 30, 0.42)),
    radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.04), transparent 44%);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(1.2px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.item:hover {
  transform: translateY(-2px);
  border-color: rgba(207, 70, 70, 0.72);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24), 0 0 14px rgba(207, 70, 70, 0.12);
}

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffd6d6;
  border: 1px solid rgba(255, 176, 176, 0.36);
  border-radius: 999px;
  padding: 3px 9px;
  margin-bottom: 9px;
}

h2 {
  margin: 0 0 7px;
  font-family: Cinzel, serif;
  font-size: clamp(1.32rem, 2.2vw, 1.86rem);
  line-height: 1.1;
}

.item p {
  margin: 0;
  color: #dde2ea;
  font-size: 0.95rem;
}

.footer {
  margin-top: 18px;
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .layout { padding: 20px 14px 24px; }
  .hero { grid-template-columns: 1fr; }
  .discord-top { justify-self: start; margin-top: 2px; }
  .brand-logo { width: 62px; height: 62px; }
  .links-grid { grid-template-columns: 1fr; }
}
