@import url('theme-bright.css');

html, body { scroll-behavior: auto; }

/* Nền toàn trang: /img/bg.jpg — rộng full, cao theo tỉ lệ ảnh, không lặp.
   Trang dài đến đâu thì thấy nền đến đó (cuộn dọc theo ảnh cao 3300px). */
html {
  background-color: #f5ead2;
  min-height: 100%;
}
body {
  background-color: #f5ead2 !important;
  background-image: url('/img/bg.jpg') !important;
  background-repeat: no-repeat !important;
  background-position: top center !important;
  background-size: 100% auto !important;
  background-attachment: scroll !important;
  min-height: 100%;
  overflow-x: hidden;
}
body::before {
  display: none !important;
  content: none !important;
}

/* ========== HEADER (pill / cream + gold) ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 10px 16px 0;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
  backdrop-filter: none;
}
.header-landing { padding: 10px 16px 0; }
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--cream-nav);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.header-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--red-deep);
  border: 1.5px solid var(--gold);
  padding: 6px 12px;
  border-radius: 8px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #fffef8, #fff3d0);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
.header-logo:hover {
  color: var(--red-hot);
  border-color: var(--gold-bright);
  filter: brightness(1.03);
}
.header-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  flex: 1;
}
.header-cta-play {
  flex-shrink: 0;
  padding: 9px 18px;
  border-radius: 8px;
  border: 1px solid #e68a00;
  background: var(--grad-cta);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(255, 152, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: filter 0.2s, transform 0.2s;
}
.header-cta-play:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gold);
  background: #fffef8;
  color: var(--red);
  box-shadow: 0 4px 12px rgba(178, 34, 34, 0.1);
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.header-icon:hover {
  transform: translateY(-1px);
  background: #fff3d0;
  border-color: var(--gold-bright);
  color: var(--red-hot);
}
.menu-item {
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  font-size: 13px;
  text-transform: uppercase;
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-right: 1px solid rgba(212, 175, 55, 0.35);
}
.menu-item:last-child,
.menu-community {
  border-right: none;
}
.menu-item::after { display: none; }
.menu-item:hover,
.menu-item.active {
  color: var(--red-hot);
}
.menu-item:hover .nav-icon,
.menu-item.active .nav-icon {
  color: var(--red-hot);
}
.menu-community { position: relative; display: flex; align-items: center; gap: 7px; }
.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  color: var(--gold-deep);
}
.community-drop {
  display: none;
  position: absolute;
  top: 36px;
  left: 0;
  min-width: 220px;
  background: var(--surface-solid);
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.menu-community:hover .community-drop { display: block; }
.community-drop a {
  display: block;
  padding: 11px 14px;
  color: var(--text);
}
.community-drop a:hover {
  background: rgba(255, 193, 7, 0.18);
  color: var(--red);
}

/* ========== SECTIONS ========== */
.section {
  min-height: 100vh;
  padding: 100px 26px 40px;
  background: transparent;
  background-image: none;
}
.container { max-width: 1200px; margin: 0 auto; }

.section-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  margin: 0 0 18px;
  color: var(--red-deep);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9), 0 2px 8px rgba(212, 175, 55, 0.35);
}

/* ========== HERO ========== */
#hero.section-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 100vh;
  padding-top: 78px;
  padding-bottom: 0;
  background: transparent;
  background-image: none;
}
.hero-overlay { position: absolute; left: 0; right: 0; pointer-events: none; z-index: 1; }
.hero-overlay--top {
  top: 0;
  height: min(120px, 16vh);
  background: linear-gradient(180deg, rgba(255, 253, 245, 0.25), transparent);
}
.hero-overlay--bottom {
  bottom: 0;
  height: min(280px, 36vh);
  background: linear-gradient(0deg, rgba(245, 234, 210, 0.35), transparent);
}
.hero-social {
  position: absolute;
  left: max(14px, 2vw);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-social-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
  transition: background 0.2s, transform 0.2s;
}
.hero-social-link:hover {
  background: #fff3d0;
  transform: scale(1.06);
}
.hero-center {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 16px 150px;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  pointer-events: none;
}
.hero-title-img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(420px, 72vw);
  max-height: min(52vh, 520px);
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
  user-select: none;
  animation: heroTitleIn 0.9s ease-out both;
}
@keyframes heroTitleIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 4.8vw, 54px);
  letter-spacing: 0.1em;
  line-height: 1.15;
  margin: 0;
  color: transparent;
  background: linear-gradient(180deg, #fff9e6 10%, #ffd54f 45%, #ffb300 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1.5px var(--red-deep);
  filter: drop-shadow(0 4px 12px rgba(178, 34, 34, 0.35));
}
.hero-subtitle {
  margin: 16px 0 6px;
  font-size: clamp(13px, 1.6vw, 17px);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
  text-shadow: 0 1px 0 #fff, 0 2px 8px rgba(255, 193, 7, 0.4);
}
.hero-date {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--text-muted);
}
.hero-play {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s, background 0.25s;
  box-shadow: 0 12px 32px rgba(255, 152, 0, 0.3);
}
.hero-play:hover {
  transform: scale(1.06);
  background: #fff8e7;
}
.hero-play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--red);
  margin-left: 5px;
}
.hero-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 0 16px 18px;
  text-align: center;
}

/* ========== HERO DOCK (lịch + chơi ngay + đăng nhập) ========== */
.hero-dock {
  position: relative;
  max-width: 980px;
  margin: 0 auto 12px;
  display: grid;
  grid-template-columns: 1fr auto 1.15fr;
  align-items: stretch;
  gap: 0;
  background: linear-gradient(180deg, #fffef8 0%, #f7f0e2 100%);
  border: 2px solid #3aa8a0;
  border-radius: 18px;
  box-shadow:
    0 16px 40px rgba(40, 90, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 12px 14px 12px 16px;
  min-height: 132px;
}
.hero-dock-panel {
  text-align: left;
  min-width: 0;
}
.hero-dock-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #b8860b;
  text-transform: uppercase;
}
.hero-server-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: none;
  overflow: visible;
}
.hero-server-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #4a3621;
  line-height: 1.35;
}
.hero-server-bullet {
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  background: #c9a227;
  transform: rotate(45deg);
  box-shadow: 0 0 0 1px rgba(184, 134, 11, 0.35);
}
.hero-server-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-server-new {
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, #ff5a5a, #c62828);
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.hero-server-more {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  appearance: none;
  border: none;
  background: #5d4037;
  color: #fff8e7 !important;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.02em;
  text-decoration: none !important;
}
.hero-server-more:hover { filter: brightness(1.1); }

.hero-play-orb {
  position: relative;
  width: 140px;
  height: 140px;
  margin: -46px 6px 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 2;
  transition: transform 0.2s ease, filter 0.2s ease;
  background: none;
  border: none;
  box-shadow: none;
}
.hero-play-orb:hover {
  transform: translateY(-3px) scale(1.04);
  filter: brightness(1.06) drop-shadow(0 10px 18px rgba(30, 120, 110, 0.35));
}
.hero-play-orb-img {
  display: block;
  width: 175px;
  height: 140px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
.hero-play-orb-ring,
.hero-play-orb-core,
.hero-play-orb-text { display: none !important; }

.hero-dock-auth {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
  position: relative;
}
.hero-login {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: start;
  min-width: 0;
}
.hero-login-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.hero-login-main input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #c9b08a;
  background: #fff;
  color: #3a2418;
  font-size: 13px;
  outline: none;
}
.hero-login-main input:focus {
  border-color: #3aa8a0;
  box-shadow: 0 0 0 3px rgba(58, 168, 160, 0.2);
}
.hero-login-links {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
}
.hero-login-links a { color: #6b4a36; }
.hero-login-links a:hover { color: #b22222; }
.hero-login-register { color: #c62828 !important; }
.hero-login-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero-login-btn {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  width: 88px;
  height: auto;
  min-height: 0;
  border-radius: 0;
  cursor: pointer;
  box-shadow: none;
  line-height: 0;
  overflow: hidden;
}
.hero-login-btn img {
  display: block;
  width: 88px;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
.hero-login-btn:hover {
  filter: brightness(1.08);
}
.hero-login-btn:hover img {
  filter: drop-shadow(0 4px 10px rgba(31, 107, 95, 0.35));
}
.hero-login-social {
  display: flex;
  gap: 6px;
}
.hero-social-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 3px 8px rgba(0,0,0,.15);
}
.hero-social-btn--fb { background: #1877f2; }
.hero-social-btn--zalo { background: #0068ff; font-size: 11px; }
.hero-nap-btn {
  width: 84px;
  min-height: 0;
  border-radius: 0;
  display: block;
  line-height: 0;
  text-decoration: none;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  transition: transform 0.15s, filter 0.15s;
}
.hero-nap-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06) drop-shadow(0 8px 14px rgba(240, 160, 0, 0.35));
}
.hero-nap-img {
  display: block;
  width: 84px;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
.hero-nap-icon,
.hero-nap-label { display: none !important; }
.hero-login-msg {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 0;
  font-size: 12px;
  font-weight: 700;
  color: #b22222;
  text-align: left;
}
.hero-login-msg:empty { display: none; }

.hero-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color 0.2s;
}
.hero-scroll:hover { color: var(--red); }
.hero-scroll-arrow {
  font-size: 11px;
  animation: heroBounce 1.8s ease-in-out infinite;
  color: var(--gold-deep);
}
@keyframes heroBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}
.hero-widget { display: none; }

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: 56px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 18px;
  }
  .header-nav { order: 3; width: 100%; justify-content: center; gap: 0; }
  .header-icons { display: none; }
  .hero-social { display: none; }
  .menu-item { padding: 6px 10px; font-size: 12px; }
  .hero-dock {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
    max-width: 520px;
  }
  .hero-play-orb {
    margin: -8px auto 0;
    order: -1;
    width: 120px;
    height: 120px;
  }
  .hero-play-orb-img {
    width: 120px;
    height: 120px;
  }
  .hero-dock-auth {
    grid-template-columns: 1fr auto;
  }
  .hero-server-list { max-height: none; }
}
@media (max-width: 520px) {
  .header-logo { display: none; }
  .header-cta-play { padding: 8px 14px; font-size: 11px; }
  .hero-title-img {
    max-width: min(300px, 78vw);
    max-height: min(42vh, 380px);
  }
  .hero-center { padding-bottom: 12px; }
}

/* ========== NEWS / RANKING ========== */
#news,
#ranking {
  background: transparent;
  background-image: none;
}

.card {
  background: var(--surface);
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  padding: 14px;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.card::before,
.rank-tabs::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  left: 8px;
  top: 8px;
  pointer-events: none;
}
.card::after,
.rank-tabs::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  right: 8px;
  bottom: 8px;
  pointer-events: none;
}
.card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  color: var(--red-deep);
  font-weight: 600;
}

/* ========== NEWS BOARD (2 cột kiểu KHTD) ========== */
.news-section-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
#news .container {
  position: relative;
  max-width: 1100px;
}
.news-board {
  position: relative;
  color: #4a3621;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 18px 10px 22px;
}
.news-board-scroll {
  position: absolute;
  inset: 8px -6px 4px;
  border: 2px solid #d4c4a8;
  border-radius: 4px 18px 4px 18px;
  background:
    linear-gradient(90deg, #e8d9b8 0%, transparent 12px),
    linear-gradient(270deg, #e8d9b8 0%, transparent 12px),
    #f3e6c8;
  box-shadow: 0 16px 40px rgba(120, 80, 30, 0.18);
  z-index: 0;
  pointer-events: none;
}
.news-board-scroll::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid #b89a6a;
  border-radius: 2px 12px 2px 12px;
  opacity: 0.7;
}
.news-board-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
  padding: 18px 22px 16px;
  background: #fff9e5;
  border: 1px solid #c9b08a;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  min-height: 360px;
}
.news-board-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.news-banner-wrap {
  position: relative;
  border: 1px solid #d4c4a8;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  flex: 1;
  min-height: 280px;
}
.news-banner {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 340px;
  object-fit: cover;
  display: block;
}
.news-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 48px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: rgba(74, 54, 33, 0.45);
  font-size: 18px;
  z-index: 2;
  border-radius: 4px;
}
.news-arrow:hover { background: rgba(74, 54, 33, 0.7); }
#newsPrev { left: 6px; }
#newsNext { right: 6px; }
.news-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
}
.news-dot {
  width: 22px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: #9aa4b5;
  opacity: 0.55;
  transition: opacity 0.2s, background 0.2s, width 0.2s;
}
.news-dot.active {
  opacity: 1;
  background: #2c3e6b;
  width: 28px;
}
.news-board-right {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.news-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.news-cat-tab {
  appearance: none;
  border: 1px solid #8a6a42;
  background: #fff;
  color: #5a4228;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s, box-shadow 0.15s;
}
.news-cat-tab:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}
.news-cat-tab.active {
  border-color: #e68a00;
  color: #fff;
  background: linear-gradient(180deg, #f4a800 0%, #e68a00 100%);
  box-shadow: 0 4px 12px rgba(230, 138, 0, 0.35);
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  overflow: auto;
  min-height: 220px;
  padding-right: 4px;
}
.news-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: none;
  border-bottom: 1px solid #e2d5bc;
  padding: 11px 2px;
  margin: 0;
}
.news-item:first-child {
  border-top: 1px solid #e2d5bc;
}
.news-link {
  display: block;
  font-weight: 600;
  color: #4a3621;
  line-height: 1.4;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-link:hover { color: #b22222; }
.news-date {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: #7a6348;
  margin: 0;
  white-space: nowrap;
  letter-spacing: 0;
}
.news-empty {
  margin: 18px 0;
  color: #8a6a52;
  font-size: 14px;
}
.news-board-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 14px;
}
.news-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid #e68a00;
  color: #fff !important;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #f4a800 0%, #e68a00 100%);
  box-shadow: 0 4px 14px rgba(230, 138, 0, 0.35);
  text-decoration: none !important;
  transition: filter 0.15s, transform 0.15s;
}
.news-more-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.rank-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (max-width: 900px) {
  .news-board { padding: 12px 4px 18px; }
  .news-board-inner {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 14px;
  }
  .news-banner,
  .news-banner-wrap {
    min-height: 200px;
    max-height: 240px;
  }
  .news-cat-tab { font-size: 12px; padding: 6px 11px; }
}

table { width: 100%; border-collapse: collapse; }
th, td {
  padding: 10px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
  text-align: left;
  font-size: 14px;
  color: var(--text);
}
th { color: var(--red-deep); font-weight: 700; }
tbody tr:hover { background: rgba(255, 193, 7, 0.12); }

.rank-tabs {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px 18px;
  margin-bottom: 12px;
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255, 193, 7, 0.2), rgba(255, 255, 255, 0.7));
  position: relative;
  box-shadow: var(--shadow-soft);
}
.rank-tab {
  background: none;
  border: none;
  color: var(--text-soft);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.3px;
  font-weight: 500;
  padding: 0;
}
.rank-tab:hover { color: var(--red); }
.rank-tab.active {
  color: var(--red-deep);
  text-shadow: 0 1px 0 #fff, 0 0 12px rgba(255, 193, 7, 0.45);
}
.rank-panel { display: none; }
.rank-panel.active { display: block; }

.boss-hint { margin: 0 0 14px; color: var(--text-soft); font-size: 14px; }
.boss-hint b { color: var(--red); font-weight: 700; }
.boss-empty { color: var(--text-muted); margin: 0; }
.boss-maps-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 900px) {
  .boss-maps-wrap { grid-template-columns: 1fr; }
}
.boss-map-block {
  border: 1.5px solid rgba(212, 175, 55, 0.55);
  border-radius: 10px;
  padding: 10px 12px 4px;
  background: rgba(255, 253, 245, 0.8);
}
.boss-map-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--red-deep);
  letter-spacing: 0.2px;
}
.boss-map-table th,
.boss-map-table td { font-size: 13px; padding: 8px; }
.boss-status {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.boss-status.boss-alive { color: #2e7d32; }
.boss-status.boss-dead { color: var(--red-hot); }

.footer {
  background: rgba(255, 249, 229, 0.72);
  border-top: 2px solid var(--gold);
  padding: 28px;
  color: var(--text-soft);
  position: relative;
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.footer b { color: var(--red-deep); }
.footer::before,
.footer::after {
  content: "";
  position: absolute;
  width: 38px;
  height: 38px;
  top: 12px;
  border-top: 2px solid var(--gold);
}
.footer::before { left: 14px; border-left: 2px solid var(--gold); }
.footer::after { right: 14px; border-right: 2px solid var(--gold); }
