﻿:root {
  --bg: #0b0b0d;
  --bg-soft: #121216;
  --panel: #17171c;
  --line: #2b2b34;
  --text: #f5f5f5;
  --muted: #b3b3bc;
  --red: #d61717;
  --red-dark: #8f1010;
  --accent: #f9b1b1;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 520px at 15% -10%, rgba(214, 23, 23, 0.18), transparent 60%),
    radial-gradient(800px 450px at 100% 0%, rgba(214, 23, 23, 0.12), transparent 60%),
    var(--bg);
}

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

.wrap {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(11, 11, 13, 0.9);
  border-bottom: 1px solid var(--line);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff3c3c, var(--red-dark));
  box-shadow: 0 0 12px rgba(214, 23, 23, 0.8);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.88rem;
  border: 1px solid transparent;
  padding: 0.36rem 0.6rem;
  border-radius: 8px;
  transition: 160ms ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  border-color: #352429;
  background: #1d1d23;
}

.hero {
  padding: 3.4rem 0 2.1rem;
  display: grid;
  gap: 1.25rem;
}

.hero-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
  align-items: center;
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
.display {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1 {
  line-height: 0.9;
  font-size: clamp(2.5rem, 7vw, 5.2rem);
}

.subtitle {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: clamp(0.98rem, 2vw, 1.18rem);
  max-width: 70ch;
}

.page-title {
  padding: 2.4rem 0 1.4rem;
}

.page-title h1 {
  font-size: clamp(2rem, 6vw, 4rem);
}

.page-title p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  max-width: 72ch;
}

.logo-box {
  min-height: 300px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #1a1a20, #101015);
  border: 1px solid var(--line);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.logo-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(214, 23, 23, 0.2), transparent 63%);
  pointer-events: none;
}

.logo-box img {
  z-index: 2;
  width: min(330px, 80%);
  height: auto;
  object-fit: contain;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.pill {
  font-size: 0.8rem;
  color: var(--accent);
  background: rgba(214, 23, 23, 0.13);
  border: 1px solid #4a2228;
  border-radius: 999px;
  padding: 0.34rem 0.7rem;
}

.section {
  margin: 1.2rem 0;
  background: linear-gradient(180deg, var(--panel), #121218);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem;
}

.section h2 {
  font-size: 1.12rem;
  margin-bottom: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 0.9rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.card {
  background: #1a1a20;
  border: 1px solid #2d2d36;
  border-radius: 12px;
  padding: 0.9rem;
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.card p,
.card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.93rem;
}

.card ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
}

.rank-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.rank-table th,
.rank-table td {
  text-align: left;
  padding: 0.6rem 0.45rem;
  border-bottom: 1px solid #30303a;
}

.rank-table th {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rank-table td {
  color: #ceced5;
}

.member-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.75rem;
}

.member {
  background: #1a1a20;
  border: 1px solid #2e2e37;
  border-radius: 10px;
  padding: 0.75rem;
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
}

.member b {
  font-size: 0.95rem;
}

.member span {
  color: #aaaab4;
  font-size: 0.83rem;
  white-space: nowrap;
}

.callout {
  border-left: 3px solid var(--red);
  padding: 0.7rem 0.9rem;
  border-radius: 0 10px 10px 0;
  background: rgba(214, 23, 23, 0.12);
  color: #f0dada;
  font-size: 0.9rem;
}

.site-footer {
  padding: 1.1rem 0 2.2rem;
  color: #92929c;
  font-size: 0.84rem;
}

.site-footer .wrap {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 0.95fr 1.2fr;
  }

  .section {
    padding: 1.3rem;
  }
}
