/**
 * World2Blinded - Layout Styles
 * Navigation, sections, containers, and footer
 */

/* ═══════════════════════════════════════════
   SECTION STRUCTURE
═══════════════════════════════════════════ */

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-tag {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: var(--space-md);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--gold);
}

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-xl);
  height: var(--nav-height);
  backdrop-filter: blur(10px);
  background: rgba(5, 5, 5, 0.85);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  text-decoration: none;
}

.nav-back {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(212, 175, 55, 0.8);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color var(--transition-base);
}

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-login {
  color: rgba(212, 175, 55, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-base);
}

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

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: rgba(212, 175, 55, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-base);
}

.nav-links a:hover {
  color: var(--gold-light);
}

/* ═══════════════════════════════════════════
   LANGUAGE SWITCHER
═══════════════════════════════════════════ */

.lang-switcher {
  display: flex;
  align-items: center;
  border: 1px solid rgba(212, 175, 55, 0.25);
  overflow: hidden;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base);
}

.lang-btn.active {
  background: var(--gold);
  color: #050505;
}

.lang-btn:not(.active):hover {
  color: var(--gold-light);
}

.lang-btn:not(.active) {
  color: rgba(212, 175, 55, 0.8);
}

.lang-divider {
  width: 1px;
  height: 100%;
  background: rgba(212, 175, 55, 0.25);
}

/* ═══════════════════════════════════════════
   DASHBOARD NAVIGATION
═══════════════════════════════════════════ */

.dash-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 var(--space-xl);
  justify-content: space-between;
  backdrop-filter: blur(16px);
  background: rgba(5, 5, 5, 0.9);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.dash-nav-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.dash-nav-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.dash-nav-name {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ═══════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════ */

.dash-layout {
  display: flex;
  padding-top: var(--nav-height);
  min-height: calc(100vh - var(--nav-height));
}

.dash-sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  background: rgba(5, 5, 5, 0.98);
  border-right: 1px solid rgba(212, 175, 55, 0.08);
  position: fixed;
  top: var(--nav-height);
  bottom: 0;
  overflow-y: auto;
  padding: var(--space-lg) 0;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem var(--space-lg);
  color: var(--muted);
  cursor: pointer;
  transition: color var(--transition-base), background var(--transition-base);
  font-size: 0.85rem;
  border-left: 2px solid transparent;
}

.sidebar-nav-item:hover {
  color: var(--fg);
  background: rgba(212, 175, 55, 0.02);
}

.sidebar-nav-item.active {
  color: var(--gold);
  border-left-color: var(--gold);
  background: rgba(212, 175, 55, 0.05);
}

.sidebar-nav-item .nav-icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-unread {
  margin-left: auto;
  background: var(--gold);
  color: #050505;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 10px;
}

.dash-main {
  margin-left: var(--sidebar-width);
  flex: 1;
  padding: 2.5rem var(--space-2xl);
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */

footer {
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding: 2.5rem var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  background: #050505;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold);
  text-decoration: none;
}

footer p {
  font-size: 0.8rem;
  color: rgba(212, 175, 55, 0.7);
}

.footer-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-links a {
  color: rgba(212, 175, 55, 0.7);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--gold-light);
}
