:root {
  --rt-bg: #0b0d10;
  --rt-bg2: #11151b;
  --rt-card: rgba(17, 21, 27, 0.85);
  --rt-text: #e9eef5;
  --rt-muted: rgba(233, 238, 245, 0.7);
  --rt-accent: #c43235;
}

body {
  background: var(--rt-bg);
  color: var(--rt-text);
}

.rt-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.rt-hero__bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.55);
}

.rt-hero__bg--img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: contrast(1.05) brightness(0.55);
}

.rt-hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 600px at 30% 20%, rgba(196, 50, 53, 0.22), transparent 60%),
              linear-gradient(to bottom, rgba(11, 13, 16, 0.35), rgba(11, 13, 16, 0.95));
}

.rt-hero__content {
  position: relative;
  padding: 6rem 1rem 4rem;
}

.rt-badge {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(233, 238, 245, 0.25);
  border-radius: 999px;
  background: rgba(11, 13, 16, 0.45);
  color: var(--rt-muted);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.rt-title {
  margin: 0.85rem 0 0.5rem;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.rt-subtitle {
  max-width: 46rem;
  color: var(--rt-muted);
  font-size: 1.15rem;
}

.rt-bullets {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.6rem;
  max-width: 52rem;
}

.rt-bullets > div {
  padding: 0.6rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(11, 13, 16, 0.55);
  border: 1px solid rgba(233, 238, 245, 0.12);
  color: rgba(233, 238, 245, 0.9);
}

.rt-cta {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rt-cta--tight {
  margin-top: 1rem;
}

.rt-scrollhint {
  margin-top: 2.25rem;
  color: rgba(233, 238, 245, 0.55);
  font-size: 0.95rem;
}

.rt-section {
  padding: 4rem 0;
}

.rt-section--alt {
  background: var(--rt-bg2);
}

.rt-h2 {
  margin-bottom: 1.25rem;
  font-size: 2rem;
}

.rt-card {
  border-radius: 1.25rem;
  background: var(--rt-card);
  border: 1px solid rgba(233, 238, 245, 0.12);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  overflow: hidden;
}

.rt-card__title {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(233, 238, 245, 0.1);
  background: rgba(11, 13, 16, 0.35);
  font-weight: 600;
}

.rt-card__body {
  padding: 1.25rem;
}

.rt-kv {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.75rem;
  padding: 0.45rem 0;
}

.rt-kv__k {
  color: var(--rt-muted);
}

.rt-kv__v code {
  background: rgba(0,0,0,0.25);
  padding: 0.2rem 0.4rem;
  border-radius: 0.4rem;
  color: rgba(233, 238, 245, 0.95);
}

.rt-note {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: rgba(11, 13, 16, 0.4);
  border: 1px solid rgba(233, 238, 245, 0.1);
  color: rgba(233, 238, 245, 0.75);
}

.rt-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.rt-status__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.rt-status__name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rt-status__right {
  text-align: right;
}

.rt-status__players {
  font-weight: 700;
  font-size: 1.1rem;
}

.rt-status__label {
  color: var(--rt-muted);
  font-size: 0.9rem;
}

.rt-status__pill {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid rgba(233, 238, 245, 0.18);
  background: rgba(11, 13, 16, 0.35);
}

.rt-status__pill--Online {
  border-color: rgba(40, 167, 69, 0.55);
}

.rt-status__pill--Offline {
  border-color: rgba(220, 53, 69, 0.55);
}

.rt-tile {
  height: 100%;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: rgba(11, 13, 16, 0.35);
  border: 1px solid rgba(233, 238, 245, 0.12);
}

.rt-tile__icon {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.rt-tile__title {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.rt-tile__text {
  color: rgba(233, 238, 245, 0.75);
}

.rt-list {
  margin: 0;
  padding-left: 1.1rem;
}

.rt-list li {
  margin: 0.35rem 0;
  color: rgba(233, 238, 245, 0.85);
}

.rt-toast {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  padding: 0.6rem 0.9rem;
  border-radius: 0.8rem;
  background: rgba(11, 13, 16, 0.9);
  border: 1px solid rgba(233, 238, 245, 0.15);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 120ms ease, transform 120ms ease;
  pointer-events: none;
}

.rt-toast--show {
  opacity: 1;
  transform: translateY(0);
}

.rt-footer {
  padding: 2rem 0;
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(233, 238, 245, 0.1);
}

.rt-footer__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.rt-footer a {
  color: rgba(233, 238, 245, 0.85);
}

.rt-footer__fine {
  margin-top: 1rem;
  color: rgba(233, 238, 245, 0.55);
  font-size: 0.9rem;
}

/* Make the old discord module blend into the new styling */
section.discord {
  padding: 4rem 0;
}

section.discord h1 {
  font-size: 2rem;
}