/* ==========================================================================
   VÕ LÂM H5 - TRANG CHỦ & CỔNG THÔNG TIN KIẾM HIỆP
   Theme: Hoành Tráng · Tinh Tế · Võ Lâm Kiếm Hiệp Hiện Đại
   ========================================================================== */

:root {
  --font-serif: 'Chakra Petch', 'Cinzel', 'Be Vietnam Pro', sans-serif;
  --font-sans: 'Be Vietnam Pro', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --bg-deep: #080c0a;
  --bg-dark: #0f1713;
  --bg-card: #15221b;
  --bg-card-hover: #1c2e24;
  --border-gold: rgba(229, 193, 88, 0.45);
  --border-gold-glow: rgba(243, 214, 135, 0.75);
  --border-dim: rgba(84, 117, 90, 0.35);
  --gold: #f0c265;
  --gold-light: #ffebbc;
  --gold-bright: #ffe29a;
  --gold-deep: #ba8c38;
  --text-main: #f5f0e3;
  --text-dim: #a6b8ab;
  --text-muted: #798d7f;
  --red: #cf3a27;
  --red-hover: #e54632;
  --red-glow: rgba(207, 58, 39, 0.45);
  --green-online: #59d174;
  --paper: #f4ebd9;
  --ink: #3a2517;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 50% 0%, #25120d 0%, transparent 60%),
    radial-gradient(circle at 10% 30%, #172a1e 0%, transparent 40%),
    radial-gradient(circle at 90% 60%, #2b140d 0%, transparent 45%);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

section[id] {
  scroll-margin-top: 86px;
}

[hidden] {
  display: none !important;
}

/* Accessibility */
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 12px 20px;
  background: var(--gold);
  color: #120c02;
  font-weight: 700;
  border-radius: 4px;
  z-index: 9999;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 15px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  height: 80px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  background: rgba(14, 20, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 193, 88, 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.1;
}

.brand-mark {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 12px rgba(240, 194, 101, 0.5);
  padding-right: 14px;
  border-right: 1px solid rgba(229, 193, 88, 0.3);
  letter-spacing: 1px;
}

.brand span:last-child {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-bright);
}

.brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: var(--text-dim);
  margin-top: 2px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-header nav a {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 8px 0;
}

.site-header nav a:hover,
.site-header nav a.active {
  color: var(--gold-bright);
}

.site-header nav a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 8px var(--gold);
}

.header-play {
  position: relative;
  overflow: hidden;
  padding: 10px 22px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: linear-gradient(135deg, #bd351c, #841b0b);
  box-shadow: 0 4px 16px var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  color: #fff4dc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}

.header-play:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px var(--red-glow);
}

.header-play span {
  margin-left: 6px;
  font-size: 15px;
}

.nav-toggle {
  display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 840px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-art {
  position: absolute;
  inset: 0;
  background-image: url('/assets/bg/scenes/11-approche-ligue-710x400.webp'); image-rendering: pixelated;
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.65) saturate(1.15);
  transform: scale(1.02);
  z-index: 1;
  transition: transform 12s ease-out;
}

.hero:hover .hero-art {
  transform: scale(1.05);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    linear-gradient(180deg, rgba(8, 12, 10, 0.4) 0%, rgba(8, 12, 10, 0.2) 40%, rgba(8, 12, 10, 0.95) 90%, var(--bg-deep) 100%),
    radial-gradient(circle at 50% 40%, transparent 20%, rgba(8, 12, 10, 0.7) 80%);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 100px 20px 40px;
  max-width: 860px;
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.eyebrow span {
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow span:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(68px, 10vw, 124px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 2px;
  margin: 0 0 14px;
  background: linear-gradient(180deg, #ffffff 0%, #ffeaab 30%, #dfa547 70%, #874b12 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 30px rgba(229, 193, 88, 0.3));
}

.hero-motto {
  font-family: var(--font-serif);
  font-size: clamp(20px, 3.5vw, 30px);
  letter-spacing: 6px;
  font-weight: 700;
  color: var(--gold-bright);
  text-transform: uppercase;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(240, 194, 101, 0.4);
}

.hero-desc {
  font-size: 15px;
  line-height: 1.8;
  color: #dfd8c7;
  max-width: 600px;
  margin: 0 auto 32px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.gold-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  min-height: 72px;
  padding: 12px 32px;
  border-radius: 8px;
  border: 1px solid #ffd885;
  background: linear-gradient(135deg, #cf4222 0%, #991c0e 60%, #b82d1b 100%);
  box-shadow: 
    0 0 0 1px rgba(255, 216, 133, 0.4),
    0 10px 30px rgba(184, 45, 27, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 800;
  color: #fff9ea;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gold-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
}

.gold-button:hover::before {
  left: 150%;
}

.gold-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 0 0 2px #ffd885,
    0 16px 36px rgba(184, 45, 27, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  filter: brightness(1.1);
}

.gold-button small {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #ffde96;
  margin-bottom: 2px;
}

.gold-button span {
  margin-left: 8px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.gold-button:hover span {
  transform: translateX(4px);
}

.secondary-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.secondary-actions a {
  padding: 10px 18px;
  border-radius: 6px;
  background: rgba(23, 37, 29, 0.85);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  text-align: center;
  transition: all 0.2s ease;
}

.secondary-actions a:hover {
  background: rgba(35, 56, 44, 0.95);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-1px);
}

.server-strip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(14, 23, 18, 0.85);
  border: 1px solid rgba(229, 193, 88, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  font-size: 13px;
}

.server-light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6e7d72;
  transition: all 0.3s ease;
}

.server-light.online {
  background: var(--green-online);
  box-shadow: 0 0 12px var(--green-online), 0 0 24px rgba(89, 209, 116, 0.5);
  animation: radarPulse 2s infinite;
}

@keyframes radarPulse {
  0% { box-shadow: 0 0 0 0 rgba(89, 209, 116, 0.7), 0 0 12px var(--green-online); }
  70% { box-shadow: 0 0 0 8px rgba(89, 209, 116, 0), 0 0 12px var(--green-online); }
  100% { box-shadow: 0 0 0 0 rgba(89, 209, 116, 0), 0 0 12px var(--green-online); }
}

.server-strip b {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--gold);
  padding-right: 12px;
  border-right: 1px solid rgba(229, 193, 88, 0.25);
}

.server-strip span {
  color: var(--text-main);
  font-weight: 600;
  text-align: left;
}

.server-strip small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--text-dim);
}

.server-strip > a {
  margin-left: 12px;
  color: var(--gold);
  font-weight: 600;
  font-size: 12px;
}

.server-strip > a:hover {
  color: #fff;
  text-decoration: underline;
}

.hero-bottom {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 18px;
  animation: bounceSlow 2.5s infinite;
  z-index: 10;
}

@keyframes bounceSlow {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ==========================================================================
   SECTIONS COMMON
   ========================================================================== */
.section {
  padding: 88px 24px;
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title > p {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 46px);
  color: #ffebbc;
  letter-spacing: 1px;
  margin-bottom: 12px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

.section-title > span {
  display: inline-block;
  position: relative;
  color: var(--gold);
  font-size: 14px;
}

.section-title > span::before,
.section-title > span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  right: 28px;
}

.section-title > span::after {
  left: 28px;
  right: auto;
  transform: rotate(180deg);
}

/* ==========================================================================
   NEWS & EVENTS SECTION
   ========================================================================== */
.news-board {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(145deg, #17241c, #0e1712);
  border: 1px solid var(--border-gold);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
}

.news-feature {
  position: relative;
  min-height: 380px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(229, 193, 88, 0.3);
  display: flex;
  align-items: flex-end;
}

.news-feature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) saturate(1.1);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-feature:hover > img {
  transform: scale(1.05);
}

.news-feature > div {
  position: relative;
  z-index: 2;
  padding: 32px 28px;
  width: 100%;
  background: linear-gradient(0deg, #0a110d 0%, rgba(10, 17, 13, 0.85) 60%, transparent 100%);
}

.news-feature .label {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.news-feature h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--gold-bright);
  margin: 0 0 10px;
  line-height: 1.3;
}

.news-feature p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
}

.text-link:hover {
  color: #fff;
  transform: translateX(4px);
}

.news-list {
  display: flex;
  flex-direction: column;
}

.news-tabs {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid rgba(229, 193, 88, 0.2);
  margin-bottom: 12px;
  padding-bottom: 4px;
}

.news-tabs button {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  border-radius: 6px;
}

.news-tabs button:hover {
  color: var(--gold-bright);
}

.news-tabs button.selected {
  color: var(--gold);
  background: rgba(229, 193, 88, 0.12);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.news-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 12px;
  border-bottom: 1px dashed rgba(229, 193, 88, 0.15);
  border-radius: 6px;
  text-align: left;
  transition: all 0.2s ease;
}

.news-item:hover {
  background: rgba(229, 193, 88, 0.08);
  transform: translateX(4px);
}

.news-item > span {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(229, 193, 88, 0.15);
  color: var(--gold);
  white-space: nowrap;
}

.news-item b {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
}

.news-item:hover b {
  color: var(--gold-bright);
}

.news-item small {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}

.news-more {
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 20px;
  border-radius: 6px;
  border: 1px solid var(--border-gold);
  background: rgba(229, 193, 88, 0.08);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.news-more:hover {
  background: var(--gold);
  color: #120d04;
  border-color: var(--gold);
}

.guide-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.guide-shortcuts a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1b2a21, #121c16);
  border: 1px solid var(--border-dim);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  color: var(--gold-bright);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.guide-shortcuts a:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(229, 193, 88, 0.25);
  background: linear-gradient(135deg, #243a2d, #17261e);
}

.guide-shortcuts a > span {
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--gold);
  padding-right: 14px;
  border-right: 1px solid rgba(229, 193, 88, 0.25);
}

.guide-shortcuts a > div {
  flex: 1;
}

.guide-shortcuts small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.guide-shortcuts b {
  font-family: var(--font-serif);
  font-size: 15px;
  color: #fff;
}

/* ==========================================================================
   FACTIONS SECTION
   ========================================================================== */
.faction-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.faction-tabs button {
  padding: 10px 18px;
  border-radius: 8px;
  background: #141f18;
  border: 1px solid var(--border-dim);
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dim);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.faction-tabs button:hover {
  color: var(--gold-bright);
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.faction-tabs button[aria-selected="true"] {
  background: linear-gradient(135deg, #caa148, #87621c);
  color: #fff9eb;
  border-color: #ffd885;
  box-shadow: 0 6px 20px rgba(202, 161, 72, 0.45);
  transform: translateY(-2px);
}

.faction-panel {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: center;
  gap: 56px;
  padding: 44px;
  border-radius: 20px;
  background: linear-gradient(145deg, #15241b, #0d1611);
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.faction-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 340px;
  background: radial-gradient(circle, rgba(229, 193, 88, 0.15) 0%, transparent 70%);
}

.faction-visual::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(229, 193, 88, 0.25);
  animation: spinSlow 30s linear infinite;
}

.faction-visual::after {
  content: "";
  position: absolute;
  inset: 50px;
  border-radius: 50%;
  border: 1px dashed rgba(229, 193, 88, 0.4);
  animation: spinReverse 45s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.faction-seal {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
  padding: 8px 12px;
  border: 1px solid var(--border-gold);
  border-radius: 6px;
  background: rgba(14, 23, 17, 0.85);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.faction-visual img {
  position: relative;
  z-index: 2;
  max-height: 270px;
  image-rendering: pixelated;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.8));
  transition: transform 0.4s ease;
}

.faction-panel:hover .faction-visual img {
  transform: scale(1.04);
}

.faction-visual small {
  position: absolute;
  bottom: 0;
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.faction-copy h3 {
  font-family: var(--font-serif);
  font-size: 44px;
  color: var(--gold-bright);
  margin: 8px 0 16px;
}

.faction-copy > p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 24px;
}

.faction-copy dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px 18px;
  padding: 18px;
  border-radius: 10px;
  background: rgba(8, 14, 10, 0.6);
  border: 1px solid var(--border-dim);
  font-size: 13.5px;
  margin-bottom: 28px;
}

.faction-copy dt {
  color: var(--text-dim);
  font-weight: 600;
}

.faction-copy dd {
  margin: 0;
  color: var(--gold-light);
  font-weight: 700;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  border: 1px solid var(--gold);
  background: rgba(229, 193, 88, 0.1);
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
}

.outline-button:hover {
  background: var(--gold);
  color: #120c02;
  box-shadow: 0 6px 20px rgba(229, 193, 88, 0.35);
  transform: translateY(-2px);
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.feature-board {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(145deg, #16241b, #0e1711);
  border: 1px solid var(--border-gold);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

.feature-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-tabs button {
  padding: 20px 18px;
  border-radius: 10px;
  text-align: left;
  border: 1px solid transparent;
  background: rgba(14, 23, 17, 0.6);
  color: var(--text-dim);
}

.feature-tabs button:hover {
  background: rgba(229, 193, 88, 0.08);
  color: #fff;
}

.feature-tabs button[aria-selected="true"] {
  background: linear-gradient(90deg, rgba(229, 193, 88, 0.2), rgba(229, 193, 88, 0.05));
  border-color: var(--border-gold);
  box-shadow: inset 4px 0 0 var(--gold);
  color: #fff;
}

.feature-tabs button b {
  display: block;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--gold-bright);
  margin-bottom: 4px;
}

.feature-tabs button small {
  font-size: 11px;
  color: var(--text-dim);
}

.feature-panel {
  position: relative;
  min-height: 420px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-dim);
  display: flex;
  align-items: flex-end;
}

.feature-panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65) saturate(1.1);
  transition: transform 0.6s ease;
}

.feature-panel:hover > img {
  transform: scale(1.04);
}

.feature-caption {
  position: relative;
  z-index: 2;
  padding: 36px 32px;
  width: 100%;
  background: linear-gradient(0deg, #09100c 0%, rgba(9, 16, 12, 0.85) 65%, transparent 100%);
}

.feature-caption > span {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.feature-caption h3 {
  font-family: var(--font-serif);
  font-size: 32px;
  color: #fff;
  margin: 0 0 12px;
}

.feature-caption p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 600px;
  margin-bottom: 24px;
}

/* ==========================================================================
   HELP & GUIDE SECTION
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.steps article {
  padding: 30px 24px;
  border-radius: 12px;
  background: linear-gradient(145deg, #17261d, #0f1812);
  border: 1px solid var(--border-dim);
  border-top: 3px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.steps article:hover {
  transform: translateY(-4px);
  border-top-color: #ffe29a;
  box-shadow: 0 12px 32px rgba(229, 193, 88, 0.2);
}

.steps article > span {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 800;
  color: var(--gold);
  opacity: 0.85;
}

.steps h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: #fff;
  margin: 14px 0 10px;
}

.steps p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0;
}

.controls-note {
  margin-top: 28px;
  padding: 16px 24px;
  border-radius: 10px;
  background: rgba(14, 23, 17, 0.7);
  border: 1px solid var(--border-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 12px;
  color: var(--text-dim);
}

.controls-note b {
  color: var(--gold);
}

/* ==========================================================================
   SUPPORT & FAQ SECTION
   ========================================================================== */
.support-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}

.support-section h2 {
  font-family: var(--font-serif);
  font-size: 38px;
  color: var(--gold-bright);
  margin-bottom: 16px;
}

.support-section > div > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-dim);
}

.faq details {
  padding: 18px 0;
  border-bottom: 1px solid rgba(229, 193, 88, 0.2);
}

.faq summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-light);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 20px;
  color: var(--gold);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq p {
  padding-top: 12px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-dim);
  margin: 0;
}

.faq a {
  color: var(--gold);
  text-decoration: underline;
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta {
  text-align: center;
  padding: 40px 20px 80px;
}

.final-cta > p {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--gold-bright);
  margin-bottom: 24px;
  text-shadow: 0 0 20px rgba(229, 193, 88, 0.4);
}

/* ==========================================================================
   FLOATING QUICK LINKS
   ========================================================================== */
.floating-links {
  position: fixed;
  right: 20px;
  top: 30%;
  width: 104px;
  z-index: 90;
  border-radius: 12px;
  background: rgba(14, 23, 17, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  padding: 8px;
  text-align: center;
}

.floating-links > span {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  padding: 6px 0;
}

.floating-links > a {
  display: block;
  padding: 8px 4px;
  margin: 4px 0;
  border-radius: 6px;
  background: rgba(229, 193, 88, 0.1);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-main);
  border: 1px solid transparent;
}

.floating-links > a:hover {
  background: rgba(229, 193, 88, 0.25);
  border-color: var(--gold);
  color: #fff;
}

.floating-links > a:first-of-type {
  background: linear-gradient(135deg, #c93a2b, #8a1f14);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px var(--red-glow);
}

.floating-links > a:last-of-type {
  background: none;
  border: 0;
  color: var(--gold);
  font-size: 20px;
  padding: 2px 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  text-align: center;
  border-top: 1px solid rgba(229, 193, 88, 0.2);
  background: #060907;
  padding: 48px 24px 60px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-brand {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 12px;
}

.footer-brand span {
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--text-dim);
}

footer p {
  margin: 6px 0;
}

footer > div {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}

footer > div a {
  color: var(--text-dim);
}

footer > div a:hover {
  color: var(--gold);
}

/* ==========================================================================
   DIALOG / ARTICLE MODAL
   ========================================================================== */
dialog {
  max-width: min(720px, calc(100vw - 32px));
  max-height: 85dvh;
  padding: 40px;
  background: linear-gradient(145deg, #18281f, #0f1913);
  color: var(--text-main);
  border-radius: 18px;
  border: 1px solid var(--border-gold);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow-y: auto;
}

dialog::backdrop {
  background: rgba(4, 7, 5, 0.85);
  backdrop-filter: blur(8px);
}

dialog h2 {
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--gold-bright);
  margin: 8px 0 20px;
}

dialog p {
  font-size: 14.5px;
  line-height: 1.8;
  color: #dfd8c7;
  margin-bottom: 14px;
}

.dialog-close {
  position: absolute;
  right: 18px;
  top: 18px;
  font-size: 28px;
  color: var(--text-dim);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.dialog-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   DASHBOARD SECTION: ĐẠI SẢNH VÕ LÂM CÀY CHAY
   ========================================================================== */
.dashboard-section {
  position: relative;
  padding: 60px max(24px, calc((100vw - 1240px) / 2));
  background: radial-gradient(circle at 50% 0%, rgba(229, 193, 88, 0.08) 0%, transparent 70%);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.dash-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 28px;
  background: linear-gradient(145deg, rgba(22, 35, 28, 0.88) 0%, rgba(12, 18, 15, 0.95) 100%);
  border: 1px solid rgba(229, 193, 88, 0.28);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 235, 188, 0.15), 0 16px 40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s;
}

.dash-card:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 194, 101, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 235, 188, 0.25), 0 20px 48px rgba(0, 0, 0, 0.7), 0 0 20px rgba(229, 193, 88, 0.12);
}

.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(229, 193, 88, 0.15);
}

.dash-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: radial-gradient(circle, rgba(229, 193, 88, 0.2), rgba(15, 23, 19, 0.8));
  border: 1px solid rgba(229, 193, 88, 0.35);
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.dash-card-title h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.5px;
}

.dash-card-title small {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

.live-pill, .phase-pill, .char-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.live-pill {
  background: rgba(89, 209, 116, 0.15);
  border: 1px solid rgba(89, 209, 116, 0.4);
  color: #79e894;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #59d174;
  box-shadow: 0 0 8px #59d174;
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.phase-pill {
  background: rgba(229, 193, 88, 0.15);
  border: 1px solid rgba(229, 193, 88, 0.4);
  color: var(--gold-bright);
}

.phase-pill.battle {
  background: rgba(207, 58, 39, 0.2);
  border-color: rgba(207, 58, 39, 0.5);
  color: #ff8575;
}

.char-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-main);
}

.char-pill.online {
  background: rgba(89, 209, 116, 0.15);
  border-color: rgba(89, 209, 116, 0.4);
  color: #79e894;
}

/* Metrics Grid */
.dash-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metric-box {
  padding: 14px;
  border-radius: 10px;
  background: rgba(8, 14, 11, 0.6);
  border: 1px solid rgba(229, 193, 88, 0.12);
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.metric-val {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  margin: 4px 0 2px;
  color: #fff;
  letter-spacing: 0.5px;
}

.metric-val.gold-txt {
  color: var(--gold-bright);
  text-shadow: 0 0 10px rgba(240, 194, 101, 0.3);
}

.metric-val.green-txt {
  color: #70e68c;
}

.metric-sub {
  font-size: 10px;
  color: var(--text-dim);
}

.dash-footer-note {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed rgba(229, 193, 88, 0.15);
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.5;
}

.dash-footer-note b {
  color: var(--gold-light);
}

/* Song Kim Countdown Box */
.sk-countdown-box {
  padding: 16px;
  border-radius: 12px;
  background: rgba(8, 14, 11, 0.7);
  border: 1px solid rgba(207, 58, 39, 0.3);
  margin-bottom: 16px;
}

.sk-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.sk-status-row span {
  font-weight: 600;
  color: var(--text-main);
  font-size: 13px;
}

.countdown-digits {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--gold-bright);
  letter-spacing: 1px;
  text-shadow: 0 0 12px rgba(240, 194, 101, 0.5);
}

.sk-progress-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-bottom: 8px;
}

.sk-progress-fill {
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, var(--gold-deep), var(--red), var(--gold-bright));
  border-radius: 999px;
  transition: width 1s linear;
}

.sk-desc {
  margin: 0;
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Events List */
.event-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.event-time {
  flex: none;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 12px;
  color: var(--gold);
  background: rgba(229, 193, 88, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(229, 193, 88, 0.2);
}

.event-info {
  flex: 1;
  min-width: 0;
}

.event-info b {
  display: block;
  font-size: 12px;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-info small {
  display: block;
  font-size: 10px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-badge {
  flex: none;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  background: rgba(207, 58, 39, 0.2);
  border: 1px solid rgba(207, 58, 39, 0.4);
  color: #ff9182;
  text-transform: uppercase;
}

.event-badge.green {
  background: rgba(89, 209, 116, 0.15);
  border-color: rgba(89, 209, 116, 0.35);
  color: #79e894;
}

/* Market Ticker */
.dash-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-bright);
  padding: 4px 10px;
  border: 1px solid rgba(229, 193, 88, 0.3);
  border-radius: 6px;
  background: rgba(229, 193, 88, 0.1);
}

.dash-link:hover {
  background: var(--gold);
  color: #1a1205;
}

.market-ticker-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ticker-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(8, 14, 11, 0.5);
  border: 1px solid rgba(229, 193, 88, 0.1);
}

.ticker-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.item-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.item-tag.gold-tag {
  background: rgba(229, 193, 88, 0.2);
  border: 1px solid rgba(229, 193, 88, 0.45);
  color: var(--gold-bright);
}

.item-tag.blue-tag {
  background: rgba(56, 142, 212, 0.2);
  border: 1px solid rgba(56, 142, 212, 0.45);
  color: #8cc4f7;
}

.item-tag.platina-tag {
  background: rgba(162, 79, 196, 0.2);
  border: 1px solid rgba(162, 79, 196, 0.45);
  color: #df9eff;
}

.item-tag.gem-tag {
  background: rgba(207, 58, 39, 0.2);
  border: 1px solid rgba(207, 58, 39, 0.45);
  color: #ff9d8f;
}

.ticker-left b {
  font-size: 12px;
  color: var(--text-main);
}

.ticker-price {
  font-size: 11px;
  color: var(--text-dim);
}

.market-dash-cta {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(229, 193, 88, 0.06);
  border: 1px solid rgba(229, 193, 88, 0.15);
  font-size: 11px;
  color: var(--text-dim);
}

.market-dash-cta p {
  margin: 0;
  line-height: 1.5;
}

/* Character Summary & Giftcode */
.char-summary-box {
  padding: 16px;
  border-radius: 12px;
  background: rgba(8, 14, 11, 0.6);
  border: 1px solid rgba(229, 193, 88, 0.15);
  margin-bottom: 16px;
}

.guest-prompt p {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--text-dim);
}

.quick-btn-row {
  display: flex;
  gap: 10px;
}

.char-logged-view {
  display: flex;
  align-items: center;
  gap: 16px;
}

.char-avatar-seal {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: radial-gradient(circle, rgba(229, 193, 88, 0.3), #0e1612);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 800;
  color: var(--gold-bright);
  box-shadow: 0 0 12px rgba(240, 194, 101, 0.4);
}

.char-logged-info {
  flex: 1;
}

.char-logged-info h4 {
  margin: 0;
  font-size: 16px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.char-logged-info p {
  margin: 3px 0 0;
  font-size: 11px;
  color: var(--text-dim);
}

.char-logged-info b.gold {
  color: var(--gold-bright);
}

.giftcode-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.giftcode-box label {
  font-size: 11px;
  color: var(--text-main);
}

.gift-input-row {
  display: flex;
  gap: 8px;
}

.gift-input-row input {
  flex: 1;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  background: rgba(8, 14, 11, 0.8);
  border: 1px solid rgba(229, 193, 88, 0.3);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gift-input-row input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(229, 193, 88, 0.2);
}

.gold-button.sm {
  min-width: 0;
  min-height: 42px;
  padding: 0 18px;
  font-size: 12px;
}

.gift-msg {
  font-size: 11px;
  min-height: 16px;
}

.gift-msg.ok {
  color: #79e894;
}

.gift-msg.err {
  color: #ff8575;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .dashboard-grid { grid-template-columns: 1fr; }

  .site-header { padding: 0 20px; }
  .site-header nav { gap: 18px; }
  .floating-links { display: none; }
  .news-board { grid-template-columns: 1fr; }
  .faction-panel { grid-template-columns: 1fr; gap: 32px; padding: 28px; text-align: center; }
  .faction-copy dl { max-width: 380px; margin-left: auto; margin-right: auto; text-align: left; }
  .feature-board { grid-template-columns: 1fr; }
  .feature-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .support-section { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .site-header { height: 68px; }
  .brand-mark { font-size: 26px; padding-right: 10px; }
  .brand span:last-child { font-size: 17px; }
  .brand small { font-size: 7.5px; }
  .header-play { padding: 8px 14px; font-size: 11px; }
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 1px solid var(--border-gold);
    color: var(--gold);
    font-size: 22px;
    background: rgba(20, 32, 24, 0.8);
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 16px;
    background: #0f1913;
    border-bottom: 1px solid var(--border-gold);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
  }
  .site-header nav.open {
    display: flex;
  }
  .site-header nav a {
    width: 100%;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(229, 193, 88, 0.1);
  }
  .hero { min-height: 720px; }
  .hero-content { padding-top: 60px; }
  .hero h1 { font-size: clamp(52px, 14vw, 84px); }
  .hero-motto { font-size: 18px; letter-spacing: 3px; }
  .gold-button { min-width: 210px; min-height: 64px; font-size: 22px; }
  .guide-shortcuts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .guide-shortcuts a { padding: 14px 12px; }
  .feature-tabs { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  dialog { padding: 24px 20px; }
}

/* ==========================================================================
   POKÉIDLE PORTAL ENHANCEMENTS
   ========================================================================== */
.faction-visual img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 22px rgba(240, 194, 101, 0.35));
}
.hero-floating-sprites {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-bottom: 18px;
}
.hero-floating-sprites img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.85)) drop-shadow(0 0 12px rgba(240,194,101,0.4));
  animation: pokeHeroFloat 3.2s ease-in-out infinite;
}
.hero-floating-sprites img:nth-child(2) {
  width: 84px;
  height: 84px;
  animation-delay: -1.1s;
}
.hero-floating-sprites img:nth-child(3) {
  animation-delay: -2.2s;
}
@keyframes pokeHeroFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
