:root {
  --bg: #0d0404;
  --panel: rgba(28, 10, 10, 0.88);
  --panel-soft: rgba(49, 18, 16, 0.8);
  --line: rgba(255, 119, 82, 0.16);
  --text: #f6eee8;
  --muted: #c9b1a8;
  --red: #c62810;
  --red-bright: #ff6540;
  --cream: #ffd8bf;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at top, rgba(198, 40, 16, 0.3), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(255, 128, 82, 0.12), transparent 24%),
    linear-gradient(180deg, #130606 0%, #090202 100%);
}

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

.site-shell {
  max-width: 1220px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

.hero,
.panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(35, 12, 11, 0.94), rgba(17, 6, 6, 0.96));
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  padding: 34px;
  border-radius: 34px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 115, 71, 0.09), transparent 34%),
    radial-gradient(circle at 22% 18%, rgba(255, 210, 191, 0.06), transparent 22%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--red-bright);
  font-size: 0.78rem;
}

h1,
h2 {
  margin: 0;
  font-family: "Anton", sans-serif;
  letter-spacing: 0.03em;
}

h3,
h4 {
  margin: 18px 0 8px;
}

h1 {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 8ch;
  line-height: 0.9;
  text-transform: uppercase;
}

.title-mark {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  color: var(--cream);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.title-main {
  font-size: clamp(4.2rem, 8vw, 7.6rem);
  color: #fff4ed;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.42);
}

.title-sub {
  font-size: clamp(2rem, 4vw, 3.8rem);
  color: rgba(255, 236, 226, 0.92);
  letter-spacing: 0.06em;
}

h2 {
  font-size: 2rem;
  line-height: 1;
}

.hero-text,
.panel p {
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-motto {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  transition: transform 150ms ease, opacity 150ms ease, box-shadow 150ms ease;
}

.button:hover,
.resource-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.button-primary {
  background: linear-gradient(135deg, var(--cream), var(--red-bright));
  color: #210603;
}

.button-twitch {
  background: linear-gradient(135deg, #6441a5, #8c6dff);
  color: #f8f7ff;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.stat-card,
.resource-link {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.stat-card {
  padding: 18px;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
}

.stat-card span {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cream);
}

.stat-card p {
  margin: 8px 0 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.hero-art {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #100505;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-art-caption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(10, 4, 4, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 22px;
}

.panel {
  border-radius: 26px;
  padding: 24px;
}

.link-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.discord-widget-block {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.discord-widget-block h3 {
  margin-top: 0;
}

.discord-widget {
  display: block;
  width: 100%;
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: #1e2124;
}

.resource-link {
  display: block;
  padding: 18px;
  font-weight: 700;
}

.quote-panel {
  background: linear-gradient(180deg, rgba(55, 17, 15, 0.96), rgba(19, 6, 6, 0.96));
}

.announcement-panel {
  grid-column: 1 / -1;
}

.announcement-panel h2 {
  margin-bottom: 14px;
}

.announcement-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.announcement-list li {
  margin-bottom: 8px;
}

.inline-link {
  color: var(--cream);
  font-weight: 700;
}

.inline-link:hover {
  color: var(--red-bright);
}

.server-status-card {
  margin-top: 12px;
  padding: 18px;
  border-radius: 22px;
  background: #232861;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.server-status-card h2 {
  margin-bottom: 16px;
  font-size: 1.5rem;
  color: #d9ddff;
}

.server-item {
  display: grid;
  grid-template-columns: 42px 1fr 14px;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.server-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.server-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(circle at 35% 35%, #ffddb8, #be1f0b 42%, #300807 72%);
}

.server-icon.minecraft {
  background: radial-gradient(circle at 35% 35%, #d5ffb6, #2cab43 45%, #11451b 72%);
}

.server-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.server-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.server-name.red {
  color: #ff2d21;
}

.server-name.green {
  color: #45ff29;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 4px 8px;
  border-radius: 8px;
  background: #6772ff;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
}

.server-info p {
  margin: 2px 0 0;
  color: #d9ddff;
  font-size: 0.95rem;
  word-break: break-word;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #42d66d;
  box-shadow: 0 0 0 3px rgba(66, 214, 109, 0.18);
}

@media (max-width: 960px) {
  .hero,
  .content-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }

  .announcement-panel {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .site-shell {
    padding: 18px 14px 44px;
  }

  .hero,
  .panel {
    padding: 20px;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }
}
