/* Modern FireTop100 Theme - Inspired by mmoplus.pro */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette */
  --primary-dark: #0a0e1a;
  --secondary-dark: #1a1f2e;
  --accent-blue: #4a9eff;
  --accent-orange: #ff6b35;
  --accent-gold: #ffd700;
  --text-primary: #ffffff;
  --text-secondary: #b8c0d4;
  --text-muted: #6b7588;
  --border-color: #2a2f3e;
  --hover-bg: #252a3a;
  --success-green: #00d084;
  --warning-orange: #ff9f43;
  --error-red: #ff4757;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-card: linear-gradient(145deg, #1e2337 0%, #252a3a 100%);
  --gradient-button: linear-gradient(135deg, #4a9eff 0%, #667eea 100%);
  
  /* Typography */
  --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-gaming: 'Orbitron', 'Roboto', monospace;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(74, 158, 255, 0.3);
}

/* Base Elements */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background: var(--primary-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(74, 158, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-gaming);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-orange);
  text-decoration: none;
}

/* Layout Components */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header Styles */
.topPanel {
  background: rgba(26, 31, 46, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: var(--spacing-sm) 0;
}

.container-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
}

.logo img {
  height: 40px;
  transition: all 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Navigation */
.menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

.menu li a {
  color: var(--text-secondary);
  font-weight: 500;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.menu li a:hover {
  color: var(--accent-blue);
  background: var(--hover-bg);
}

.menu li a.active {
  color: var(--accent-blue);
  background: var(--hover-bg);
}

/* Buttons */
.btn {
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 8px;
  border: none;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--gradient-button);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--hover-bg);
  color: var(--text-primary);
}

.loginButton, .regButton {
  display: inline-block;
}

.loginButton a, .regButton a {
  background: var(--gradient-button);
  color: white;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.loginButton a:hover, .regButton a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

/* Header Banner */
.header {
  background: var(--gradient-primary);
  padding: var(--spacing-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.headerBanner {
  position: relative;
  z-index: 1;
}

.headerBanner h1 {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin: 0;
}

/* Page Title */
.pageTitle {
  background: var(--secondary-dark);
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: var(--spacing-xl);
}

.pageTitle h2 {
  color: var(--text-primary);
  margin: 0;
  font-size: 1.75rem;
}

/* Cards & Blocks */
.page-block {
  background: var(--gradient-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.page-block:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Server Lists */
.topBlock {
  background: var(--gradient-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
  transition: all 0.3s ease;
}

.topBlock:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.topBlock-title {
  background: var(--secondary-dark);
  padding: var(--spacing-md) var(--spacing-lg);
  font-weight: 600;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-gaming);
}

.topBlock-table {
  padding: var(--spacing-sm);
}

.topBlock-table_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md);
  border-radius: 8px;
  margin-bottom: var(--spacing-xs);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.topBlock-table_row:hover {
  background: var(--hover-bg);
  border-color: var(--accent-blue);
  transform: translateX(4px);
}

.topBlock-table_row-left {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex: 1;
}

.topBlock-table_row-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.topBlock-date {
  background: var(--accent-blue);
  color: white;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  min-width: 80px;
  text-align: center;
}

.topBlock-link a {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.topBlock-link a:hover {
  color: var(--accent-blue);
}

.topBlock-rate {
  background: var(--accent-orange);
  color: white;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.topBlock-season {
  background: var(--accent-gold);
  color: var(--primary-dark);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* VIP Styling */
.vip {
  position: relative;
}

.vip::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
  border-radius: 8px;
  z-index: -1;
  animation: vipGlow 2s ease-in-out infinite alternate;
}

@keyframes vipGlow {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

/* Banners */
.topBanners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.top-banner {
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.top-banner:hover {
  transform: scale(1.02);
}

.banner-d {
  background: var(--gradient-card);
  border: 2px dashed var(--border-color);
  border-radius: 12px;
  padding: var(--spacing-lg);
  text-align: center;
  color: var(--text-muted);
  font-weight: 600;
  transition: all 0.3s ease;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.banner-d:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

/* Sidebar */
.sidebar {
  background: var(--gradient-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: var(--spacing-lg);
  height: fit-content;
  position: sticky;
  top: 100px;
}

/* Profile Dropdown */
.langBlock {
  position: relative;
}

.langBlock-active {
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.langBlock-active:hover {
  background: var(--hover-bg);
}

.langBlock-drop {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--secondary-dark);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: var(--spacing-sm);
  min-width: 200px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.langBlock:hover .langBlock-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.langBlock-drop ul {
  list-style: none;
}

.langBlock-drop li a {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 6px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.langBlock-drop li a:hover {
  background: var(--hover-bg);
  color: var(--text-primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  .headerBanner h1 {
    font-size: 2rem;
  }
  
  .menu {
    display: none;
  }
  
  .topBanners {
    grid-template-columns: 1fr;
  }
  
  .topBlock-table_row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }
  
  .topBlock-table_row-right {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-md: 0.75rem;
    --spacing-lg: 1rem;
  }
  
  .headerBanner h1 {
    font-size: 1.5rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* JavaScript Effects Styles */
.animate-ready {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Ripple effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple-effect 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-effect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Floating particles */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  bottom: -10px;
  width: 6px;
  height: 6px;
  background: var(--accent-blue);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-up linear infinite;
}

@keyframes float-up {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

.particle:nth-child(odd) {
  background: var(--accent-orange);
}

.particle:nth-child(3n) {
  width: 4px;
  height: 4px;
}

.particle:nth-child(5n) {
  width: 8px;
  height: 8px;
}

/* Loading state */
body:not(.loaded) {
  overflow: hidden;
}

body.loaded .page-block,
body.loaded .ranking-card {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Glow effects */
.glow-blue {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.glow-orange {
  box-shadow: 0 0 20px rgba(255, 165, 0, 0.4);
}

/* Auth Modal with Glass Effect */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.auth-modal.active {
  opacity: 1;
  visibility: visible;
}

.auth-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.auth-modal-content {
  position: relative;
  width: 90%;
  max-width: 380px;
  padding: 20px 25px;
  border-radius: 16px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.auth-modal-content:has(.auth-form-wide) {
  max-width: 560px;
}

.auth-form-wide .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

@media (max-width: 600px) {
  .auth-form-wide .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.form-warning {
  font-size: 0.7rem;
  color: #f59e0b;
  margin: 8px 0;
  text-align: center;
}

.form-warning i {
  margin-right: 5px;
}

.captcha-inline {
  display: flex;
  align-items: center;
  gap: 6px;
}

.captcha-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: linear-gradient(135deg, #0d1525, #1a2540);
  border: 1px dashed rgba(0, 212, 255, 0.4);
  border-radius: 6px;
  padding: 6px 10px;
  min-width: 90px;
  height: 34px;
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 3px;
  user-select: none;
}

.captcha-box span {
  display: inline-block;
  text-shadow: 0 0 8px currentColor;
}

.captcha-img {
  height: 36px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.captcha-refresh-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 8px 10px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.captcha-refresh-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--accent-blue);
}

.captcha-input {
  flex: 1;
  min-width: 60px;
}

.auth-modal.active .auth-modal-content {
  transform: translateY(0);
}

.glass-effect {
  background: rgba(20, 25, 45, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 
              inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.auth-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
}

.auth-modal-close:hover {
  color: var(--accent-orange);
  transform: rotate(90deg);
}

.auth-form h2 {
  text-align: center;
  margin-bottom: 4px;
  color: var(--text-primary);
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
}

.auth-form h2 i {
  color: var(--accent-blue);
  margin-right: var(--spacing-sm);
}

.auth-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.8rem;
}

.form-group {
  margin-bottom: 10px;
}

.form-group label {
  display: block;
  margin-bottom: 4px;
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.form-group label i {
  width: 20px;
  color: var(--accent-blue);
}

.form-note {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.form-note i {
  margin-right: 4px;
  color: #f59e0b;
}

.form-note i.fa-info-circle {
  color: var(--accent-blue);
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.captcha-display {
  flex: 1;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 8px 12px;
  font-family: 'Courier New', monospace;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 6px;
  color: #00d4ff;
  text-align: center;
  user-select: none;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.captcha-refresh {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.captcha-refresh:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--accent-blue);
}

.form-input {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.btn-submit {
  width: 100%;
  padding: 10px;
  background: var(--gradient-button);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.auth-switch {
  text-align: center;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.auth-switch a {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
}

.auth-switch a:hover {
  color: var(--accent-orange);
}

/* Admin Panel Styles */
.admin-layout {
  display: flex;
  gap: var(--spacing-xl);
  align-items: flex-start;
  margin-top: var(--spacing-lg);
}

.admin-sidebar {
  width: 250px;
  flex-shrink: 0;
}

.admin-menu {
  list-style: none;
  padding: var(--spacing-sm);
  margin: 0;
}

.admin-menu li {
  margin-bottom: var(--spacing-xs);
}

.admin-menu a {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.admin-menu a:hover,
.admin-menu a.active {
  background: var(--hover-bg);
  color: var(--accent-blue);
}

.admin-menu a i {
  width: 20px;
}

.admin-content {
  flex: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.stat-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stat-blue .stat-icon {
  background: rgba(0, 212, 255, 0.2);
  color: var(--accent-blue);
}

.stat-orange .stat-icon {
  background: rgba(255, 165, 0, 0.2);
  color: var(--accent-orange);
}

.stat-green .stat-icon {
  background: rgba(0, 255, 136, 0.2);
  color: #00ff88;
}

.stat-purple .stat-icon {
  background: rgba(136, 0, 255, 0.2);
  color: #8800ff;
}

.stat-info h3 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}

.stat-info p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.admin-table {
  overflow-x: auto;
}

.admin-table table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: var(--spacing-md);
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.admin-table th {
  background: var(--secondary-dark);
  color: var(--text-primary);
  font-weight: 600;
}

.admin-table tr:hover {
  background: var(--hover-bg);
}

.badge {
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-success {
  background: rgba(0, 255, 136, 0.2);
  color: #00ff88;
}

.badge-warning {
  background: rgba(255, 165, 0, 0.2);
  color: var(--accent-orange);
}

.badge-danger {
  background: rgba(255, 68, 68, 0.2);
  color: #ff4444;
}

.btn-success {
  background: rgba(0, 255, 136, 0.2);
  color: #00ff88;
  border: 1px solid #00ff88;
}

.btn-danger {
  background: rgba(255, 68, 68, 0.2);
  color: #ff4444;
  border: 1px solid #ff4444;
}

.btn-success:hover,
.btn-danger:hover {
  transform: scale(1.1);
}

/* Footer Fixes */
.footer {
  background: var(--secondary-dark);
  border-top: 1px solid var(--border-color);
  margin-top: var(--spacing-xxl);
}

.footerTop {
  padding: var(--spacing-xl) 0;
}

.footerTitle {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.footerTitle i {
  color: var(--accent-blue);
  margin-right: var(--spacing-sm);
}

.footerText {
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
}

.socBlock {
  list-style: none;
  padding: 0;
  margin: var(--spacing-md) 0 0;
  display: flex;
  gap: var(--spacing-md);
}

.socBlock a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

.socBlock a:hover {
  color: var(--accent-orange);
}

.footerBottom {
  background: var(--primary-dark);
  padding: var(--spacing-lg) 0;
}

.footerFlex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.rules {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: var(--spacing-lg);
}

.rules a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.rules a:hover {
  color: var(--accent-blue);
}

.net {
  text-align: center;
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--border-color);
}

.net p {
  color: var(--text-muted);
  margin: 0;
}

.net span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Settings Form */
.settings-form {
  padding: var(--spacing-lg);
}

.system-info {
  padding: var(--spacing-lg);
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-color);
}

.info-label {
  color: var(--text-muted);
}

.info-value {
  color: var(--accent-blue);
  font-weight: 600;
}

/* Fix main layout alignment */
.main {
  min-height: calc(100vh - 300px);
  padding: var(--spacing-lg) 0;
}

/* Fix flex container alignment */
.flex-s {
  display: flex;
  gap: var(--spacing-lg);
  align-items: flex-start;
}

/* Fix page block alignment */
.page-block {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
}

/* Fix topBlock alignment */
.topBlock {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  flex: 1;
}

.topBlock-title {
  background: var(--secondary-dark);
  padding: var(--spacing-md) var(--spacing-lg);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-blue);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.topBlock-table {
  padding: var(--spacing-sm);
}

.topBlock-table_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  margin-bottom: var(--spacing-sm);
  transition: all 0.3s ease;
  gap: var(--spacing-md);
}

.topBlock-table_row:hover {
  background: var(--hover-bg);
  transform: translateX(4px);
}

.topBlock-table_row-left {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex: 1;
}

.topBlock-table_row-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.topBlock-date {
  background: var(--accent-blue);
  color: white;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.topBlock-rate {
  background: var(--accent-orange);
  color: white;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.topBlock-season {
  background: var(--secondary-dark);
  color: var(--text-secondary);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 6px;
  font-size: 0.8rem;
  border: 1px solid var(--border-color);
}

.topBlock-link a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.topBlock-link a:hover {
  color: var(--accent-blue);
}

/* Fix homeText section */
.homeText {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: var(--spacing-xl);
  margin-top: var(--spacing-lg);
}

.homeText .title {
  font-family: 'Orbitron', sans-serif;
  color: var(--accent-blue);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.homeText p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Fix banners alignment */
.topBanners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
}

.bottom-banner {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  padding: var(--spacing-lg);
}

/* Sidebar fixes */
.sidebar {
  width: 280px;
  flex-shrink: 0;
}

/* Container fixes */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Header fixes */
.topPanel {
  background: var(--secondary-dark);
  border-bottom: 1px solid var(--border-color);
  padding: var(--spacing-sm) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.container-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
}

.topPanel-r {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

/* Clean Simple Logo */
.site-logo-clean {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #8b9dc3;
  letter-spacing: 1px;
}

.logo-number {
  color: #c9a227;
  margin-left: 4px;
}

/* Header Banner */
.header-banner {
  background: linear-gradient(180deg, rgba(20, 15, 35, 0.95) 0%, rgba(30, 25, 50, 0.9) 100%);
  padding: 20px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.banner-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #8b9dc3;
  margin: 0;
  letter-spacing: 2px;
}

.banner-title .highlight {
  color: #c9a227;
}

/* Clean Header Title */
.cyber-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #9ca3af;
  margin: 0;
  letter-spacing: 1.5px;
}

.cyber-title .highlight {
  color: #c9a227;
}

/* Page title */
.pageTitle {
  background: var(--secondary-dark);
  padding: var(--spacing-xl) 0;
  border-bottom: 1px solid var(--border-color);
}

.pageTitle h2 {
  font-family: 'Orbitron', sans-serif;
  color: var(--text-primary);
  margin: 0 0 var(--spacing-xs);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.pageTitle h2 i {
  color: var(--accent-blue);
}

/* ========================================
   SPECTACULAR NEW DESIGN
   ======================================== */

/* Clean Card Style - MMOPLUS */
.glass-card {
  background: rgba(25, 20, 45, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

/* Server Panel */
.server-panel {
  overflow: hidden;
}

.panel-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.panel-header::before {
  content: '.';
  color: #c9a227;
  font-weight: bold;
  margin-right: 8px;
}

.panel-header h3 {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.panel-content {
  padding: 12px;
  max-height: 350px;
  overflow-y: auto;
}

/* Clean Server Card Design - MMOPLUS Style */
.server-card-new {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  margin-bottom: 6px;
  background: rgba(30, 25, 50, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: background 0.2s ease;
  position: relative;
}

.server-card-new:hover {
  background: rgba(40, 35, 65, 0.8);
}

.server-card-new.is-vip {
  background: rgba(255, 165, 0, 0.1);
  border-color: rgba(255, 165, 0, 0.3);
}

.vip-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 8px;
}

.card-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.server-icon-wrap {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.server-flag {
  font-size: 1.2rem;
  border-radius: 4px;
}

.server-info-block {
  flex: 1;
  min-width: 0;
}

.server-title {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.server-title:hover {
  color: var(--accent-orange);
}

.server-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.meta-item {
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.meta-item.date {
  color: rgba(255, 255, 255, 0.7);
}

.meta-item.rate {
  background: var(--accent-orange);
  color: #000;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.meta-item.version {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  padding: 2px 8px;
  border-radius: 4px;
}

.card-right {
  flex-shrink: 0;
}

.btn-visit, .open-date {
  display: inline-block;
  background: #22c55e;
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
}

.btn-visit:hover {
  background: #16a34a;
}

/* Mini Server Rows */
.server-row-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.server-row-mini:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

.server-row-mini.is-vip {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 140, 0, 0.05));
  border-left: 3px solid #ffd700;
}

.mini-vip {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #000;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.mini-date {
  background: var(--accent-blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.server-row-mini a {
  flex: 1;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.server-row-mini a:hover {
  color: var(--accent-orange);
}

.mini-rate {
  background: var(--accent-orange);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Sidebar Headers */
.sidebar-header {
  padding: 16px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-header.gold {
  color: var(--accent-orange);
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.1), transparent);
}

/* Top 10 List */
.top10-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 4px 8px;
}

.top10-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.rank-num {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.rank-num.gold {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #000;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
}

.rank-num.silver {
  background: linear-gradient(135deg, #e0e0e0, #a0a0a0);
  color: #000;
}

.rank-num.bronze {
  background: linear-gradient(135deg, #cd7f32, #8b4513);
  color: #fff;
}

.rank-name {
  flex: 1;
  color: var(--text-primary);
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-votes {
  background: linear-gradient(135deg, var(--accent-blue), #0099ff);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
  display: block;
}

.empty-state.small {
  padding: 20px;
}

.empty-state.small i {
  font-size: 1.5rem;
}

/* Grid Layouts */
.server-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.server-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.server-panel.compact .panel-content {
  max-height: 250px;
}

@media (max-width: 1400px) {
  .server-grid-3col {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1000px) {
  .server-grid-2col,
  .server-grid-3col {
    grid-template-columns: 1fr;
  }
}

/* Clean Main Grid Layout */
.main-container {
  padding: var(--spacing-lg) 0;
}

.main-grid {
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  gap: var(--spacing-lg);
  align-items: start;
}

.sidebar-left,
.sidebar-right {
  position: sticky;
  top: 80px;
}

.content-main {
  min-width: 0;
}

/* Server Columns Layout */
.server-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.server-column {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.column-header {
  background: var(--secondary-dark);
  padding: var(--spacing-md) var(--spacing-lg);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-blue);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.server-list {
  padding: var(--spacing-sm);
  max-height: 400px;
  overflow-y: auto;
}

/* Server Row - Clean Design */
.server-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  margin-bottom: 6px;
  transition: all 0.3s ease;
  flex-wrap: wrap;
}

.server-row:hover {
  background: var(--hover-bg);
  transform: translateX(4px);
}

.server-row.vip-gold {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.15), rgba(255, 120, 0, 0.1));
  border: 1px solid rgba(255, 165, 0, 0.3);
}

.vip-tag {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #000;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
}

.server-date-badge {
  background: var(--accent-blue);
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.server-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  flex: 1;
  min-width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.server-link:hover {
  color: var(--accent-orange);
}

.rate-badge {
  background: var(--accent-orange);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

.version-badge {
  background: var(--secondary-dark);
  color: var(--text-secondary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7rem;
  border: 1px solid var(--border-color);
}

.visit-btn {
  background: rgba(0, 212, 255, 0.2);
  color: var(--accent-blue);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
}

.visit-btn:hover {
  background: var(--accent-blue);
  color: white;
}

.no-data {
  text-align: center;
  padding: var(--spacing-lg);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Sidebar Orange Title */
.sidebar-title.orange {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.2), rgba(255, 120, 0, 0.1));
}

.sidebar-title.orange h3 {
  color: var(--accent-orange);
}

/* Responsive */
@media (max-width: 1200px) {
  .main-grid {
    grid-template-columns: 200px 1fr;
  }
  
  .sidebar-right {
    display: none;
  }
}

@media (max-width: 768px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
  
  .sidebar-left {
    display: none;
  }
  
  .server-columns {
    grid-template-columns: 1fr;
  }
}

/* Top Banners Row */
.top-banners-row {
  display: flex;
  gap: 10px;
  margin-bottom: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.banner-slot {
  flex: 1;
  min-width: 150px;
  max-width: 200px;
}

.banner-slot img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.banner-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  background: var(--gradient-card);
  border: 1px dashed var(--border-color);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.banner-placeholder:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

/* Server Listings Wrapper */
.server-listings-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 280px;
  gap: var(--spacing-lg);
}

@media (max-width: 1200px) {
  .server-listings-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .server-listings-wrapper {
    grid-template-columns: 1fr;
  }
  
  .top-banners-row {
    display: none;
  }
}

/* Server Listing Cards - Like Reference */
.server-listing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 300px;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.server-card {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.9), rgba(255, 120, 0, 0.95));
  border-radius: 12px;
  padding: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.server-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.server-card:hover::before {
  transform: translateX(100%);
}

.server-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 165, 0, 0.3);
}

.server-card.vip-gold {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
}

.server-card.vip-purple {
  background: linear-gradient(135deg, #9c27b0, #673ab7);
}

.server-card .vip-tag {
  background: rgba(0, 0, 0, 0.3);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.server-card .server-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.server-card .server-content {
  flex: 1;
  min-width: 0;
}

.server-card .server-url {
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.server-card .server-date {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.server-card .server-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.server-card .rate-badge {
  background: rgba(0, 0, 0, 0.3);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.server-card .season-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
}

.server-card .visit-btn {
  background: rgba(0, 0, 0, 0.3);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.server-card .visit-btn:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* Top 10 Sidebar */
.top10-sidebar {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.top10-title {
  background: var(--secondary-dark);
  padding: var(--spacing-md);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  color: var(--accent-orange);
  border-bottom: 1px solid var(--border-color);
}

.top10-list {
  padding: var(--spacing-sm);
}

.top10-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-bottom: var(--spacing-xs);
}

.top10-item:hover {
  background: var(--hover-bg);
}

.top10-rank {
  width: 28px;
  height: 28px;
  background: var(--accent-blue);
  color: white;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
}

.top10-rank.rank-1 { background: linear-gradient(135deg, #ffd700, #ff8c00); }
.top10-rank.rank-2 { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); }
.top10-rank.rank-3 { background: linear-gradient(135deg, #cd7f32, #8b4513); }

.top10-name {
  flex: 1;
  color: var(--text-primary);
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top10-votes {
  background: var(--accent-blue);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Improved navbar buttons */
.nav-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-add-site {
  background: linear-gradient(135deg, var(--accent-orange), #ff6b00);
  color: white !important;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
  white-space: nowrap;
}

.btn-add-site:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 165, 0, 0.5);
}

.btn-login {
  background: var(--accent-blue);
  border: 2px solid var(--accent-blue);
  color: white !important;
  padding: 8px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-login:hover {
  background: transparent;
  border-color: var(--accent-blue);
  color: white !important;
}

/* Fix main content layout */
.main-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

@media (max-width: 1200px) {
  .server-listing-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .top10-sidebar {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .server-listing-grid {
    grid-template-columns: 1fr;
  }
  
  .top10-sidebar {
    grid-column: span 1;
  }
  
  .nav-buttons {
    flex-direction: column;
    gap: 8px;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex-c { display: flex; align-items: center; }
.flex-s-c { display: flex; align-items: center; justify-content: space-between; }
.flex-c-c { display: flex; align-items: center; justify-content: center; }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

/* Dark mode enhancements */
.bright {
  filter: brightness(1);
  transition: all 0.3s ease;
}

.bright:hover {
  filter: brightness(1.2);
}

/* Flag icons spacing */
.fi {
  margin-right: var(--spacing-xs);
  border-radius: 3px;
}

/* YouTube icon styling */
.fa-youtube {
  color: #ff0000;
  transition: all 0.3s ease;
}

.fa-youtube:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Server listing enhancements */
.server-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.server-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.server-name a {
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.server-name a:hover {
  color: var(--accent-blue);
}

.server-details {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.server-date {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.server-stats {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.server-actions {
  display: flex;
  gap: var(--spacing-xs);
}

.btn-sm {
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: 0.8rem;
}

.vip-badge {
  background: var(--gradient-primary);
  color: white;
  padding: var(--spacing-xs);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: var(--spacing-sm);
  box-shadow: var(--shadow-glow);
}

.no-servers {
  text-align: center;
  padding: var(--spacing-xxl);
  color: var(--text-muted);
}

.no-servers i {
  color: var(--accent-blue);
  opacity: 0.5;
  margin-bottom: var(--spacing-md);
}

/* Page layout improvements */
.homePage {
  display: flex;
  gap: var(--spacing-xl);
  align-items: flex-start;
}

.categories-sidebar {
  width: 200px;
  flex-shrink: 0;
}

.sidebar-block {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.sidebar-title {
  background: var(--secondary-dark);
  padding: var(--spacing-md);
  border-bottom: 1px solid var(--border-color);
}

.sidebar-title h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
}

.category-list {
  list-style: none;
  padding: var(--spacing-sm);
  margin: 0;
}

.category-list li {
  margin-bottom: var(--spacing-xs);
}

.category-list a {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.category-list a:hover {
  background: var(--hover-bg);
  color: var(--text-primary);
  transform: translateX(4px);
}

.category-list a.active {
  background: var(--accent-blue);
  color: white;
}

.category-list a i {
  width: 16px;
  text-align: center;
  font-size: 0.9rem;
}

.category-header {
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: var(--spacing-sm) var(--spacing-sm) var(--spacing-xs);
  margin-top: var(--spacing-sm);
  border-top: 1px solid var(--border-color);
}

.category-header:first-of-type {
  border-top: none;
  margin-top: 0;
}

/* Scrollable categories sidebar */
.category-list {
  max-height: 500px;
  overflow-y: auto;
}

.category-list::-webkit-scrollbar {
  width: 4px;
}

.category-list::-webkit-scrollbar-thumb {
  background: var(--accent-blue);
  border-radius: 2px;
}

.homePage-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-lg);
}

/* Text styling improvements */
.text-muted {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Enhanced VIP styling */
.topBlock-table_row.vip {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
  border: 2px solid transparent;
  background-clip: padding-box;
}

.topBlock-table_row.vip::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ffd700, #ff8c00, #ffd700, #ff8c00);
  border-radius: inherit;
  z-index: -1;
  background-size: 200% 200%;
  animation: vipShimmer 3s ease-in-out infinite;
}

@keyframes vipShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Mobile enhancements */
@media (max-width: 768px) {
  .homePage {
    flex-direction: column;
  }
  
  .categories-sidebar {
    width: 100%;
    order: 2;
  }
  
  .homePage-container {
    order: 1;
  }
  
  .top {
    grid-template-columns: 1fr;
  }
  
  .topBlock-table_row {
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-md);
  }
  
  .topBlock-table_row-right {
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-sm);
  }
  
  .server-stats {
    justify-content: space-between;
  }
  
  .server-actions {
    width: 100%;
  }
  
  .server-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .category-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xs);
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

/* Ranking Page Styles */
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.ranking-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
  position: relative;
}

.ranking-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-blue);
}

.ranking-header {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.rank-position {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  min-width: 80px;
}

.rank-number {
  background: var(--gradient-primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
}

.rank-medal {
  font-size: 1.5rem;
}

.rank-medal.rank-1 { color: #ffd700; }
.rank-medal.rank-2 { color: #c0c0c0; }
.rank-medal.rank-3 { color: #cd7f32; }

.server-main-info {
  display: flex;
  gap: var(--spacing-md);
  flex: 1;
  align-items: flex-start;
}

.server-banner-container {
  flex-shrink: 0;
}

.server-banner-img {
  width: 100px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.server-title-section {
  flex: 1;
}

.server-title {
  margin: 0 0 var(--spacing-sm) 0;
  font-size: 1.4rem;
}

.server-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.server-title a:hover {
  color: var(--accent-blue);
}

.server-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.server-actions {
  display: flex;
  align-items: center;
}

.vote-section {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.vote-count {
  background: rgba(255, 255, 255, 0.2);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 12px;
  font-weight: 600;
  margin-left: var(--spacing-xs);
}

.server-versions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--border-color);
  margin-top: var(--spacing-md);
}

.version-badge {
  background: var(--secondary-dark);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  transition: all 0.3s ease;
  cursor: pointer;
}

.version-badge:hover {
  background: var(--hover-bg);
  border-color: var(--accent-blue);
}

.version-name {
  color: var(--accent-blue);
  font-weight: 600;
  font-size: 0.9rem;
}

.version-rate {
  background: var(--accent-orange);
  color: white;
  padding: var(--spacing-xs);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-xl);
  padding: 0;
}

.pagination li {
  display: flex;
}

.pagination .page-link {
  background: var(--secondary-dark);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background: var(--hover-bg);
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

.pagination .active .page-link {
  background: var(--gradient-button);
  color: white;
  border-color: var(--accent-blue);
}

.pagination .disabled span {
  background: var(--primary-dark);
  color: var(--text-muted);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

/* Responsive adjustments for ranking page */
@media (max-width: 768px) {
  .ranking-header {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .server-main-info {
    flex-direction: column;
  }
  
  .server-banner-container {
    align-self: center;
  }
  
  .server-actions {
    width: 100%;
  }
  
  .vote-section {
    flex-direction: row;
    width: 100%;
  }
  
  .vote-section .btn {
    flex: 1;
  }
  
  .rank-position {
    flex-direction: row;
    min-width: auto;
    align-items: center;
    justify-content: center;
  }
}

/* ========================================
   MUOGG THEME - CLEAN BLUE DESIGN
   ======================================== */

.mg-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

.mg-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr 280px;
  gap: 20px;
}

.mg-col-left, .mg-col-center, .mg-col-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mg-panel {
  background: linear-gradient(180deg, #1a1f2e 0%, #141824 100%);
  border: 1px solid rgba(99, 179, 237, 0.15);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.mg-panel-head {
  padding: 14px 18px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(99, 179, 237, 0.2);
  background: linear-gradient(90deg, rgba(99, 179, 237, 0.15), transparent);
}

.mg-panel-head .dot {
  color: #63b3ed;
  font-weight: bold;
  margin-right: 8px;
}

.mg-panel-body {
  padding: 10px;
}

.mg-scrollable {
  max-height: 400px;
  overflow-y: auto;
}

/* Server Row - Main Style */
.mg-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mg-row:hover {
  background: rgba(99, 179, 237, 0.08);
  border-color: rgba(99, 179, 237, 0.2);
}

.mg-row.vip {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.25);
  border-left: 3px solid #f59e0b;
}

.mg-vip {
  background: #f59e0b;
  color: #000;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 3px;
}

.mg-flag {
  width: 24px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
}

.mg-flag .fi {
  font-size: 1rem;
}

.mg-name {
  flex: 1;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mg-name:hover {
  color: #63b3ed;
}

.mg-rate {
  background: #f59e0b;
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.mg-ver {
  background: rgba(99, 179, 237, 0.2);
  color: #63b3ed;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.mg-date {
  color: #718096;
  font-size: 0.7rem;
}

.mg-open {
  background: #10b981;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Simple Row for Week Ago */
.mg-row-simple {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mg-row-simple:hover {
  background: rgba(255, 255, 255, 0.02);
}

.mg-info {
  color: #6b7280;
  font-size: 0.7rem;
}

/* Top 10 Rows */
.mg-top10-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin-bottom: 4px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  transition: background 0.2s ease;
}

.mg-top10-row:hover {
  background: rgba(99, 179, 237, 0.08);
}

.mg-rank {
  background: #2d3748;
  color: #a0aec0;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  min-width: 28px;
  text-align: center;
}

.mg-rank.top3 {
  background: #f59e0b;
  color: #000;
}

.mg-tname {
  flex: 1;
  color: #e2e8f0;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.mg-tname:hover {
  color: #63b3ed;
}

.mg-votes {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}

.mg-votes i {
  margin-right: 3px;
}

/* Popular Tags */
.mg-tags-section {
  margin-bottom: 15px;
}

.mg-tag-label {
  color: #718096;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mg-tag {
  background: #2d3748;
  border: 1px solid #4a5568;
  color: #a0aec0;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mg-tag:hover {
  background: #4a5568;
  color: #fff;
}

.mg-empty {
  color: #6b7280;
  font-size: 0.8rem;
  text-align: center;
  padding: 20px;
}

/* Statistics Panel */
.mg-stats {
  margin-bottom: 15px;
}

.mg-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mg-stat-row:last-child {
  border-bottom: none;
}

.mg-stat-label {
  color: #a0aec0;
  font-size: 0.75rem;
}

.mg-stat-value {
  color: #63b3ed;
  font-size: 0.75rem;
  font-weight: 700;
}

.mg-stats-seasons {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mg-season-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
}

.mg-season-item {
  background: #2d3748;
  color: #a0aec0;
  font-size: 0.65rem;
  padding: 5px 8px;
  border-radius: 4px;
  text-align: center;
}

/* Responsive */
@media (max-width: 1200px) {
  .mg-layout {
    grid-template-columns: 1fr 1fr;
  }
  .mg-col-right {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .mg-layout {
    grid-template-columns: 1fr;
  }
  .mg-col-right {
    grid-column: span 1;
  }
}

/* Admin Panel Styles */
.admin-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
  margin-top: 20px;
}

.admin-sidebar {
  background: #1a1f2e;
  border-radius: 10px;
  padding: 20px;
  height: fit-content;
}

.sidebar-title h3 {
  color: #63b3ed;
  font-size: 1rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(99, 179, 237, 0.2);
}

.admin-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.admin-menu li {
  margin-bottom: 5px;
}

.admin-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  color: #a0aec0;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
}

.admin-menu a:hover, .admin-menu a.active {
  background: rgba(99, 179, 237, 0.1);
  color: #63b3ed;
}

.admin-menu a i {
  width: 20px;
  text-align: center;
}

.admin-content {
  min-width: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.stat-card {
  background: #1a1f2e;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stat-blue .stat-icon { background: rgba(66, 153, 225, 0.2); color: #4299e1; }
.stat-orange .stat-icon { background: rgba(237, 137, 54, 0.2); color: #ed8936; }
.stat-green .stat-icon { background: rgba(72, 187, 120, 0.2); color: #48bb78; }
.stat-purple .stat-icon { background: rgba(159, 122, 234, 0.2); color: #9f7aea; }
.stat-teal .stat-icon { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.stat-gold .stat-icon { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
.stat-silver .stat-icon { background: rgba(148, 163, 184, 0.2); color: #94a3b8; }
.stat-cyan .stat-icon { background: rgba(6, 182, 212, 0.2); color: #06b6d4; }
.stat-orange .stat-icon { background: rgba(249, 115, 22, 0.2); color: #f97316; }
.stat-emerald .stat-icon { background: rgba(52, 211, 153, 0.2); color: #34d399; }
.stat-lime .stat-icon { background: rgba(163, 230, 53, 0.2); color: #a3e635; }
.stat-pink .stat-icon { background: rgba(236, 72, 153, 0.2); color: #ec4899; }

/* Admin Stats Grid */
.stats-grid-admin { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
@media (max-width: 1200px) { .stats-grid-admin { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .stats-grid-admin { grid-template-columns: 1fr; } }

.stat-info h3 {
  font-size: 1.5rem;
  color: #fff;
  margin: 0;
}

.stat-info p {
  color: #718096;
  font-size: 0.85rem;
  margin: 0;
}

.page-block {
  background: #1a1f2e;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
}

.topBlock-title {
  padding: 15px 20px;
  background: rgba(99, 179, 237, 0.1);
  color: #63b3ed;
  font-weight: 600;
}

.admin-table {
  padding: 15px;
  overflow-x: auto;
}

.admin-table table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th, .admin-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.admin-table th {
  color: #718096;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.admin-table tr:hover {
  background: rgba(255,255,255,0.02);
}

.settings-form {
  padding: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #a0aec0;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px;
  background: #2d3748;
  border: 1px solid #4a5568;
  border-radius: 6px;
  color: #fff;
}

.system-info {
  padding: 20px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.info-label { color: #718096; }
.info-value { color: #63b3ed; }

.alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin: 15px 20px;
}

.alert-danger {
  background: rgba(245, 101, 101, 0.15);
  border: 1px solid rgba(245, 101, 101, 0.3);
  color: #f56565;
}

.alert-success {
  background: rgba(72, 187, 120, 0.15);
  border: 1px solid rgba(72, 187, 120, 0.3);
  color: #48bb78;
}

@media (max-width: 1024px) {
  .admin-layout { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* Hero Banner with Typing Effect */
.hero-banner {
  background: linear-gradient(135deg, #0a0f1a 0%, #1a2744 50%, #0d1526 100%);
  padding: 25px 20px;
  text-align: center;
  border-bottom: 2px solid #f59e0b;
}

.hero-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  color: #f59e0b;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.typing-text {
  color: #f59e0b;
}

.cursor {
  animation: blink 0.7s infinite;
  color: #63b3ed;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Premium Sections (Gold/Silver) */
.mg-premium-section {
  margin: 20px auto;
  max-width: 1200px;
  padding: 0 15px;
}

.premium-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.2) 0%, transparent 100%);
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  margin-bottom: 15px;
}

.premium-header.silver {
  background: linear-gradient(90deg, rgba(192, 192, 192, 0.15) 0%, transparent 100%);
  border-left-color: #c0c0c0;
}

.premium-icon {
  font-size: 1.5rem;
  color: #f59e0b;
}

.premium-header.silver .premium-icon {
  color: #c0c0c0;
}

.premium-header h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  color: #f59e0b;
  margin: 0;
  flex: 1;
}

.premium-header.silver h2 {
  color: #c0c0c0;
}

.biffa-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
}

.premium-card {
  background: #1a1f2e;
  border-radius: 10px;
  padding: 15px;
  position: relative;
  border: 1px solid rgba(245, 158, 11, 0.3);
  transition: all 0.3s ease;
}

.premium-card.gold {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}

.premium-card.silver {
  border-color: rgba(192, 192, 192, 0.3);
}

.premium-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 25px rgba(245, 158, 11, 0.2);
}

.biffa-seal {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
}

.premium-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.premium-flag {
  font-size: 1.2rem;
}

.premium-name {
  font-weight: 700;
  color: #f59e0b;
  text-decoration: none;
  font-size: 0.9rem;
}

.premium-card.silver .premium-name {
  color: #e2e8f0;
}

.premium-details {
  display: flex;
  gap: 10px;
  font-size: 0.75rem;
}

.premium-rate {
  background: rgba(99, 179, 237, 0.2);
  color: #63b3ed;
  padding: 2px 8px;
  border-radius: 4px;
}

.premium-ver {
  color: #a0aec0;
}

.premium-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
}

.votes-in {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
}

.premium-date {
  color: #718096;
  font-size: 0.7rem;
}

.premium-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px;
  color: #718096;
}

.premium-empty a {
  color: #f59e0b;
  text-decoration: none;
}

/* Biffa Badge in Rows */
.mg-biffa {
  color: #10b981;
  font-size: 0.75rem;
  margin-right: 5px;
}

.biffa-row {
  background: rgba(16, 185, 129, 0.05) !important;
  border-left: 2px solid #10b981;
}

/* Votes Badge */
.votes-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-left: auto;
}

.votes-badge.sm {
  padding: 2px 6px;
  font-size: 0.65rem;
}

/* Highlight Panel */
.highlight-panel {
  border: 1px solid rgba(99, 179, 237, 0.3);
}

.highlight-panel .mg-panel-head {
  background: linear-gradient(90deg, rgba(99, 179, 237, 0.15) 0%, transparent 100%);
}

.live-indicator {
  color: #10b981;
  font-size: 0.65rem;
  margin-left: 10px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Ranking Row */
.mg-ranking-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s;
}

.mg-ranking-row:hover {
  background: rgba(255,255,255,0.03);
}

.mg-ranking-row.top-rank {
  background: rgba(245, 158, 11, 0.05);
}

.rank-num {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  background: #2d3748;
  color: #a0aec0;
}

.rank-1 { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); color: #000; }
.rank-2 { background: linear-gradient(135deg, #c0c0c0 0%, #9ca3af 100%); color: #000; }
.rank-3 { background: linear-gradient(135deg, #cd7f32 0%, #a0522d 100%); color: #fff; }

.rank-info {
  flex: 1;
  min-width: 0;
}

.rank-name {
  display: block;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-name:hover {
  color: #63b3ed;
}

.rank-desc {
  display: block;
  color: #718096;
  font-size: 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-votes {
  text-align: center;
}

.vote-count {
  display: block;
  color: #10b981;
  font-weight: 700;
  font-size: 1rem;
}

.vote-label {
  display: block;
  color: #718096;
  font-size: 0.6rem;
  text-transform: uppercase;
}

/* Stats Cards Mini */
.stats-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 15px;
}

.stat-card-mini {
  background: rgba(99, 179, 237, 0.1);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-card-mini i {
  color: #63b3ed;
  font-size: 1.2rem;
}

.stat-data {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
}

.stat-txt {
  color: #718096;
  font-size: 0.65rem;
}

/* Season Links */
.season-links {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 15px;
}

.season-title {
  display: block;
  color: #718096;
  font-size: 0.7rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.season-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.season-btn {
  background: #2d3748;
  color: #a0aec0;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.65rem;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.season-btn:hover {
  background: #4a5568;
  color: #fff;
}

.season-btn span {
  background: rgba(99, 179, 237, 0.2);
  color: #63b3ed;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 0.6rem;
}

/* Compact Row */
.mg-row-compact {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.mg-date-badge {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  margin-left: auto;
}

/* Bottom Section */
.mg-bottom-section {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 15px;
}

.full-width {
  width: 100%;
}

.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  padding: 15px;
}

.coming-card {
  background: #0d1526;
  border-radius: 8px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
  transition: all 0.2s;
}

.coming-card:hover {
  border-color: rgba(99, 179, 237, 0.3);
}

.coming-card.vip {
  border-color: rgba(245, 158, 11, 0.3);
}

.card-vip {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #f59e0b;
  color: #000;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.6rem;
  font-weight: 700;
}

.card-flag {
  font-size: 1.2rem;
}

.card-name {
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
}

.card-name:hover {
  color: #63b3ed;
}

.card-details {
  display: flex;
  gap: 8px;
  font-size: 0.7rem;
}

.card-rate {
  color: #63b3ed;
}

.card-ver {
  color: #a0aec0;
}

.card-date {
  color: #f59e0b;
  font-size: 0.75rem;
  margin-top: 5px;
}

.card-date i {
  margin-right: 5px;
}

@media (max-width: 768px) {
  .hero-text { font-size: 0.85rem; letter-spacing: 1px; }
  .premium-grid { grid-template-columns: 1fr; }
  .stats-cards { grid-template-columns: 1fr; }
  .coming-soon-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .coming-soon-grid { grid-template-columns: 1fr; }
}

/* Top 10 Clean Row */
.top10-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s;
}
.top10-row:hover { background: rgba(255,255,255,0.03); }
.top10-row.top-rank { background: rgba(245, 158, 11, 0.05); }

.top10-rank {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  background: #2d3748;
  color: #a0aec0;
}
.top10-rank.rank-1 { background: linear-gradient(135deg, #f59e0b, #d97706); color: #000; }
.top10-rank.rank-2 { background: linear-gradient(135deg, #c0c0c0, #9ca3af); color: #000; }
.top10-rank.rank-3 { background: linear-gradient(135deg, #cd7f32, #a0522d); color: #fff; }

.t100gs-icon { color: #10b981; font-size: 0.85rem; }

.top10-name {
  flex: 1;
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top10-name:hover { color: #63b3ed; }

.top10-votes {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.75rem;
}

/* Gold/Silver Panel Compact - Subtle styling matching template */
.gold-panel { border: 1px solid #f59e0b; background: var(--secondary-dark); }
.gold-panel .mg-panel-head { background: transparent; border-bottom: 1px solid rgba(245, 158, 11, 0.3); }
.gold-panel .mg-panel-head .dot { color: #f59e0b; }
.dot.gold { color: #f59e0b; }
.gold-row { background: rgba(245, 158, 11, 0.05); border-left: 2px solid #f59e0b; }
.gold-name { color: #f59e0b !important; font-weight: 600; }
.votes-badge.gold { background: #f59e0b; color: #000; font-weight: 600; }

.silver-panel { border: 1px solid #94a3b8; background: var(--secondary-dark); }
.silver-panel .mg-panel-head { background: transparent; border-bottom: 1px solid rgba(148, 163, 184, 0.3); }
.silver-panel .mg-panel-head .dot { color: #94a3b8; }
.dot.silver { color: #94a3b8; }
.silver-row { background: rgba(148, 163, 184, 0.05); border-left: 2px solid #94a3b8; }

/* Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 15px; }
.stats-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 15px; }
.stats-grid .stat-item, .stats-grid-3 .stat-item { display: flex; flex-direction: column; align-items: center; padding: 8px; background: rgba(74, 158, 255, 0.05); border-radius: 6px; border: 1px solid var(--border-color); }
.stats-grid .stat-item i, .stats-grid-3 .stat-item i { font-size: 1rem; color: var(--accent-blue); margin-bottom: 4px; }
.stats-grid .stat-item .stat-val, .stats-grid-3 .stat-item .stat-val { font-size: 1.2rem; font-weight: 700; color: var(--text-primary); }
.stats-grid .stat-item .stat-label, .stats-grid-3 .stat-item .stat-label { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; text-align: center; }

/* BIFFA Badge with Tooltip */
.biffa-badge-sm {
  color: #10b981;
  font-size: 0.85rem;
  cursor: help;
  position: relative;
  flex-shrink: 0;
}

/* Visible BIFFA Badge */
.biffa-badge {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  cursor: help;
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.biffa-badge i { font-size: 0.6rem; }
.biffa-badge:hover::after {
  content: attr(title);
  position: absolute;
  left: 50%;
  top: 120%;
  transform: translateX(-50%);
  background: #10b981;
  color: #000;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: normal;
  width: 250px;
  text-align: center;
  z-index: 100;
  box-shadow: 0 5px 20px rgba(16, 185, 129, 0.3);
}
.biffa-badge:hover::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: #10b981;
}

/* TOP 100 Scrollable */
.top100-scroll {
  max-height: 500px;
  overflow-y: auto;
  padding: 5px;
}
.top100-scroll::-webkit-scrollbar { width: 6px; }
.top100-scroll::-webkit-scrollbar-track { background: #0d1526; }
.top100-scroll::-webkit-scrollbar-thumb { background: #4a5568; border-radius: 3px; }

.top100-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: all 0.2s;
}
.top100-item:hover { background: rgba(255,255,255,0.03); }

.top100-item.top-three {
  background: rgba(245, 158, 11, 0.05);
}

.t100-rank {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.75rem;
  background: #2d3748;
  color: #a0aec0;
  flex-shrink: 0;
}
.t100-rank.rank-1 { background: linear-gradient(135deg, #f59e0b, #d97706); color: #000; }
.t100-rank.rank-2 { background: linear-gradient(135deg, #c0c0c0, #9ca3af); color: #000; }
.t100-rank.rank-3 { background: linear-gradient(135deg, #cd7f32, #a0522d); color: #fff; }

.t100-cert { color: #10b981; font-size: 0.7rem; flex-shrink: 0; }

.t100-name {
  flex: 1;
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.t100-name:hover { color: #63b3ed; }

.t100-exp {
  color: #63b3ed;
  font-size: 0.7rem;
  font-weight: 600;
  flex-shrink: 0;
}

.t100-ver {
  color: #a0aec0;
  font-size: 0.65rem;
  flex-shrink: 0;
}

.t100-votes {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.t100-info {
  color: #718096;
  font-size: 0.7rem;
  flex-shrink: 0;
  background: rgba(255,255,255,0.05);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Banner Section */
.banner-section {
  margin-top: 30px;
  padding: 20px 0;
}
.banner-row { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.banner-row-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
@media (max-width: 1200px) { .banner-row-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .banner-row-4 { grid-template-columns: 1fr; } }
.banner-spot {
  width: 330px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
}
.banner-spot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-spot.empty {
  background: linear-gradient(135deg, #1a1f2e, #0d1526);
  border: 2px dashed #2d3748;
  flex-direction: column;
}
.banner-spot.empty span {
  color: #4a5568;
  font-weight: 600;
  font-size: 0.9rem;
}
.banner-spot.empty small {
  color: #2d3748;
  font-size: 0.75rem;
}
.banner-spot:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}
.banner-spot.empty:hover {
  border-color: #4299e1;
}
.banner-spot.empty:hover span {
  color: #4299e1;
}

/* Custom Cursor - Arrow + Hand Pointer - LARGE */
/* Default - Custom blue arrow - 32px */
html, body, * {
  cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="%2363b3ed" stroke="%23000" stroke-width="2" d="M4 2l20 12-7 2-5 9z"/></svg>') 0 0, auto;
}

/* Clickable - Normal hand pointer - 32px */
a, a *, button, button *, .btn, .btn *, [role="button"], .clickable, [onclick],
input[type="submit"], input[type="button"], input[type="file"],
input[type="file"]::-webkit-file-upload-button,
select, select *, option, .form-select, .custom-select,
.langBlock-active, .buttonDrop, .profile,
.menu a, .admin-menu a, nav a, .dropdown-item,
.top100-item, .mg-row, .server-row, .card,
[data-tooltip], .biffa-badge-clean, .certified-badge,
label, .upload-btn, .file-upload {
  cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="%2310b981" stroke="%23000" stroke-width="1" d="M11 8.5V20l-3.5-3.5c-.8-.8-2-.8-2.8 0s-.8 2 0 2.8l6.5 6.5c.4.4 1 .7 1.6.7H19c2.2 0 4-1.8 4-4v-6c0-.6-.4-1-1-1s-1 .4-1 1v2h-1v-4c0-.6-.4-1-1-1s-1 .4-1 1v3h-1V9c0-.6-.4-1-1-1s-1 .4-1 1v6h-1V8.5c0-.8-.7-1.5-1.5-1.5S11 7.7 11 8.5z"/></svg>') 8 0, pointer !important;
}

/* Text inputs - Enhanced I-beam */
input[type="text"], input[type="email"], input[type="password"],
input[type="url"], input[type="search"], input[type="tel"],
input[type="number"], textarea, [contenteditable="true"] {
  cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><rect x="11" y="3" width="2" height="18" fill="%2363b3ed"/><rect x="8" y="3" width="8" height="2" fill="%2363b3ed"/><rect x="8" y="19" width="8" height="2" fill="%2363b3ed"/></svg>') 12 12, text !important;
}

/* Date/Time input calendar icon - Dark theme fix */
input[type="date"], input[type="datetime-local"], input[type="time"], input[type="month"], input[type="week"] {
  color-scheme: dark;
}
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator,
input[type="week"]::-webkit-calendar-picker-indicator {
  filter: invert(70%) sepia(50%) saturate(500%) hue-rotate(175deg);
  cursor: pointer;
  opacity: 1;
}

/* Clean BIFA Badge with Professional Tooltip - Issue D Fix */
.biffa-badge-clean {
  color: #10b981;
  font-size: 0.85rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  flex-shrink: 0;
  cursor: help;
}
.biffa-badge-clean::before {
  content: attr(data-tooltip);
  position: fixed;
  background: #0d1526;
  color: #10b981;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  border: 1px solid #10b981;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(16, 185, 129, 0.2);
  z-index: 99999;
  pointer-events: none;
}
.biffa-badge-clean:hover::before {
  opacity: 1;
  visibility: visible;
}

/* Certified Badge - Shield Style */
.certified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-left: 8px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  position: relative;
  cursor: help;
  vertical-align: middle;
}
.certified-badge i {
  font-size: 0.65rem;
}
.certified-badge::before {
  content: "Certified Server — ownership verified and approved by staff.";
  position: fixed;
  background: #0d1526;
  color: #10b981;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  max-width: 280px;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  border: 1px solid #10b981;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(16, 185, 129, 0.2);
  z-index: 99999;
  pointer-events: none;
}
.certified-badge:hover::before {
  opacity: 1;
  visibility: visible;
}

/* Verified Badge - Instagram/Twitter Style */
.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-left: 6px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}
.verified-badge svg {
  width: 100%;
  height: 100%;
}
.verified-badge .badge-bg {
  fill: #1d9bf0;
}
.verified-badge .badge-check {
  fill: #fff;
}
.verified-badge:hover {
  transform: scale(1.1);
}
.verified-badge .verified-tooltip {
  position: fixed;
  background: linear-gradient(135deg, #0d1526 0%, #1a2332 100%);
  color: #1d9bf0;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  border: 2px solid #1d9bf0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(29, 155, 240, 0.3);
  z-index: 999999;
  pointer-events: none;
  text-align: center;
}
.verified-badge:hover .verified-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Large Verified Badge */
.verified-badge-lg {
  width: 28px;
  height: 28px;
}

/* Small Verified Badge for compact rows */
.verified-sm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
}
.verified-sm svg {
  width: 18px;
  height: 18px;
}
.verified-sm .badge-bg { fill: #1d9bf0; }
.verified-sm .badge-check { fill: #fff; }

/* BIFA Modal Styles */
.bifa-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 999998;
  display: none;
  align-items: center;
  justify-content: center;
}
.bifa-modal-overlay.active {
  display: flex;
}
.bifa-modal {
  background: linear-gradient(135deg, #1a1f2e 0%, #0d1526 100%);
  border: 2px solid #10b981;
  border-radius: 16px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(16, 185, 129, 0.2);
}
.bifa-modal-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(16, 185, 129, 0.3);
}
.bifa-modal-header .bifa-icon {
  width: 50px;
  height: 50px;
  fill: #10b981;
}
.bifa-modal-header .verified-icon-lg {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}
.staff-signature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1d9bf0;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.staff-signature i {
  font-size: 1.1rem;
}
.bifa-modal-header h3 {
  color: #10b981;
  margin: 0;
  font-size: 1.3rem;
  font-family: 'Orbitron', sans-serif;
}
.bifa-modal-header p {
  color: #a0aec0;
  margin: 5px 0 0;
  font-size: 0.85rem;
}
.bifa-checks {
  margin-bottom: 20px;
}
.bifa-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.bifa-check-item i {
  color: #10b981;
  font-size: 1rem;
}
.bifa-check-item span {
  color: #e2e8f0;
  font-size: 0.9rem;
}
.bifa-admin-comment {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  padding: 15px;
  margin-top: 15px;
}
.bifa-admin-comment h4 {
  color: #10b981;
  font-size: 0.85rem;
  margin: 0 0 8px;
}
.bifa-admin-comment p {
  color: #a0aec0;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.5;
}
.bifa-modal-close {
  background: #10b981;
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 20px;
  width: 100%;
}

/* Published By - Top 100 Live */
.t100-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 2px;
}
.t100-main .t100-name-row {
  display: flex;
  align-items: center;
  gap: 0;
}
.t100-main .t100-name {
  flex: none;
}
.t100-published {
  font-size: 0.65rem;
  color: #fff;
  opacity: 0.6;
}

/* Admin Layout Consistency */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 25px;
  min-height: 70vh;
}
.admin-sidebar {
  background: #1a1f2e;
  border-radius: 12px;
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: 20px;
}
.admin-sidebar .sidebar-block {
  margin-bottom: 0;
}
.admin-sidebar .sidebar-title h3 {
  color: #63b3ed;
  font-size: 1rem;
  margin: 0 0 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.admin-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  color: #a0aec0;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.admin-menu li a:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
}
.admin-menu li a.active {
  background: rgba(66, 153, 225, 0.15);
  color: #4299e1;
}
.admin-menu li a i {
  width: 20px;
  text-align: center;
}
.admin-content {
  background: #1a1f2e;
  border-radius: 12px;
  padding: 25px;
}

@media (max-width: 992px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static;
  }
}

/* =====================================================
   BIFA BADGE SYSTEM - BRIGHT GREEN PREMIUM
   ===================================================== */

/* Base BIFA Badge - BRIGHT GREEN, CLEAN, NO BACKPLATE */
.bifa-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 6px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.2s ease;
}
.bifa-badge .bifa-icon {
  width: 16px;
  height: 16px;
}
.bifa-badge .bifa-shield {
  fill: #10b981;
}
.bifa-badge .bifa-check {
  fill: none;
  stroke: #fff;
}
.bifa-badge .bifa-label {
  display: none;
}
.bifa-badge:hover {
  transform: scale(1.08);
}

/* PENDING BIFA Badge - Grey color for admin-approved waiting officer */
.bifa-badge.bifa-pending .bifa-shield {
  fill: #6b7280;
}
.bifa-badge.bifa-pending .bifa-label {
  color: #6b7280;
}
/* Spinning loader for pending tooltip */
@keyframes spinLoader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.tooltip-loader {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(107,114,128,0.3);
  border-top-color: #9ca3af;
  border-radius: 50%;
  animation: spinLoader 0.8s linear infinite;
}

/* Tick animation for certified tooltip */
@keyframes tickDraw {
  0% { stroke-dashoffset: 20; }
  100% { stroke-dashoffset: 0; }
}
.tooltip-tick {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: middle;
  position: relative;
}
.tooltip-tick::before {
  content: '✓';
  font-size: 12px;
  font-weight: bold;
  color: #10b981;
  animation: tickPop 0.4s ease-out;
}
@keyframes tickPop {
  0% { opacity: 0; transform: scale(0); }
  50% { transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}

/* Human Verification text next to BIFA badge */
.bifa-human-verified {
  color: #10b981;
  font-size: 0.6rem;
  font-weight: 500;
  margin-left: 3px;
  letter-spacing: 0.3px;
  opacity: 0.9;
}

/* Reviewed by Human text for pending (grey) badge */
.bifa-reviewed-text {
  color: #6b7280;
  font-size: 0.6rem;
  font-weight: 500;
  margin-left: 3px;
  letter-spacing: 0.3px;
  opacity: 0.9;
}

/* Verified by Human text for full approval (green) badge */
.bifa-verified-text {
  color: #10b981;
  font-size: 0.6rem;
  font-weight: 500;
  margin-left: 3px;
  letter-spacing: 0.3px;
  opacity: 0.9;
}

/* Grey tooltip for pending badges */
#bifa-tooltip-portal.tooltip-pending .tooltip-content {
  background: #4b5563;
  color: #d1d5db;
}
#bifa-tooltip-portal.tooltip-pending .tooltip-content::after {
  border-top-color: #4b5563;
}

/* Small BIFA Badge - inline use */
.bifa-badge.bifa-sm .bifa-icon {
  width: 14px;
  height: 14px;
}

/* Large BIFA Badge - Top 100 */
.bifa-badge.bifa-lg .bifa-icon {
  width: 18px;
  height: 18px;
}

/* Inline BIFA for My Servers page */
.bifa-badge-inline {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  color: #10b981;
  font-size: 0.9rem;
}

/* BIFA Tooltip - Fixed Position Portal (Never Clipped) */
#bifa-tooltip-portal {
  position: fixed;
  z-index: 2147483647;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  opacity: 0;
  transform: translateY(5px);
}
#bifa-tooltip-portal.visible {
  opacity: 1;
  transform: translateY(0);
}
#bifa-tooltip-portal .tooltip-content {
  background: linear-gradient(135deg, #0d1526 0%, #1a2332 100%);
  color: #10b981;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  border: 2px solid #10b981;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(16, 185, 129, 0.4);
  text-align: center;
}
/* Tick only for certified tooltips, not pending */
#bifa-tooltip-portal:not(.tooltip-pending) .tooltip-content::before {
  content: "✓ ";
}
#bifa-tooltip-portal.tooltip-pending .tooltip-content::before {
  content: none;
}

/* BIFA Modal - Enhanced with DB Data Display */
.bifa-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2147483646;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.bifa-modal-overlay.active {
  display: flex;
}
.bifa-modal {
  background: linear-gradient(145deg, #1a1f2e 0%, #0d1526 100%);
  border: 2px solid #10b981;
  border-radius: 16px;
  padding: 30px;
  max-width: 520px;
  width: 92%;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 50px rgba(16, 185, 129, 0.25);
  animation: modalSlideIn 0.25s ease-out;
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: scale(0.95) translateY(-10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.bifa-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 25px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(16, 185, 129, 0.3);
}
.bifa-modal-header .modal-badge-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: transparent;
  box-shadow: none;
}
.bifa-modal-header .modal-badge-icon .bifa-shield {
  fill: #10b981;
}
.bifa-modal-header .modal-badge-icon .bifa-check {
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
}
.bifa-modal-header h3 {
  color: #10b981;
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-family: 'Orbitron', sans-serif;
}
.bifa-modal-header .modal-subtitle {
  color: #a0aec0;
  font-size: 0.85rem;
  margin: 0;
}
.bifa-modal-header .modal-staff-info {
  margin-top: 10px;
}
.bifa-modal-header .modal-staff-info .staff-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #718096;
  font-size: 0.75rem;
  margin: 6px 0;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.bifa-modal-header .modal-staff-info .staff-row span { display: flex; align-items: center; gap: 6px; }
.bifa-modal-header .modal-staff-info .staff-row strong { color: #10b981; font-weight: 600; }
.bifa-modal-header .modal-staff-info p {
  color: #718096;
  font-size: 0.75rem;
  margin: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bifa-modal-header .modal-staff-info i {
  color: #10b981;
  width: 16px;
}
.bifa-modal-header .modal-staff-info span {
  color: #a0aec0;
  font-weight: 500;
}
.bifa-modal-header .modal-reviewed {
  color: #718096;
  font-size: 0.75rem;
  margin-top: 6px;
}
.bifa-checks {
  margin-bottom: 20px;
}
.bifa-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.bifa-check-item:last-child {
  border-bottom: none;
}
.bifa-check-item i {
  color: #10b981;
  font-size: 1rem;
  width: 20px;
  text-align: center;
}
.bifa-check-item span {
  color: #e2e8f0;
  font-size: 0.88rem;
}
.bifa-admin-section {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 10px;
  padding: 16px;
  margin-top: 18px;
}
.bifa-admin-section .admin-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.bifa-admin-section .admin-header i {
  color: #10b981;
}
.bifa-admin-section .admin-header span {
  color: #10b981;
  font-weight: 600;
  font-size: 0.9rem;
}
.bifa-admin-section .admin-comment {
  color: #a0aec0;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}
.bifa-admin-section .admin-signature {
  color: #718096;
  font-size: 0.75rem;
  margin-top: 10px;
  text-align: right;
}
.bifa-modal-close {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  margin-top: 20px;
  width: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}
.bifa-modal-close:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
}

/* =====================================================
   TOP 5 HIGHLIGHT - GOLD/ORANGE ACCENT (Top 100 Live)
   ===================================================== */

/* Top 100 LIVE - Taller panel */
.top100-scroll {
  max-height: 650px;
  min-height: 500px;
}

.top100-item.top-five {
  position: relative;
  background: linear-gradient(90deg, rgba(255, 183, 77, 0.08) 0%, transparent 60%);
  border-left: 3px solid #ffb74d;
}
.top100-item.top-five .t100-rank {
  color: #ffd54f;
  text-shadow: 0 0 8px rgba(255, 213, 79, 0.4);
}
/* Rank 1 special treatment */
.top100-item.top-five:first-child {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
}
.top100-item.top-five:first-child .t100-rank {
  color: #ffd700;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

/* Opening Today section */
.opening-today-panel .mg-panel-head .dot.today {
  color: #10b981;
  animation: todayPulse 2s infinite;
}
@keyframes todayPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.today-row {
  border-left: 2px solid #10b981;
  padding-left: 8px;
}

/* =====================================================
   CUSTOM CURSOR + HOVER DISTINCTION
   ===================================================== */

/* Custom cursor for clickable elements */
a, button, .bifa-badge, .verified-badge,
.vote-button-1, .vote-button-2, .vote-button-3, .vote-button-4,
.top100-item a, .mg-row a, .cp-nav-item, .dropdown-item,
[role="button"], [onclick], .clickable {
  cursor: pointer;
}

/* Ensure text inputs keep I-beam cursor */
input[type="text"], input[type="email"], input[type="password"],
input[type="url"], input[type="search"], input[type="tel"],
input[type="number"], textarea, [contenteditable="true"] {
  cursor: text !important;
}
input[type="file"] {
  cursor: pointer !important;
}
select {
  cursor: pointer !important;
}

/* Hover distinction for clickable elements */
a:hover, button:hover:not(:disabled), .bifa-badge:hover,
.top100-item a:hover, .mg-row a:hover {
  filter: brightness(1.1);
}

/* Link hover - brighter accent with subtle glow */
a:hover {
  color: #63b3ed;
  text-shadow: 0 0 8px rgba(99, 179, 237, 0.3);
}

/* Button hover glow */
button:hover:not(:disabled), .cp-btn:hover {
  box-shadow: 0 0 15px rgba(66, 153, 225, 0.3);
}

/* Top 100 item hover */
.top100-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-left-color: #63b3ed;
}
.top100-item:hover .t100-name {
  color: #63b3ed;
}

/* MG Row hover */
.mg-row:hover {
  background: rgba(255, 255, 255, 0.02);
}
.mg-row:hover .mg-name {
  color: #63b3ed;
}

/* Non-clickable areas - no accent on hover (intentional: no special styles) */

/* =====================================================
   MICRO-INTERACTIONS (Subtle JS-enhanced hover)
   ===================================================== */

/* BIFA badge pulse on hover */
.bifa-badge {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease;
}
.bifa-badge:hover {
  transform: scale(1.12);
  animation: bifaPulse 1.5s ease-in-out infinite;
}
@keyframes bifaPulse {
  0%, 100% { filter: brightness(1.15) drop-shadow(0 0 8px rgba(16, 185, 129, 0.5)); }
  50% { filter: brightness(1.25) drop-shadow(0 0 14px rgba(16, 185, 129, 0.7)); }
}

/* Vote button micro-interaction */
.vote-button-1, .vote-button-2, .vote-button-3, .vote-button-4,
.votes-badge {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.vote-button-1:hover, .vote-button-2:hover, .vote-button-3:hover, .vote-button-4:hover,
.votes-badge:hover {
  transform: scale(1.03);
}

/* Top 100 name link micro-interaction */
.t100-name {
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}
.t100-name:hover {
  transform: translateX(2px);
}

/* Review Modal Overlay */
.review-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.review-modal.active {
  display: flex;
}
.review-modal .modal-content {
  background: #1a1f2e;
  border-radius: 12px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid #2a2f3e;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.review-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #2a2f3e;
  background: rgba(16, 185, 129, 0.1);
}
.review-modal .modal-header h3 {
  margin: 0;
  color: #10b981;
  font-size: 1.2rem;
}
.review-modal .modal-close {
  background: none;
  border: none;
  color: #718096;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.review-modal .modal-close:hover { color: #fff; }
.review-modal .modal-body {
  padding: 20px;
}
.review-modal .server-info-bar {
  background: rgba(74, 158, 255, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.review-modal .server-info-bar strong { color: #fff; display: block; margin-bottom: 5px; }
.review-modal .server-info-bar span { color: #718096; font-size: 0.85rem; }
.review-modal .info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}
.review-modal .info-item {
  background: rgba(45, 55, 72, 0.5);
  padding: 12px;
  border-radius: 8px;
}
.review-modal .info-item label { display: block; color: #718096; font-size: 0.75rem; margin-bottom: 5px; }
.review-modal .info-item span { color: #fff; font-weight: 600; }
.review-modal .additional-info-box {
  background: rgba(45, 55, 72, 0.5);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}
.review-modal .additional-info-box strong { color: #10b981; display: block; margin-bottom: 8px; }
.review-modal .additional-info-box p { color: #b8c0d4; margin: 0; }
.review-modal .signature-section { margin: 20px 0; }
.review-modal .signature-section h4 { color: #fff; margin-bottom: 10px; font-size: 0.9rem; }
.review-modal .signature-input {
  width: 100%;
  padding: 12px;
  background: #0d1526;
  border: 1px solid #2a2f3e;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
}
.review-modal .modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.review-modal .btn-approve {
  flex: 1;
  padding: 12px 20px;
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.review-modal .btn-reject {
  flex: 1;
  padding: 12px 20px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.review-modal .decision-result { text-align: center; margin: 20px 0; }
.review-modal .result-badge {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
}
.review-modal .result-badge.approved {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 2px solid #10b981;
}

/* Server card hover lift */
.mg-row {
  transition: background 0.2s ease, transform 0.15s ease;
}
.mg-row:hover {
  transform: translateX(3px);
}
