/* ==========================================================================
   DAWN OF TITANS DATABASE - CORE DESIGN SYSTEM & INDEX STYLES
   ========================================================================== */

:root {
  --bg-core: #070a10;
  --bg-surface: #0e1422;
  --bg-surface-elevated: #151e30;
  --bg-surface-hover: #1c2840;
  --border-subtle: #1e2b42;
  --border-subtle-light: #2a3b59;
  --border-gold: rgba(229, 184, 105, 0.35);
  --border-gold-bright: #e5b869;
  
  --gold-primary: #e5b869;
  --gold-light: #fbe2a7;
  --gold-dark: #b88628;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-cyan: #38bdf8;
  --accent-crimson: #f43f5e;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-purple: #a855f7;
  
  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.6), 0 4px 10px -2px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 0 18px rgba(229, 184, 105, 0.2);
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

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

html, body {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  max-width: 100vw;
  max-height: 100vh;
  background-color: var(--bg-core);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

body {
  display: flex;
  flex-direction: column;
}

/* Custom Mythic Scrollbars */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-core);
}
::-webkit-scrollbar-thumb {
  background: var(--border-subtle-light);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* Top Header Bar */
#TOP_HEADER {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  flex: 0 0 52px;
  padding: 0 18px;
  background: linear-gradient(180deg, rgba(14, 20, 34, 0.95) 0%, rgba(10, 14, 24, 0.95) 100%);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
}

#BRAND_TITLE {
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}

#BRAND_TITLE .brand_icon {
  font-size: 20px;
  filter: drop-shadow(0 0 6px var(--gold-primary));
}

#BRAND_TITLE .brand_main {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #fff 20%, var(--gold-primary) 70%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#BRAND_TITLE .brand_sub {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--gold-primary);
  background: rgba(229, 184, 105, 0.12);
  border: 1px solid var(--border-gold);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

#MENU, nav#MENU {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

#MENU > a,
nav#MENU > a,
.nav_btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: rgba(21, 30, 48, 0.6);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

#MENU > a:hover,
nav#MENU > a:hover,
.nav_btn:hover {
  color: var(--gold-light);
  background: var(--bg-surface-hover);
  border-color: var(--border-gold);
  box-shadow: 0 0 10px rgba(229, 184, 105, 0.15);
  transform: translateY(-1px);
}

/* Header Language Selector Component */
.lang_picker_wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  z-index: 105;
}

.lang_picker_btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(21, 30, 48, 0.85);
  border: 1px solid var(--border-gold);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all var(--transition-fast);
  user-select: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.lang_picker_btn:hover,
.lang_picker_btn[aria-expanded="true"] {
  background: var(--bg-surface-hover);
  border-color: var(--gold-primary);
  box-shadow: 0 0 14px rgba(229, 184, 105, 0.25);
  transform: translateY(-1px);
}

.lang_picker_btn[aria-expanded="true"] .lang_picker_caret {
  transform: rotate(180deg);
}

.lang_picker_globe,
.lang_picker_code,
.lang_picker_caret {
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .lang_picker_wrapper:hover .lang_dropdown {
    display: block;
    animation: dropdownFadeIn 0.15s ease-out;
  }
  .lang_picker_wrapper:hover .lang_picker_btn {
    background: var(--bg-surface-hover);
    border-color: var(--gold-primary);
    box-shadow: 0 0 14px rgba(229, 184, 105, 0.25);
  }
  .lang_picker_wrapper:hover .lang_picker_caret {
    transform: rotate(180deg);
  }
}

.lang_dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 210px;
  max-height: 380px;
  overflow-y: auto;
  background: rgba(10, 14, 24, 0.98);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85), 0 0 18px rgba(229, 184, 105, 0.15);
  padding: 6px;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lang_dropdown.open {
  display: block;
  animation: dropdownFadeIn 0.15s ease-out;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* User Auth Widget in Header */
.user_profile_wrapper {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  z-index: 105;
}

.auth_login_btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--bg-core);
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  border: 1px solid var(--border-gold);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 10px rgba(229, 184, 105, 0.25);
}

.auth_login_btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(229, 184, 105, 0.4);
}

.auth_user_pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(21, 30, 48, 0.85);
  border: 1px solid var(--border-gold);
  padding: 4px 10px 4px 5px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.auth_user_avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gold-primary);
}

.auth_user_name {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-light);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth_logout_btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 13px;
  padding: 2px;
  opacity: 0.7;
  transition: opacity .15s, transform .15s;
}

.auth_logout_btn:hover {
  opacity: 1;
  transform: scale(1.15);
}

/* Auth Login Modal */
.auth_modal_overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 14, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: modalFadeIn 0.2s ease-out;
}

.auth_modal_box {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: var(--bg-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 32px 28px 24px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 184, 105, 0.15);
}

.auth_modal_close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: 0;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  transition: color .15s;
}

.auth_modal_close:hover {
  color: var(--gold-light);
}

.auth_modal_icon {
  font-size: 34px;
  margin-bottom: 8px;
}

.auth_modal_title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--gold-light);
  margin: 0 0 8px;
  letter-spacing: 1px;
}

.auth_modal_subtitle {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0 0 24px;
  line-height: 1.45;
}

.auth_providers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, opacity .15s;
}

.auth_btn:hover {
  transform: translateY(-2px);
}

.auth_btn_discord {
  background: #5865F2;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.35);
}

.auth_btn_discord:hover {
  box-shadow: 0 6px 18px rgba(88, 101, 242, 0.5);
}

.auth_btn_google {
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.auth_btn_google:hover {
  background: #f9fafb;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.auth_modal_footnote {
  margin-top: 20px;
  font-size: 11.5px;
  color: var(--text-muted);
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.lang_dropdown_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
  font-size: 13px;
  user-select: none;
  margin-bottom: 2px;
  border-left: 3px solid transparent;
}

.lang_dropdown_item:hover {
  background: rgba(229, 184, 105, 0.12);
  color: var(--gold-light);
}

.lang_dropdown_item.active {
  background: rgba(229, 184, 105, 0.2);
  color: var(--gold-light);
  font-weight: 700;
  border-left-color: var(--gold-primary);
}

.lang_opt_left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang_opt_flag {
  font-size: 14px;
}

.lang_opt_name {
  font-family: var(--font-body);
}

.lang_opt_code {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

.lang_dropdown_item.active .lang_opt_code {
  color: var(--gold-primary);
  background: rgba(229, 184, 105, 0.18);
}

html[dir="rtl"] .lang_dropdown {
  right: auto;
  left: 0;
}

html[dir="rtl"] .lang_dropdown_item {
  border-left: none;
  border-right: 3px solid transparent;
}

html[dir="rtl"] .lang_dropdown_item.active {
  border-right-color: var(--gold-primary);
}

/* Page Container Layout */
#PAGE_CONTAINER {
  display: flex;
  flex-direction: row;
  flex: 1 1 0;
  min-height: 0;
  height: calc(100vh - 52px);
  width: 100%;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at 75% 30%, rgba(30, 43, 66, 0.25) 0%, transparent 60%);
}

.flex_row {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
}

.no_wrap {
  flex-wrap: nowrap;
}

/* Iframes */
.content_iframe {
  border: none;
  height: 100%;
  width: 100%;
  flex: 1;
  background-color: var(--bg-core);
}

.compare_iframe {
  border: none;
  height: 100%;
  width: 50%;
  border-left: 1px solid var(--border-subtle);
  background-color: var(--bg-core);
}

.content_hide {
  display: none !important;
}

/* Footer & Donations */
#FOOT_NOTE {
  display: none; /* Embedded cleanly into Options & About modal */
}

/* Button & Action Tokens */
.btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: white;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

.optionButton {
  margin: 4px;
  width: 48%;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.optionButton:hover {
  border-color: var(--border-gold);
  background: var(--bg-surface-hover);
  color: var(--gold-light);
}

#SAVE_BUILD_BUTTON {
  cursor: pointer;
  padding: 8px 14px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: white;
  font-weight: 600;
  text-align: center;
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

#SAVE_BUILD_BUTTON:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  box-shadow: 0 6px 16px rgba(56, 189, 248, 0.5);
  transform: translateY(-1px);
}

.no_select {
  user-select: none;
  -webkit-user-select: none;
}

/* Mobile Icon */
#MOBILE_ICON {
  display: none;
}

@media screen and (max-width: 768px) {
  #TOP_HEADER {
    padding: 0 10px;
    height: 48px;
    flex: 0 0 48px;
    gap: 8px;
  }

  #PAGE_CONTAINER {
    height: calc(100vh - 48px);
  }

  #BRAND_TITLE .brand_sub {
    display: none;
  }

  #BRAND_TITLE .brand_main {
    font-size: 14.5px;
    letter-spacing: 0.8px;
  }

  #MENU, nav#MENU {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 4px;
    scrollbar-width: none;
  }

  #MENU::-webkit-scrollbar {
    display: none;
  }

  #MENU > a,
  nav#MENU > a,
  .nav_btn {
    font-size: 11.5px;
    padding: 5px 8px;
  }

  .lang_picker_wrapper {
    margin-left: 4px;
    flex-shrink: 0;
  }

  .lang_picker_btn {
    padding: 5px 8px;
    font-size: 11.5px;
    gap: 4px;
  }

  .lang_dropdown {
    min-width: 190px;
    max-height: 320px;
  }

  #MOBILE_ICON {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    height: 32px;
    width: 32px;
    cursor: pointer;
    padding: 5px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    z-index: 101;
    flex-shrink: 0;
  }

  .mobile_icon_bar {
    background-color: var(--text-primary);
    border-radius: 2px;
    height: 2px;
    width: 100%;
    transition: transform 0.3s, opacity 0.3s;
  }

  .mobile_icon_bar_selected_1 {
    background-color: var(--gold-primary);
    height: 2px;
    width: 100%;
    transform: translateY(6px) rotate(45deg);
  }

  .mobile_icon_bar_selected_2 {
    background-color: var(--gold-primary);
    height: 2px;
    width: 100%;
    transform: translateY(-6px) rotate(-45deg);
  }

  #TAB_CONTAINER {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 300px;
    max-width: 85vw;
    z-index: 90;
    background: var(--bg-surface);
    box-shadow: 6px 0 28px rgba(0,0,0,0.85);
  }

  #TITAN_IFRAME, #CONTENT_VIEW {
    width: 100% !important;
  }
}

/* Content Viewport Container */
.content_viewport {
  flex: 1;
  height: 100%;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: var(--bg-core);
  position: relative;
  box-sizing: border-box;
}

.view_container {
  padding: 20px 28px 80px;
  max-width: 1300px;
  margin: 0 auto;
  box-sizing: border-box;
  animation: fadeInView 0.18s ease-out;
}

@keyframes fadeInView {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Active Sidebar Entry Highlight */
.list_entry.active_entry {
  color: var(--gold-primary) !important;
  background: rgba(229, 184, 105, 0.12);
  border-left: 3px solid var(--gold-primary);
  padding-left: 8px;
  font-weight: 700;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Command Deck / News Styles */
.deck_hero {
  text-align: center;
  margin: 20px 0 35px;
}
.deck_badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(229, 184, 105, 0.12);
  border: 1px solid rgba(229, 184, 105, 0.35);
  border-radius: 20px;
  color: var(--gold-primary);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.deck_title {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--gold-light);
  margin: 0 0 10px;
  letter-spacing: 1.5px;
}
.deck_subtitle {
  color: var(--text-secondary);
  font-size: 14.5px;
  max-width: 650px;
  margin: 0 auto;
}
.deck_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 1050px;
  margin: 0 auto;
}
.deck_card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition-fast);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.deck_card:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.deck_card .card_header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.deck_card .card_icon {
  font-size: 24px;
}
.deck_card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gold-light);
  margin: 0;
}
.deck_card p {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0 0 16px;
}
.deck_card .card_action {
  color: var(--gold-primary);
  font-size: 13px;
  font-weight: 700;
}

/* ==========================================================================
   Command Deck, Featured Champions & Changelog Styles
   ========================================================================== */
.deck_container {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 10px 0 40px;
}

.hero_banner {
  background: linear-gradient(180deg, rgba(21, 30, 48, 0.8) 0%, rgba(14, 20, 34, 0.95) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(229, 184, 105, 0.1);
  text-align: center;
}

.hero_banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.hero_icon {
  font-size: 32px;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 10px rgba(229, 184, 105, 0.5));
}

.hero_title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 2.5px;
  margin: 0 0 8px;
  background: linear-gradient(135deg, #ffffff 15%, var(--gold-light) 60%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero_subtitle {
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 650px;
  margin: 0 auto 20px;
}

.stat_ribbon {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.stat_pill {
  background: rgba(14, 20, 34, 0.85);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section_header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section_title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--gold-light);
  margin: 0;
  text-transform: uppercase;
}

.section_line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-gold), transparent);
}

.hub_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.hub_card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.hub_card:hover {
  border-color: var(--border-gold);
  background: var(--bg-surface-elevated);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5), 0 0 14px rgba(229, 184, 105, 0.15);
}

.hub_card_icon {
  font-size: 26px;
  margin-bottom: 10px;
}

.hub_card_title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-primary);
  margin: 0 0 6px;
}

.hub_card_desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin: 0 0 14px;
  line-height: 1.5;
  flex: 1;
}

.hub_card_action {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 4px;
}

.champions_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

.champion_card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.champion_card:hover {
  border-color: var(--gold-primary);
  background: var(--bg-surface-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6), 0 0 12px rgba(229, 184, 105, 0.2);
}

.champion_avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px solid var(--border-gold);
  background: #000;
  object-fit: cover;
  margin-bottom: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.champion_name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.champion_card:hover .champion_name {
  color: var(--gold-light);
}

.champion_tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-primary);
  background: rgba(229, 184, 105, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.champion_stars {
  color: #f59e0b;
  font-size: 12px;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

/* Changelog Accordion */
.changelog_box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 8px;
}

.changelog_toggle_btn {
  width: 100%;
  background: var(--bg-surface-elevated);
  border: none;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition-fast);
}

.changelog_toggle_btn:hover {
  background: var(--bg-surface-hover);
  color: var(--gold-primary);
}

#CHANGELOG_CONTENT {
  max-height: 440px;
  overflow-y: auto;
  padding: 16px 20px;
  display: none;
}

#CHANGELOG_CONTENT.open {
  display: block;
}

#NEWS_LIST {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#NEWS_LIST li {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

#NEWS_LIST li b {
  font-family: var(--font-display);
  color: var(--gold-primary);
  font-size: 13px;
}

.news_description {
  margin: 6px 0 0 0;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.55;
}

a.news_inline_link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}
a.news_inline_link:hover {
  text-decoration: underline;
  color: #7dd3fc;
}

@media screen and (max-width: 600px) {
  .hero_title { font-size: 22px; }
  .hero_banner { padding: 20px 16px; }
  .champions_grid { grid-template-columns: repeat(2, 1fr); }
}

