/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
  --main: #8b5cf6;
  --accent: #c084fc;
  --maxw: 1100px;

  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.7);
  --muted2: rgba(255, 255, 255, 0.55);

  --glassA: rgba(10, 8, 25, 0.62);
  --glassB: rgba(10, 8, 25, 0.38);
  --stroke: rgba(255, 255, 255, 0.12);
  --stroke2: rgba(255, 255, 255, 0.08);

  --radius: 22px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
  --shadow2: 0 12px 30px rgba(0, 0, 0, 0.28);

  /* ============================================
   ACCESSIBILITY
   ============================================ */
  --focus-color: #8b5cf6;
  --focus-ring: 0 0 0 3px rgba(139, 92, 246, 0.5);
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--main);
  color: white;
  padding: 8px 16px;
  z-index: 1000;
  transition: top 0.2s;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);

  background: #ffffff;
  overflow-x: hidden;
}

/* ============================================
   LAYOUT & SECTIONS
   ============================================ */
header,
section,
footer,
.section-text {
  position: relative;
  z-index: 1;
}

.section-text {
  margin: 120px 0 10px;
  text-align: center;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: 0.2px;
}

/* ============================================
   HEADER
   ============================================ */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 10px 20px;

  background: linear-gradient(
    180deg,
    rgba(10, 8, 25, 0.9),
    rgba(10, 8, 25, 0.7)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ============================================
   BRANDING
   ============================================ */
.branding {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.branding img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.branding span {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.2px;
  background: linear-gradient(90deg, var(--main), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------- NAV ---------------- */
nav.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

nav.nav-links a {
  display: inline-block;
  position: relative;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 6px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

nav.nav-links a:hover {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent);
}

nav.nav-links a::after {
  display: none;
}

/* ---------------- HERO ---------------- */

.hero {
  color: var(--text);
  text-align: center;

  padding: 160px 20px 80px;
}

/* ---------------- FEATURES ---------------- */

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;

  padding: 20px;
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, var(--glassA), var(--glassB));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow2);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.card:hover {
  transform: none;
  border-color: var(--stroke);
  box-shadow: var(--shadow2);
}

/* ---------------- DISCORD CARD ---------------- */

.center-card {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;

  padding: 40px 20px;
}

.discord-card {
  flex: 1 1 200px;
  max-width: 200px;
  min-height: 80px;

  padding: 20px;
  border-radius: 10px;
  background: #1e0041;

  color: var(--muted);
  cursor: pointer;

  display: flex;
  align-items: center;
  gap: 15px;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.discord-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 10px 15px var(--main);
}

.discord-logo {
  max-width: 48px;
  max-height: 48px;
  border-radius: 10px;
}

.discord-text {
  font-weight: 700;
}

/* ---------------- COPY IP CARD ---------------- */

.copy-card {
  flex: 1 1 200px;
  max-width: 200px;
  min-height: 80px;

  padding: 20px;
  border-radius: 10px;
  background: #1e0041;

  color: var(--muted);
  cursor: pointer;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;

  text-align: center;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.copy-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 15px var(--main);
}

.ip-text {
  font-variant: small-caps;
  font-weight: 700;

  background: linear-gradient(90deg, #8b5cf6, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  font-size: 1.4rem;
}

/* ---------------- SERVER STATUS CARD ---------------- */

.server-card {
  flex: 1 1 200px;
  max-width: 200px;
  min-height: 80px;

  padding: 20px;
  border-radius: 10px;
  background: #1e0041;

  text-align: center;
  color: var(--muted);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.server-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 15px var(--main);
}

.server-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #888;
}

.server-card.online .status-dot {
  background: #22c55e;
  animation: pulse-green 2s ease-in-out infinite;
}

.server-card.offline .status-dot {
  background: #ef4444;
  animation: pulse-red 2s ease-in-out infinite;
}

.status-text {
  font-weight: 600;
}

.player-count {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.motd {
  font-size: 0.85rem;
  opacity: 0.8;
  line-height: 1.4;
}

/* ---------------- ANIMATION ---------------- */

@keyframes bggradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulse-green {
  0%,
  100% {
    box-shadow:
      0 0 5px #22c55e,
      0 0 10px #22c55e;
  }
  50% {
    box-shadow:
      0 0 15px #22c55e,
      0 0 25px #22c55e;
  }
}

@keyframes pulse-red {
  0%,
  100% {
    box-shadow:
      0 0 5px #ef4444,
      0 0 10px #ef4444;
  }
  50% {
    box-shadow:
      0 0 15px #ef4444,
      0 0 25px #ef4444;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---------------- HAMBURGER ---------------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 20;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
  transform-origin: center;
  position: relative;
  top: 0;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(13.5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-13.5px);
}

@media (max-width: 824px) {
  .updates-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
    gap: 15px;
  }

  .update-card-container {
    width: 100%;
    margin: 0;
  }

  .nav-btn {
    padding: 10px 25px;
    font-size: 1.2rem;
  }

  .page-dots {
    margin-top: 10px;
  }

  nav.nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (min-width: 769px) {
  nav.nav-links {
    display: flex;
    visibility: visible;
    opacity: 1;
    position: static;
    flex-direction: row;
    background: none;
    padding: 0;
    gap: 10px;
  }

  .hamburger {
    display: none;
  }

  .nav-links.show {
    display: flex;
    visibility: visible;
    opacity: 1;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    top: 70px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    align-items: center;
    border-radius: 10px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }
}

.updates-container {
  width: min(860px, 100%);
  max-width: 800px;
  margin: 0 auto;
  padding: 10px;
  position: relative;
  min-height: 440px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   HEADER RESPONSIVE
   ============================================ */
@media (max-width: 1000px) {
  nav.nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.show {
    display: flex;
    visibility: visible;
    opacity: 1;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    top: 70px;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    align-items: center;
    border-radius: 10px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    z-index: 45;
    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  .nav-backdrop.active {
    opacity: 1;
    visibility: visible;
  }
}

@media (min-width: 1001px) {
  nav.nav-links {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .hamburger {
    display: none !important;
  }

  .nav-backdrop {
    display: none;
  }
}

/* ---------------- FOOTER ---------------- */
footer {
  text-align: center;
  color: var(--muted2);
  padding: 18px 0 22px;
  font-size: 12px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.social-links a {
  color: var(--muted);
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.social-links a:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

.social-links svg {
  width: 28px;
  height: 28px;
}

/* ---------------- UPDATES SECTION ---------------- */

.updates {
  display: block;
  width: 100%;
}

.updates-pagination {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 15px;
  padding: 20px 40px;
  width: 100%;
  box-sizing: border-box;
}

.nav-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  width: 100%;
  justify-content: center;
}

.update-card-container {
  width: 100%;
  max-width: 800px;
  min-height: 440px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.updates-container {
  width: 100%;
  min-height: 440px;
  height: 440px;
}

.updates-pagination .nav-btn {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.page-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  margin-bottom: 20px;
  clear: both;
  width: 100%;
}

@media (min-width: 769px) {
  .page-dots {
    width: 100%;
    margin-top: 20px;
  }
}

.updates-pagination .nav-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e0041;
  border: 2px solid var(--main);
  color: var(--text);
  font-size: 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  align-self: center;
}

/* ============================================
   NAVIGATION
   ============================================ */
nav.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

nav.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 12px;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}

nav.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

nav.nav-links a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--main), var(--accent));
  opacity: 0;
  transform: scaleX(0.65);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

nav.nav-links a:hover::after {
  opacity: 0.9;
  transform: scaleX(1);
}

/* ============================================
   HAMBURGER MENU
   ============================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 34px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 60;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
  position: relative;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(13.5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-13.5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  text-align: center;
  padding: 140px 20px 34px;
  background: transparent;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 900;
  text-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
}

.hero p {
  margin: 0 auto;
  max-width: 780px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================
   CARDS BASE
   ============================================ */
/* ============================================
   SERVER IP CARD
   ============================================ */
.copy-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: var(--muted);
}

.ip-text {
  font-weight: 950;
  letter-spacing: 0.2px;
  font-size: 1.05rem;
  background: linear-gradient(90deg, var(--main), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.copy-text {
  font-weight: 800;
  color: var(--muted);
  font-size: 12.5px;
}

/* ============================================
   DISCORD CARD
   ============================================ */
.discord-card {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.discord-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.discord-text {
  font-weight: 950;
  color: rgba(255, 255, 255, 0.86);
}

/* ============================================
   SERVER STATUS CARD
   ============================================ */
.server-card {
  text-align: center;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.server-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.status-text {
  font-weight: 900;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
}

.player-count {
  font-size: 1.15rem;
  font-weight: 950;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.2px;
}

.motd {
  font-size: 0.82rem;
  color: var(--muted2);
  line-height: 1.35;
  padding: 0 6px;
}

.server-card.online .status-dot {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
  animation: pulse-green 1.8s ease-in-out infinite;
}

.server-card.offline .status-dot {
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
  animation: pulse-red 1.8s ease-in-out infinite;
}

/* ============================================
   CENTER CARD CONTAINER
   ============================================ */
.center-card {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 22px 20px 10px;
  background: transparent;
}

.copy-card,
.discord-card,
.server-card {
  flex: 1 1 220px;
  max-width: 230px;
  min-height: 92px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, var(--glassA), var(--glassB));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow2);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.copy-card:hover,
.discord-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.14),
    var(--shadow);
}

.server-card:hover {
  transform: none;
  border-color: var(--stroke);
  box-shadow: var(--shadow2);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 0 10px;
  justify-content: center;
  max-width: 1000px;
}

.features .card {
  padding: 18px 16px;
  text-align: center;
  flex: 1 1 180px;
  min-width: 0;
}

.features .card h3 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.2px;
}

.features .card p {
  margin: 0;
  color: var(--muted);
  font-size: 12.8px;
  line-height: 1.6;
}

/* ============================================
   TRAILER SECTION
   ============================================ */
.trailer {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
  padding: 16px 0 10px;
}

.trailer-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: var(--glassA);
}

.trailer-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ============================================
   UPDATES SECTION
   ============================================ */
.updates {
  background: transparent;
}

.updates-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 20px;
  margin-top: 10px;
}

.nav-btn {
  background: rgba(10, 8, 25, 0.55);
  border: 1px solid rgba(139, 92, 246, 0.45);
  color: var(--text);
  font-size: 1.35rem;
  padding: 12px 16px;
  border-radius: 16px;
  cursor: pointer;
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    background 0.14s ease;
  flex-shrink: 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-btn:hover {
  background: rgba(139, 92, 246, 0.22);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.18),
    var(--shadow);
  transform: translateY(-2px);
}

.updates-container {
  width: min(860px, 100%);
  min-height: 440px;
  height: 440px;
}

.updates-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 10px;
  position: relative;
  min-height: 440px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.updates-container .update-card {
  display: none;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, var(--glassA), var(--glassB));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow2);

  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  width: min(500px, calc(100% - 40px));
  height: 320px;
  max-height: 320px;
  overflow-y: auto;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

@media (max-width: 520px) {
  .updates-container .update-card {
    height: 380px;
    max-height: 380px;
  }
}

.updates-container .update-card:hover {
  transform: none;
  border-color: var(--stroke);
  box-shadow: var(--shadow2);
}

.updates-container .update-card.active {
  display: flex;
}

.update-card h4 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 950;
  background: linear-gradient(90deg, var(--main), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.update-card .date {
  margin: 0;
  color: var(--muted2);
  font-size: 0.92rem;
}

.update-card ul {
  margin: 0;
  padding-left: 20px;
  text-align: left;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  line-height: 1.6;
}

.update-card li {
  margin-bottom: 4px;
}

/* ============================================
   PAGINATION DOTS
   ============================================ */
.page-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  margin-bottom: 20px;
  clear: both;
  width: 100%;
}

.page-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.page-dot.faded {
  opacity: 0.18;
}

.page-dot.active {
  background: rgba(139, 92, 246, 0.95);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.55);
  transform: scale(1.35);
  opacity: 1;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pulse-green {
  0%,
  100% {
    box-shadow:
      0 0 0 4px rgba(34, 197, 94, 0.12),
      0 0 18px rgba(34, 197, 94, 0.22);
  }
  50% {
    box-shadow:
      0 0 0 7px rgba(34, 197, 94, 0.1),
      0 0 26px rgba(34, 197, 94, 0.3);
  }
}

@keyframes pulse-red {
  0%,
  100% {
    box-shadow:
      0 0 0 4px rgba(239, 68, 68, 0.12),
      0 0 18px rgba(239, 68, 68, 0.22);
  }
  50% {
    box-shadow:
      0 0 0 7px rgba(239, 68, 68, 0.1),
      0 0 26px rgba(239, 68, 68, 0.3);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.updates-container .update-card.slide-right {
  animation: slideInRight 0.35s ease;
}
.updates-container .update-card.slide-left {
  animation: slideInLeft 0.35s ease;
}

/* ============================================
   UPDATES SECTION (Home)
   ============================================ */
.updates-desc {
  text-align: center;
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 14px;
}

.updates-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.update-card {
  background: var(--glassA);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 28px;
  width: 100%;
  max-width: 600px;
}

.update-card-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.update-card-title h4 {
  margin: 0;
  font-size: 1.2rem;
  background: linear-gradient(90deg, var(--main), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.update-card-title .date {
  color: var(--muted2);
  font-size: 0.9rem;
}

.update-card-list {
  margin: 0;
  padding-left: 20px;
}

.update-card-list li {
  color: var(--muted);
  margin-bottom: 6px;
  line-height: 1.5;
}

.update-card-list li strong {
  color: var(--text);
}

.view-older {
  display: inline-block;
  margin-top: 20px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.view-older:hover {
  color: var(--text);
}

/* ============================================
   BLOG PAGE STYLES
   ============================================ */
.search-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.search-input {
  width: 100%;
  padding: 14px 20px 14px 50px;
  background: var(--glassA);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.search-input::placeholder {
  color: var(--muted2);
}

.search-input:focus {
  outline: none;
  border-color: var(--main);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--muted2);
  pointer-events: none;
}

.updates-list {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.update-item {
  background: var(--glassA);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  transition: border-color 0.2s ease;
}

.update-item:hover {
  border-color: var(--main);
}

.update-item .update-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.update-item .update-header h4 {
  margin: 0;
  font-size: 1.15rem;
  background: linear-gradient(90deg, var(--main), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.update-item .date {
  color: var(--muted2);
  font-size: 0.85rem;
}

.update-item .update-changes {
  margin: 0;
  padding-left: 20px;
}

.update-item .update-changes li {
  color: var(--muted);
  margin-bottom: 5px;
  line-height: 1.5;
}

.update-item .update-changes li strong {
  color: var(--text);
}

.no-results {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

/* ============================================
   RESPONSIVE - 900px
   ============================================ */
@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    justify-items: center;
    max-width: 600px;
    margin: 0 auto;
  }
  .features .card {
    text-align: center;
    justify-self: center;
  }
}

/* ============================================
   RESPONSIVE - 910px (Tablet/Mobile)
   ============================================ */
@media (max-width: 910px) {
  nav.nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .updates-pagination {
    gap: 14px;
    padding: 0 20px;
  }

  .nav-row {
    flex-direction: row;
    width: 100%;
  }

  .nav-btn {
    width: 44px;
    height: 44px;
    max-width: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .updates-container {
    order: 1;
    width: 100%;
    padding: 10px;
  }

  .page-dots {
    order: 3;
  }

  .nav-links.show {
    display: flex;
    flex-direction: column;
    gap: 12px;

    position: absolute;
    top: 66px;
    right: 14px;

    padding: 14px;
    align-items: stretch;

    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 8, 25, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  }

  .nav-links.show a {
    padding: 10px 12px;
    border-radius: 14px;
  }

  .nav-links.show a::after {
    display: none;
  }
}

/* ============================================
   RESPONSIVE - 520px (Mobile)
   ============================================ */
@media (max-width: 520px) {
  .features {
    grid-template-columns: 1fr;
  }
  .features .card {
    text-align: center;
  }
  .copy-card,
  .discord-card,
  .server-card {
    max-width: 100%;
  }
  .search-input {
    font-size: 0.95rem;
    padding: 12px 16px 12px 44px;
  }
  .update-item {
    padding: 18px;
  }
  .update-item .update-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

/* ============================================
   BANNER CAROUSEL
   ============================================ */
.banner-carousel {
  position: relative;
  max-width: 1100px;
  margin: 100px auto 20px;
  padding: 0 20px;
  z-index: 1;
}

.banner-slides {
  position: relative;
  height: 280px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(10, 8, 25, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-slide-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 8, 25, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.banner-slide-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.banner-slide-link {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(90deg, #8b5cf6, #c084fc);
  border-radius: 10px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  width: fit-content;
  transition: transform 0.2s;
}

.banner-slide-link:hover {
  transform: translateY(-2px);
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(10, 8, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
}

.banner-arrow:hover {
  background: rgba(139, 92, 246, 0.6);
}

.banner-prev {
  left: 10px;
}
.banner-next {
  right: 10px;
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s;
}

.banner-dot.active {
  background: #8b5cf6;
  transform: scale(1.2);
}

/* ============================================
   SEASON COUNTDOWN
   ============================================ */
.countdown-section {
  max-width: 1100px;
  margin: 0 auto 20px;
  padding: 80px 20px 0;
  position: relative;
  z-index: 1;
}

.countdown-container {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.2),
    rgba(192, 132, 252, 0.1)
  );
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 22px;
  padding-bottom: 32px;
  padding-top: 10px;
  padding-block: 32px;
  text-align: center;
}

.countdown-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  margin-top: 0 !important;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-number {
  font-size: 3rem;
  font-weight: 700;
  color: #8b5cf6;
  line-height: 1;
}

.countdown-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

@media (max-width: 520px) {
  .countdown-timer {
    gap: 12px;
  }
  .countdown-number {
    font-size: 2rem;
  }
  .banner-slide-title {
    font-size: 1.4rem;
  }
  .banner-slides {
    height: 200px;
  }
}

/* ============================================
   DISCORD WIDGET
   ============================================ */
.discord-widget-section {
  max-width: 1100px;
  margin: 0 auto 120px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.discord-widget-container {
  background: rgba(10, 8, 25, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  justify-content: center;
}

/* ============================================
   RULES
   ============================================ */
.rules-container {
  max-width: 900px;
  margin: 0 auto 120px;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.rule-category {
  margin-bottom: 40px;
}

.rule-category-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--main);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--main);
  display: inline-block;
}

.rule-item {
  background: rgba(10, 8, 25, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.rule-item:hover {
  border-color: var(--main);
  transform: translateX(4px);
}

.rule-item-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.rule-item-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.rule-item-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}
