/* Language switcher (WestAce-style dropdown) */
.lang-switch-dropdown summary::-webkit-details-marker {
  display: none;
}
.lang-switch-dropdown summary {
  list-style: none;
}
.lang-switch-dropdown[open] .lang-switch-chevron {
  transform: rotate(180deg);
}
.lang-switch-dropdown summary::marker {
  content: "";
}
.lang-switch-item:hover {
  background: rgba(6, 78, 59, 0.55);
  color: #fde68a !important;
}
.lang-switch-item.is-active {
  background: rgba(6, 78, 59, 0.85);
  color: #fbbf24 !important;
}
.lang-switch-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6ee7b7;
}
@media (max-width: 1023px) {
  .lang-switch {
    width: 100%;
    justify-content: space-between;
  }
  .lang-switch-dropdown {
    flex: 1;
    max-width: 14rem;
  }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track {
  display: flex;
  align-items: stretch;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-wrap {
  overflow: hidden;
  width: 100%;
}

/* Featured games: identical card height inside the marquee strip */
.featured-marquee .marquee-track {
  align-items: stretch;
}
.featured-marquee .featured-game-card {
  box-sizing: border-box;
  display: flex;
  width: 13rem;
  flex-direction: column;
  flex-shrink: 0;
  align-self: stretch;
  min-height: 10.5rem;
}
.featured-marquee .featured-game-card img.featured-game-card__thumb {
  height: 9rem;
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
}
.featured-marquee .featured-game-card .featured-game-card__body {
  flex: 1 1 auto;
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
}
.featured-marquee .featured-game-card .featured-game-card__title {
  flex: 1 1 auto;
  min-height: 2.75rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
@keyframes parallax-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
.parallax-float {
  animation: parallax-float 5s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 12px 2px #d97706aa; }
  50% { box-shadow: 0 0 28px 8px #d9770688; }
}
.glow-pulse {
  animation: glow-pulse 2.5s ease-in-out infinite;
}
.prose {
  color: #e5e7eb;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 100%;
}
.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fbbf24;
  margin-top: 2em;
  margin-bottom: 0.75em;
  border-bottom: 2px solid #065f46;
  padding-bottom: 0.3em;
}
.prose h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #34d399;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
.prose p {
  margin-bottom: 1.2em;
  color: #d1fae5;
}
.prose a {
  color: #fbbf24;
  text-decoration: underline;
}
.prose a:hover {
  color: #f59e0b;
}
.prose ul {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 1.2em;
  color: #d1fae5;
}
.prose ol {
  list-style: decimal;
  padding-left: 1.5em;
  margin-bottom: 1.2em;
  color: #d1fae5;
}
.prose li {
  margin-bottom: 0.4em;
}
.prose blockquote {
  border-left: 4px solid #d97706;
  padding-left: 1em;
  color: #a7f3d0;
  font-style: italic;
  margin: 1.5em 0;
  background: #052e16;
  border-radius: 0 0.5em 0.5em 0;
  padding: 0.75em 1em;
}
.prose img {
  max-width: 100%;
  border-radius: 0.75em;
  margin: 1.5em 0;
  height: auto;
}
.prose table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1.5em;
  font-size: 0.95em;
}
.prose table th {
  background: #064e3b;
  color: #fbbf24;
  padding: 0.6em 1em;
  text-align: left;
  font-weight: 700;
  border: 1px solid #065f46;
}
.prose table td {
  padding: 0.5em 1em;
  border: 1px solid #065f46;
  color: #d1fae5;
  background: #052e16;
}
.prose table tr:nth-child(even) td {
  background: #064e3b22;
}
