/* ==============================================================================
 * MU OLDVERSE — Premium Dark Fantasy Medieval Stylesheet
 * Integrated for WebEngine CMS 1.2.7 (Season 6 Episode 3 • No Reset)
 * ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Cinzel:wght@500;600;700;800;900&family=JetBrains+Mono:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --ov-obsidian: #090C12;
  --ov-obsidian-translucent: rgba(9, 12, 18, 0.92);
  --ov-midnight: #111A2A;
  --ov-midnight-translucent: rgba(17, 26, 42, 0.88);
  --ov-graphite: #1A2230;
  --ov-graphite-translucent: rgba(26, 34, 48, 0.85);
  --ov-slate: #263145;
  
  --ov-gold: #C6A567;
  --ov-gold-light: #E2C995;
  --ov-gold-bright: #FFF5DC;
  --ov-gold-dark: #8E713A;
  --ov-gold-muted: #9C8352;
  --ov-gold-glow: 0 0 25px -5px rgba(198, 165, 103, 0.35);
  --ov-gold-glow-lg: 0 0 45px -5px rgba(198, 165, 103, 0.5);
  --ov-gold-border: rgba(198, 165, 103, 0.3);
  --ov-gold-border-bright: rgba(226, 201, 149, 0.65);
  
  --ov-ivory: #F2F0E9;
  --ov-ash: #B4B9C4;
  --ov-ash-muted: #7E8696;
  --ov-ember: #9E4735;
  --ov-ember-glow: 0 0 25px -5px rgba(158, 71, 53, 0.4);
  
  --font-display: 'Cinzel', Georgia, serif;
  --font-ornate: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

/* Reset / Global Body */
html {
  min-width: 0 !important;
  width: 100% !important;
  overflow-x: hidden;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-width: 0 !important;
  width: 100% !important;
  overflow-x: hidden;
  background-color: var(--ov-obsidian) !important;
  color: var(--ov-ivory) !important;
  font-family: var(--font-sans) !important;
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(26, 34, 48, 0.6) 0%, rgba(17, 26, 42, 0.4) 45%, rgba(9, 12, 18, 0.98) 100%),
    radial-gradient(circle at 50% 60%, rgba(198, 165, 103, 0.04) 0%, transparent 60%) !important;
  background-attachment: fixed !important;
  min-height: 100vh;
}
.global-top-bar .global-top-bar-content {
  width: 100% !important;
  max-width: 1240px;
}
.header-info-container {
  width: 100% !important;
  max-width: 1240px;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  color: var(--ov-gold-light);
}

/* ==============================================================================
   HEADER UNIFICADO PREMIUM (MU OLDVERSE • S6E3)
   ============================================================================== */
.ov-header-master {
  position: sticky;
  top: 0;
  z-index: 1050;
  width: 100%;
  background: rgba(8, 11, 17, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(198, 165, 103, 0.28);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.75);
  transition: all 0.3s ease;
}
.ov-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Esquerda: Identidade & Brasão */
.ov-header-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ov-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  user-select: none;
  transition: opacity 0.2s ease;
}
.ov-header-brand:hover {
  opacity: 0.95;
}
.ov-header-crest {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 8px rgba(198, 165, 103, 0.45));
  transition: transform 0.3s ease, filter 0.3s ease;
}
.ov-header-brand:hover .ov-header-crest {
  transform: scale(1.06);
  filter: drop-shadow(0 0 16px rgba(198, 165, 103, 0.75));
}
.ov-header-brand-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.ov-header-brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.14em;
  background: linear-gradient(135deg, #FFF5DC 0%, #E2C995 40%, #C6A567 80%, #9E7D3E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}
.ov-header-brand-season {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--ov-ash-muted);
  margin-top: 2px;
}
.page-subpage .ov-header-brand {
  gap: 0;
  padding: 4px 0;
}
.page-subpage .ov-header-brand:hover .ov-header-brand-name {
  filter: drop-shadow(0 0 10px rgba(198, 165, 103, 0.6));
  opacity: 1;
}

/* Centro: Navegação Principal */
.ov-header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  margin: 0 12px;
}
.ov-header-center .navbar-nav {
  float: none;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  padding: 0;
}
.ov-header-center .navbar-nav > li {
  float: none;
  display: inline-block;
}
.ov-header-center .navbar-nav > li > a {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ov-ash) !important;
  padding: 8px 12px;
  border-radius: 3px;
  background: transparent !important;
  position: relative;
  transition: all 0.2s ease;
  text-decoration: none !important;
  white-space: nowrap;
}
.ov-header-center .navbar-nav > li > a:hover,
.ov-header-center .navbar-nav > li.active > a {
  color: var(--ov-gold-light) !important;
  text-shadow: 0 0 10px rgba(198, 165, 103, 0.5);
  background: rgba(198, 165, 103, 0.08) !important;
}
.ov-header-center .navbar-nav > li > a:after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ov-gold), transparent);
  transition: all 0.25s ease;
  transform: translateX(-50%);
}
.ov-header-center .navbar-nav > li > a:hover:after,
.ov-header-center .navbar-nav > li.active > a:after {
  width: 70%;
}

/* Direita: Idioma & Autenticação */
.ov-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.ov-header-lang {
  display: flex;
  align-items: center;
}
.ov-lang-selector {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(9, 12, 18, 0.85);
  border: 1px solid rgba(198, 165, 103, 0.25);
  border-radius: 3px;
  padding: 2px 3px;
}
.ov-lang-link {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ov-ash) !important;
  padding: 2px 6px;
  border-radius: 2px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.ov-lang-link:hover {
  color: var(--ov-gold-bright) !important;
  background: rgba(198, 165, 103, 0.15);
}
.ov-lang-link.ov-lang-active {
  color: #07090E !important;
  background: var(--ov-gold-light);
  font-weight: 700;
}

/* Auth Actions */
.ov-header-auth {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ov-auth-link-login {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ov-ash) !important;
  padding: 6px 8px;
  text-decoration: none !important;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  white-space: nowrap;
}
.ov-auth-link-login:hover {
  color: var(--ov-gold-light) !important;
  text-shadow: 0 0 8px rgba(198, 165, 103, 0.5);
}
.ov-auth-btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  background: linear-gradient(135deg, rgba(198, 165, 103, 0.25) 0%, rgba(142, 113, 58, 0.4) 100%);
  border: 1px solid var(--ov-gold-light);
  border-radius: 3px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ov-gold-bright) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), inset 0 0 8px rgba(198, 165, 103, 0.15);
  text-decoration: none !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.ov-auth-btn-register:hover {
  background: linear-gradient(135deg, rgba(229, 205, 155, 0.4) 0%, rgba(198, 165, 103, 0.55) 100%);
  border-color: #FFF5DC;
  color: #FFF5DC !important;
  box-shadow: 0 0 16px rgba(198, 165, 103, 0.55), inset 0 0 10px rgba(255, 245, 220, 0.25);
  transform: translateY(-1px);
}
.ov-auth-btn-usercp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(198, 165, 103, 0.15);
  border: 1px solid var(--ov-gold);
  border-radius: 3px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ov-gold-light) !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.ov-auth-btn-usercp:hover {
  background: rgba(198, 165, 103, 0.25);
  border-color: var(--ov-gold-light);
  color: #FFF5DC !important;
}
.ov-auth-link-logout {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ov-ash-muted) !important;
  text-decoration: none !important;
  padding: 6px 8px;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.ov-auth-link-logout:hover {
  color: #E74C3C !important;
}

/* Mobile Toggle */
.ov-header-toggle {
  display: none;
  background: rgba(198, 165, 103, 0.1);
  border: 1px solid var(--ov-gold-border);
  border-radius: 3px;
  padding: 8px 10px;
  cursor: pointer;
  margin-left: auto;
}
.ov-header-toggle .icon-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 1px;
  background-color: var(--ov-gold-light);
}
.ov-header-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}

/* Brand Logo (SVG Component) */
.brand-logo-container {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  user-select: none;
}
.brand-crest-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 12px rgba(198, 165, 103, 0.35));
  transition: transform 0.4s ease, filter 0.4s ease;
}
.brand-logo-container:hover .brand-crest-wrapper {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px rgba(198, 165, 103, 0.65));
}
.brand-text-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-mu {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, #FFF5DC 0%, #E2C995 40%, #C6A567 75%, #8E713A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-divider {
  width: 1px;
  height: 18px;
  background: rgba(198, 165, 103, 0.5);
}
.brand-oldverse {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--ov-ivory);
  transition: color 0.3s ease;
}
.brand-logo-container:hover .brand-oldverse {
  color: var(--ov-gold-light);
}
.brand-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.brand-subline {
  height: 1px;
  width: 16px;
  background: rgba(198, 165, 103, 0.5);
}
.brand-subtext {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--ov-gold);
}
.brand-logo-compact .brand-mu { font-size: 18px; }
.brand-logo-compact .brand-oldverse { font-size: 16px; }

/* Subpage Header */
.subpage-header {
  background: linear-gradient(180deg, rgba(13, 19, 31, 0.95) 0%, rgba(9, 12, 18, 0.98) 100%);
  border-bottom: 1px solid var(--ov-gold-border);
  padding: 30px 0 20px 0;
  text-align: center;
}

/* Master Container adjustments */
#container {
  background: transparent !important;
  width: 100% !important;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px 40px 15px !important;
}
#content {
  width: 100%;
}

/* Dark Fantasy Panels */
.panel {
  background: var(--ov-midnight-translucent) !important;
  border: 1px solid var(--ov-gold-border) !important;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.4) !important;
  color: var(--ov-ivory);
}
.panel-heading {
  background: linear-gradient(180deg, rgba(26, 34, 48, 0.95) 0%, rgba(17, 26, 42, 0.95) 100%) !important;
  border-bottom: 1px solid var(--ov-gold-border) !important;
  padding: 14px 18px !important;
}
.panel-title {
  font-family: var(--font-display) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: var(--ov-gold-light) !important;
}
.panel-body {
  padding: 20px !important;
}

/* Dark Fantasy Inputs & Forms */
.form-control {
  background: rgba(9, 12, 18, 0.85) !important;
  border: 1px solid rgba(198, 165, 103, 0.35) !important;
  color: var(--ov-ivory) !important;
  border-radius: 3px !important;
  padding: 10px 14px !important;
  height: auto !important;
  transition: all 0.2s ease;
}
.form-control:focus {
  border-color: var(--ov-gold-light) !important;
  box-shadow: 0 0 12px rgba(198, 165, 103, 0.4) !important;
  outline: none !important;
}
.control-label {
  color: var(--ov-ash) !important;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Dark Fantasy Buttons */
.btn-primary {
  background: linear-gradient(135deg, #E2C995 0%, #C6A567 50%, #8E713A 100%) !important;
  color: #090C12 !important;
  border: 1px solid var(--ov-gold-bright) !important;
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 0 0 15px rgba(198, 165, 103, 0.3) !important;
  text-shadow: none !important;
  transition: all 0.25s ease !important;
  border-radius: 3px !important;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #FFF5DC 0%, #E2C995 50%, #C6A567 100%) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8), 0 0 25px rgba(198, 165, 103, 0.5) !important;
  color: #07090E !important;
  transform: translateY(-1px);
}

.btn-secondary-forged {
  background: rgba(17, 26, 42, 0.9) !important;
  color: var(--ov-gold-light) !important;
  border: 1px solid var(--ov-gold) !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6) !important;
  transition: all 0.25s ease !important;
  border-radius: 3px !important;
}
.btn-secondary-forged:hover,
.btn-secondary-forged:focus {
  background: rgba(26, 34, 48, 0.98) !important;
  border-color: var(--ov-gold-bright) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8), 0 0 20px rgba(198, 165, 103, 0.35) !important;
  transform: translateY(-1px);
}

/* Tables */
.table {
  color: var(--ov-ivory) !important;
}
.table > thead > tr > th {
  border-bottom: 2px solid var(--ov-gold-border) !important;
  color: var(--ov-gold-light) !important;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.table > tbody > tr > td {
  border-top: 1px solid rgba(198, 165, 103, 0.15) !important;
  color: var(--ov-ash) !important;
}
.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: rgba(26, 34, 48, 0.4) !important;
}

/* Page titles */
.page-title {
  text-align: center;
  border-bottom: 1px solid var(--ov-gold-border);
  margin-bottom: 25px;
  padding-bottom: 12px;
}
.page-title span {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ov-gold-light);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  display: inline-block;
}
.page-title.ov-title-with-subtitle {
  border-bottom: none;
  margin-bottom: 4px;
  padding-bottom: 0;
}

/* Alerts */
.alert {
  border-radius: 3px;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.alert-success {
  background: rgba(20, 60, 40, 0.9) !important;
  border: 1px solid rgba(60, 180, 100, 0.5) !important;
  color: #D4EDDA !important;
}
.alert-danger {
  background: rgba(70, 20, 20, 0.9) !important;
  border: 1px solid rgba(220, 60, 60, 0.5) !important;
  color: #F8D7DA !important;
}
.alert-info {
  background: rgba(20, 40, 70, 0.9) !important;
  border: 1px solid rgba(60, 120, 220, 0.5) !important;
  color: #D1ECF1 !important;
}

/* Footer */
footer, .footer {
  width: 100% !important;
  max-width: 100% !important;
  background: #06080D !important;
  border-top: 1px solid var(--ov-gold-border) !important;
  border-radius: 0 !important;
  padding: 45px 0 35px 0 !important;
  color: var(--ov-ash-muted) !important;
  margin: 60px 0 0 0 !important;
  margin-bottom: 0 !important;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}
.footer > .footer-container {
  width: 100% !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  box-sizing: border-box;
}
.footer a {
  color: var(--ov-ash) !important;
  font-size: 13px;
  transition: color 0.2s ease;
}
.footer a:hover {
  color: var(--ov-gold-light) !important;
}
.footer hr {
  border-top: 1px solid rgba(198, 165, 103, 0.2) !important;
  border-bottom: none !important;
  margin: 25px 0 !important;
}

/* ==============================================================================
 * HOME PAGE SPECIFIC STYLES
 * ============================================================================== */

/* Section Dividers & Filigree */
.ov-section-header {
  text-align: center;
  margin-bottom: 45px;
  position: relative;
}
.ov-chapter-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--ov-gold);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.ov-section-title {
  font-family: var(--font-ornate);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--ov-gold-bright);
  text-transform: uppercase;
  margin: 0 0 10px 0;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.9), 0 0 25px rgba(198, 165, 103, 0.25);
}
.ov-section-subtitle {
  color: var(--ov-ash);
  font-size: 15px;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}
.ov-filigree-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 15px auto 0 auto;
}
.ov-filigree-line {
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--ov-gold), transparent);
}
.ov-filigree-gem {
  width: 7px;
  height: 7px;
  background: var(--ov-gold);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--ov-gold);
}

/* Hero Section (Controlled Lighting & High Contrast) */
.ov-hero-section {
  position: relative;
  min-height: 640px;
  margin: -10px -15px 40px -15px;
  padding: 65px 20px;
  border-bottom: 1px solid var(--ov-gold-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.ov-hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-citadel.jpg');
  background-size: cover;
  background-position: center 25%;
  filter: brightness(1.2) contrast(1.1) saturate(1.1);
  z-index: 1;
}
.ov-hero-backdrop:before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 50% 32%, rgba(226, 201, 149, 0.16) 0%, rgba(17, 26, 42, 0.4) 48%, rgba(9, 12, 18, 0.78) 100%),
    linear-gradient(180deg, rgba(9, 12, 18, 0.28) 0%, transparent 35%, rgba(9, 12, 18, 0.85) 100%);
}
.ov-hero-flank-dk {
  display: none;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 92%;
  width: 400px;
  background-image: url('../img/classes/dark-knight.jpg');
  background-size: cover;
  background-position: top center;
  opacity: 0.55;
  filter: brightness(1.15) contrast(1.1);
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse at 35% 45%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 35% 45%, black 40%, transparent 80%);
  z-index: 2;
}
.ov-hero-flank-dl {
  display: none;
  position: absolute;
  right: 0;
  bottom: 0;
  height: 92%;
  width: 400px;
  background-image: url('../img/classes/dark-lord.jpg');
  background-size: cover;
  background-position: top center;
  opacity: 0.55;
  filter: brightness(1.15) contrast(1.1);
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse at 65% 45%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 65% 45%, black 40%, transparent 80%);
  z-index: 2;
}
@media (min-width: 1200px) {
  .ov-hero-flank-dk, .ov-hero-flank-dl { display: block; }
}

.ov-hero-frame {
  pointer-events: none;
  position: absolute;
  inset: 15px;
  border: 1px solid rgba(198, 165, 103, 0.25);
  z-index: 3;
}
.ov-hero-frame-corner {
  position: absolute;
  width: 16px;
  height: 16px;
}
.ov-hero-frame-tl { top: -1px; left: -1px; border-top: 2px solid var(--ov-gold-light); border-left: 2px solid var(--ov-gold-light); }
.ov-hero-frame-tr { top: -1px; right: -1px; border-top: 2px solid var(--ov-gold-light); border-right: 2px solid var(--ov-gold-light); }
.ov-hero-frame-bl { bottom: -1px; left: -1px; border-bottom: 2px solid var(--ov-gold-light); border-left: 2px solid var(--ov-gold-light); }
.ov-hero-frame-br { bottom: -1px; right: -1px; border-bottom: 2px solid var(--ov-gold-light); border-right: 2px solid var(--ov-gold-light); }

.ov-hero-content {
  position: relative;
  z-index: 10;
  max-width: 860px;
  margin: 0 auto;
}
.ov-hero-crest-ambient {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}
.ov-hero-crest-ambient:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(226, 201, 149, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(12px);
}
.ov-status-medallion {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(9, 12, 18, 0.88);
  border: 1px solid var(--ov-gold-border-bright);
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 0 20px rgba(198, 165, 103, 0.25);
}
.ov-status-dot {
  width: 8px;
  height: 8px;
  background: var(--ov-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--ov-gold);
  animation: ov-pulse 2s infinite ease-in-out;
}
@keyframes ov-pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}
.ov-status-text {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ov-gold-light);
  text-transform: uppercase;
}
.ov-hero-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--ov-gold-light);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ov-hero-title {
  font-family: var(--font-ornate);
  font-size: 50px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  line-height: 1.1;
  background: linear-gradient(135deg, #FFFDF5 0%, #F5E1B5 35%, #D4B36D 70%, #9C7A3E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 25px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 15px rgba(226, 201, 149, 0.25));
}
@media (min-width: 768px) {
  .ov-hero-title { font-size: 60px; }
}
.ov-hero-subtitle {
  color: #F8F7F2;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 30px auto;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 25px rgba(0, 0, 0, 0.9);
}

/* Hero Pillars Grid */
.ov-hero-pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 35px;
}
.ov-pillar-badge {
  background: rgba(13, 19, 31, 0.92);
  border: 1px solid rgba(226, 201, 149, 0.45);
  padding: 10px 18px;
  border-radius: 4px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}
.ov-pillar-badge:hover {
  border-color: var(--ov-gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.8), var(--ov-gold-glow);
}
.ov-pillar-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ov-gold-bright);
  display: block;
}
.ov-pillar-desc {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #D2D7E0;
  letter-spacing: 0.05em;
}

/* Hero CTAs */
.ov-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.ov-btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #FFF0CC 0%, #E2C995 40%, #B89248 100%);
  color: #07090E !important;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 15px 36px;
  border-radius: 4px;
  border: 1px solid #FFE7B3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85), 0 0 35px rgba(226, 201, 149, 0.55);
  text-decoration: none !important;
  transition: all 0.3s ease;
}
.ov-btn-hero-primary:hover {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF0CC 35%, #E2C995 100%);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.95), 0 0 45px rgba(226, 201, 149, 0.8);
  transform: translateY(-2px);
}
.ov-btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(13, 19, 31, 0.94);
  color: var(--ov-gold-bright) !important;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 15px 36px;
  border-radius: 4px;
  border: 1px solid var(--ov-gold-border-bright);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 20px rgba(198, 165, 103, 0.2);
  text-decoration: none !important;
  transition: all 0.3s ease;
}
.ov-btn-hero-secondary:hover {
  background: rgba(26, 34, 48, 0.98);
  border-color: #FFE7B3;
  color: #FFFFFF !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.9), 0 0 30px rgba(226, 201, 149, 0.45);
  transform: translateY(-2px);
}
  background: rgba(17, 26, 42, 0.9);
  color: var(--ov-gold-light) !important;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 14px 34px;
  border-radius: 4px;
  border: 1px solid var(--ov-gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  text-decoration: none !important;
  transition: all 0.3s ease;
}
.ov-btn-hero-secondary:hover {
  background: rgba(26, 34, 48, 0.98);
  border-color: var(--ov-gold-bright);
  color: #FFFFFF !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.9), 0 0 25px rgba(198, 165, 103, 0.35);
  transform: translateY(-2px);
}

/* Philosophy Section */
.ov-philosophy-card {
  background: var(--ov-midnight-translucent);
  border: 1px solid var(--ov-gold-border);
  padding: 24px;
  border-radius: 4px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.ov-philosophy-card:hover {
  border-color: var(--ov-gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7), var(--ov-gold-glow);
}
.ov-philo-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--ov-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ov-gold-light);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 16px;
  background: rgba(9, 12, 18, 0.8);
  transform: rotate(45deg);
}
.ov-philo-icon span { transform: rotate(-45deg); }
.ov-philo-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--ov-gold-light);
  margin-bottom: 8px;
}
.ov-philo-desc {
  color: var(--ov-ash);
  font-size: 14px;
  line-height: 1.6;
}

/* Classes Showcase Section (Balanced Heraldic Shield Layout) */
.ov-classes-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.ov-class-item {
  flex: 0 0 calc(25% - 15px);
  max-width: calc(25% - 15px);
  display: flex;
}
.ov-class-card {
  background: var(--ov-midnight-translucent);
  border: 1px solid var(--ov-gold-border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.ov-class-card:hover {
  border-color: var(--ov-gold-bright);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), var(--ov-gold-glow);
  transform: translateY(-3px);
}
.ov-class-img-box {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #090C12;
}
.ov-class-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}
.ov-class-card:hover .ov-class-img {
  transform: scale(1.08);
}
.ov-class-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(9, 12, 18, 0.95) 100%);
}
.ov-class-roman {
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  color: var(--ov-gold-light);
  background: rgba(9, 12, 18, 0.85);
  border: 1px solid var(--ov-gold-border);
  padding: 2px 10px;
  border-radius: 3px;
}
.ov-class-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.ov-class-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--ov-gold-bright);
  margin: 0 0 6px 0;
}
.ov-class-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ov-gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ov-class-desc {
  font-size: 13px;
  color: var(--ov-ash);
  line-height: 1.5;
  margin-bottom: 12px;
  flex-grow: 1;
}
.ov-class-meta {
  border-top: 1px solid rgba(198, 165, 103, 0.2);
  padding-top: 10px;
  font-size: 11px;
  color: var(--ov-ash-muted);
}
.ov-class-meta strong {
  color: var(--ov-gold-light);
}

@media (min-width: 992px) and (max-width: 1199px) {
  .ov-class-item {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
  }
}
@media (min-width: 640px) and (max-width: 991px) {
  .ov-class-item {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}
@media (max-width: 639px) {
  .ov-class-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* World Atlas Section */
.ov-world-card {
  position: relative;
  height: 200px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--ov-gold-border);
  margin-bottom: 24px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.ov-world-card:hover {
  border-color: var(--ov-gold-bright);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), var(--ov-gold-glow);
  transform: translateY(-2px);
}
.ov-world-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.ov-world-card:hover .ov-world-bg {
  transform: scale(1.08);
}
.ov-world-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 12, 18, 0.2) 0%, rgba(9, 12, 18, 0.85) 75%, rgba(9, 12, 18, 0.98) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}
.ov-world-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--ov-gold-bright);
  margin: 0;
}
.ov-world-lvl {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ov-gold);
  letter-spacing: 0.1em;
}

/* Events Table Modernized */
.ov-event-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(198, 165, 103, 0.15);
}
.ov-event-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ov-gold-light);
  font-size: 14px;
}
.ov-event-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ov-ash);
}

/* Responsive adjustments */
.navbar-brand {
  height: auto !important;
  padding: 10px 15px !important;
}

@media (min-width: 992px) {
  .ov-header-collapse.collapse {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    height: auto !important;
    padding: 0;
    overflow: visible !important;
    visibility: visible !important;
  }
  .ov-header-toggle {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .ov-header-master {
    position: relative;
  }
  .ov-header-toggle {
    display: block !important;
  }
  .ov-header-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 11, 17, 0.98);
    border-bottom: 1px solid var(--ov-gold-border);
    padding: 15px 20px 20px 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.85);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 1060;
  }
  .ov-header-center {
    margin: 0;
    display: block;
    width: 100%;
  }
  .ov-header-center .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    float: none;
    margin: 0;
    padding: 0;
  }
  .ov-header-center .navbar-nav > li {
    float: none;
    display: block;
    width: 100%;
  }
  .ov-header-center .navbar-nav > li > a {
    display: block;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(198, 165, 103, 0.1);
    font-size: 14px;
  }
  .ov-header-right {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(198, 165, 103, 0.2);
  }
  .ov-header-lang {
    justify-content: center;
  }
  .ov-header-auth {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .ov-auth-btn-register,
  .ov-auth-btn-usercp {
    text-align: center;
    padding: 12px;
    font-size: 13px;
  }
  .ov-auth-link-login,
  .ov-auth-link-logout {
    text-align: center;
    padding: 8px;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .global-top-bar {
    padding: 7px 0 !important;
  }
  .ov-topbar-title {
    font-size: 10px;
    letter-spacing: 0.08em;
  }
  .ov-lang-selector {
    padding: 1px 3px;
  }
  .ov-lang-link {
    font-size: 9px;
    padding: 1px 4px;
  }
  .ov-hero-section {
    min-height: auto;
    margin: -10px -15px 30px -15px;
    padding: 35px 12px;
  }
  .ov-hero-frame {
    inset: 6px;
  }
  .ov-hero-title {
    font-size: 26px;
    word-break: break-word;
    letter-spacing: 0.05em;
  }
  .ov-hero-kicker {
    font-size: 10px;
    letter-spacing: 0.15em;
  }
  .ov-hero-subtitle {
    font-size: 13px;
    margin-bottom: 20px;
  }
  .ov-hero-pillars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    margin-bottom: 24px;
  }
  .ov-pillar-badge {
    padding: 6px 8px;
  }
  .ov-pillar-title {
    font-size: 11px;
    letter-spacing: 0.05em;
  }
  .ov-pillar-desc {
    font-size: 9px;
  }
  .ov-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .ov-btn-hero-primary,
  .ov-btn-hero-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 13px;
  }
  .ov-section-title {
    font-size: 22px;
  }
  .ov-section-subtitle {
    font-size: 13px;
  }
  .ov-classes-flex {
    gap: 15px;
  }
  #container {
    padding: 0 10px 20px 10px !important;
  }
}

/* ==============================================================================
 * MU OLDVERSE — Premium Rankings (Season 6 Episode 3 • Strictly NO RESET)
 * Graphite, Midnight, Aged Gold Theme, Accessible Contrast, Mobile-Ready
 * ============================================================================== */

/* Rankings Navigation Tabs (Override Legacy White Tabs) */
.rankings_menu,
.ov-rankings-nav {
  display: flex !important;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  text-align: center;
}

.rankings_menu a,
.ov-rankings-tab {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 130px;
  padding: 10px 20px !important;
  margin: 0 !important;
  background: var(--ov-graphite, #1A2230) !important;
  border: 1px solid rgba(198, 165, 103, 0.28) !important;
  border-radius: 6px !important;
  color: var(--ov-ash, #B4B9C4) !important;
  font-family: var(--font-display), 'Cinzel', Georgia, serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  text-decoration: none !important;
  transition: all 0.25s ease-in-out !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35) !important;
}

.rankings_menu a:hover,
.rankings_menu a:focus-visible,
.ov-rankings-tab:hover,
.ov-rankings-tab:focus-visible {
  background: var(--ov-slate, #263145) !important;
  border-color: var(--ov-gold-light, #E2C995) !important;
  color: var(--ov-gold-bright, #FFF5DC) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 10px rgba(198, 165, 103, 0.2) !important;
  outline: none;
}

.rankings_menu a.active,
.ov-rankings-tab.active {
  background: linear-gradient(135deg, rgba(198, 165, 103, 0.22) 0%, rgba(26, 34, 48, 0.95) 100%) !important;
  border-color: var(--ov-gold-light, #E2C995) !important;
  color: var(--ov-gold-bright, #FFF5DC) !important;
  box-shadow: 0 0 16px rgba(198, 165, 103, 0.35), inset 0 1px 0 rgba(255, 245, 220, 0.2) !important;
}

/* Class Filter Menu (Strictly 7 Season 6 Episode 3 Classes + Todas) */
.ov-rankings-filter-wrap {
  margin: 0 auto 28px auto;
  max-width: 900px;
  text-align: center;
}

.ov-rankings-filter-title {
  font-family: var(--font-display), 'Cinzel', Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ov-gold-muted, #9C8352);
  margin-bottom: 12px;
}

.ov-class-filter-grid,
.rankings-class-filter {
  display: flex !important;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.ov-class-filter-grid li,
.rankings-class-filter li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.ov-class-filter-btn,
.rankings-class-filter-selection {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 82px !important;
  padding: 8px 4px !important;
  border-radius: 8px;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  background: transparent;
  border: 1px solid transparent;
}

.ov-filter-avatar-frame {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(198, 165, 103, 0.35);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  background: var(--ov-obsidian, #090C12);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease-in-out;
}

.ov-filter-avatar,
.rankings-class-filter-selection img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  filter: grayscale(80%) contrast(1.1);
  transition: all 0.25s ease-in-out;
  border-radius: 50% !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.ov-filter-label {
  margin-top: 8px;
  font-family: var(--font-sans), 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ov-ash, #B4B9C4) !important;
  text-align: center;
  line-height: 1.25;
  transition: color 0.25s ease-in-out;
}

/* Hover and Focus States */
.ov-class-filter-btn:hover,
.ov-class-filter-btn:focus-visible,
.rankings-class-filter-selection:hover {
  outline: none;
  background: rgba(26, 34, 48, 0.4);
  border-color: rgba(198, 165, 103, 0.25);
  transform: translateY(-2px);
}

.ov-class-filter-btn:hover .ov-filter-avatar-frame,
.ov-class-filter-btn:focus-visible .ov-filter-avatar-frame {
  border-color: var(--ov-gold-light, #E2C995);
  box-shadow: 0 0 14px rgba(198, 165, 103, 0.4);
}

.ov-class-filter-btn:hover .ov-filter-avatar,
.rankings-class-filter-selection:hover img {
  filter: grayscale(0%) brightness(1.15) !important;
}

.ov-class-filter-btn:hover .ov-filter-label,
.rankings-class-filter-selection:hover {
  color: var(--ov-gold-bright, #FFF5DC) !important;
}

/* Active Class Filter State */
.ov-class-filter-btn.active {
  background: rgba(198, 165, 103, 0.12);
  border-color: rgba(198, 165, 103, 0.4);
}

.ov-class-filter-btn.active .ov-filter-avatar-frame {
  border-color: var(--ov-gold-bright, #FFF5DC);
  box-shadow: 0 0 16px rgba(198, 165, 103, 0.6);
}

.ov-class-filter-btn.active .ov-filter-avatar {
  filter: grayscale(0%) brightness(1.2);
}

.ov-class-filter-btn.active .ov-filter-label {
  color: var(--ov-gold-light, #E2C995) !important;
  font-weight: 700;
}

/* Rankings Table (Override Red Borders & Pale Table) */
.rankings-table {
  width: 100% !important;
  background: rgba(17, 26, 42, 0.8) !important;
  border: 1px solid rgba(198, 165, 103, 0.25) !important;
  border-radius: 8px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;
  margin-bottom: 20px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
}

.rankings-table thead th,
.rankings-table tr:first-child td {
  background: rgba(9, 12, 18, 0.95) !important;
  color: var(--ov-gold-light, #E2C995) !important;
  border-top: none !important;
  border-bottom: 2px solid rgba(198, 165, 103, 0.45) !important;
  border-left: none !important;
  border-right: none !important;
  font-family: var(--font-display), 'Cinzel', Georgia, serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 14px 12px !important;
  vertical-align: middle !important;
}

.rankings-table tbody td,
.rankings-table tr:not(:first-child) td {
  border-top: 1px solid rgba(38, 49, 69, 0.45) !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  padding: 10px 12px !important;
  vertical-align: middle !important;
  color: var(--ov-ivory, #F2F0E9) !important;
  font-family: var(--font-sans), 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  background: transparent !important;
}

.rankings-table tbody tr:nth-child(even) td {
  background: rgba(26, 34, 48, 0.3) !important;
}

.rankings-table tbody tr:hover td {
  background: rgba(198, 165, 103, 0.08) !important;
}

/* Ranks Badges */
.rankings-table-place {
  font-family: var(--font-mono), monospace !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-align: center !important;
}

.rankings-table-place.ov-rank-top1 {
  color: #FFF0B3 !important;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6) !important;
}

.rankings-table-place.ov-rank-top2 {
  color: #E2E8F0 !important;
  text-shadow: 0 0 8px rgba(226, 232, 240, 0.5) !important;
}

.rankings-table-place.ov-rank-top3 {
  color: #ED8936 !important;
  text-shadow: 0 0 8px rgba(237, 137, 54, 0.5) !important;
}

.rankings-table-place.ov-rank-other {
  color: var(--ov-ash-muted, #7E8696) !important;
}

/* Character Name & Level */
.ov-rank-char-name a {
  color: var(--ov-gold-light, #E2C995) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.2s ease-in-out;
}

.ov-rank-char-name a:hover {
  color: var(--ov-gold-bright, #FFF5DC) !important;
  text-decoration: underline !important;
}

.ov-rank-level {
  font-family: var(--font-mono), monospace !important;
  font-weight: 700 !important;
  color: var(--ov-gold-bright, #FFF5DC) !important;
}

.rankings-class-image {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(198, 165, 103, 0.35) !important;
  vertical-align: middle !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

/* Country Badges */
.ov-country-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.ov-country-flag {
  width: 20px !important;
  height: 13px !important;
  border-radius: 2px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
  vertical-align: middle !important;
}

.ov-country-neutral {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  vertical-align: middle;
  opacity: 0.8;
}

/* Empty State */
.ov-ranking-empty {
  background: rgba(17, 26, 42, 0.65);
  border: 1px dashed rgba(198, 165, 103, 0.35);
  border-radius: 10px;
  padding: 48px 24px;
  text-align: center;
  margin: 20px 0;
}

.ov-ranking-empty-icon {
  font-size: 42px;
  margin-bottom: 14px;
  opacity: 0.85;
}

.ov-ranking-empty-title {
  font-family: var(--font-display), 'Cinzel', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ov-gold-light, #E2C995);
  margin: 0 0 10px 0;
  letter-spacing: 0.03em;
}

.ov-ranking-empty-desc {
  font-family: var(--font-sans), 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: var(--ov-ash, #B4B9C4);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Update Timestamp */
.rankings-update-time {
  color: var(--ov-ash-muted, #7E8696) !important;
  font-size: 11px !important;
  font-family: var(--font-sans), 'Plus Jakarta Sans', sans-serif !important;
  text-align: right;
  padding: 10px 4px !important;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  #container {
    padding: 0 4px 20px 4px !important;
  }
  #content {
    padding: 6px 0 0 0 !important;
  }
  #content > .col-xs-12 {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
  .rankings_menu,
  .ov-rankings-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 16px !important;
  }
  .rankings_menu a,
  .ov-rankings-tab {
    min-width: 0 !important;
    flex: 1 1 calc(50% - 6px) !important;
    padding: 8px 10px !important;
    font-size: 11px !important;
    letter-spacing: 0.04em !important;
  }
  .ov-rankings-filter-wrap {
    margin-bottom: 18px !important;
    padding: 0 2px !important;
  }
  .ov-class-filter-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px 4px !important;
    width: 100% !important;
  }
  .ov-class-filter-btn {
    width: 100% !important;
    padding: 4px 1px !important;
  }
  .ov-filter-avatar-frame {
    width: 38px;
    height: 38px;
  }
  .ov-filter-label {
    font-size: 10px;
    margin-top: 4px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .ov-col-map {
    display: none !important;
  }
  .rankings-table {
    display: table !important;
    width: 100% !important;
    table-layout: fixed !important;
    margin-bottom: 16px !important;
  }
  .rankings-table thead th,
  .rankings-table tbody td {
    padding: 8px 4px !important;
    font-size: 11.5px !important;
  }
  .rankings-table thead th:nth-child(1),
  .rankings-table tbody td:nth-child(1) {
    width: 36px !important;
  }
  .rankings-table thead th:nth-child(2),
  .rankings-table tbody td:nth-child(2) {
    width: 36px !important;
  }
  .rankings-table thead th:nth-child(3),
  .rankings-table tbody td:nth-child(3) {
    width: 40px !important;
  }
  .rankings-table thead th:nth-child(4),
  .rankings-table tbody td:nth-child(4) {
    width: auto !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .rankings-table thead th:nth-child(5),
  .rankings-table tbody td:nth-child(5) {
    width: 52px !important;
  }
}

@media (max-width: 420px) {
  #container {
    padding: 0 2px 16px 2px !important;
  }
  #content > .col-xs-12 {
    padding-left: 2px !important;
    padding-right: 2px !important;
  }
  .rankings_menu a,
  .ov-rankings-tab {
    font-size: 10px !important;
    padding: 6px 8px !important;
  }
  .ov-class-filter-grid {
    gap: 6px 2px !important;
  }
  .ov-filter-avatar-frame {
    width: 32px;
    height: 32px;
  }
  .ov-filter-label {
    font-size: 8.5px;
    margin-top: 3px;
  }
  .rankings-table thead th,
  .rankings-table tbody td {
    padding: 6px 2px !important;
    font-size: 10.5px !important;
  }
  .rankings-class-image {
    width: 24px !important;
    height: 24px !important;
  }
  .ov-country-flag {
    width: 18px !important;
    height: 12px !important;
  }
}

/* ==========================================================================
   MU OLDVERSE — SERVER INFO PREMIUM MODULE
   ========================================================================== */

.ov-info-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 50px auto;
  font-family: var(--font-sans), 'Plus Jakarta Sans', sans-serif;
}

.ov-info-header {
  text-align: center;
  margin-bottom: 35px;
  padding: 0 0 20px 0;
  border-bottom: 1px solid rgba(198, 165, 103, 0.2);
}

.ov-info-subtitle {
  color: var(--ov-ash, #B4B9C4);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 720px;
  margin: 6px auto 0 auto;
}

.ov-info-section {
  margin-bottom: 45px;
}

.ov-info-section-header {
  margin-bottom: 22px;
  border-left: 3px solid var(--ov-gold, #C6A567);
  padding-left: 14px;
}

.ov-info-section-title {
  font-family: var(--font-display), 'Cinzel', serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ov-gold-bright, #FFF5DC);
  margin: 0 0 4px 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.ov-info-section-desc {
  font-size: 13px;
  color: var(--ov-ash, #B4B9C4);
  margin: 0;
}

/* Grids */
.ov-info-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ov-info-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

/* Info Cards */
.ov-info-card {
  background: linear-gradient(180deg, rgba(26, 34, 48, 0.75) 0%, rgba(13, 19, 31, 0.85) 100%);
  border: 1px solid rgba(198, 165, 103, 0.22);
  border-radius: 6px;
  padding: 20px 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.ov-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(198, 165, 103, 0.5), transparent);
}

.ov-info-card:hover {
  transform: translateY(-2px);
  border-color: rgba(198, 165, 103, 0.45);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(198, 165, 103, 0.15);
}

.ov-info-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.ov-info-card-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ov-gold-muted, #9C8352);
  font-family: var(--font-display), 'Cinzel', serif;
}

.ov-info-card-value {
  font-family: var(--font-display), 'Cinzel', serif;
  font-size: 23px;
  font-weight: 700;
  color: var(--ov-gold-bright, #FFF5DC);
  letter-spacing: 0.03em;
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.ov-info-card-sub {
  font-size: 12px;
  color: var(--ov-ash, #B4B9C4);
  line-height: 1.45;
  margin: 0;
}

/* Philosophy Cards */
.ov-phi-card {
  background: linear-gradient(180deg, rgba(26, 34, 48, 0.7) 0%, rgba(13, 19, 31, 0.85) 100%);
  border: 1px solid rgba(198, 165, 103, 0.22);
  border-radius: 6px;
  padding: 22px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ov-phi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(198, 165, 103, 0.45);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(198, 165, 103, 0.15);
}

.ov-phi-icon {
  font-size: 26px;
  line-height: 1;
  padding: 10px;
  background: rgba(9, 12, 18, 0.7);
  border: 1px solid rgba(198, 165, 103, 0.25);
  border-radius: 6px;
  flex-shrink: 0;
}

.ov-phi-body {
  flex: 1;
}

.ov-phi-title {
  font-family: var(--font-display), 'Cinzel', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ov-gold-light, #E2C995);
  letter-spacing: 0.04em;
  margin: 0 0 6px 0;
}

.ov-phi-desc {
  font-size: 12.5px;
  color: var(--ov-ash, #B4B9C4);
  line-height: 1.55;
  margin: 0;
}

/* Tables */
.ov-info-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: rgba(9, 12, 18, 0.85);
  border: 1px solid rgba(198, 165, 103, 0.25);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  margin-bottom: 12px;
}

.ov-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.ov-info-table thead th {
  background: linear-gradient(180deg, rgba(26, 34, 48, 0.98) 0%, rgba(17, 26, 42, 0.98) 100%);
  color: var(--ov-gold-light, #E2C995);
  font-family: var(--font-display), 'Cinzel', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(198, 165, 103, 0.3);
  white-space: nowrap;
}

.ov-info-table thead th.text-center,
.ov-info-table tbody td.text-center {
  text-align: center;
}

.ov-info-table thead th.text-right,
.ov-info-table tbody td.text-right {
  text-align: right;
}

.ov-info-table tbody tr {
  transition: background-color 0.15s ease;
}

.ov-info-table tbody tr:nth-child(even) {
  background: rgba(17, 26, 42, 0.45);
}

.ov-info-table tbody tr:nth-child(odd) {
  background: rgba(9, 12, 18, 0.45);
}

.ov-info-table tbody tr:hover {
  background: rgba(26, 34, 48, 0.75);
}

.ov-info-table tbody td {
  padding: 12px 16px;
  color: var(--ov-ivory, #F2F0E9);
  border-bottom: 1px solid rgba(198, 165, 103, 0.1);
  vertical-align: middle;
}

.ov-info-table-cmd {
  font-family: monospace, 'Courier New', Courier;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ov-gold-bright, #FFF5DC);
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(198, 165, 103, 0.2);
  display: inline-block;
}

.ov-info-table-note {
  font-size: 12px;
  color: var(--ov-ash-muted, #7E8696);
  font-style: italic;
  margin: 8px 4px 0 4px;
  line-height: 1.5;
}

/* Badges */
.ov-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.ov-badge-verified {
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.4);
  color: #2ecc71;
}

.ov-badge-homologation {
  background: rgba(243, 156, 18, 0.12);
  border: 1px solid rgba(243, 156, 18, 0.4);
  color: #f39c12;
}

.ov-badge-native {
  background: rgba(52, 152, 219, 0.12);
  border: 1px solid rgba(52, 152, 219, 0.4);
  color: #3498db;
}

.ov-badge-disabled {
  background: rgba(231, 76, 60, 0.12);
  border: 1px solid rgba(231, 76, 60, 0.4);
  color: #e74c3c;
}

/* Rate numbers */
.ov-rate-num {
  font-family: var(--font-display), 'Cinzel', serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ov-gold-light, #E2C995);
}

.ov-rate-luck {
  color: #2ecc71;
  font-weight: 700;
}

/* Responsive queries for INFO */
@media (max-width: 992px) {
  .ov-info-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ov-info-grid-2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ov-info-section-title {
    font-size: 18px;
  }
  .ov-info-card-value {
    font-size: 20px;
  }
  .ov-info-table thead th,
  .ov-info-table tbody td {
    padding: 10px 10px;
    font-size: 11.5px;
  }
}

@media (max-width: 576px) {
  .ov-info-grid-4 {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ov-info-card {
    padding: 16px 14px;
  }
  .ov-phi-card {
    padding: 16px 14px;
    flex-direction: column;
    gap: 10px;
  }
  .ov-phi-icon {
    align-self: flex-start;
  }
  .ov-info-section {
    margin-bottom: 35px;
  }
}

/* ==========================================================================
   SUBPAGE MASTER CONTAINER SPACING (WITHOUT DUPLICATE HEADER)
   ========================================================================== */
.page-subpage #container {
  padding-top: 36px !important;
}

@media (max-width: 768px) {
  .page-subpage #container {
    padding-top: 24px !important;
  }
}

@media (max-width: 420px) {
  .page-subpage #container {
    padding-top: 18px !important;
  }
}

/* ==========================================================================
   MU OLDVERSE — DOWNLOADS PREMIUM MODULE
   ========================================================================== */

.ov-dl-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 50px auto;
  font-family: var(--font-sans), 'Plus Jakarta Sans', sans-serif;
}

.ov-dl-header {
  text-align: center;
  margin-bottom: 35px;
  padding: 0 0 20px 0;
  border-bottom: 1px solid rgba(198, 165, 103, 0.2);
}

.ov-dl-subtitle {
  color: var(--ov-ash, #B4B9C4);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 700px;
  margin: 6px auto 0 auto;
}

/* Client Hero Card */
.ov-dl-client-card {
  background: linear-gradient(180deg, rgba(26, 34, 48, 0.85) 0%, rgba(13, 19, 31, 0.95) 100%);
  border: 1px solid rgba(198, 165, 103, 0.35);
  border-radius: 8px;
  padding: 32px 30px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), inset 0 0 25px rgba(0, 0, 0, 0.4);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.ov-dl-client-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(198, 165, 103, 0.7), transparent);
}

.ov-dl-client-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.ov-dl-client-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ov-dl-client-icon {
  font-size: 38px;
  line-height: 1;
  background: rgba(9, 12, 18, 0.8);
  border: 1px solid rgba(198, 165, 103, 0.3);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.ov-dl-client-name {
  font-family: var(--font-display), 'Cinzel', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ov-gold-bright, #FFF5DC);
  letter-spacing: 0.04em;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.ov-dl-client-season {
  font-size: 13px;
  color: var(--ov-gold-muted, #9C8352);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
  font-weight: 600;
}

.ov-dl-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background: rgba(9, 12, 18, 0.6);
  border: 1px solid rgba(198, 165, 103, 0.18);
  border-radius: 6px;
  padding: 16px 20px;
  margin: 20px 0;
}

.ov-dl-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ov-dl-meta-label {
  font-size: 11px;
  color: var(--ov-gold-muted, #9C8352);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-display), 'Cinzel', serif;
}

.ov-dl-meta-val {
  font-size: 13.5px;
  color: var(--ov-ivory, #F2F0E9);
  font-weight: 600;
}

.ov-dl-client-desc {
  font-size: 13.5px;
  color: var(--ov-ash, #B4B9C4);
  line-height: 1.6;
  margin: 0 0 22px 0;
}

.ov-dl-action-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ov-dl-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #E2C995 0%, #C6A567 50%, #8E713A 100%);
  border: 1px solid #FFF5DC;
  border-radius: 4px;
  color: #090C12 !important;
  font-family: var(--font-display), 'Cinzel', serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(198, 165, 103, 0.35);
  transition: all 0.25s ease;
}

.ov-dl-btn-primary:hover {
  background: linear-gradient(135deg, #FFF5DC 0%, #E2C995 50%, #A58342 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(198, 165, 103, 0.5);
}

.ov-dl-btn-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  background: rgba(26, 34, 48, 0.65);
  border: 1px solid rgba(198, 165, 103, 0.25);
  border-radius: 4px;
  color: var(--ov-ash-muted, #7E8696) !important;
  font-family: var(--font-display), 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: not-allowed;
  user-select: none;
}

/* Installation Guide */
.ov-dl-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 15px;
}

.ov-dl-step-card {
  background: linear-gradient(180deg, rgba(26, 34, 48, 0.7) 0%, rgba(13, 19, 31, 0.85) 100%);
  border: 1px solid rgba(198, 165, 103, 0.22);
  border-radius: 6px;
  padding: 20px 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ov-dl-step-card:hover {
  transform: translateY(-2px);
  border-color: rgba(198, 165, 103, 0.45);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.ov-dl-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(198, 165, 103, 0.2) 0%, rgba(17, 26, 42, 0.8) 100%);
  border: 1px solid var(--ov-gold, #C6A567);
  color: var(--ov-gold-bright, #FFF5DC);
  font-family: var(--font-display), 'Cinzel', serif;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.ov-dl-step-title {
  font-family: var(--font-display), 'Cinzel', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ov-gold-light, #E2C995);
  margin: 0 0 8px 0;
}

.ov-dl-step-desc {
  font-size: 12.5px;
  color: var(--ov-ash, #B4B9C4);
  line-height: 1.55;
  margin: 0;
}

/* Requirements Table */
.ov-dl-req-wrap {
  background: rgba(9, 12, 18, 0.85);
  border: 1px solid rgba(198, 165, 103, 0.25);
  border-radius: 6px;
  overflow-x: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.ov-dl-req-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.ov-dl-req-table thead th {
  background: linear-gradient(180deg, rgba(26, 34, 48, 0.98) 0%, rgba(17, 26, 42, 0.98) 100%);
  color: var(--ov-gold-light, #E2C995);
  font-family: var(--font-display), 'Cinzel', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(198, 165, 103, 0.3);
}

.ov-dl-req-table tbody td {
  padding: 12px 16px;
  color: var(--ov-ivory, #F2F0E9);
  border-bottom: 1px solid rgba(198, 165, 103, 0.1);
  font-size: 13px;
}

.ov-dl-req-table tbody tr:nth-child(even) {
  background: rgba(17, 26, 42, 0.45);
}

.ov-dl-req-table tbody tr:nth-child(odd) {
  background: rgba(9, 12, 18, 0.45);
}

.ov-dl-req-table tbody tr:hover {
  background: rgba(26, 34, 48, 0.75);
}

.ov-dl-req-table tbody td:first-child {
  font-weight: 700;
  color: var(--ov-gold-bright, #FFF5DC);
  font-family: var(--font-display), 'Cinzel', serif;
  font-size: 12.5px;
}

/* Media Queries for Downloads */
@media (max-width: 992px) {
  .ov-dl-guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ov-dl-client-card {
    padding: 22px 18px;
  }
  .ov-dl-client-name {
    font-size: 19px;
  }
  .ov-dl-meta-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 14px;
  }
  .ov-dl-guide-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ov-dl-btn-primary,
  .ov-dl-btn-disabled {
    width: 100%;
    text-align: center;
  }
}



