:root {
  --bg: #0a0d14;
  --panel: rgba(17, 22, 34, 0.84);
  --panel-strong: rgba(20, 27, 42, 0.98);
  --border: rgba(255, 255, 255, 0.09);
  --text: #eef2ff;
  --muted: #97a4c2;
  --gold: #d9a74f;
  --gold-strong: #ffd98a;
  --gold-soft: rgba(217, 167, 79, 0.18);
  --blue: #5f8dff;
  --discord: #5865f2;
  --success: #41d392;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --premium-shadow: 0 18px 50px rgba(217, 167, 79, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(95, 141, 255, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(255, 217, 138, 0.10), transparent 22%),
    radial-gradient(circle at bottom right, rgba(217, 167, 79, 0.18), transparent 26%),
    linear-gradient(135deg, #04060b 0%, #090d16 42%, #11192b 100%);
}

.app-shell {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
}

.sidebar {
  padding: 32px 24px;
  border-right: 1px solid var(--border);
  background: rgba(7, 10, 18, 0.65);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.brand-mark {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  color: #111;
  background: linear-gradient(135deg, #fff1c2, var(--gold-strong) 40%, var(--gold));
  box-shadow: var(--shadow), 0 0 26px rgba(255, 217, 138, 0.18);
  margin-bottom: 18px;
}

.brand-text h1,
.hero-copy h2,
.panel-header h3 {
  margin: 0;
}

.brand-text p,
.hero-copy p,
.stat-card span,
.panel-header span,
.server-card p,
.notes-list,
.log-box p,
.download-hint {
  color: var(--muted);
}

.side-links {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.side-link,
.action-btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  transition: 0.2s ease;
}

.side-link {
  text-align: left;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
}

.side-link:hover,
.side-link.active {
  background: rgba(95, 141, 255, 0.14);
  border-color: rgba(95, 141, 255, 0.32);
}

.server-card,
.panel,
.hero-card,
.hero-panel,
.stat-card {
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--premium-shadow);
}

.server-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
}

.player-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 241, 194, 0.16), rgba(217, 167, 79, 0.24), rgba(95, 141, 255, 0.14));
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff3d2;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 26px rgba(217, 167, 79, 0.16);
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 16px var(--success);
}

.status-dot.offline {
  background: #ff5c70;
  box-shadow: 0 0 16px rgba(255, 92, 112, 0.9);
}

.status-text.online {
  color: var(--success);
  font-weight: 700;
}

.status-text.offline {
  color: #ff7788;
  font-weight: 700;
}

.main-panel {
  padding: 32px;
}

.hero-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  padding: 28px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 217, 138, 0.05) 35%, transparent 72%);
  pointer-events: none;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(231, 185, 106, 0.14);
  color: var(--gold-strong);
  font-size: 13px;
  font-weight: 700;
}

.hero-copy h2 {
  font-size: 42px;
  line-height: 1.05;
  margin-bottom: 14px;
}

.hero-copy p {
  max-width: 620px;
  font-size: 16px;
  line-height: 1.6;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.action-btn {
  min-height: 58px;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 700;
}

.action-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.18);
}

.action-btn.primary {
  color: #111;
  background: linear-gradient(135deg, #fff1c2, var(--gold-strong) 35%, var(--gold));
  box-shadow: 0 10px 28px rgba(217, 167, 79, 0.26);
}

.action-btn.discord {
  background: rgba(88, 101, 242, 0.14);
  border-color: rgba(88, 101, 242, 0.34);
}

.hero-panel {
  padding: 22px;
  border-radius: 24px;
  background: var(--panel-strong);
}

.progress-header,
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.progress-bar {
  margin: 14px 0 22px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  overflow: hidden;
}

.progress-fill {
  width: 18%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  box-shadow: 0 0 20px rgba(95, 141, 255, 0.45);
  transition: width 0.3s ease;
}

.stats-grid,
.bottom-grid {
  display: grid;
  gap: 16px;
}

.stats-grid {
  grid-template-columns: repeat(2, 1fr);
}

.stat-card {
  padding: 16px;
  border-radius: 18px;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
}

.powered-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
  padding: 8px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 217, 138, 0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(217, 167, 79, 0.06));
  color: #f3d89a !important;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 18px rgba(217, 167, 79, 0.10);
}

.bottom-grid {
  margin-top: 24px;
  grid-template-columns: 1fr 1fr;
}

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

.download-panel {
  margin-top: 20px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 217, 138, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(217, 167, 79, 0.05));
}

.download-panel.hidden {
  display: none;
}

.panel-header.compact {
  margin-bottom: 14px;
}

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

.download-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 16px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(95, 141, 255, 0.10);
}

.download-link.accent {
  color: #111;
  background: linear-gradient(135deg, #fff1c2, var(--gold-strong) 35%, var(--gold));
  box-shadow: 0 10px 24px rgba(217, 167, 79, 0.22);
}

.download-link:hover {
  transform: translateY(-1px);
}

.download-hint {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.5;
}

.notes-list {
  margin: 18px 0 0;
  padding-left: 18px;
  line-height: 1.8;
}

.log-box {
  margin-top: 18px;
  padding: 16px;
  min-height: 170px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: auto;
}

@media (max-width: 1080px) {
  .app-shell,
  .hero-card,
  .bottom-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 640px) {
  .main-panel,
  .sidebar {
    padding: 20px;
  }

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

  .hero-copy h2 {
    font-size: 32px;
  }

  .action-grid,
  .stats-grid,
  .download-links {
    grid-template-columns: 1fr;
  }
}


body {
  background:
    radial-gradient(circle at top left, rgba(140, 20, 36, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(217, 167, 79, 0.10), transparent 22%),
    radial-gradient(circle at bottom center, rgba(80, 10, 20, 0.20), transparent 28%),
    linear-gradient(135deg, #040405 0%, #0a090c 40%, #120d12 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent 25%),
    radial-gradient(circle at 50% 0%, rgba(255, 215, 138, 0.06), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(140, 20, 36, 0.10), transparent 30%);
}

.brand-mark {
  background: linear-gradient(135deg, #fff0be, #f0c76d 45%, #b9812f 100%);
  box-shadow: 0 16px 40px rgba(217, 167, 79, 0.22), 0 0 34px rgba(217, 167, 79, 0.14);
}

.sidebar {
  background: rgba(10, 8, 12, 0.76);
  border-right: 1px solid rgba(217, 167, 79, 0.14);
}

.server-card,
.panel,
.hero-card,
.hero-panel,
.stat-card {
  background: linear-gradient(180deg, rgba(20, 14, 19, 0.88), rgba(14, 10, 15, 0.94));
  border: 1px solid rgba(217, 167, 79, 0.12);
  box-shadow: 0 20px 55px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.03);
}

.hero-card::before {
  background: linear-gradient(120deg, transparent 0%, rgba(217, 167, 79, 0.08) 35%, rgba(140, 20, 36, 0.07) 62%, transparent 82%);
}

.eyebrow,
.powered-inline {
  background: rgba(217, 167, 79, 0.10);
  color: #f5d38d !important;
  border: 1px solid rgba(217, 167, 79, 0.16);
}

.hero-copy h2,
.brand-text h1,
.panel-header h3,
.server-card strong,
.stat-card strong {
  color: #fff3d7;
  text-shadow: 0 1px 18px rgba(217, 167, 79, 0.08);
}

.side-link,
.action-btn {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.side-link:hover,
.side-link.active {
  background: rgba(140, 20, 36, 0.18);
  border-color: rgba(217, 167, 79, 0.28);
  box-shadow: 0 10px 24px rgba(140, 20, 36, 0.16);
}

.action-btn:hover,
.download-link:hover,
.stat-card:hover,
.panel:hover,
.server-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28), 0 0 24px rgba(217, 167, 79, 0.10);
}

.action-btn.primary,
.download-link.accent {
  background: linear-gradient(135deg, #fff0be, #f2ca72 38%, #bb8935 100%);
  box-shadow: 0 14px 30px rgba(217, 167, 79, 0.24);
}

.action-btn.discord {
  background: rgba(92, 36, 48, 0.22);
  border-color: rgba(217, 167, 79, 0.24);
}

.progress-fill {
  background: linear-gradient(90deg, #7d1d2e, #d9a74f, #f5d38d);
  box-shadow: 0 0 22px rgba(217, 167, 79, 0.34);
}

.status-dot {
  box-shadow: 0 0 18px rgba(88, 219, 155, 0.85);
}

.player-badge {
  background: linear-gradient(135deg, rgba(255, 240, 190, 0.10), rgba(217, 167, 79, 0.18), rgba(125, 29, 46, 0.16));
  color: #ffe8b4;
}

.notes-list li,
.log-box p,
.server-card p,
.hero-copy p,
.download-hint,
.panel-header span,
.brand-text p,
.stat-card span {
  color: #c8b9a2;
}

.log-box {
  background: rgba(6, 6, 8, 0.34);
  border: 1px solid rgba(217, 167, 79, 0.08);
}

.app-shell,
.hero-card,
.bottom-grid,
.action-grid,
.stats-grid,
.download-links,
.side-links {
  animation: fadeRise 0.7s ease both;
}

@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.developer-blog-panel {
  display: grid;
  gap: 18px;
}

.blog-header {
  align-items: flex-start;
}

.featured-blog-card,
.blog-mini-card {
  border: 1px solid rgba(217, 167, 79, 0.12);
  background: linear-gradient(180deg, rgba(28, 17, 22, 0.88), rgba(15, 10, 14, 0.94));
  border-radius: 22px;
}

.featured-blog-card {
  padding: 22px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.featured-blog-card h4,
.blog-mini-card strong {
  margin: 0;
  color: #fff0d0;
}

.featured-blog-card p,
.blog-mini-card p,
.blog-header span {
  color: #c8b9a2;
}

.blog-label,
.blog-tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(217, 167, 79, 0.10);
  border: 1px solid rgba(217, 167, 79, 0.14);
  color: #f5d38d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.blog-mini-card {
  padding: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-mini-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.24), 0 0 20px rgba(217, 167, 79, 0.08);
  border-color: rgba(217, 167, 79, 0.22);
}

@media (max-width: 900px) {
  .blog-card-grid {
    grid-template-columns: 1fr;
  }
}


.action-btn {
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.action-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: translateX(-130%);
  transition: transform 0.45s ease;
}

.action-btn:hover::before {
  transform: translateX(130%);
}

.action-btn.primary {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.action-btn.primary::after {
  content: 'Start Playing';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #1a1208;
  font-weight: 800;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.action-btn.primary:hover {
  box-shadow: 0 18px 38px rgba(217, 167, 79, 0.28), 0 0 24px rgba(217, 167, 79, 0.18);
}

.action-btn.primary:hover::after {
  opacity: 1;
}

.action-btn.primary:hover {
  color: transparent;
}

.action-btn:not(.primary) {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
}

.action-btn.discord {
  color: #f4d59a;
}
