:root {
  --primary-blue: #0095ff;
  --dark-blue: #0D1C2B;
  --very-dark-blue: #06121E;
  --accent: #0095ff;
  --accent-light: #33A8FF;
  --text-light: #E8F4FF;
  --text-secondary: #A0C8E8;
  --danger-color: #FF4757;
  --success-color: #2ED573;
  --warning-color: #FFA726;
  --glass-bg: rgba(0, 149, 255, 0.05);
  --border-glow: rgba(0, 149, 255, 0.2);
}

body {
  background: linear-gradient(180deg, var(--very-dark-blue) 0%, #0A1825 100%);
  color: var(--text-light);
  font-family: 'Saira', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(0, 149, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 149, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4, h5, h6, .nav-link, .btn {
  font-family: 'Quantico', sans-serif;
  letter-spacing: 1px;
}

/* Scrollbar elegant */
::-webkit-scrollbar {
  width: 6px;
  background-color: var(--very-dark-blue);
}

::-webkit-scrollbar-track {
  background: rgba(0, 149, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary-blue), var(--accent-light));
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(var(--accent-light), var(--primary-blue));
}

/* Links simple */
a, a:hover {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-light);
}

/* Navbar clean - OPTIMIZED FOR PERFORMANCE */
.navbar {
  background: rgba(6, 18, 30, 0.95);
  /* backdrop-filter: blur(10px); REMOVED - CPU intensive on scroll */
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-glow);
  transition: height 0.2s ease, background 0.2s ease;
  height: 70px;
  /* Performance optimizations */
  will-change: height;
  contain: layout style;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.navbar.scrolled {
  height: 60px;
  background: rgba(6, 18, 30, 0.98);
}

.container-navbar {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 2rem;
  height: 100%;
}

.navbar-brand {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  margin-right: auto;
}

.navbar-brand:hover {
  color: var(--primary-blue);
  transform: scale(1.02);
}

.navbar-brand-container {
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 50px;
  transition: height 0.2s ease;
  /* Performance optimizations */
  will-change: height;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.navbar.scrolled .navbar-logo {
  height: 40px;
}

.logo-separator {
  height: 30px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--primary-blue), transparent);
  margin: 0 15px;
}

.navbar-nav {
  display: flex;
}

.center-nav {
  margin-left: auto;
  margin-right: auto;
}

.right-nav {
  margin-left: 20px;
}

.nav-link {
  color: var(--text-light);
  font-weight: 600;
  position: relative;
  padding: 0.5rem 1.2rem;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 1px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  margin: 0 5px;
  border-radius: 4px;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width 0.3s ease;
}

.nav-link:hover::before, 
.nav-link.active::before {
  width: 70%;
}

.nav-link:hover, 
.nav-link.active {
  color: var(--accent-light);
  background: var(--glass-bg);
}

.nav-link.active {
  background: var(--glass-bg);
}

.navbar-toggler {
  border: 1px solid var(--border-glow);
  background: var(--glass-bg);
  padding: 0.4rem 0.75rem;
  margin-left: 15px;
  border-radius: 4px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 149, 255, 0.25);
}

/* Hero Section cu efecte subtile */
.tactical-banner {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0 5%;
  background: linear-gradient(rgba(6, 18, 30, 0.7), rgba(6, 18, 30, 0.8)), url('../img/tactical-banner.jpg');
  background-size: cover;
  background-position: center;
}

.tactical-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 149, 255, 0.02) 2px, rgba(0, 149, 255, 0.02) 4px);
  pointer-events: none;
  z-index: 1;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.banner-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, rgba(6, 18, 30, 0.8), transparent);
}

.banner-content {
  position: relative;
  z-index: 3;
  max-width: 50%;
}

/* Text cu gradient elegant - FIX PENTRU iOS */
.banner-title {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: var(--text-light); /* Fallback pentru iOS */
  line-height: 1.1;
  position: relative;
}

/* Gradient text doar pentru browsere care îl suportă */
@supports (-webkit-background-clip: text) {
  .banner-title {
    background: linear-gradient(135deg, var(--text-light) 0%, var(--accent-light) 50%, var(--text-light) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient-shift 4s ease-in-out infinite;
  }
}

/* Pentru iOS/Safari - text normal cu shadow */
@supports not (-webkit-background-clip: text) {
  .banner-title {
    color: var(--text-light);
    text-shadow: 0 0 20px rgba(0, 149, 255, 0.5);
  }
}

.banner-title span {
  display: block;
  color: var(--accent-light); /* Fallback pentru iOS */
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
}

/* Gradient pentru subtitle doar dacă este suportat */
@supports (-webkit-background-clip: text) {
  .banner-title span {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--primary-blue) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.banner-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-light));
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.banner-subtitle {
  margin: 2rem 0 1.5rem;
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 500px;
}

/* Buton elegant - OPTIMIZED */
.tactical-btn {
  display: inline-flex;
  align-items: center;
  background: var(--glass-bg);
  color: var(--accent-light);
  border: 1px solid var(--primary-blue);
  padding: 1rem 2.5rem;
  font-family: 'Quantico', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
  /* backdrop-filter: blur(5px); REMOVED - CPU intensive */
  border-radius: 4px;
  /* Performance optimizations */
  will-change: auto;
  backface-visibility: hidden;
}

.tactical-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 149, 255, 0.2), transparent);
  transition: all 0.6s ease;
}

.tactical-btn:hover {
  color: var(--text-light);
  border-color: var(--accent-light);
  background: rgba(0, 149, 255, 0.1);
  transform: translateY(-2px);
}

.tactical-btn:hover::before {
  left: 100%;
}

.tactical-btn i {
  margin-right: 10px;
}

/* HUD Elements fără shadow */
.hud-corner {
  position: absolute;
  width: 80px;
  height: 80px;
  z-index: 2;
}

.hud-top-left {
  top: 20px;
  left: 20px;
  border-top: 2px solid var(--primary-blue);
  border-left: 2px solid var(--primary-blue);
}

.hud-top-right {
  top: 20px;
  right: 20px;
  border-top: 2px solid var(--primary-blue);
  border-right: 2px solid var(--primary-blue);
}

.hud-bottom-left {
  bottom: 20px;
  left: 20px;
  border-bottom: 2px solid var(--primary-blue);
  border-left: 2px solid var(--primary-blue);
}

.hud-bottom-right {
  bottom: 20px;
  right: 20px;
  border-bottom: 2px solid var(--primary-blue);
  border-right: 2px solid var(--primary-blue);
}

.hud-line {
  position: absolute;
  background: var(--primary-blue);
  opacity: 0.6;
}

.hud-horizontal {
  height: 1px;
  width: 30%;
}

.hud-vertical {
  width: 1px;
  height: 30%;
}

.hud-top {
  top: 40px;
  left: 35%;
}

.hud-bottom {
  bottom: 40px;
  right: 35%;
}

.hud-left {
  left: 40px;
  top: 35%;
}

.hud-right {
  right: 40px;
  bottom: 35%;
}

.status-indicator {
  position: absolute;
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(6, 18, 30, 0.8);
  border: 1px solid var(--primary-blue);
  color: var(--accent-light);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 1px;
  z-index: 4;
  /* backdrop-filter: blur(5px); REMOVED - CPU intensive */
  /* Performance optimizations */
  transform: translateZ(0);
  backface-visibility: hidden;
}

.status-date {
  top: 20px;
  right: 20px;
}

.status-users {
  bottom: 20px;
  left: 20px;
}

.status-indicator i {
  margin-right: 8px;
}

/* Scanner line subtil - OPTIMIZED */
.scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
  animation: scan 8s infinite;
  opacity: 0.4;
  z-index: 3;
  /* Performance optimizations */
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

@keyframes scan {
  0% { transform: translateY(0); }
  48% { transform: translateY(calc(100vh - 3px)); }
  50% { transform: translateY(calc(100vh - 3px)); }
  98% { transform: translateY(0); }
  100% { transform: translateY(0); }
}

/* Main container elegant - OPTIMIZED */
.main-container {
  background: rgba(6, 18, 30, 0.8);
  /* backdrop-filter: blur(10px); REMOVED - CPU intensive */
  margin: 3rem auto;
  padding: 2rem;
  position: relative;
  z-index: 5;
  max-width: 1510px;
  border: 1px solid var(--border-glow);
  border-radius: 6px;
  /* Performance optimizations */
  contain: layout style paint;
  transform: translateZ(0);
}

.section-header {
  margin-bottom: 2rem;
  position: relative;
  padding-left: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 28, 43, 0.6);
  border: 1px solid var(--border-glow);
  padding: 1rem 1.5rem;
  border-radius: 4px;
}

.section-header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-blue), var(--accent-light));
}

.section-header h2 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light); /* Fallback pentru iOS */
  display: flex;
  align-items: center;
}

/* Gradient pentru section header doar dacă este suportat */
@supports (-webkit-background-clip: text) {
  .section-header h2 {
    background: linear-gradient(135deg, var(--text-light) 0%, var(--accent-light) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.section-header h2 i {
  margin-right: 0.8rem;
  font-size: 1.4rem;
  color: var(--primary-blue);
}

.system-info {
  display: flex;
  align-items: center;
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.system-status {
  margin-left: 1.5rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--primary-blue);
  background: var(--glass-bg);
  color: var(--accent-light);
  display: flex;
  align-items: center;
  border-radius: 4px;
}

.system-status i {
  margin-right: 6px;
}

/* Tables clean design */
.servers-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 2rem;
  border: 1px solid var(--border-glow);
  border-radius: 6px;
  overflow: hidden;
}

.servers-table thead th {
  background: rgba(0, 149, 255, 0.08);
  color: var(--accent-light);
  font-weight: 600;
  text-transform: uppercase;
  padding: 1.2rem 1rem;
  font-size: 0.9rem;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border-glow);
  position: relative;
  text-align: center !important;
  vertical-align: middle;
}

.servers-table tbody tr {
  background: rgba(13, 28, 43, 0.4);
  transition: background-color 0.2s ease, transform 0.2s ease;
  /* Performance optimizations */
  will-change: auto;
  backface-visibility: hidden;
}

.servers-table tbody tr:nth-child(odd) {
  background: rgba(13, 28, 43, 0.6);
}

.servers-table tbody tr:hover {
  background: rgba(0, 149, 255, 0.08) !important;
  transform: translateY(-1px) !important;
}

.servers-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 149, 255, 0.05);
  vertical-align: middle;
  text-align: center !important;
}

.servers-table tr:last-child td {
  border-bottom: none;
}

/* Server elements */
.server-status-icon {
  font-size: 1.2rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.server-status-online {
  color: var(--success-color);
}

.server-status-offline {
  color: var(--danger-color);
}

.server-game-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--border-glow);
  border-radius: 4px;
  margin: 0 auto;
}

.server-game-icon img {
  width: 24px;
  height: 24px;
}

.server-name {
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.server-address {
  font-family: 'Share Tech Mono', monospace;
  color: var(--accent-light);
  background: var(--glass-bg);
  border: 1px solid var(--border-glow);
  padding: 0.4rem 0.8rem;
  display: flex !important;
  align-items: center;
  justify-content: center !important;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  width: 95%;
  max-width: 230px;
  margin: 0 auto !important;
  text-align: center;
  border-radius: 4px;
}

.server-address span {
  width: 100%;
  text-align: center;
}

.server-address i {
  margin-left: 8px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.server-address:hover {
  background: rgba(0, 149, 255, 0.1);
  border-color: var(--primary-blue);
}

.server-address:hover i {
  color: var(--accent-light);
}

.server-map {
  color: var(--text-secondary);
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

/* Player count */
.player-count {
  font-family: 'Share Tech Mono', monospace;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.9rem;
  min-width: 80px;
  text-align: center;
  border: 1px solid;
}

.player-count-high {
  color: var(--danger-color);
  background: rgba(255, 71, 87, 0.1);
  border-color: rgba(255, 71, 87, 0.3);
}

.player-count-medium {
  color: var(--warning-color);
  background: rgba(255, 167, 38, 0.1);
  border-color: rgba(255, 167, 38, 0.3);
}

.player-count-low {
  color: var(--success-color);
  background: rgba(46, 213, 115, 0.1);
  border-color: rgba(46, 213, 115, 0.3);
}

.player-count-none {
  color: var(--text-secondary);
  background: rgba(160, 200, 232, 0.1);
  border-color: rgba(160, 200, 232, 0.3);
}

.view-players-btn {
  background: var(--glass-bg);
  border: 1px solid var(--border-glow);
  color: var(--accent-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.4rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Quantico', sans-serif;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
}

.view-players-btn i {
  margin-right: 0.5rem;
}

.view-players-btn:hover {
  background: rgba(0, 149, 255, 0.1);
  color: var(--text-light);
  border-color: var(--primary-blue);
}

/* Footer elegant */
.premium-footer {
  background: linear-gradient(to bottom, rgba(6, 18, 30, 0.9), rgba(6, 18, 30, 0.97));
  padding: 0;
  position: relative;
  border-top: 1px solid var(--border-glow);
  overflow: hidden;
}

.footer-top-line {
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--primary-blue) 25%, 
    var(--accent-light) 50%, 
    var(--primary-blue) 75%, 
    transparent 100%
  );
  margin-bottom: 3px;
}

.premium-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 90%, rgba(0, 149, 255, 0.02) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(0, 149, 255, 0.02) 0%, transparent 40%);
  pointer-events: none;
  opacity: 0.5;
}

.footer-container {
  position: relative;
  padding: 3rem 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding: 0 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo-container {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-logo {
  height: 60px;
  margin-right: 0;
}

.footer-logo-separator {
  height: 40px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--primary-blue), transparent);
  margin: 0 15px;
}

.footer-brand-name {
  font-family: 'Quantico', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-light); /* Fallback pentru iOS */
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
}

/* Gradient pentru footer brand doar dacă este suportat */
@supports (-webkit-background-clip: text) {
  .footer-brand-name {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--primary-blue) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.footer-brand-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--glass-bg);
  border: 1px solid var(--border-glow);
  border-radius: 50%;
  color: var(--accent-light);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link:hover {
  transform: translateY(-2px);
  background: rgba(0, 149, 255, 0.1);
  color: var(--text-light);
  border-color: var(--primary-blue);
}

.footer-links-title {
  font-family: 'Quantico', sans-serif;
  color: var(--text-light);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-blue);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-link i {
  color: var(--primary-blue);
  margin-right: 0.8rem;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: var(--text-light);
  padding-left: 5px;
}

.footer-link:hover i {
  transform: translateX(3px);
}

.contact-info {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-icon {
  color: var(--primary-blue);
  font-size: 1rem;
  margin-right: 1rem;
  margin-top: 3px;
}

.contact-text {
  line-height: 1.5;
}

.contact-text a {
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.contact-text a:hover {
  color: var(--accent-light);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
  margin: 2rem auto;
  width: 80%;
}

.footer-bottom {
  padding: 1.5rem 2rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  position: relative;
}

.footer-bottom a {
  color: var(--text-light);
  transition: all 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--accent-light);
}

/* Modal clean */
.tactical-modal .modal-dialog {
  max-width: 900px;
  margin: 1.75rem auto;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 3.5rem);
}

.tactical-modal .modal-content {
  background: rgba(13, 28, 43, 0.95);
  border: 1px solid var(--border-glow);
  /* backdrop-filter: blur(10px); REMOVED - CPU intensive */
  border-radius: 6px;
  width: 100%;
  /* Performance optimizations */
  transform: translateZ(0);
  backface-visibility: hidden;
}

.tactical-modal .modal-header {
  border-bottom: 1px solid var(--border-glow);
  padding: 1rem 1.5rem;
  background: var(--glass-bg);
  justify-content: center;
  text-align: center;
}

.tactical-modal .modal-title {
  color: var(--accent-light);
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  line-height: 1.3;
  font-family: 'Saira', sans-serif;
}

.tactical-modal .modal-title i {
  margin-right: 10px;
  color: var(--primary-blue);
  font-size: 1.2rem;
}

.tactical-modal .btn-close {
  display: none !important;
}

.tactical-modal .modal-body {
  padding: 1.5rem;
  max-height: 65vh;
  overflow-y: auto;
}

.tactical-modal .modal-footer {
  border-top: 1px solid var(--border-glow);
  padding: 1rem 1.5rem;
  background: rgba(6, 18, 30, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.tactical-modal .close-btn {
  background: rgba(255, 71, 87, 0.1);
  color: var(--danger-color);
  border: 1px solid var(--danger-color);
  padding: 0.6rem 1.5rem;
  font-family: 'Quantico', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border-radius: 4px;
  font-size: 0.9rem;
  margin: 0 auto;
}

.tactical-modal .close-btn:hover {
  background: rgba(255, 71, 87, 0.2);
  color: var(--text-light);
}

.tactical-modal .close-btn i {
  margin-right: 6px;
}

/* Players table clean */
.players-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(6, 18, 30, 0.3);
  border-radius: 4px;
  overflow: hidden;
}

.players-table th {
  background: var(--glass-bg);
  color: var(--accent-light);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  letter-spacing: 1px;
  text-align: center;
  font-family: 'Saira', sans-serif;
}

.players-table td {
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid rgba(0, 149, 255, 0.05);
  color: var(--text-light);
  font-size: 1rem;
  text-align: center;
  font-family: 'Saira', sans-serif;
  line-height: 1.2;
}

.players-table tr:hover td {
  background: var(--glass-bg);
}

.players-table td:first-child {
  text-align: left;
  font-family: 'Saira', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
}

.players-table td:nth-child(2) {
  font-family: 'Saira', sans-serif;
  color: var(--warning-color);
  font-size: 0.95rem;
  font-weight: 600;
}

.players-table td:nth-child(3) {
  font-family: 'Saira', sans-serif;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Toast clean */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1100;
}

.tactical-toast {
  background: rgba(13, 28, 43, 0.9);
  /* backdrop-filter: blur(10px); REMOVED - CPU intensive */
  border: 1px solid var(--primary-blue);
  border-radius: 4px;
  /* Performance optimizations */
  transform: translateZ(0);
  backface-visibility: hidden;
}

.toast-success {
  border-color: var(--success-color);
}

.toast-danger {
  border-color: var(--danger-color);
}

.toast-body {
  color: var(--text-light);
  font-family: 'Saira', sans-serif;
  padding: 1rem;
  display: flex;
  align-items: center;
}

.toast-body i {
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

.toast-success i {
  color: var(--success-color);
}

.toast-danger i {
  color: var(--danger-color);
}

/* Contact Form clean */
.needs-validation .form-label {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.needs-validation .input-group-text {
  background: var(--glass-bg);
  border: 1px solid var(--border-glow);
  color: var(--primary-blue);
  border-right: none;
}

.needs-validation .form-control {
  background: rgba(13, 28, 43, 0.6);
  border: 1px solid var(--border-glow);
  color: var(--text-light);
  border-left: none;
  transition: all 0.3s ease;
}

.needs-validation .form-control:focus {
  background: rgba(13, 28, 43, 0.8);
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(0, 149, 255, 0.25);
  color: var(--text-light);
}

.needs-validation .form-control::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

.needs-validation .invalid-feedback {
  color: var(--danger-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Animation subtile - OPTIMIZED */
@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.flicker-text {
  animation: flicker 2s infinite;
  /* Performance optimizations */
  will-change: opacity;
  backface-visibility: hidden;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px) translateZ(0); }
  to { opacity: 1; transform: translateY(0) translateZ(0); }
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
  /* Performance optimizations */
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.fade-in.animate {
  will-change: auto;
}

/* Mobile Responsive - SPECIFIC iOS FIXES */
@media (max-width: 1199px) {
  .main-container {
    margin-top: -50px;
    max-width: 95%;
  }
  
  .banner-content {
    max-width: 60%;
  }
  
  .banner-title {
    font-size: 3.5rem;
  }
}

@media (max-width: 991px) {
  .tactical-banner {
    height: 80vh;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
  }
  
  .banner-content {
    max-width: 80%;
  }
  
  .banner-title {
    font-size: 3rem;
  }
  
  .banner-subtitle {
    font-size: 1.1rem;
    margin: 1.5rem auto;
  }
  
  .banner-overlay::before {
    width: 100%;
    background: linear-gradient(rgba(6, 18, 30, 0.8), rgba(6, 18, 30, 0.6));
  }
  
  .tactical-btn {
    margin: 0 auto;
    display: inline-flex;
  }
  
  .banner-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .navbar {
    height: auto;
    padding: 10px 0;
  }
  
  .navbar-brand-container {
    margin-right: auto;
  }
  
  .navbar-logo {
    height: 40px;
  }
  
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 18, 30, 0.98);
    padding: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-glow);
  }
  
  .navbar-nav {
    padding: 10px 20px;
    width: 100%;
  }
  
  .center-nav, .right-nav {
    margin: 0 auto;
    text-align: center;
  }
  
  .right-nav {
    margin-top: 10px;
    border-top: 1px solid rgba(0, 149, 255, 0.1);
    padding-top: 10px;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    padding: 12px 15px;
    margin: 5px 0;
    border-radius: 4px;
    display: block;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(0, 149, 255, 0.1);
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .social-links {
    margin-bottom: 1rem;
  }
}

/* iOS SPECIFIC MOBILE FIXES */
@media (max-width: 767px) {
  /* Fix pentru iOS Safari viewport height */
  .tactical-banner {
    /*height: 100vh;*/
    min-height: 100vh;
    /*min-height: -webkit-fill-available; */
    padding: 2rem 1rem;
  }
  
  .banner-content {
    max-width: 100%;
  }
  
  /* iOS text rendering fix */
  .banner-title {
    font-size: 2.2rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* Forțează culoarea pentru iOS */
    color: var(--text-light) !important;
    text-shadow: 0 2px 10px rgba(0, 149, 255, 0.3);
  }
  
  .banner-title span {
    font-size: 1.2rem;
    /* Forțează culoarea pentru iOS */
    color: var(--accent-light) !important;
    text-shadow: 0 1px 5px rgba(0, 149, 255, 0.4);
  }
  
  /* Asigură că gradient-ul nu afectează textul pe iOS */
  @supports (-webkit-background-clip: text) {
    @media (-webkit-min-device-pixel-ratio: 2) {
      /* Detectează iOS high-DPI și dezactivează gradient-ul */
      .banner-title {
        background: none !important;
        background-clip: initial !important;
        -webkit-background-clip: initial !important;
        -webkit-text-fill-color: var(--text-light) !important;
        color: var(--text-light) !important;
      }
      
      .banner-title span {
        background: none !important;
        background-clip: initial !important;
        -webkit-background-clip: initial !important;
        -webkit-text-fill-color: var(--accent-light) !important;
        color: var(--accent-light) !important;
      }
      
      .section-header h2 {
        background: none !important;
        background-clip: initial !important;
        -webkit-background-clip: initial !important;
        -webkit-text-fill-color: var(--text-light) !important;
        color: var(--text-light) !important;
      }
      
      .footer-brand-name {
        background: none !important;
        background-clip: initial !important;
        -webkit-background-clip: initial !important;
        -webkit-text-fill-color: var(--accent-light) !important;
        color: var(--accent-light) !important;
      }
    }
  }
  
  .banner-subtitle {
    font-size: 1rem;
    margin: 1.5rem auto 1rem;
  }
  
  .hud-corner, 
  .hud-line,
  .status-indicator {
    display: none;
  }
  
  .scanner-line {
    height: 2px;
  }
  
  .main-container {
    margin-top: 0;
    padding: 1.5rem;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .system-info {
    margin-top: 1rem;
  }
  
  .servers-table {
    display: none !important; 
  }
  
  .mobile-server-cards {
    display: block !important; 
  }
  
  .server-card {
    background: rgba(13, 28, 43, 0.6);
    border: 1px solid var(--border-glow);
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .server-card:hover {
    transform: translateY(-2px);
    background: var(--glass-bg);
  }
  
  .server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-blue), var(--accent-light));
  }
  
  .server-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px dashed var(--border-glow);
  }
  
  .server-status-badge {
    margin-right: 10px;
  }
  
  .server-name-mobile {
    font-weight: 600;
    color: var(--text-light);
    flex-grow: 1;
  }
  
  .server-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
  }
  
  .server-info-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
  }
  
  .server-info-value {
    color: var(--accent-light);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
  }
  
  .server-card-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px dashed var(--border-glow);
  }
  
  .server-address-mobile {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--border-glow);
    padding: 0.3rem 0.6rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent-light);
    cursor: pointer;
    border-radius: 4px;
  }
  
  .server-address-mobile i {
    margin-left: 0.5rem;
  }
  
  .player-count-mobile {
    padding: 0.3rem 0.6rem;
  }

  .tactical-modal .modal-dialog {
    margin: 0.5rem;
    min-height: calc(100vh - 1rem);
    min-height: calc(-webkit-fill-available - 1rem); /* iOS Safari fix */
  }

  .tactical-modal .modal-body {
    padding: 1rem;
    max-height: 60vh;
    max-height: 60vh; /* iOS Safari fix */
  }

  .tactical-modal .modal-title {
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .tactical-modal .modal-title i {
    font-size: 0.9rem;
  }

  .players-table th,
  .players-table td {
    padding: 0.7rem 0.8rem;
    font-size: 0.85rem;
  }

  .players-table td:first-child,
  .players-table td:nth-child(2),
  .players-table td:nth-child(3) {
    font-size: 0.8rem;
  }

  .footer-container {
    padding: 2rem 0 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-logo {
    height: 50px;
  }

  .footer-brand-name {
    font-size: 1.5rem;
  }

  .social-links {
    justify-content: center;
  }

  .footer-links-title {
    text-align: center;
    margin-bottom: 1.2rem;
  }

  .footer-links-title::after {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
  }

  .footer-links {
    text-align: center;
  }

  .footer-link {
    justify-content: center;
  }

  .contact-item {
    justify-content: center;
    text-align: center;
  }

  .contact-icon {
    margin-right: 10px;
    margin-top: 2px;
  }

  .footer-bottom {
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .container-navbar {
    padding: 0 1rem;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .logo-separator {
    margin: 0 10px;
  }
  
  .navbar-logo {
    height: 35px;
  }
}

/* iOS SPECIFIC FIXES FOR VERY SMALL SCREENS */
@media (max-width: 480px) {
  .tactical-banner {
    height: 100vh;
    height: -webkit-fill-available; /* iOS Safari fix */
  }
  
  .banner-title {
    font-size: 1.8rem;
    /* Extra iOS protection */
    color: var(--text-light) !important;
    background: none !important;
    -webkit-text-fill-color: var(--text-light) !important;
  }
  
  .banner-title span {
    font-size: 1rem;
    /* Extra iOS protection */
    color: var(--accent-light) !important;
    background: none !important;
    -webkit-text-fill-color: var(--accent-light) !important;
  }
  
  .banner-subtitle {
    font-size: 0.95rem;
  }
  
  .tactical-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Table fixes */
.servers-table th {
  text-align: center !important;
}

.servers-table td {
  text-align: center !important;
}

.servers-table thead th:first-child,
.servers-table tbody td:first-child {
  text-align: center !important;
}

.server-status-icon {
  margin: 0 auto;
}

.servers-table th:nth-child(3),
.servers-table td:nth-child(3) {
  text-align: center !important;
}

.servers-table th:nth-child(5),
.servers-table td:nth-child(5) {
  text-align: center !important;
}

.servers-table tbody tr:hover {
  background: rgba(0, 149, 255, 0.08) !important;
  transform: translateY(-1px) !important;
  transition: all 0.3s ease !important;
}

.server-address {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto !important;
}

.navbar-brand {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* Performance optimizations - ALREADY APPLIED ABOVE */
/* Removed backdrop-filter from navbar, main-container, tactical-btn */
/* All animations optimized with will-change and transform: translateZ(0) */
/* Scroll events throttled with requestAnimationFrame */

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  /* Detectează iOS Safari */
  .banner-title,
  .banner-title span,
  .section-header h2,
  .footer-brand-name {
    background: none !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
  }
  
  .banner-title {
    color: var(--text-light) !important;
  }
  
  .banner-title span {
    color: var(--accent-light) !important;
  }
  
  .section-header h2 {
    color: var(--text-light) !important;
  }
  
  .footer-brand-name {
    color: var(--accent-light) !important;
  }
  
  /* Fix pentru viewport height pe iOS */
  .tactical-banner {
    height: 100vh;
    height: -webkit-fill-available;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .scanner-line {
    display: none;
  }
  
  .flicker-text {
    animation: none;
  }
  
  .banner-title {
    animation: none;
    background: none !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: var(--text-light) !important;
    color: var(--text-light) !important;
  }
}