:root {
  --bg: #02070f;
  --bg-alt: #050f1c;
  --bg-card: rgba(8, 18, 33, 0.85);
  --text: #f7faff;
  --muted: rgba(247, 250, 255, 0.75);
  --accent: #00c8ff;
  --accent-strong: #0086ff;
  --surface: rgba(9, 19, 33, 0.85);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
}

.topbar {
  background: rgba(5, 15, 28, 0.92);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 136, 255, 0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.brand span {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.015em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  opacity: 0.95;
}

.nav-links a.active {
  color: var(--text);
}

.discord-btn {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #030712;
  border: none;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 12px 30px rgba(0, 134, 255, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.discord-btn:hover,
.discord-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 134, 255, 0.35);
}

.hero {
  display: none;
}

body.page-home .hero {
  display: block;
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(0, 136, 255, 0.35), transparent 55%),
    radial-gradient(circle at bottom left, rgba(0, 200, 255, 0.3), transparent 55%);
  border-bottom: 1px solid rgba(0, 136, 255, 0.1);
}

body.page-home .hero::before,
body.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body.page-home .hero::before {
  background: url("/banner.png") center / cover no-repeat;
  mix-blend-mode: screen;
  opacity: 0.55;
  z-index: 0;
}

body.page-home .hero::after {
  background: linear-gradient(0deg, rgba(2, 7, 15, 0.92) 0%, rgba(2, 7, 15, 0.35) 60%, transparent 100%);
  z-index: 1;
}

body.page-home .hero .container {
  position: relative;
  z-index: 2;
}

body.page-home .hero-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

body.page-home .hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 136, 255, 0.15);
  border: 1px solid rgba(0, 136, 255, 0.35);
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

body.page-home .hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.3rem);
  margin: 0 0 1.25rem;
  line-height: 1.05;
  text-shadow: 0 10px 40px rgba(0, 136, 255, 0.35);
}

body.page-home .hero p {
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  background: rgba(3, 9, 20, 0.75);
  border: 1px solid rgba(0, 136, 255, 0.4);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease, border 0.2s ease;
}

.cta:hover,
.cta:focus-visible {
  background: rgba(0, 136, 255, 0.25);
  transform: translateY(-2px);
  border-color: rgba(0, 136, 255, 0.6);
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--bg);
}

.section.alt {
  background: var(--bg-alt);
}

.section-title {
  text-align: center;
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.section-subtitle {
  margin: 1rem auto 3rem;
  text-align: center;
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-heading {
  font-size: 1.3rem;
  margin: 3rem 0 1.5rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.section-heading::before {
  content: "";
  width: 38px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  flex-shrink: 0;
}

.vip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}

.vip-card {
  position: relative;
  padding: 2rem;
  border-radius: 24px;
  background: radial-gradient(circle at top, rgba(255, 207, 77, 0.25), rgba(5, 12, 24, 0.95));
  border: 1px solid rgba(255, 207, 77, 0.32);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.vip-card:nth-child(2) {
  background: radial-gradient(circle at top, rgba(255, 150, 77, 0.28), rgba(5, 12, 24, 0.95));
  border-color: rgba(255, 150, 77, 0.35);
}

.badge-sale {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(255, 87, 87, 0.18);
  color: #ffb4b4;
  letter-spacing: 0.1em;
}

.vip-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.vip-card .price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-weight: 600;
}

.vip-card .price .amount {
  font-size: 2rem;
  color: #ffd86b;
}

.vip-card .price .strike {
  font-size: 0.95rem;
  color: rgba(247, 250, 255, 0.45);
  text-decoration: line-through;
}

.vip-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.purchase-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #090f1a;
  background: #ffd86b;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 35px rgba(255, 216, 107, 0.35);
}

.vip-card:nth-child(2) .purchase-btn {
  background: #ffb878;
  box-shadow: 0 12px 35px rgba(255, 184, 120, 0.35);
}

.purchase-btn:hover,
.purchase-btn:focus-visible {
  transform: translateY(-2px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 320px));
  justify-content: center;
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 136, 255, 0.12);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.25s ease, border 0.25s ease, box-shadow 0.25s ease;
  min-height: 220px;
}

.card:hover,
.card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(0, 136, 255, 0.4);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.35);
}

.card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.card .price-note {
  color: var(--text);
  font-weight: 600;
}

.card .muted {
  color: rgba(247, 250, 255, 0.6);
  font-size: 0.85rem;
}

.card .tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  background: rgba(0, 136, 255, 0.18);
  border-radius: 8px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-self: flex-start;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.founder-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 136, 255, 0.12);
  border-radius: 18px;
  padding: 1.5rem;
  display: grid;
  gap: 0.75rem;
  text-align: center;
}

.founder-avatar {
  width: 68px;
  height: 68px;
  margin: 0 auto;
  border-radius: 16px;
  background: rgba(0, 136, 255, 0.18);
  display: grid;
  place-items: center;
  font-size: 1.75rem;
}

.founder-avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.status-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
}

.status-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 136, 255, 0.18);
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.status-card h3 {
  margin: 0;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(247, 250, 255, 0.75);
}

.status-card .stat {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--accent);
}

.status-card .meta {
  color: rgba(247, 250, 255, 0.6);
  font-size: 0.9rem;
}

.status-card .meta.success {
  color: #9ff7d1;
}

.status-card .meta.alert {
  color: #ffb4b4;
}

.status-card .bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 136, 255, 0.15);
  overflow: hidden;
}

.status-card .bar span {
  display: block;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: width 0.3s ease;
}

.quick-actions {
  display: grid;
  gap: 0.75rem;
}

.quick-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 136, 255, 0.35);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.quick-actions a:hover,
.quick-actions a:focus-visible {
  background: rgba(0, 136, 255, 0.2);
  transform: translateY(-2px);
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  color: rgba(247, 250, 255, 0.55);
  font-size: 0.85rem;
}

.online-staff {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.staff-chip {
  background: rgba(0, 136, 255, 0.12);
  border: 1px solid rgba(0, 136, 255, 0.25);
  border-radius: 14px;
  padding: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.staff-chip .initials {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(0, 136, 255, 0.2);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--text);
}

.staff-chip .role {
  font-size: 0.8rem;
  color: rgba(247, 250, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.players-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.players-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(3, 16, 28, 0.55);
  border: 1px solid rgba(0, 136, 255, 0.18);
}

.players-list li strong {
  font-size: 0.95rem;
}

.players-list li span {
  font-size: 0.8rem;
  color: rgba(247, 250, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.empty-state {
  text-align: center;
  color: rgba(247, 250, 255, 0.6);
  font-size: 0.9rem;
  padding: 1rem;
}

.rules-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.rules-tabs a {
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 136, 255, 0.35);
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rules-tabs a:hover,
.rules-tabs a:focus-visible {
  background: rgba(0, 136, 255, 0.25);
  color: var(--text);
  transform: translateY(-2px);
}

.rules-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 860px;
  margin: 0 auto;
}

.rule-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 136, 255, 0.16);
  border-radius: 18px;
  padding: 1.5rem;
  display: grid;
  gap: 0.65rem;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.25);
}

.rule-card span {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 250, 255, 0.5);
}

.rule-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.rule-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

footer {
  padding: 2rem 0;
  text-align: center;
  color: rgba(247, 250, 255, 0.55);
  font-size: 0.85rem;
  border-top: 1px solid rgba(0, 136, 255, 0.15);
  background: rgba(5, 15, 28, 0.92);
  margin-top: auto;
}

footer .container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: rgba(247, 250, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .brand span {
    font-size: 1rem;
  }

  .hero {
    padding: clamp(3rem, 8vw, 4.5rem) 0;
  }

  .hero p {
    font-size: 1rem;
  }

  .card {
    min-height: 0;
  }
}

