/* L2FreeBot — Improved Classic H5 Update (world expansion) */

.world-update-section {
  padding: 5rem 0;
  scroll-margin-top: calc(var(--top-offset) + 1rem);
  background: linear-gradient(180deg, transparent 0%, rgba(12, 28, 32, 0.55) 35%, transparent 100%);
}

.wu-banner {
  position: relative;
  margin-bottom: 3rem;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(45, 212, 191, 0.28);
  background: linear-gradient(160deg, #0e1a1f 0%, #0c0e14 50%, #101820 100%);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(45, 212, 191, 0.06);
}

.wu-banner-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 15% 0%, rgba(45, 212, 191, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 55% at 85% 100%, rgba(201, 162, 39, 0.1), transparent 55%);
  pointer-events: none;
}

.wu-banner-inner {
  position: relative;
  padding: 2.75rem 2rem;
  text-align: center;
}

.wu-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.45);
  background: rgba(45, 212, 191, 0.1);
  color: #5eead4;
  margin-bottom: 0.75rem;
  animation: wu-pulse 2.5s ease-in-out infinite;
}

@keyframes wu-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.25); }
  50% { box-shadow: 0 0 20px 4px rgba(45, 212, 191, 0.12); }
}

.wu-banner-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  margin: 0.5rem 0 1rem;
  color: var(--text);
  line-height: 1.2;
}

.wu-banner-inner h2 em {
  font-style: normal;
  color: #5eead4;
}

.wu-lead {
  max-width: 760px;
  margin: 0 auto 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.wu-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.wu-pill {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.3);
  background: rgba(45, 212, 191, 0.07);
  color: #99f6e4;
}

.wu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.wu-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s, transform 0.2s;
}

.wu-card:hover {
  border-color: rgba(45, 212, 191, 0.28);
  transform: translateY(-2px);
}

.wu-card--boss {
  border-color: rgba(201, 162, 39, 0.28);
  background: linear-gradient(160deg, rgba(201, 162, 39, 0.06), var(--bg-panel));
  grid-column: span 1;
}

.wu-card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5eead4;
  margin-bottom: 0.75rem;
}

.wu-card--boss .wu-card-tag {
  color: var(--gold);
}

.wu-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
  color: var(--gold-light);
}

.wu-card p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.wu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wu-list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.1rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.wu-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2dd4bf;
}

.wu-card--boss .wu-list li::before {
  background: var(--gold);
}

.wu-cta {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(45, 212, 191, 0.2);
  background: rgba(45, 212, 191, 0.04);
}

.wu-cta p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.wu-cta strong {
  color: #5eead4;
}

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

  .wu-card--boss {
    grid-column: span 1;
  }
}

@media (min-width: 961px) {
  .wu-grid .wu-card--boss {
    grid-column: 1 / -1;
  }
}
