/* ================================================================
   CENGİZHAN 2 - MODERN DARK THEME
   Profesyonel MMORPG Tasarımı - Sıfırdan Kodlanmış
   ================================================================ */

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&family=Bebas+Neue&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  /* ========================================
     ESPORTS THEME - TURKUAZ VURGU SİSTEMİ
     Ana Tema: Koyu Lacivert (#05101a)
     Accent: Turkuaz (#00ffcc)
     ======================================== */
  
  /* Turkuaz Accent Renkleri */
  --accent-cyan: #00ffcc;
  --accent-cyan-light: #33ffdd;
  --accent-cyan-dark: #00ccaa;
  --accent-cyan-glow: rgba(0, 255, 204, 0.5);
  --accent-cyan-subtle: rgba(0, 255, 204, 0.08);
  --accent-cyan-border: rgba(0, 255, 204, 0.25);
  
  /* Esports Gradient */
  --gradient-esports: linear-gradient(135deg, #00ffcc 0%, #00ccaa 100%);
  --gradient-dark: linear-gradient(180deg, #05101a 0%, #0a192f 50%, #05101a 100%);
  
  /* Altın Renk Paleti (Geriye Dönük Uyumluluk) */
  --gold-primary: #d4af37;
  --gold-light: #f4d03f;
  --gold-dark: #9d7e2a;
  --gold-darker: #6b5419;
  --gold-glow: rgba(212, 175, 55, 0.5);
  --gold-subtle: rgba(212, 175, 55, 0.1);
  --gold-border: rgba(212, 175, 55, 0.3);
  
  /* Arka Plan Renkleri - Esports Tema */
  --bg-primary: #05101a;
  --bg-secondary: #0a192f;
  --bg-tertiary: #0f2744;
  --bg-elevated: #162d4d;
  --bg-panel: #0d1f38;
  --bg-overlay: rgba(5, 16, 26, 0.95);
  --bg-dark: #020810;
  
  /* Metin Renkleri */
  --text-primary: #ffffff;
  --text-secondary: #a0b4c8;
  --text-muted: #6b8299;
  --text-dim: #4a5f75;
  
  /* Vurgu Renkleri */
  --accent-red: #ff4757;
  --accent-green: #00d26a;
  --accent-blue: #3b82f6;
  --accent-purple: #a855f7;
  --accent-orange: #ff9f43;
  
  /* Boyutlar */
  --nav-height: 72px;
  --container-width: 1400px;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;
  
  /* Efektler */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-cyan: 0 0 30px var(--accent-cyan-glow);
  --shadow-gold: 0 0 30px var(--gold-glow);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Arka Plan Efekti - Esports Grid */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at top right, rgba(0, 255, 204, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(0, 255, 204, 0.02) 0%, transparent 50%),
    linear-gradient(180deg, rgba(5, 16, 26, 0.9) 0%, transparent 20%);
  pointer-events: none;
  z-index: 0;
}

/* Esports Grid Lines */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(0, 255, 204, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 204, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-cyan-dark);
  border-radius: 5px;
  border: 2px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--gold-primary);
  color: var(--bg-primary);
}

/* ===== LOADER ===== */
#pageLoader {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s, visibility 0.5s;
}

#pageLoader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-ring {
  width: 60px;
  height: 60px;
  border: 4px solid var(--gold-subtle);
  border-top-color: var(--gold-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-text {
  margin-top: 20px;
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  color: var(--gold-primary);
  text-transform: uppercase;
}

/* ===== ESPORTS NAVBAR - TAM YENİ TASARIM ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(5, 16, 26, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--accent-cyan-border);
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  transition: all var(--transition);
}

/* Navbar glow line */
#navbar::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--accent-cyan) 20%,
    var(--accent-cyan) 80%,
    transparent 100%);
  opacity: 0.6;
  animation: navbarGlow 3s ease-in-out infinite;
}

@keyframes navbarGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.nav-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

/* === LOGO WRAPPER === */
.nav-logo-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 6px 0;
  margin-right: 1.5rem;
  position: relative;
}

.nav-logo-wrapper::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 30px;
  background: linear-gradient(180deg, transparent, var(--accent-cyan-border), transparent);
}

.nav-logo-img {
  height: 72px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  object-position: left center;
  filter:
    drop-shadow(0 0 20px rgba(0, 255, 204, 0.4))
    drop-shadow(0 4px 16px rgba(0, 0, 0, 0.9))
    brightness(1.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.nav-logo-wrapper:hover .nav-logo-img {
  filter:
    drop-shadow(0 0 30px rgba(0, 255, 204, 0.6))
    drop-shadow(0 6px 24px rgba(0, 0, 0, 1))
    brightness(1.15);
  transform: scale(1.04);
}

/* === NAV LINKS - ESPORTS STYLE === */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.nav-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--nav-height);
  padding: 0 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: var(--accent-cyan);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 0 15px var(--accent-cyan-glow);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.nav-links a.active {
  color: var(--accent-cyan);
}

.nav-links a.active::before {
  transform: translateX(-50%) scaleX(1);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}

/* Subtle hover background */
.nav-links a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center bottom, var(--accent-cyan-subtle) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-links a:hover::after {
  opacity: 1;
}

/* === SERVER INFO BADGE === */
.nav-server-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--accent-cyan-border);
  border-radius: var(--border-radius);
  position: relative;
  overflow: hidden;
}

.nav-server-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.5;
}

.srv-online {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.srv-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-cyan);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 12px var(--accent-cyan);
  }
  50% {
    opacity: 0.7;
    transform: scale(0.85);
    box-shadow: 0 0 6px var(--accent-cyan);
  }
}

/* === AUTH BUTTONS - ESPORTS STYLE === */
.nav-auth {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.nav-auth a,
.nav-auth span {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.nav-auth a {
  border: 1px solid var(--accent-cyan-border);
  color: var(--text-secondary);
  background: transparent;
}

.nav-auth a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent-cyan-subtle), transparent);
  transition: left 0.4s ease;
}

.nav-auth a:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.nav-auth a:hover::before {
  left: 100%;
}

.nav-auth a.btn-signup {
  background: var(--gradient-esports);
  border-color: var(--accent-cyan);
  color: var(--bg-primary);
  box-shadow: 0 4px 15px var(--accent-cyan-glow);
}

.nav-auth a.btn-signup:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--accent-cyan-glow);
}

.nav-auth a.btn-signup::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* === MOBILE MENU TOGGLE === */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--accent-cyan-border);
  color: var(--accent-cyan);
  padding: 0.625rem;
  cursor: pointer;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition);
}

.menu-toggle:hover {
  background: var(--accent-cyan-subtle);
  border-color: var(--accent-cyan);
}

.menu-toggle svg {
  display: block;
}

/* === USER DROPDOWN - ESPORTS STYLE === */
.user-dropdown {
  position: relative;
}

.user-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.375rem 0.75rem 0.375rem 0.375rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--accent-cyan-border);
  border-radius: var(--border-radius);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.user-dropdown-toggle:hover {
  border-color: var(--accent-cyan);
  background: var(--bg-elevated);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 2px solid var(--accent-cyan-border);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dropdown-arrow {
  color: var(--accent-cyan);
  transition: transform var(--transition);
}

.user-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 220px;
  background: var(--bg-panel);
  border: 1px solid var(--accent-cyan-border);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-cyan-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition);
  z-index: 1001;
  overflow: hidden;
}

.user-dropdown.active .user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  padding: 1rem;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--accent-cyan-border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dropdown-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan-glow);
}

.avatar-img-large {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dropdown-user-info {
  flex: 1;
}

.dropdown-username {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.dropdown-status {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dropdown-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan-border), transparent);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
  border-bottom: 1px solid rgba(0, 255, 204, 0.05);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: var(--accent-cyan-subtle);
  color: var(--accent-cyan);
}

.dropdown-item.logout {
  color: var(--accent-red);
}

.dropdown-item.logout:hover {
  background: rgba(255, 71, 87, 0.1);
}

/* ===== HERO SECTION ===== */
#hero {
  position: relative;
  width: 100%;
  min-height: 700px;
  margin-top: var(--nav-height);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 70% at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 100% 50% at 50% 100%, rgba(0, 0, 0, 0.9) 0%, transparent 50%);
  z-index: 1;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 6rem 2rem;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  flex: 0 0 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dark));
}

.hero-eyebrow::after {
  background: linear-gradient(90deg, var(--gold-dark), transparent);
}

.hero-game-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: 0 0 60px var(--gold-glow), 0 4px 8px rgba(0, 0, 0, 0.8);
}

.hero-game-title span {
  color: var(--gold-primary);
  text-shadow: 0 0 80px var(--gold-glow), 0 4px 8px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-family: 'Cinzel', serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--gold-dark);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  font-weight: 500;
}

.hero-divider {
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary), transparent);
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 4rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 1.5rem;
}

.hero-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--gold-primary), transparent);
}

.hero-stat-val {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  text-shadow: 0 0 20px var(--gold-glow);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.hero-stat.upcoming .hero-stat-val {
  color: var(--gold-primary);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-download-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 3rem;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
  color: var(--bg-primary);
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 2px solid var(--gold-primary);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px var(--gold-glow);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-download-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-download-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--gold-glow);
}

.btn-download-hero:hover::before {
  left: 100%;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: transparent;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--gold-border);
  border-radius: var(--border-radius);
  transition: all var(--transition);
}

.btn-hero-secondary:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: var(--gold-subtle);
}

#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(180deg, transparent, var(--bg-primary));
  z-index: 3;
}

/* ===== DOWNLOAD STRIP ===== */
#dl-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  position: relative;
}

#dl-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0.5;
}

.dl-strip-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 90px;
  flex-wrap: wrap;
}

.dl-main {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.dl-main-icon {
  width: 60px;
  height: 60px;
  background: var(--gold-subtle);
  border: 2px solid var(--gold-border);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.5rem;
  font-weight: 700;
}

.dl-main-info {
  flex: 1;
}

.dl-main-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.dl-main-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.dl-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.dl-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--gold-border);
  background: var(--gold-subtle);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: var(--border-radius);
  transition: all var(--transition);
}

.dl-link-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: var(--gold-border);
}

/* ===== MAIN LAYOUT ===== */
#main-wrap {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  display: grid;
  grid-template-columns: 380px 1fr 280px;
  gap: 2rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* ===== PANEL BASE ===== */
.panel {
  background: var(--bg-panel);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all var(--transition);
}

.panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0.3;
}

.panel:hover {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-lg), 0 0 20px var(--gold-glow);
}

.panel-head {
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-elevated) 100%);
  border-bottom: 1px solid var(--gold-border);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-head-title {
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.panel-head-more {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.panel-head-more:hover {
  color: var(--gold-primary);
}

.panel-body {
  padding: 1.5rem;
}

.panel-head-login {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.panel-head-login a {
  color: var(--gold-primary);
  font-weight: 600;
}

/* ===== TABS ===== */
.tab-bar {
  display: flex;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--gold-border);
}

.tab-btn {
  padding: 0.875rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  flex: 1;
}

.tab-btn:hover {
  color: var(--text-secondary);
  background: var(--gold-subtle);
}

.tab-btn.active {
  color: var(--gold-primary);
  border-bottom-color: var(--gold-primary);
  background: var(--gold-subtle);
}

.media-tabs {
  display: flex;
  border-bottom: 1px solid var(--gold-border);
  padding: 0 1rem;
}

.media-tab {
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  cursor: pointer;
  border: none;
  border-bottom: 3px solid transparent;
  background: none;
  transition: all var(--transition);
}

.media-tab:hover {
  color: var(--text-secondary);
}

.media-tab.active {
  color: var(--gold-primary);
  border-bottom-color: var(--gold-primary);
}

/* ===== NEWS ===== */
.news-featured {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--gold-border);
  transition: background var(--transition);
}

.news-featured:hover {
  background: var(--bg-tertiary);
}

.news-featured-img {
  width: 140px;
  height: 90px;
  flex-shrink: 0;
  background: var(--bg-secondary);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius);
  position: relative;
}

.news-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.news-featured:hover .news-featured-img img {
  transform: scale(1.1);
}

.news-featured-img .img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 2rem;
}

.news-featured-body {
  flex: 1;
  min-width: 0;
}

.news-featured-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  display: block;
  transition: color var(--transition);
}

.news-featured-title:hover {
  color: var(--gold-primary);
}

.news-featured-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-featured-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-date {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  transition: all var(--transition);
}

.btn-read-more:hover {
  background: var(--gold-primary);
  color: var(--bg-primary);
  border-color: var(--gold-primary);
}

.news-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: background var(--transition);
}

.news-list-item:hover {
  background: var(--bg-tertiary);
}

.news-list-date {
  font-size: 0.75rem;
  color: var(--text-dim);
  white-space: nowrap;
  margin-top: 0.125rem;
  font-weight: 500;
  min-width: 35px;
}

.news-list-title {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.4;
  transition: color var(--transition);
}

.news-list-title:hover {
  color: var(--gold-primary);
}

.news-badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 3px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.news-badge.event {
  background: rgba(22, 163, 74, 0.2);
  color: var(--accent-green);
  border: 1px solid rgba(22, 163, 74, 0.3);
}

.news-badge.changelog {
  background: rgba(37, 99, 235, 0.2);
  color: var(--accent-blue);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.news-badge.announcement {
  background: var(--gold-subtle);
  color: var(--gold-primary);
  border: 1px solid var(--gold-border);
}

.news-badge.general {
  background: rgba(128, 128, 128, 0.2);
  color: var(--text-muted);
  border: 1px solid rgba(128, 128, 128, 0.3);
}

/* ===== ITEMS GRID ===== */
.items-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.5rem;
}

.item-card {
  text-align: center;
  transition: transform var(--transition);
}

.item-card:hover {
  transform: translateY(-5px);
}

.item-card-img {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 2rem;
  margin-bottom: 0.75rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.item-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, var(--gold-subtle));
  opacity: 0;
  transition: opacity var(--transition);
}

.item-card:hover .item-card-img {
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px var(--gold-glow);
}

.item-card:hover .item-card-img::before {
  opacity: 1;
}

.item-card-name {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.item-card-price {
  font-size: 0.75rem;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.btn-item-buy {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  transition: all var(--transition);
}

.btn-item-buy:hover {
  background: var(--gold-primary);
  color: var(--bg-primary);
  border-color: var(--gold-primary);
}

/* ===== MEDIA ===== */
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.5rem;
}

.media-thumb {
  position: relative;
  padding-bottom: 60%;
  overflow: hidden;
  background: var(--bg-secondary);
  cursor: pointer;
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius);
  transition: all var(--transition);
}

.media-thumb:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px var(--gold-glow);
}

.media-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.media-thumb:hover img {
  transform: scale(1.1);
}

.media-thumb-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--text-dim);
}

.media-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.media-play-icon::before {
  content: '';
  width: 50px;
  height: 50px;
  background: var(--gold-primary);
  border-radius: 50%;
  box-shadow: 0 0 30px var(--gold-glow);
  opacity: 0.9;
  transition: all var(--transition);
}

.media-thumb:hover .media-play-icon::before {
  transform: scale(1.1);
  opacity: 1;
}

/* ===== DISCUSSIONS ===== */
.discussion-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: background var(--transition);
}

.discussion-item:hover {
  background: var(--bg-tertiary);
}

.discussion-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--bg-tertiary));
  border: 2px solid var(--gold-border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Cinzel', serif;
}

.discussion-body {
  flex: 1;
  min-width: 0;
}

.discussion-title {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 600;
  line-height: 1.4;
  display: block;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--transition);
}

.discussion-title:hover {
  color: var(--gold-primary);
}

.discussion-meta {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.discussion-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  flex-shrink: 0;
}

.ds-replies {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 600;
}

.ds-time {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ===== SIGN IN FORM ===== */
.form-row {
  margin-bottom: 1rem;
  padding: 0 1.5rem;
}

.form-lbl {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-inp {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  color: var(--text-primary);
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  outline: none;
  border-radius: var(--border-radius);
  transition: all var(--transition);
  font-family: inherit;
}

.form-inp:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-subtle);
}

.form-inp::placeholder {
  color: var(--text-dim);
}

.signin-opts {
  display: flex;
  align-items: center;
  padding: 0 1.5rem 1rem;
}

.signin-opts label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
}

.signin-opts label input[type=checkbox] {
  accent-color: var(--gold-primary);
}

.btn-continue {
  display: block;
  width: calc(100% - 3rem);
  margin: 0 1.5rem 1rem;
  padding: 0.875rem;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
  border: 2px solid var(--gold-primary);
  color: var(--bg-primary);
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--border-radius);
  transition: all var(--transition);
  box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-continue:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--gold-glow);
}

.btn-lost-pw {
  display: block;
  text-align: center;
  padding: 0 1.5rem 1rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  transition: color var(--transition);
}

.btn-lost-pw:hover {
  color: var(--gold-primary);
}

/* ===== BEST PLAYERS ===== */
.best-players-list {
  padding: 0;
}

.bp-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: background var(--transition);
}

.bp-item:hover {
  background: var(--bg-tertiary);
}

.bp-rank {
  width: 25px;
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-dim);
  text-align: center;
  flex-shrink: 0;
}

.bp-rank.r1 {
  color: #ffd700;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  font-size: 1.125rem;
}

.bp-rank.r2 {
  color: #c0c0c0;
  text-shadow: 0 0 10px rgba(192, 192, 192, 0.4);
}

.bp-rank.r3 {
  color: #cd7f32;
  text-shadow: 0 0 10px rgba(205, 127, 50, 0.4);
}

.bp-flag {
  width: 28px;
  height: 18px;
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-tertiary));
  border: 1px solid var(--gold-border);
  border-radius: 2px;
  flex-shrink: 0;
  overflow: hidden;
}

.bp-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-name {
  flex: 1;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 600;
  min-width: 0;
  transition: color var(--transition);
}

.bp-name:hover {
  color: var(--gold-primary);
}

.bp-score {
  font-family: 'Cinzel', serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.bp-score-icon {
  width: 18px;
  height: 18px;
  background: var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  color: var(--bg-primary);
  font-weight: 800;
}

/* ===== FAST LINKS ===== */
.fast-links-list {
  padding: 0.5rem 0;
}

.fast-link-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.05);
  transition: background var(--transition);
}

.fast-link-item:hover {
  background: var(--bg-tertiary);
}

.fast-link-arrow {
  color: var(--gold-dark);
  font-size: 0.875rem;
}

.fast-link-item a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 600;
  transition: color var(--transition);
}

.fast-link-item a:hover {
  color: var(--gold-primary);
}

/* ===== USER WELCOME PANEL ===== */
.user-welcome-panel {
  text-align: center;
  padding: 1rem;
}

.user-avatar-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--bg-primary);
  border: 3px solid var(--gold-border);
  box-shadow: 0 0 20px var(--gold-glow);
}

.user-welcome-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.user-welcome-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.user-action-link,
.user-action-logout {
  display: block;
  padding: 0.75rem 1.5rem;
  margin: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  transition: all var(--transition);
}

.user-action-link {
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
}

.user-action-link:hover {
  background: var(--gold-primary);
  color: var(--bg-primary);
}

.user-action-logout {
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--text-muted);
}

.user-action-logout:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
  background: rgba(220, 38, 38, 0.1);
}

/* ===== FOOTER ===== */
#footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border);
  margin-top: 4rem;
  position: relative;
}

#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0.5;
}

.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-name {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-brand-name span {
  color: var(--gold-primary);
}

.footer-brand-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--bg-tertiary);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 700;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--gold-primary);
  color: var(--bg-primary);
  border-color: var(--gold-primary);
  transform: translateY(-3px);
}

.footer-col-title {
  font-family: 'Cinzel', serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col-links a {
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-col-links a:hover {
  color: var(--gold-primary);
}

.footer-status {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-status-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.footer-status-row span:first-child {
  color: var(--text-muted);
}

.footer-status-row span:last-child {
  color: var(--text-primary);
  font-weight: 600;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--gold-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--text-dim);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--gold-primary);
}

/* ===== BACK TO TOP ===== */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gold-primary);
  color: var(--bg-primary);
  border: 2px solid var(--gold-primary);
  border-radius: var(--border-radius);
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 15px var(--gold-glow);
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px var(--gold-glow);
}

/* ===== PAGE HERO BAR (Sub-pages) ===== */
.page-hero-bar {
  margin-top: var(--nav-height);
  min-height: 120px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border-bottom: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.page-hero-bar::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0.5;
}

.page-hero-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: 
    linear-gradient(rgba(212, 175, 55, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-hero-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
  width: 100%;
}

.page-hero-title {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 0 30px var(--gold-glow);
}

.page-hero-sub {
  font-size: 0.875rem;
  color: var(--text-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.page-hero-sep {
  width: 3px;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--gold-primary), transparent);
}

/* ===== PAGE CONTENT ===== */
.page-content {
  max-width: var(--container-width);
  margin: 2rem auto;
  padding: 0 2rem 4rem;
}

/* ===== RANKING TABLE ===== */
.rank-full-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-panel);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.rank-full-table thead th {
  background: var(--bg-tertiary);
  color: var(--gold-primary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 2px solid var(--gold-border);
}

.rank-full-table tbody tr {
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: background var(--transition);
}

.rank-full-table tbody tr:hover {
  background: var(--bg-tertiary);
}

.rank-full-table tbody td {
  padding: 1rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.rank-full-table tbody td:first-child {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: var(--text-primary);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  #main-wrap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .col-left,
  .col-center,
  .col-right {
    max-width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== ESPORTS MOBİL RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav-inner {
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 16, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav-links.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  }
  
  .nav-links a {
    width: 100%;
    height: auto;
    padding: 1.25rem 2rem;
    border-bottom: 1px solid rgba(0, 255, 204, 0.1);
    justify-content: flex-start;
    font-size: 1rem;
    letter-spacing: 0.1em;
  }
  
  .nav-links a::before {
    display: none;
  }
  
  .nav-links a::after {
    background: linear-gradient(90deg, var(--accent-cyan-subtle), transparent);
    opacity: 0;
    transition: opacity var(--transition);
  }
  
  .nav-links a:hover::after {
    opacity: 1;
  }
  
  .nav-links a.active {
    background: var(--accent-cyan-subtle);
    color: var(--accent-cyan);
    border-left: 3px solid var(--accent-cyan);
    padding-left: calc(2rem - 3px);
  }
  
  .nav-server-info {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Hamburger Animation */
  .menu-toggle.active svg line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    transition: transform 0.3s ease;
  }
  
  .menu-toggle.active svg line:nth-child(2) {
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .menu-toggle.active svg line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    transition: transform 0.3s ease;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }
  
  .nav-auth {
    gap: 0.5rem;
  }
  
  .nav-auth a {
    padding: 0.5rem 1rem;
    font-size: 0.6875rem;
  }
}

@media (max-width: 640px) {
  .nav-auth {
    display: none;
  }
  
  .nav-inner {
    justify-content: space-between;
  }
  
  .nav-logo-wrapper {
    margin-right: 0;
    flex-shrink: 0;
  }
  
  .nav-logo-wrapper::after {
    display: none;
  }
  
  .nav-logo-img {
    height: 56px;
  }
  
  .hero-content {
    padding: 4rem 1rem;
  }
  
  .hero-game-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    gap: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-download-hero,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .dl-strip-inner {
    flex-direction: column;
    padding: 1.5rem 1rem;
  }
  
  .dl-main {
    width: 100%;
  }
  
  .dl-links {
    width: 100%;
    flex-direction: column;
  }
  
  .dl-link-btn {
    width: 100%;
    justify-content: center;
  }
  
  #main-wrap {
    padding: 2rem 1rem;
  }
  
  .items-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .nav-logo-img {
    height: 48px;
  }
  
  .hero-game-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 0.875rem;
  }
  
  .items-grid {
    grid-template-columns: 1fr;
  }
  
  .media-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.text-gold { color: var(--gold-primary); }
.text-cyan { color: var(--accent-cyan); }
.text-white { color: var(--text-primary); }
.text-muted { color: var(--text-muted); }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.uppercase { text-transform: uppercase; }

/* ===== MOBİL MENÜ OVERLAY ===== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== ESPORTS SPECIFIC UTILITIES ===== */
.glow-cyan {
    box-shadow: 0 0 20px var(--accent-cyan-glow);
}

.glow-gold {
    box-shadow: 0 0 20px var(--gold-glow);
}

.text-glow-cyan {
    text-shadow: 0 0 20px var(--accent-cyan-glow);
}

.text-glow-gold {
    text-shadow: 0 0 20px var(--gold-glow);
}

.bg-accent-cyan-subtle {
    background: var(--accent-cyan-subtle);
}

.border-accent-cyan {
    border-color: var(--accent-cyan);
}

.border-accent-gold {
    border-color: var(--gold-primary);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ================================================================
   ESPORTS HEADER - TAM YENİ TASARIM
   ASTRO GAMING Tarzında Profesyonel Header
   ================================================================ */
  
  /* ===== HEADER CONTAINER ===== */
  .esports-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: var(--nav-height);
      z-index: 9999;
      transition: all var(--transition);
      background: linear-gradient(180deg, rgba(5, 16, 26, 0.98) 0%, rgba(5, 16, 26, 0.92) 100%);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--accent-cyan-border);
  }
  
  .esports-header::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg,
          transparent 0%,
          var(--accent-cyan) 20%,
          var(--accent-cyan) 80%,
          transparent 100%);
      opacity: 0.7;
  }
  
  .esports-header.is-scrolled {
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 255, 204, 0.1);
  }
  
  .header-container {
      max-width: 1600px;
      margin: 0 auto;
      padding: 0 2rem;
      height: 100%;
      display: flex;
      align-items: center;
      gap: 2rem;
  }
  
  /* ===== MOBILE MENU BUTTON ===== */
  .menu-toggle-btn {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 5px;
      width: 44px;
      height: 44px;
      background: transparent;
      border: 2px solid var(--accent-cyan-border);
      border-radius: var(--border-radius-sm);
      cursor: pointer;
      transition: all var(--transition);
      padding: 8px;
  }
  
  .menu-toggle-btn:hover {
      border-color: var(--accent-cyan);
      background: var(--accent-cyan-subtle);
  }
  
  .menu-toggle-btn.is-active {
      border-color: var(--accent-cyan);
  }
  
  .menu-toggle-btn.is-active .hamburger-line:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle-btn.is-active .hamburger-line:nth-child(2) {
      opacity: 0;
      transform: scaleX(0);
  }
  
  .menu-toggle-btn.is-active .hamburger-line:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .hamburger-line {
      display: block;
      width: 100%;
      height: 2px;
      background: var(--accent-cyan);
      border-radius: 2px;
      transition: all 0.3s ease;
  }
  
  /* ===== HEADER LOGO ===== */
  .header-logo {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      transition: all var(--transition);
  }
  
  .header-logo:hover {
      transform: scale(1.03);
  }
  
  .logo-img {
      height: 52px;
      width: auto;
      max-width: 200px;
      object-fit: contain;
      filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 20px rgba(0, 255, 204, 0.3));
      transition: all var(--transition);
  }
  
  .header-logo:hover .logo-img {
      filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 1)) drop-shadow(0 0 30px rgba(0, 255, 204, 0.5));
  }
  
  /* ===== NAVIGATION ===== */
  .header-nav {
      flex: 1;
      display: flex;
      justify-content: center;
  }
  
  .nav-list {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      list-style: none;
      margin: 0;
      padding: 0;
  }
  
  .nav-item {
      position: relative;
  }
  
  .nav-link {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.75rem 1.25rem;
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--text-secondary);
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      border-radius: var(--border-radius-sm);
      transition: all var(--transition);
      position: relative;
      overflow: hidden;
  }
  
  .nav-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0.7;
      transition: all var(--transition);
  }
  
  .nav-link::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%) scaleX(0);
      width: 80%;
      height: 3px;
      background: var(--accent-cyan);
      border-radius: 3px 3px 0 0;
      box-shadow: 0 0 15px var(--accent-cyan-glow);
      transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .nav-link:hover {
      color: var(--text-primary);
      background: var(--accent-cyan-subtle);
  }
  
  .nav-link:hover .nav-icon {
      opacity: 1;
      color: var(--accent-cyan);
  }
  
  .nav-link:hover::before {
      transform: translateX(-50%) scaleX(1);
  }
  
  .nav-link.active {
      color: var(--accent-cyan);
      background: var(--accent-cyan-subtle);
  }
  
  .nav-link.active::before {
      transform: translateX(-50%) scaleX(1);
  }
  
  .nav-link.active .nav-icon {
      opacity: 1;
      color: var(--accent-cyan);
  }
  
  /* ===== HEADER ACTIONS ===== */
  .header-actions {
      display: flex;
      align-items: center;
      gap: 1rem;
      flex-shrink: 0;
  }
  
  /* ===== SERVER STATUS BADGE ===== */
  .server-status-badge {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.5rem 1rem;
      background: linear-gradient(135deg, rgba(0, 255, 204, 0.1) 0%, rgba(0, 255, 204, 0.05) 100%);
      border: 1px solid var(--accent-cyan-border);
      border-radius: 50px;
      transition: all var(--transition);
  }
  
  .server-status-badge:hover {
      border-color: var(--accent-cyan);
      box-shadow: 0 0 15px var(--accent-cyan-glow);
  }
  
  .status-dot {
      width: 10px;
      height: 10px;
      background: var(--accent-cyan);
      border-radius: 50%;
      box-shadow: 0 0 10px var(--accent-cyan);
      animation: statusPulse 2s ease-in-out infinite;
  }
  
  @keyframes statusPulse {
      0%, 100% {
          opacity: 1;
          transform: scale(1);
      }
      50% {
          opacity: 0.6;
          transform: scale(0.85);
      }
  }
  
  .status-text {
      font-size: 0.75rem;
      font-weight: 700;
      color: var(--accent-cyan);
      text-transform: uppercase;
      letter-spacing: 0.1em;
  }
  
  /* ===== USER ACTIONS ===== */
  .user-actions {
      display: flex;
      align-items: center;
      gap: 0.75rem;
  }
  
  /* Action Buttons */
  .btn-action {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.625rem 1.25rem;
      font-size: 0.8125rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      text-decoration: none;
      border-radius: var(--border-radius-sm);
      transition: all var(--transition);
      position: relative;
      overflow: hidden;
  }
  
  .btn-login-action {
      color: var(--text-secondary);
      background: transparent;
      border: 1px solid var(--accent-cyan-border);
  }
  
  .btn-login-action:hover {
      color: var(--accent-cyan);
      border-color: var(--accent-cyan);
      background: var(--accent-cyan-subtle);
  }
  
  .btn-signup-action {
      color: var(--bg-primary);
      background: var(--gradient-esports);
      border: 1px solid var(--accent-cyan);
      box-shadow: 0 4px 15px var(--accent-cyan-glow);
  }
  
  .btn-signup-action:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 25px var(--accent-cyan-glow);
  }
  
  .btn-signup-action::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: left 0.5s ease;
  }
  
  .btn-signup-action:hover::before {
      left: 100%;
  }
  
  /* ===== USER MENU (Dropdown) ===== */
  .user-menu {
      position: relative;
  }
  
  .user-menu-btn {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.375rem 0.75rem 0.375rem 0.375rem;
      background: var(--bg-tertiary);
      border: 1px solid var(--accent-cyan-border);
      border-radius: var(--border-radius);
      cursor: pointer;
      transition: all var(--transition);
      color: var(--text-secondary);
  }
  
  .user-menu-btn:hover {
      border-color: var(--accent-cyan);
      background: var(--bg-elevated);
  }
  
  .user-menu.is-active .user-menu-btn {
      border-color: var(--accent-cyan);
  }
  
  .user-avatar-wrapper {
      position: relative;
      width: 40px;
      height: 40px;
      flex-shrink: 0;
  }
  
  .user-avatar-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: var(--border-radius-sm);
      border: 2px solid var(--accent-cyan-border);
  }
  
  .user-status-indicator {
      position: absolute;
      bottom: -2px;
      right: -2px;
      width: 12px;
      height: 12px;
      background: var(--accent-cyan);
      border: 2px solid var(--bg-primary);
      border-radius: 50%;
      box-shadow: 0 0 8px var(--accent-cyan-glow);
  }
  
  .user-name-text {
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--text-primary);
  }
  
  .dropdown-icon {
      color: var(--accent-cyan);
      transition: transform var(--transition);
  }
  
  .user-menu.is-active .dropdown-icon {
      transform: rotate(180deg);
  }
  
  /* User Dropdown Menu */
  .user-dropdown-menu {
      position: absolute;
      top: calc(100% + 0.75rem);
      right: 0;
      min-width: 260px;
      background: var(--bg-panel);
      border: 1px solid var(--accent-cyan-border);
      border-radius: var(--border-radius-lg);
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 255, 204, 0.15);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-15px);
      transition: all var(--transition);
      z-index: 1000;
      overflow: hidden;
  }
  
  .user-menu.is-active .user-dropdown-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
  }
  
  .dropdown-user-info {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1.25rem;
      background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
      border-bottom: 1px solid var(--accent-cyan-border);
  }
  
  .dropdown-avatar {
      width: 56px;
      height: 56px;
      flex-shrink: 0;
  }
  
  .dropdown-avatar-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
      border: 3px solid var(--accent-cyan);
      box-shadow: 0 0 15px var(--accent-cyan-glow);
  }
  
  .dropdown-user-details {
      flex: 1;
  }
  
  .dropdown-username {
      font-size: 1rem;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 0.25rem;
  }
  
  .dropdown-user-status {
      font-size: 0.75rem;
      color: var(--accent-cyan);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 600;
  }
  
  .dropdown-divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--accent-cyan-border), transparent);
      margin: 0;
  }
  
  .dropdown-item {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.875rem 1.25rem;
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--text-secondary);
      text-decoration: none;
      transition: all var(--transition);
      border-bottom: 1px solid rgba(0, 255, 204, 0.05);
  }
  
  .dropdown-item:last-child {
      border-bottom: none;
  }
  
  .dropdown-item:hover {
      background: var(--accent-cyan-subtle);
      color: var(--accent-cyan);
  }
  
  .dropdown-item svg {
      opacity: 0.7;
      transition: opacity var(--transition);
  }
  
  .dropdown-item:hover svg {
      opacity: 1;
  }
  
  .dropdown-item.logout {
      color: var(--accent-red);
  }
  
  .dropdown-item.logout:hover {
      background: rgba(255, 71, 87, 0.1);
  }
  
  /* ===== MOBILE NAVIGATION ===== */
  .mobile-nav-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(4px);
      z-index: 9998;
      opacity: 0;
      visibility: hidden;
      transition: all 0.4s ease;
  }
  
  .mobile-nav-overlay.is-active {
      opacity: 1;
      visibility: visible;
  }
  
  /* ===== RESPONSIVE ESPORTS HEADER ===== */
  @media (max-width: 1200px) {
      .header-container {
          padding: 0 1.5rem;
          gap: 1.5rem;
      }
      
      .nav-link {
          padding: 0.625rem 1rem;
          font-size: 0.8125rem;
      }
      
      .server-status-badge {
          padding: 0.375rem 0.75rem;
      }
      
      .status-text {
          display: none;
      }
  }
  
  @media (max-width: 1024px) {
      .menu-toggle-btn {
          display: flex;
      }
      
      .header-nav {
          position: fixed;
          top: var(--nav-height);
          left: 0;
          right: 0;
          bottom: 0;
          background: rgba(5, 16, 26, 0.98);
          backdrop-filter: blur(20px);
          -webkit-backdrop-filter: blur(20px);
          justify-content: flex-start;
          align-items: flex-start;
          padding: 2rem;
          transform: translateX(-100%);
          opacity: 0;
          visibility: hidden;
          transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
          z-index: 9999;
          overflow-y: auto;
      }
      
      .header-nav.is-open {
          transform: translateX(0);
          opacity: 1;
          visibility: visible;
      }
      
      .nav-list {
          flex-direction: column;
          align-items: stretch;
          width: 100%;
          gap: 0;
      }
      
      .nav-item {
          width: 100%;
      }
      
      .nav-link {
          width: 100%;
          padding: 1.25rem 1.5rem;
          font-size: 1rem;
          border-radius: var(--border-radius-sm);
          border-bottom: 1px solid rgba(0, 255, 204, 0.1);
      }
      
      .nav-link::before {
          display: none;
      }
      
      .nav-link.active {
          border-left: 3px solid var(--accent-cyan);
          padding-left: calc(1.5rem - 3px);
      }
      
      .server-status-badge {
          display: none;
      }
  }
  
  @media (max-width: 768px) {
      .header-container {
          padding: 0 1rem;
          gap: 1rem;
      }
      
      .logo-img {
          height: 44px;
          max-width: 160px;
      }
      
      .btn-action {
          padding: 0.5rem 1rem;
          font-size: 0.75rem;
      }
      
      .btn-action svg {
          display: none;
      }
  }
  
  @media (max-width: 640px) {
      .user-actions .btn-login-action {
          display: none;
      }
      
      .logo-img {
          height: 40px;
          max-width: 140px;
      }
  }
  
  @media (max-width: 480px) {
      .logo-img {
          height: 36px;
          max-width: 120px;
      }
      
      .user-menu-btn {
          padding: 0.25rem;
      }
      
      .user-avatar-wrapper {
          width: 36px;
          height: 36px;
      }
      
      .user-name-text {
          display: none;
      }
      
      .dropdown-icon {
          display: none;
      }
  }
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease-out;
}

.animate-slideInLeft {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slideInRight {
  animation: slideInRight 0.6s ease-out;
}

/* Esports Glow Pulse */
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 15px var(--accent-cyan-glow);
  }
  50% {
    box-shadow: 0 0 30px var(--accent-cyan-glow), 0 0 50px var(--accent-cyan-glow);
  }
}

.glow-pulse {
  animation: glowPulse 2s ease-in-out infinite;
}

/* ===== PRINT STYLES ===== */
@media print {
  #navbar,
  #footer,
  #backToTop,
  .nav-auth,
  .menu-toggle {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .panel {
    border: 1px solid #ccc;
    box-shadow: none;
  }
}

/* ===== DOWNLOAD PAGE STYLES ===== */
.dl-featured-box {
  background: var(--bg-panel);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.dl-feat-icon {
  width: 80px;
  height: 80px;
  background: var(--gold-subtle);
  border: 2px solid var(--gold-border);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.dl-feat-info {
  flex: 1;
}

.dl-feat-title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.dl-feat-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.dl-feat-meta {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.dl-meta-tag {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.dl-card-grid {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.dl-card-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius);
  transition: all var(--transition);
}

.dl-card-item:hover {
  border-color: var(--gold-primary);
  background: var(--bg-elevated);
  transform: translateX(5px);
}

.dl-card-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-panel);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.dl-card-info {
  flex: 1;
}

.dl-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.dl-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.btn-dl {
  padding: 0.625rem 1.5rem;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-dl:hover {
  background: var(--gold-primary);
  color: var(--bg-primary);
  border-color: var(--gold-primary);
}

.sysreq-table {
  width: 100%;
  font-size: 0.875rem;
}

.sysreq-table tr {
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.sysreq-table td {
  padding: 0.5rem 0;
}

.sysreq-table td:first-child {
  color: var(--text-muted);
  width: 40%;
}

.sysreq-table td:last-child {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

/* ===== RANKING TABLE STYLES ===== */
.rank-full-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-panel);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.rank-full-table thead th {
  background: var(--bg-tertiary);
  color: var(--gold-primary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 2px solid var(--gold-border);
}

.rank-full-table thead th:first-child {
  text-align: center;
  width: 80px;
}

.rank-full-table thead th:last-child {
  text-align: center;
  width: 120px;
}

.rank-full-table tbody tr {
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: background var(--transition);
}

.rank-full-table tbody tr:hover {
  background: var(--bg-tertiary);
}

.rank-full-table tbody td {
  padding: 1rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  vertical-align: middle;
}

.rft-rank {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: var(--text-dim);
  text-align: center;
  font-size: 1rem;
}

.rank-full-table tbody tr.top-3 .rft-rank {
  font-size: 1.25rem;
}

.rank-full-table tbody tr:nth-child(1) .rft-rank {
  color: #ffd700;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.rank-full-table tbody tr:nth-child(2) .rft-rank {
  color: #c0c0c0;
  text-shadow: 0 0 10px rgba(192, 192, 192, 0.4);
}

.rank-full-table tbody tr:nth-child(3) .rft-rank {
  color: #cd7f32;
  text-shadow: 0 0 10px rgba(205, 127, 50, 0.4);
}

.rft-name {
  font-weight: 600;
  color: var(--text-primary);
}

.rft-level {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: var(--gold-primary);
  text-align: center;
  font-size: 1.125rem;
}

/* ===== BLOG PAGE STYLES ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--bg-panel);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.blog-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 20px var(--gold-glow);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  overflow: hidden;
  position: relative;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.1);
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.blog-card-category {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card-date {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.blog-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

.blog-card-title:hover {
  color: var(--gold-primary);
}

.blog-card-excerpt {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== DASHBOARD STYLES ===== */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg-panel);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all var(--transition);
}

.stat-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-card-icon {
  width: 60px;
  height: 60px;
  background: var(--gold-subtle);
  border: 2px solid var(--gold-border);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--gold-primary);
}

.stat-card-info {
  flex: 1;
}

.stat-card-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-card-value {
  font-family: 'Cinzel', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ===== FORM STYLES ===== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: all var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-subtle);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ===== BUTTON STYLES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
  border-color: var(--gold-primary);
  color: var(--bg-primary);
  box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--gold-glow);
}

.btn-secondary {
  background: var(--bg-elevated);
  border-color: var(--gold-border);
  color: var(--text-secondary);
}

.btn-secondary:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: var(--gold-subtle);
}

.btn-danger {
  background: rgba(220, 38, 38, 0.2);
  border-color: var(--accent-red);
  color: var(--accent-red);
}

.btn-danger:hover {
  background: var(--accent-red);
  color: var(--text-primary);
}

.btn-success {
  background: rgba(22, 163, 74, 0.2);
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.btn-success:hover {
  background: var(--accent-green);
  color: var(--text-primary);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

/* ===== ALERT STYLES ===== */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.alert-success {
  background: rgba(22, 163, 74, 0.1);
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.alert-error {
  background: rgba(220, 38, 38, 0.1);
  border-color: var(--accent-red);
  color: var(--accent-red);
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: #f59e0b;
  color: #f59e0b;
}

.alert-info {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

/* ===== BADGE STYLES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-gold {
  background: var(--gold-subtle);
  color: var(--gold-primary);
  border: 1px solid var(--gold-border);
}

.badge-green {
  background: rgba(22, 163, 74, 0.1);
  color: var(--accent-green);
  border: 1px solid var(--accent-green);
}

.badge-red {
  background: rgba(220, 38, 38, 0.1);
  color: var(--accent-red);
  border: 1px solid var(--accent-red);
}

.badge-blue {
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-blue);
  border: 1px solid var(--accent-blue);
}

/* ===== MODAL STYLES ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-panel);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius-lg);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close {
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.modal-close:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: var(--text-primary);
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--gold-border);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* ===== AUTH PAGES (LOGIN/REGISTER) ===== */
.auth-page-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 2rem) 1rem 2rem;
  background: 
    radial-gradient(ellipse at top, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
}

.auth-box {
  width: 100%;
  max-width: 450px;
  background: var(--bg-panel);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg), 0 0 40px var(--gold-glow);
  overflow: hidden;
}

.auth-box-head {
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-elevated) 100%);
  border-bottom: 1px solid var(--gold-border);
  padding: 1.5rem 2rem;
  text-align: center;
}

.auth-box-title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.auth-box-switch {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.auth-box-switch a {
  color: var(--gold-primary);
  font-weight: 600;
}

.auth-box-body {
  padding: 2rem;
}

.auth-alert {
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  border: 1px solid transparent;
}

.auth-alert.error {
  background: rgba(220, 38, 38, 0.1);
  border-color: var(--accent-red);
  color: var(--accent-red);
}

.auth-alert.success {
  background: rgba(22, 163, 74, 0.1);
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.auth-form-row {
  margin-bottom: 1.5rem;
}

.auth-lbl {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.auth-inp {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: all var(--transition);
}

.auth-inp:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-subtle);
}

.auth-inp::placeholder {
  color: var(--text-dim);
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.auth-remember input[type=checkbox] {
  accent-color: var(--gold-primary);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.btn-auth-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
  border: 2px solid var(--gold-primary);
  color: var(--bg-primary);
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--gold-glow);
}

.auth-footer-links {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--gold-border);
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.auth-footer-links a {
  color: var(--gold-primary);
  font-weight: 600;
  transition: color var(--transition);
}

.auth-footer-links a:hover {
  color: var(--gold-light);
}

/* ===== DASHBOARD PAGE ===== */
.dashboard-header {
  background: var(--bg-panel);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.dashboard-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--bg-primary);
  border: 3px solid var(--gold-border);
  box-shadow: 0 0 30px var(--gold-glow);
  flex-shrink: 0;
}

.dashboard-info {
  flex: 1;
}

.dashboard-username {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.dashboard-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

.dashboard-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== CHARACTER LIST ===== */
.character-list {
  display: grid;
  gap: 1rem;
}

.character-item {
  background: var(--bg-panel);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all var(--transition);
}

.character-item:hover {
  border-color: var(--gold-primary);
  background: var(--bg-elevated);
  transform: translateX(5px);
}

.character-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--gold-dark), var(--bg-tertiary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-primary);
  border: 2px solid var(--gold-border);
  flex-shrink: 0;
}

.character-info {
  flex: 1;
}

.character-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.character-details {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.character-stats {
  display: flex;
  gap: 1.5rem;
  flex-shrink: 0;
}

.character-stat {
  text-align: center;
}

.character-stat-value {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-primary);
  display: block;
}

.character-stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== TRANSACTION HISTORY ===== */
.transaction-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.transaction-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius);
  transition: all var(--transition);
}

.transaction-item:hover {
  background: var(--bg-elevated);
}

.transaction-icon {
  width: 40px;
  height: 40px;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.transaction-info {
  flex: 1;
}

.transaction-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.125rem;
}

.transaction-date {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.transaction-amount {
  font-family: 'Cinzel', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.transaction-amount.negative {
  color: var(--accent-red);
}

.transaction-amount.positive {
  color: var(--accent-green);
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 4rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.empty-state-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.empty-state-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ===== LOADING SPINNER ===== */
.loading-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 4px solid var(--gold-subtle);
  border-top-color: var(--gold-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* ===== TOOLTIP ===== */
.tooltip {
  position: absolute;
  background: var(--bg-elevated);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  border: 1px solid var(--gold-border);
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

/* ===== DROPDOWN ===== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all var(--transition);
}

.dropdown-toggle:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius);
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition);
  z-index: 1000;
}

.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all var(--transition);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: var(--bg-tertiary);
  color: var(--gold-primary);
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  background: var(--bg-panel);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
}

.pagination a:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: var(--gold-subtle);
}

.pagination .active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: var(--bg-primary);
}

.pagination .disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ===== PASSWORD STRENGTH BAR ===== */
.psw-strength {
  width: 100%;
  height: 4px;
  background: var(--bg-tertiary);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.psw-strength-bar {
  height: 100%;
  width: 0%;
  background: var(--accent-red);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 1024px) {
  .dl-featured-box {
    flex-direction: column;
    text-align: center;
  }
  
  .dl-feat-icon {
    margin: 0 auto;
  }
  
  .dashboard-header {
    flex-direction: column;
    text-align: center;
  }
  
  .dashboard-actions {
    justify-content: center;
  }
  
  .character-item {
    flex-direction: column;
    text-align: center;
  }
  
  .character-stats {
    width: 100%;
    justify-content: space-around;
  }
  
  /* Ranking page responsive */
  .page-content > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  
  .rank-full-table {
    font-size: 0.875rem;
  }
  
  .rank-full-table thead th,
  .rank-full-table tbody td {
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 768px) {
  .auth-box {
    max-width: 100%;
  }
  
  .dl-card-item {
    flex-direction: column;
    text-align: center;
  }
  
  .dl-card-icon {
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .transaction-item {
    flex-direction: column;
    text-align: center;
  }
  
  .stat-card {
    flex-direction: column;
    text-align: center;
  }
  
  /* Ranking table mobile */
  .rank-full-table {
    font-size: 0.8125rem;
  }
  
  .rank-full-table thead th,
  .rank-full-table tbody td {
    padding: 0.625rem 0.75rem;
  }
  
  .rank-full-table thead th:first-child,
  .rank-full-table tbody td:first-child {
    width: 50px;
  }
  
  .rank-full-table thead th:last-child,
  .rank-full-table tbody td:last-child {
    width: 80px;
  }
}

/* ===== ADMIN PANEL COMPATIBILITY ===== */
.admin-sidebar {
  background: var(--bg-panel);
  border-right: 1px solid var(--gold-border);
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.admin-nav-item:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border-left-color: var(--gold-dark);
}

.admin-nav-item.active {
  background: var(--gold-subtle);
  color: var(--gold-primary);
  border-left-color: var(--gold-primary);
}

.admin-content {
  padding: 2rem;
  background: var(--bg-primary);
}

.admin-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gold-border);
}

.admin-title {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.admin-subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ===== DATA TABLE ===== */
.data-table {
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.data-table thead {
  background: var(--bg-tertiary);
  border-bottom: 2px solid var(--gold-border);
}

.data-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.data-table tbody tr {
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: background var(--transition);
}

.data-table tbody tr:hover {
  background: var(--bg-tertiary);
}

.data-table td {
  padding: 1rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.data-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

/* ===== ACTION BUTTONS ===== */
.action-buttons {
  display: flex;
  gap: 0.5rem;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--bg-elevated);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.action-btn:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: var(--gold-subtle);
}

.action-btn.danger:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
  background: rgba(220, 38, 38, 0.1);
}

.action-btn.success:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(22, 163, 74, 0.1);
}

/* ===== SEARCH BAR ===== */
.search-bar {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3rem;
  background: var(--bg-secondary);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: all var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-subtle);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

/* ===== FILTER TABS ===== */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.625rem 1.25rem;
  background: var(--bg-panel);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-tab:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.filter-tab.active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: var(--bg-primary);
}

/* ===== CARD GRID ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card-header {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gold-border);
}

.card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.card-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.card-body {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.card-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gold-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===== FINAL TOUCHES ===== */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
  margin: 2rem 0;
}

.text-gradient {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-text {
  text-shadow: 0 0 20px var(--gold-glow);
}

.hover-lift {
  transition: transform var(--transition);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.focus-visible:focus {
  outline: 2px solid var(--gold-primary);
  outline-offset: 2px;
}

/* ===== PRINT OPTIMIZATION ===== */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .panel,
  .card {
    border: 1px solid #ccc;
    box-shadow: none;
    page-break-inside: avoid;
  }
}

/* ===== RANKING PAGE SPECIFIC STYLES ===== */
.ranking-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

.ranking-main {
  min-width: 0;
}

.ranking-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.rank-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.rank-table-wrapper::-webkit-scrollbar {
  height: 8px;
}

.rank-table-wrapper::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 4px;
}

.rank-table-wrapper::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}

.rank-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Top 3 highlight */
.rank-full-table tbody tr:nth-child(1) {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.05), transparent);
}

.rank-full-table tbody tr:nth-child(2) {
  background: linear-gradient(90deg, rgba(192, 192, 192, 0.05), transparent);
}

.rank-full-table tbody tr:nth-child(3) {
  background: linear-gradient(90deg, rgba(205, 127, 50, 0.05), transparent);
}

/* Ranking stats */
.ranking-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.ranking-stat-card {
  background: var(--bg-panel);
  border: 1px solid var(--gold-border);
  border-radius: var(--border-radius);
  padding: 1rem;
  text-align: center;
}

.ranking-stat-value {
  font-family: 'Cinzel', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-primary);
  display: block;
  margin-bottom: 0.25rem;
}

.ranking-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive ranking */
@media (max-width: 1200px) {
  .ranking-container {
    grid-template-columns: 1fr;
  }
  
  .ranking-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .ranking-stats {
    grid-template-columns: 1fr;
  }
  
  .rank-full-table thead th {
    font-size: 0.75rem;
    padding: 0.75rem 0.5rem;
  }
  
  .rank-full-table tbody td {
    font-size: 0.8125rem;
    padding: 0.75rem 0.5rem;
  }
  
  .rft-rank {
    font-size: 0.875rem;
  }
  
  .rft-level {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .rank-full-table thead th,
  .rank-full-table tbody td {
    padding: 0.5rem 0.375rem;
    font-size: 0.75rem;
  }
  
  .rank-full-table thead th:nth-child(3),
  .rank-full-table tbody td:nth-child(3) {
    display: none;
  }
}


/* ============================================
   DASHBOARD STYLES
   ============================================ */

/* Dashboard Main Layout */
.dashboard-main {
    min-height: 100vh;
    padding: 2rem 0;
    margin-top: 90px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 0;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.user-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.user-avatar-large {
    position: relative;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    overflow: hidden;
}

.sidebar-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-icon {
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.status-dot {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--dark-bg);
}

.status-dot.online {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.user-info {
    text-align: center;
}

.user-name-display {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.user-status {
    font-size: 0.875rem;
    color: #10b981;
}

/* Sidebar Menu */
.sidebar-menu {
    padding: 1rem 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.sidebar-link:hover {
    background: rgba(212, 175, 55, 0.05);
    color: var(--gold);
    border-left-color: var(--gold);
}

.sidebar-link.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border-left-color: var(--gold);
}

.sidebar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.sidebar-icon svg {
    width: 20px;
    height: 20px;
}

.badge-count {
    margin-left: auto;
    background: var(--gold);
    color: var(--dark-bg);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-sidebar-back,
.btn-sidebar-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-sidebar-back {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.btn-sidebar-back:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateX(-3px);
}

.btn-sidebar-logout {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-sidebar-logout:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* Dashboard Content */
.dashboard-content {
    min-height: 600px;
}

.dashboard-section {
    animation: fadeInUp 0.5s ease;
}

/* Section Headers */
.section-header-dash {
    margin-bottom: 1.5rem;
}

.section-title-dash {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.title-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.section-subtitle-dash {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Stats Grid */
.stats-grid-dash {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.stat-card-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-card-icon svg {
    width: 24px;
    height: 24px;
}

.stat-card-icon.gold {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
    color: var(--gold);
}

.stat-card-icon.blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.05));
    color: #3b82f6;
}

.stat-card-icon.green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
    color: #10b981;
}

.stat-card-icon.purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.05));
    color: #a855f7;
}

.stat-card-info {
    flex: 1;
}

.stat-card-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-card-value.small {
    font-size: 0.9375rem;
}

.stat-card-value.gold {
    color: var(--gold);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.content-card {
    padding: 1.25rem;
}

.card-header-dash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.card-title-dash {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.card-link:hover {
    transform: translateX(3px);
}

/* Characters Preview */
.characters-preview {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.character-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.character-item:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateX(5px);
}

.character-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.avatar-emoji {
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

.character-details {
    flex: 1;
}

.character-name-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.character-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.character-class {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.375rem;
}

.progress-bar-small {
    height: 3px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.375rem;
}

.progress-fill-small {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), #f4d03f);
    transition: width 0.3s ease;
}

.character-stats-inline {
    display: flex;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Activities List */
.activities-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(212, 175, 55, 0.05);
    border-left: 3px solid var(--gold);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(3px);
}

.activity-item.success {
    border-left-color: #10b981;
}

.activity-item.info {
    border-left-color: #3b82f6;
}

.activity-item.achievement {
    border-left-color: #a855f7;
}

.activity-item.reward {
    border-left-color: var(--gold);
}

.activity-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-text {
    color: var(--text-primary);
    margin-bottom: 0.125rem;
    font-size: 0.875rem;
}

.activity-time {
    font-size: 0.6875rem;
    color: var(--text-secondary);
}

/* Quick Actions Grid */
.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.quick-action-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-action-card:hover {
    transform: translateY(-3px);
}

.quick-action-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.quick-action-text {
    flex: 1;
}

.quick-action-title {
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.125rem;
    font-size: 0.9375rem;
}

.quick-action-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Characters Grid (Full View) */
.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.character-card-full {
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 14px;
}

.character-card-full:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.25);
}

.character-card-header {
    padding: 2rem 1.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.character-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
    opacity: 0.5;
}

.character-card-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 50%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.character-card-header.warrior {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: inset 0 -3px 10px rgba(0, 0, 0, 0.3);
}

.character-card-header.archer {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: inset 0 -3px 10px rgba(0, 0, 0, 0.3);
}

.character-card-header.mage {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: inset 0 -3px 10px rgba(0, 0, 0, 0.3);
}

.character-card-header.healer {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
    box-shadow: inset 0 -3px 10px rgba(0, 0, 0, 0.3);
}

.character-avatar-large {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.avatar-icon-large {
    font-size: 2.25rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.character-badge-class {
    position: relative;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    color: white;
    font-size: 0.8125rem;
    font-weight: 700;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.character-card-body {
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.3);
}

.character-card-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gold);
    text-align: center;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.character-level-badge {
    text-align: center;
    margin-bottom: 1rem;
}

.character-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    margin-bottom: 0.875rem;
}

.char-stat-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.char-stat-item:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
    transform: scale(1.05);
}

.char-stat-label {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.char-stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.char-stat-value.gold {
    color: var(--gold);
}

.progress-bar {
    height: 6px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold) 0%, #f4d03f 100%);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Account Info Grid */
.account-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-card {
    padding: 1.25rem;
    text-align: center;
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
    display: inline-block;
}

.info-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    word-break: break-all;
}

.info-value.small {
    font-size: 0.9375rem;
}

.info-value.green {
    color: #10b981;
}

.info-notice {
    padding: 1.25rem;
    display: flex;
    gap: 1rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-left: 4px solid #3b82f6;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-notice:hover {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
}

.notice-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notice-content h4 {
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.notice-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.875rem;
}

/* Security Card */
.security-card {
    padding: 2rem;
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
}

.security-card-header {
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.security-card-header h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.security-card-header p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.security-form {
    max-width: 450px;
    margin: 0 auto;
}

.form-group-dash {
    margin-bottom: 1rem;
}

.form-label-dash {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
}

.form-input-dash {
    width: 100%;
    padding: 0.875rem 1.125rem;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.form-input-dash:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-input-dash::placeholder {
    color: var(--text-muted);
}

.form-hint-dash {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.password-strength-dash {
    height: 4px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.password-strength-bar-dash {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #ef4444, #f59e0b, #10b981);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.btn-submit-dash {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #0a0a0a;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-submit-dash:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
    border-color: rgba(212, 175, 55, 0.8);
    background: linear-gradient(135deg, #f4d03f, #d4af37);
}

.btn-submit-dash:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.btn-icon {
    font-size: 1.25rem;
}

/* Security Tips */
.security-tips {
    padding: 1.5rem;
    margin-top: 2rem;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
}

.security-tips h4 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tips-list {
    list-style: none;
    padding: 0;
}

.tips-list li {
    padding: 0.875rem 0;
    padding-left: 2rem;
    color: var(--text-secondary);
    position: relative;
    border-bottom: 1px solid rgba(212, 175, 55, 0.05);
    font-size: 0.9375rem;
}

.tips-list li:last-child {
    border-bottom: none;
}

.tips-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 1.125rem;
}

/* Rewards Card */
.rewards-card {
    padding: 2rem;
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
}

.rewards-card-header {
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.rewards-card-header h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.rewards-card-header p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.btn-empty {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--gold), #f4d03f);
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-empty:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.empty-state-large {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon-large {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
}

.empty-state-large h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.empty-state-large p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Alert Messages */
.alert-dismissible {
    position: relative;
    padding: 1rem 3rem 1rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    animation: slideInDown 0.3s ease;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-icon {
    font-size: 1.25rem;
}

.alert-close {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.alert-close:hover {
    opacity: 1;
}

/* Responsive Dashboard */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
        max-height: none;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid-dash {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .account-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dashboard-main {
        padding: 1rem 0;
        margin-top: 110px;
    }

    .dashboard-grid {
        padding: 0 1rem;
        gap: 1.5rem;
    }

    .stats-grid-dash {
        grid-template-columns: 1fr;
    }

    .quick-actions-grid {
        grid-template-columns: 1fr;
    }

    .characters-grid {
        grid-template-columns: 1fr;
    }

    .account-info-grid {
        grid-template-columns: 1fr;
    }

    .section-title-dash {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .user-avatar-large {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .user-name-display {
        font-size: 1rem;
    }

    .sidebar-link {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .stat-card-value {
        font-size: 1.125rem;
    }
}


/* ============================================
   MEDIA PAGE STYLES
   ============================================ */

.media-section {
    max-width: 1200px;
    margin: 130px auto 40px;
    padding: 0 2rem;
}

.media-header {
    margin-bottom: 1.5rem;
}

.media-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold);
    margin: 0 0 1rem;
}

.media-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.media-filter-btn {
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(212, 175, 55, 0.05);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.media-filter-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.media-filter-btn.active {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
}

.media-tab-panel {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.media-tab-panel.active {
    display: grid;
}

.media-item {
    display: block;
    text-decoration: none;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-bg);
    transition: all 0.3s ease;
}

.media-item:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.media-thumb {
    height: 180px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(0, 0, 0, 0.3));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.media-info {
    padding: 1rem;
    color: var(--text-primary);
    font-size: 0.9375rem;
    font-weight: 600;
}

.media-empty {
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    background: var(--card-bg);
    color: var(--text-secondary);
    text-align: center;
}

/* ============================================
   DISCUSSIONS PAGE STYLES
   ============================================ */

.discussions-section {
    max-width: 1000px;
    margin: 130px auto 40px;
    padding: 0 2rem;
}

.discussions-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold);
    margin: 0 0 1.5rem;
}

.discussions-list {
    display: grid;
    gap: 1rem;
}

.discussion-item {
    display: grid;
    grid-template-columns: 54px 1fr auto;
    gap: 1rem;
    align-items: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    background: var(--card-bg);
    padding: 1rem;
    transition: all 0.3s ease;
}

.discussion-item:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    transform: translateX(5px);
}

.discussion-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    font-size: 0.875rem;
    font-weight: 700;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.discussion-content {
    flex: 1;
}

.discussion-link {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.discussion-link:hover {
    color: var(--gold);
}

.discussion-author {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.discussion-meta {
    text-align: right;
}

.discussion-replies {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.discussion-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.discussions-empty {
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    background: var(--card-bg);
    color: var(--text-secondary);
    text-align: center;
}

/* Responsive Media & Discussions */
@media (max-width: 768px) {
    .media-section,
    .discussions-section {
        padding: 0 1rem;
        margin-top: 110px;
    }

    .media-title,
    .discussions-title {
        font-size: 1.5rem;
    }

    .media-tab-panel {
        grid-template-columns: 1fr;
    }

    .discussion-item {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .discussion-avatar {
        width: 40px;
        height: 40px;
        font-size: 0.75rem;
    }

    .discussion-meta {
        text-align: left;
    }
}


/* ============================================
   BLOG PAGE STYLES
   ============================================ */

.blog-section {
    max-width: 1200px;
    margin: 130px auto 40px;
    padding: 0 2rem;
}

.blog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.blog-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold);
    margin: 0;
}

.blog-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.blog-filter-link {
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(212, 175, 55, 0.05);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-filter-link:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.blog-filter-link.active {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.blog-card {
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.blog-card-image {
    display: block;
    height: 180px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(0, 0, 0, 0.3));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
}

.blog-card-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.blog-category-badge {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 6px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.blog-card-title {
    display: block;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.blog-card-title:hover {
    color: var(--gold);
}

.blog-card-excerpt {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.blog-empty {
    padding: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    background: var(--card-bg);
    color: var(--text-secondary);
    text-align: center;
}

/* Responsive Blog */
@media (max-width: 768px) {
    .blog-section {
        padding: 0 1rem;
        margin-top: 110px;
    }

    .blog-title {
        font-size: 1.5rem;
    }

    .blog-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}


/* Coupon Form Styles */
.coupon-form {
    max-width: 500px;
    margin: 0 auto;
}

.coupon-input-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.coupon-input {
    flex: 1;
    padding: 0.875rem 1.125rem;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.coupon-input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.coupon-input::placeholder {
    color: var(--text-muted);
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
}

.btn-coupon-submit {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--gold), #f4d03f);
    color: var(--dark-bg);
    border: none;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-coupon-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.btn-coupon-submit:active {
    transform: translateY(0);
}

.coupon-hint {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    margin-top: 0.5rem;
}

/* Rewards History */
.rewards-history {
    margin-top: 2rem;
}

.rewards-history-title {
    font-size: 1.125rem;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rewards-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.reward-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.reward-item:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateX(5px);
}

.reward-item-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.reward-item-content {
    flex: 1;
}

.reward-item-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.reward-item-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.reward-item-badge {
    padding: 0.375rem 0.875rem;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.reward-item-badge.pending {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.reward-item-badge.expired {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Empty Rewards State */
.rewards-empty {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(212, 175, 55, 0.03);
    border: 1px dashed rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    margin-top: 2rem;
}

.rewards-empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.rewards-empty-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}


/* Rewards Info Card */
.rewards-info {
    padding: 2rem;
    background: rgba(212, 175, 55, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    margin-top: 1.5rem;
}

.info-icon-large {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.5));
}

.rewards-info h4 {
    font-size: 1.25rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.rewards-info .rewards-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.rewards-info .rewards-list li {
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--gold);
    border-radius: 10px;
    color: var(--text-secondary);
    position: relative;
    transition: all 0.3s ease;
    line-height: 1.6;
}

.rewards-info .rewards-list li:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateX(5px);
}

.rewards-info .rewards-list li::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-weight: 700;
    font-size: 1.25rem;
}

.rewards-info .rewards-list li strong {
    color: var(--gold);
    font-weight: 600;
}

/* Input with Button */
.input-with-button {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.input-with-button .form-input-dash {
    flex: 1;
}

.btn-submit-inline {
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #0a0a0a;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-submit-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    border-color: rgba(212, 175, 55, 0.8);
    background: linear-gradient(135deg, #f4d03f, #d4af37);
}

.btn-submit-inline:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

/* Rewards Banner */
.rewards-banner {
    margin-top: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.rewards-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.banner-content h3 {
    font-size: 1.75rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.banner-content p {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.banner-content p strong {
    color: var(--gold);
    font-weight: 700;
}

.btn-banner {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #0a0a0a;
    text-decoration: none;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
    border-color: rgba(212, 175, 55, 0.8);
    background: linear-gradient(135deg, #f4d03f, #d4af37);
}

.btn-banner:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Coupon Form Specific */
.coupon-form .form-group-dash {
    margin-bottom: 0;
}

.coupon-form .form-label-dash {
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
}

/* Responsive Rewards */
@media (max-width: 768px) {
    .input-with-button {
        flex-direction: column;
    }

    .btn-submit-inline {
        width: 100%;
    }

    .rewards-info .rewards-list li {
        padding-left: 2.5rem;
    }

    .banner-content h3 {
        font-size: 1.5rem;
    }

    .banner-content p {
        font-size: 1rem;
    }
}


/* ============================================
   USER DROPDOWN MENU
   ============================================ */

.user-dropdown {
    position: relative;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--gold-border);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-dropdown-toggle:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.user-dropdown-toggle.active {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.user-avatar {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
    flex-shrink: 0;
    overflow: hidden;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-icon {
    width: 18px;
    height: 18px;
    color: #000;
}

.avatar-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
}

.user-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    color: var(--gold);
    width: 12px;
    height: 12px;
}

.user-dropdown-toggle.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    width: 280px;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.user-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: rgba(10, 10, 10, 0.98);
    border-left: 1px solid rgba(212, 175, 55, 0.3);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    transform: rotate(45deg);
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
}

.dropdown-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gold), #f4d03f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(212, 175, 55, 0.5);
    flex-shrink: 0;
    overflow: hidden;
}

.avatar-img-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-icon-large {
    width: 28px;
    height: 28px;
    color: #000;
}

.avatar-text-large {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-bg);
    text-transform: uppercase;
}

.dropdown-user-info {
    flex: 1;
}

.dropdown-username {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.dropdown-status {
    font-size: 0.75rem;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.dropdown-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.dropdown-divider {
    height: 1px;
    background: rgba(212, 175, 55, 0.15);
    margin: 0.5rem 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9375rem;
}

.dropdown-item:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold);
}

.dropdown-item svg {
    flex-shrink: 0;
}

.dropdown-item.logout {
    color: #ef4444;
}

.dropdown-item.logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Responsive Dropdown */
@media (max-width: 768px) {
    .user-dropdown-menu {
        width: 260px;
        right: -10px;
    }

    .user-name {
        display: none;
    }

    .user-dropdown-toggle {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .user-dropdown-menu {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 12px 12px 0 0;
        transform: translateY(100%);
    }

    .user-dropdown-menu.active {
        transform: translateY(0);
    }

    .user-dropdown-menu::before {
        display: none;
    }
}

/* ===== SINGLE POST / BLOG DETAY ===== */
.single-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 16px;
}

.single-post-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.post-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-secondary);
}

.post-meta-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.post-category-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    color: #fff;
}

.post-category-badge.badge-announcement { background: var(--gold-primary); color: #000; }
.post-category-badge.badge-event { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
.post-category-badge.badge-update { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.post-category-badge.badge-general { background: rgba(148, 163, 184, 0.2); color: #94a3b8; }
.post-category-badge.badge-maintenance { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

.post-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.post-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0 0 12px 0;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.author-name {
    font-weight: 600;
    color: var(--text-secondary);
}

.post-views {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.post-featured-image {
    margin: 0 -24px 24px;
    max-height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.post-content h2, .post-content h3 {
    color: var(--text-primary);
    margin: 24px 0 12px;
}

.post-content ul, .post-content ol {
    margin: 12px 0;
    padding-left: 24px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content p {
    margin-bottom: 12px;
}

.post-footer {
    padding-top: 16px;
    border-top: 1px solid var(--border-secondary);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.post-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-primary);
    border: 1px solid var(--border-secondary);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s;
}

.post-tag:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

/* Blog List Styles */
.blog-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-secondary);
}

.blog-list-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.blog-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.blog-card-image {
    height: 160px;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-dim);
}

.blog-card-body {
    padding: 16px;
}

.blog-card-category {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: 8px;
}

.blog-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-excerpt {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* Pagination */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-secondary);
}

.blog-pagination a, .blog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-secondary);
    transition: all 0.2s;
}

.blog-pagination a:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.blog-pagination .current {
    background: var(--gold-primary);
    color: #000;
    border-color: var(--gold-primary);
}

.blog-pagination .disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* Social Share */
.social-share {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.social-share a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    color: #fff;
}

.social-share a:hover {
    transform: translateY(-1px);
}

.share-twitter { background: #1DA1F2; }
.share-twitter:hover { background: #0d8edb; }
.share-facebook { background: #4267B2; }
.share-facebook:hover { background: #365899; }
.share-copy { background: var(--text-muted); }
.share-copy:hover { background: var(--text-secondary); }

/* Related Posts */
.related-posts {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-secondary);
}

.related-posts-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 16px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

@media (max-width: 768px) {
    .single-post-container {
        padding: 16px;
    }
    .post-title {
        font-size: 1.2rem;
    }
    .post-featured-image {
        margin: 0 -16px 16px;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .social-share {
        flex-wrap: wrap;
    }
}
