@charset "UTF-8";

:root {
  /* Світла палітра 2025 */
  --bg: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  --bg-solid: #f8fafc;
  --panel: #ffffff;
  --panel-hover: #fefefe;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  /* Сучасні кольори 2025 */
  --primary: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  --primary-solid: #3b82f6;
  --accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --accent-solid: #10b981;
  --danger: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  --danger-solid: #ef4444;
  --warning: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --warning-solid: #f59e0b;
  
  /* Тіні та ефекти */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Границі */
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --border-focus: #3b82f6;
  
  /* Радіуси */
  --radius-sm: 6px;
  --radius: 5px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  
  /* Переходи */
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Базові стилі */
html { 
  box-sizing: border-box; 
  scroll-behavior: smooth;
}

*, *::before, *::after { 
  box-sizing: inherit; 
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Типографіка */
h1, h2, h3, h4, h5, h6 { 
  margin: 0 0 1rem; 
  font-weight: 700; 
  line-height: 1.2; 
  letter-spacing: -0.025em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

p { margin: 0 0 1rem; }

/* Посилання */
a { 
  color: var(--primary-solid); 
  text-decoration: none; 
  transition: var(--transition);
}

a:hover { 
  color: var(--primary-solid);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

/* Контейнер */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Панелі */
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 1rem 0;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.panel:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}


/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: white;
  box-shadow: var(--shadow);
}

.btn-accent:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn-danger {
  background: var(--danger);
  color: white;
  box-shadow: var(--shadow);
}

.btn-danger:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-solid);
  border: 2px solid var(--primary-solid);
}

.btn-outline:hover {
  background: var(--primary-solid);
  color: white;
}

/* Форми */
input, select, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  transform: translateY(-1px);
}

input[type="submit"], button[type="submit"], input[type="button"], button {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  background: var(--primary);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

input[type="submit"]:hover, button[type="submit"]:hover, input[type="button"]:hover, button:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

/* Посилання в панелях */
.panel a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  margin: 0.25rem 0.5rem 0.25rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.panel a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.3s;
}

.panel a:hover {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: var(--primary-solid);
  color: var(--primary-solid);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.panel a:hover::before {
  left: 100%;
}

/* Заголовок додатку */
.appbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.appbar .brand {
  padding: 1rem 0;
  font-weight: 800;
  font-size: 1.5rem;
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

/* Утиліти */
.muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-right { text-align: right; }

.row { 
  display: flex; 
  gap: 1rem; 
  flex-wrap: wrap; 
  align-items: center;
}

.row > * { 
  flex: 1 1 200px; 
}

.grid { 
  display: grid; 
  gap: 1rem; 
}

.grid-2 { 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
}

.grid-3 { 
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
}

/* Розділювачі */
hr { 
  border: 0; 
  border-top: 2px solid var(--border-light); 
  margin: 2rem 0; 
  border-radius: 1px;
}

/* Лейбли */
.label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Дії форм */
form .actions { 
  margin-top: 1.5rem; 
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Адаптивність */
@media (max-width: 768px) {
  .container { 
    padding: 1rem; 
  }
  
  .panel {
    padding: 1.5rem;
    margin: 0.5rem 0;
  }
  
  
  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
  
  .panel a {
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
  }
  
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.375rem; }
  h3 { font-size: 1.125rem; }
}

@media (max-width: 480px) {
  .container { 
    padding: 0.75rem; 
  }
  
  .panel {
    padding: 1rem;
  }
  
  
  .row {
    flex-direction: column;
  }
  
  .row > * {
    flex: none;
    width: 100%;
  }
}

/* Анімації */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

.panel {
  animation: fadeIn 0.3s ease-out;
}

/* Спеціальні ефекти */
.glass {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.gradient-text {
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Статуси */
.status-online {
  color: var(--accent-solid);
  font-weight: 600;
}

.status-offline {
  color: var(--text-muted);
}

.status-danger {
  color: var(--danger-solid);
  font-weight: 600;
}

/* Flash повідомлення */
.flash-message {
  position: fixed;
  top: 20px;
  right: 20px;
  left: auto;
  z-index: 1000;
  max-width: 400px;
  min-width: 280px;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideInRight 0.3s ease-out;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  margin-bottom: 10px;
}

/* Контейнер для flash повідомлень */
.flash-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  pointer-events: none;
  padding: 5px;
  width: 350px; /* Фіксована ширина для кращого вигляду */
}

.flash-container .flash-message {
  position: relative;
  top: auto;
  right: auto;
  margin-bottom: 0;
  pointer-events: auto;
  animation: slideInRight 0.3s ease-out;
  width: 100%; /* Займає всю ширину контейнера */
  box-sizing: border-box; /* Включає padding в ширину */
}

/* Постійні повідомлення */
.persistent-message {
  border-left: 4px solid var(--accent-solid) !important;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%) !important;
  box-shadow: 0 8px 25px -5px rgba(16, 185, 129, 0.2), 0 4px 6px -2px rgba(16, 185, 129, 0.1) !important;
  animation: persistentPulse 2s ease-in-out infinite !important;
}

.persistent-message .flash-message span:first-child {
  font-weight: bold !important;
  color: var(--accent-solid) !important;
  font-size: 1.4rem !important;
}

.persistent-message .flash-close {
  background: var(--accent-solid) !important;
  color: white !important;
  border-radius: 50% !important;
  width: 24px !important;
  height: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: bold !important;
  transition: var(--transition) !important;
}

.persistent-message .flash-close:hover {
  background: #059669 !important;
  transform: scale(1.1) !important;
}

@keyframes persistentPulse {
  0%, 100% {
    box-shadow: 0 8px 25px -5px rgba(16, 185, 129, 0.2), 0 4px 6px -2px rgba(16, 185, 129, 0.1);
  }
  50% {
    box-shadow: 0 8px 25px -5px rgba(16, 185, 129, 0.4), 0 4px 6px -2px rgba(16, 185, 129, 0.2);
  }
}


.flash-success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95) 0%, rgba(5, 150, 105, 0.95) 100%);
  color: white;
  border-color: rgba(16, 185, 129, 0.3);
}

.flash-success * {
  color: white !important;
}

.flash-success span {
  color: white !important;
}

.flash-success div {
  color: white !important;
}

.flash-success a {
  color: #fbbf24 !important;
  text-decoration: underline;
}

.flash-success a:hover {
  color: #f59e0b !important;
}

/* Максимально специфічні стилі для flash-success */
.flash-message.flash-success span[style*="color: white"] {
  color: white !important;
}

.flash-message.flash-success span[style*="color: white !important"] {
  color: white !important;
}

.flash-message.flash-success div[style*="color: white"] {
  color: white !important;
}

.flash-message.flash-success div[style*="color: white !important"] {
  color: white !important;
}

.flash-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.95) 0%, rgba(220, 38, 38, 0.95) 100%);
  color: white;
  border-color: rgba(239, 68, 68, 0.3);
}

.flash-error * {
  color: white !important;
}

.flash-error span {
  color: white !important;
}

.flash-error div {
  color: white !important;
}

.flash-error a {
  color: #fbbf24 !important;
  text-decoration: underline;
}

.flash-error a:hover {
  color: #f59e0b !important;
}

/* Максимально специфічні стилі для flash-error */
.flash-message.flash-error span[style*="color: white"] {
  color: white !important;
}

.flash-message.flash-error span[style*="color: white !important"] {
  color: white !important;
}

.flash-message.flash-error div[style*="color: white"] {
  color: white !important;
}

.flash-message.flash-error div[style*="color: white !important"] {
  color: white !important;
}

.flash-info {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.95) 0%, rgba(29, 78, 216, 0.95) 100%);
  color: white;
  border-color: rgba(59, 130, 246, 0.3);
}

.flash-info * {
  color: #059669 !important;
}

.flash-info span {
  color: white !important;
}

.flash-info div {
  color: white !important;
}

.flash-info a {
  color: #fbbf24 !important;
  text-decoration: underline;
}

.flash-info a:hover {
  color: #f59e0b !important;
}

/* Максимально специфічні стилі для flash-info */
.flash-message.flash-info span[style*="color: white"] {
  color: white !important;
}

.flash-message.flash-info span[style*="color: white !important"] {
  color: white !important;
}

.flash-message.flash-info div[style*="color: white"] {
  color: white !important;
}

.flash-message.flash-info div[style*="color: white !important"] {
  color: white !important;
}

.flash-warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.95) 0%, rgba(217, 119, 6, 0.95) 100%);
  color: white;
  border-color: rgba(245, 158, 11, 0.3);
}

.flash-warning * {
  color: white !important;
}

.flash-warning span {
  color: white !important;
}

.flash-warning div {
  color: white !important;
}

.flash-warning a {
  color: #fbbf24 !important;
  text-decoration: underline;
}

.flash-warning a:hover {
  color: #f59e0b !important;
}

/* Максимально специфічні стилі для flash-warning */
.flash-message.flash-warning span[style*="color: white"] {
  color: white !important;
}

.flash-message.flash-warning span[style*="color: white !important"] {
  color: white !important;
}

.flash-message.flash-warning div[style*="color: white"] {
  color: white !important;
}

.flash-message.flash-warning div[style*="color: white !important"] {
  color: white !important;
}

.flash-money {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.95) 0%, rgba(21, 128, 61, 0.95) 100%);
  color: white;
  border-color: rgba(34, 197, 94, 0.3);
}

.flash-money * {
  color: white !important;
}

.flash-money span {
  color: white !important;
}

.flash-money div {
  color: white !important;
}

.flash-money a {
  color: #fbbf24 !important;
  text-decoration: underline;
}

.flash-money a:hover {
  color: #f59e0b !important;
}

/* Максимально специфічні стилі для flash-money */
.flash-message.flash-money span[style*="color: white"] {
  color: white !important;
}

.flash-message.flash-money span[style*="color: white !important"] {
  color: white !important;
}

.flash-message.flash-money div[style*="color: white"] {
  color: white !important;
}

.flash-message.flash-money div[style*="color: white !important"] {
  color: white !important;
}

/* Стилі для внутрішніх елементів flash повідомлень */
.flash-message .flash-content {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding-right: 1.5rem;
}

.flash-message .flash-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: #059669 !important;
}

.flash-message .flash-text {
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  color: #1a202c !important;
}

.flash-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.flash-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}


@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.flash-message.hide {
  animation: slideOutRight 0.3s ease-in forwards;
}

/* Покращення для малих екранів */
@media (max-width: 640px) {
  .appbar .brand {
    font-size: 1.25rem;
  }
  
  .panel a {
    display: block;
    text-align: center;
    margin: 0.1rem 0.1rem;
  }
  
  .flash-container {
    top: 10px;
    right: 10px;
    left: 10px;
    max-height: calc(100vh - 20px);
    width: auto; /* На мобільних займає всю ширину */
  }
  
  .flash-message {
    max-width: none;
    min-width: auto;
    width: auto;
    font-size: 0.9rem;
    padding: 0.875rem 1rem;
    margin: 0;
  }
  
  .flash-close {
    top: 6px;
    right: 8px;
    width: 20px;
    height: 20px;
    font-size: 1rem;
  }
}

/* Додаткові медіа-запити для різних розмірів */
@media (max-width: 480px) {
  .flash-container {
    top: 5px;
    right: 5px;
    left: 5px;
    max-height: calc(100vh - 10px);
    width: auto; /* На мобільних займає всю ширину */
  }
  
  .flash-message {
    font-size: 0.85rem;
    padding: 0.75rem 0.875rem;
  }
  
  .flash-close {
    top: 4px;
    right: 6px;
    width: 18px;
    height: 18px;
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .flash-message {
    font-size: 0.8rem;
    padding: 0.625rem 0.75rem;
  }
  
  .flash-close {
    width: 16px;
    height: 16px;
    font-size: 0.8rem;
  }
}

/* Для великих екранів */
@media (min-width: 1200px) {
  .flash-message {
    max-width: 450px;
    font-size: 1rem;
  }
}

/* Rating styles */
.rating-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 1rem;
}

.rating-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rating-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--panel);
  border: none;
  border-left: 3px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  transition: var(--transition);
  position: relative;
  min-height: 64px;
  margin-bottom: 1px;
}

.rating-item:hover {
  background: var(--panel-hover);
  border-left-color: var(--primary-solid);
  transform: none;
}

.rating-item.top-three {
  background: var(--panel);
  border-left-color: #f59e0b;
}

.rating-item.top-three:hover {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.05) 0%, var(--panel) 100%);
}

.rating-item.top-ten {
  background: var(--panel);
  border-left-color: var(--primary-solid);
}

.rating-item.top-ten:hover {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.05) 0%, var(--panel) 100%);
}

.rating-position {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-width: 40px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.rating-item.top-three .rating-position {
  color: #f59e0b;
  font-weight: 700;
  font-size: 0.9rem;
}

.rating-name {
  font-weight: 500;
  color: var(--text);
  font-size: 1rem;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.rating-value {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
  background: var(--bg-solid);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  text-align: center;
  min-width: 50px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.rating-item.top-three .rating-value {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.rating-item.top-ten .rating-value {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.2);
  color: var(--primary-solid);
}

/* Mobile responsive */
@media (max-width: 640px) {
  .rating-item {
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    min-height: 56px;
  }
  
  .rating-position {
    font-size: 0.8rem;
    min-width: 32px;
  }
  
  .rating-name {
    font-size: 0.9rem;
  }
  
  .rating-value {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    min-width: 45px;
  }
}

/* Заголовок рейтингу */
.rating-title {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Підзаголовок рейтингу */
.rating-subtitle {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Заголовок таблиці рейтингу */
.rating-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rating-header-position {
  min-width: 40px;
  text-align: center;
}

.rating-header-player {
  flex: 1;
}

.rating-header-value {
  min-width: 50px;
  text-align: center;
}

/* Кнопки переключення рейтингу */
.rating-switch-buttons {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.rating-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 1rem;
  background: var(--bg-secondary);
  color: var(--text);
  text-decoration: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid var(--border);
}

.rating-switch-btn:hover {
  background: var(--bg-tertiary);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rating-switch-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.rating-switch-btn.active:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Mobile responsive для кнопок */
@media (max-width: 640px) {
  .rating-switch-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 0.375rem;
    flex-wrap: wrap;
  }
  
  .rating-switch-btn {
    flex: 1;
    min-width: 120px;
    max-width: 150px;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
}

/* ===== NAVBAR СТИЛІ ===== */

/* Основний navbar */
.navbar {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 1rem;
}

/* Бренд/логотип */
.navbar-brand {
  display: flex;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}

.brand-link:hover {
  color: var(--primary-solid);
  text-decoration: none;
}

.brand-icon {
  font-size: 1.5rem;
}

.brand-text {
  white-space: nowrap;
}

/* Основне меню */
.navbar-menu {
  display: flex;
  align-items: center;
}



/* Мобільна кнопка меню */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 3px;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  margin-right: auto; /* Вирівнюємо зліва */
}

.navbar-toggle:hover {
  background: var(--bg-solid);
}

.toggle-line {
  width: 20px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 1px;
  transition: var(--transition);
}

.navbar-toggle.active .toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active .toggle-line:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active .toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Користувацька панель */
.navbar-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Інформація про користувача */
.user-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem;
  background: var(--bg-solid);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  max-width: 300px;
  overflow: hidden;
}

.user-info:hover {
  background: var(--bg-hover);
  border-color: var(--border);
}

.user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.user-details {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
  flex: 1;
}

.user-name {
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
}

.user-status {
  font-size: 0.625rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
}

.user-stats {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  flex-shrink: 0;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0.125rem 0.375rem;
  background: var(--panel);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-size: 0.625rem;
  font-weight: 500;
  min-width: 0;
}

.stat-icon {
  font-size: 0.75rem;
  flex-shrink: 0;
}

.stat-value {
  color: var(--text);
  white-space: nowrap;
  font-size: 0.625rem;
}

/* Швидкі дії */
.user-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--bg-solid);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.875rem;
}

.action-btn:hover {
  background: var(--bg-hover);
  border-color: var(--border);
  color: var(--text);
  text-decoration: none;
}

.logout-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}

/* Кнопка входу */
.login-prompt {
  display: flex;
  align-items: center;
}

.login-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.login-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: white;
}

.login-icon {
  font-size: 1rem;
}

/* ===== RESPONSIVE ДИЗАЙН ===== */

/* Desktop версія (1025px+) */
@media (min-width: 1025px) {
  
  /* Приховуємо мобільні елементи */
  .navbar-overlay {
    display: none;
  }
  
  .navbar-close {
    display: none;
  }
  
  .mobile-user-panel {
    display: none;
  }
  
  /* Desktop користувацька панель */
  .navbar-user {
    display: flex;
  }
  
  .user-info {
    max-width: 350px;
  }
  
  .user-name {
    max-width: 100px;
  }
  
  .user-status {
    max-width: 100px;
  }
}

/* Планшетна версія (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  
  /* Приховуємо мобільні елементи */
  .navbar-overlay {
    display: none;
  }
  
  .navbar-close {
    display: none;
  }
  
  .mobile-user-panel {
    display: none;
  }
  
  /* Планшетна користувацька панель */
  .navbar-user {
    display: flex;
  }
  
  .user-info {
    max-width: 280px;
    gap: 0.375rem;
    padding: 0.25rem;
  }
  
  .user-avatar {
    width: 28px;
    height: 28px;
    font-size: 0.875rem;
  }
  
  .user-name {
    font-size: 0.6875rem;
    max-width: 70px;
  }
  
  .user-status {
    font-size: 0.5625rem;
    max-width: 70px;
  }
  
  .user-stats {
    gap: 0.125rem;
  }
  
  .stat-item {
    padding: 0.125rem 0.25rem;
    font-size: 0.5625rem;
  }
  
  .stat-icon {
    font-size: 0.625rem;
  }
  
  .stat-value {
    font-size: 0.5625rem;
  }
  
  .action-btn {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
}

/* Мобільна версія (до 768px) */
@media (max-width: 768px) {
  .navbar-container {
    padding: 0 0.75rem;
    height: 56px;
    gap: 0.5rem;
  }
  
  /* Приховуємо desktop користувацьку панель */
  .navbar-user {
    display: none;
  }
  
  .navbar-toggle {
    display: flex;
    margin-right: auto;
  }
  
  /* Бокове меню */
  .navbar-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--panel);
    border-right: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    -webkit-overflow-scrolling: touch;
  }
  
  .navbar-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
  
  /* Overlay */
  .navbar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
  }
  
  .navbar-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  
  .brand-text {
    display: none;
  }
  
  /* Мобільна користувацька панель 2025 - професійний дизайн */
  .mobile-user-panel {
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    margin-bottom: 1rem;
    box-shadow: 
      0 1px 3px rgba(0, 0, 0, 0.1),
      0 1px 2px rgba(0, 0, 0, 0.06);
    width: 100%;
    order: 1;
    flex-shrink: 0;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    min-height: auto;
    transition: all 0.2s ease;
  }
  
  .mobile-user-panel:hover {
    box-shadow: 
      0 4px 6px rgba(0, 0, 0, 0.1),
      0 2px 4px rgba(0, 0, 0, 0.06);
  }
  
  .mobile-user-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(59, 130, 246, 0.3) 50%, 
      transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
  }
  
  @keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
  }
  
  /* Заголовок гравця 2025 - професійний */
  .mobile-player-simple {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
  }
  
  .player-avatar-simple {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1.25rem;
    position: relative;
    flex-shrink: 0;
    border: none;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    transition: all 0.2s ease;
    cursor: pointer;
  }
  
  .player-avatar-simple:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  }
  
  .player-avatar-simple:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
  }
  
  .player-level {
    position: absolute;
    bottom: -6px;
    right: -6px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.625rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
    min-width: 1.5rem;
    text-align: center;
  }
  
  .player-info-simple {
    flex: 1;
    min-width: 0;
  }
  
  .player-name-simple {
    font-weight: 600;
    font-size: 1.125rem;
    color: #1e293b;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
  }
  
  .player-status-simple {
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.005em;
  }
  
  /* Статистика 2025 - гроші зверху, решта в ряд */
  .mobile-stats-simple {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  
  /* Перший ряд - гроші на всю ширину */
  .stat-money {
    width: 100%;
  }
  
  /* Другий ряд - решта в один ряд */
  .stats-row {
    display: flex;
    gap: 0.75rem;
    width: 100%;
  }
  
  .stats-row .stat-item-simple {
    flex: 1;
    min-width: 0;
  }
  
  .stat-item-simple {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 60px;
    width: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .stat-item-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(59, 130, 246, 0.1) 50%, 
      transparent 100%);
    transition: left 0.6s ease;
  }
  
  .stat-item-simple:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-color: #e2e8f0;
  }
  
  .stat-item-simple:hover::before {
    left: 100%;
  }
  
  .stat-item-simple:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }
  
  .stat-emoji {
    font-size: 1.125rem;
    flex-shrink: 0;
    opacity: 0.8;
    transition: all 0.3s ease;
    transform-origin: center;
  }
  
  .stat-item-simple:hover .stat-emoji {
    opacity: 1;
    transform: scale(1.2) rotate(5deg);
  }
  
  .stat-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.005em;
  }
  
  /* Кнопки 2025 - горизонтально на всю ширину */
  .mobile-actions-simple {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    width: 100%;
    flex-wrap: nowrap;
  }
  
  .btn-simple {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 0.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 0.8125rem;
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    letter-spacing: -0.005em;
    cursor: pointer;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-width: 0;
    flex-shrink: 1;
  }
  
  .btn-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(255, 255, 255, 0.1) 50%, 
      transparent 100%);
    transition: left 0.6s ease;
  }
  
  .btn-simple:hover::before {
    left: 100%;
  }
  
  .btn-simple.profile {
    color: #3b82f6;
    border-color: #3b82f6;
  }
  
  .btn-simple.profile:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
    text-decoration: none;
    color: #3b82f6;
    background: #f8fafc;
  }
  
  .btn-simple.profile:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(59, 130, 246, 0.2);
  }
  
  .btn-simple.logout {
    color: #ef4444;
    border-color: #ef4444;
  }
  
  .btn-simple.logout:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(239, 68, 68, 0.2);
    text-decoration: none;
    color: #ef4444;
    background: #fef2f2;
  }
  
  .btn-simple.logout:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(239, 68, 68, 0.2);
  }
  
  .btn-simple.chat {
    color: #10b981;
    border-color: #10b981;
  }
  
  .btn-simple.chat:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
    text-decoration: none;
    color: #10b981;
    background: #f0fdf4;
  }
  
  .btn-simple.chat:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(16, 185, 129, 0.2);
  }
  
  .btn-emoji {
    font-size: 1rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    transform-origin: center;
  }
  
  .btn-simple:hover .btn-emoji {
    opacity: 1;
    transform: scale(1.1) rotate(3deg);
  }
  
  .btn-label {
    font-weight: 600;
  }
  
  /* Вхід 2025 */
  .mobile-login-simple {
    text-align: center;
    padding: 2rem 1rem;
  }
  
  .login-emoji {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.8;
  }
  
  .login-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
  }
  
  .login-btn-simple {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: none;
    letter-spacing: -0.005em;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
  }
  
  .login-btn-simple:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    color: #ffffff;
  }
  
  .login-btn-simple:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
  }
  
  /* Блок банди як елемент меню */
  .mobile-band-menu {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin: 0 1.25rem 0.75rem 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    order: 2;
    flex-shrink: 0;
    overflow: hidden;
    transition: all 0.2s ease;
    width: calc(100% - 2.5rem);
  }
  
  .mobile-band-menu:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
  }
  
  .band-menu-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
  }
  
  .band-menu-header:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    text-decoration: none;
    color: inherit;
  }
  
  .band-menu-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #ffffff;
    flex-shrink: 0;
  }
  
  .band-menu-title {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: -0.025em;
  }
  
  .band-menu-arrow {
    font-size: 1.25rem;
    color: #64748b;
    font-weight: 300;
    transition: transform 0.2s ease;
  }
  
  .band-menu-content {
    padding: 1rem 1.25rem;
    background: #ffffff;
  }
  
  .band-menu-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
    text-align: center;
  }
  
  .band-menu-stats-full {
    display: flex;
    gap: 0.5rem;
    width: 100%;
  }
  
  .band-stat-item-full {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    background: #f8fafc;
    padding: 0.75rem 0.5rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
  }
  
  .band-stat-item-full:hover {
    background: #f1f5f9;
    transform: translateY(-1px);
  }
  
  .band-stat-icon {
    font-size: 1.25rem;
    line-height: 1;
  }
  
  .band-stat-value {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    text-align: center;
    word-break: break-all;
  }
  
  /* Responsive styles for band menu */
  @media (min-width: 481px) and (max-width: 640px) {
    .band-menu-name {
      font-size: 1rem;
      margin-bottom: 0.625rem;
    }
    .band-menu-stats-full {
      gap: 0.4375rem;
    }
    .band-stat-item-full {
      padding: 0.625rem 0.4375rem;
    }
    .band-stat-icon {
      font-size: 1.125rem;
    }
    .band-stat-value {
      font-size: 0.6875rem;
    }
  }
  
  @media (max-width: 480px) {
    .band-menu-name {
      font-size: 0.9375rem;
      margin-bottom: 0.5rem;
    }
    .band-menu-stats-full {
      gap: 0.375rem;
    }
    .band-stat-item-full {
      padding: 0.5rem 0.375rem;
    }
    .band-stat-icon {
      font-size: 1rem;
    }
    .band-stat-value {
      font-size: 0.625rem;
    }
  }
  
  @media (max-width: 360px) {
    .band-menu-name {
      font-size: 0.875rem;
      margin-bottom: 0.4375rem;
    }
    .band-menu-stats-full {
      gap: 0.3125rem;
    }
    .band-stat-item-full {
      padding: 0.4375rem 0.3125rem;
    }
    .band-stat-icon {
      font-size: 0.875rem;
    }
    .band-stat-value {
      font-size: 0.5625rem;
    }
  }
  
  
  /* Стилі для гравців без банди */
  .mobile-band-menu.no-band .band-menu-header {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-bottom: 1px solid #f59e0b;
    cursor: default;
  }
  
  .mobile-band-menu.no-band .band-menu-header:hover {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  }
  
  .mobile-band-menu.no-band .band-menu-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  }
  
  .mobile-band-menu.no-band .band-menu-title {
    color: #92400e;
  }
  
  .mobile-band-menu.no-band .band-menu-arrow {
    color: #a16207;
    opacity: 0.5;
  }
  
  .no-band-info {
    text-align: center;
    padding: 0.5rem 0;
  }
  
  .no-band-emoji {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .no-band-text {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #92400e;
  }

  /* Кнопка закриття меню */
  .navbar-close {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    z-index: 1002;
    order: 0;
  }
  
  .navbar-close:hover {
    background: var(--bg-solid);
    color: var(--text);
  }
}

/* Середні мобільні екрани (481px - 640px) */
@media (min-width: 481px) and (max-width: 640px) {
  .navbar-menu {
    width: 75%;
    max-width: 320px;
  }
  
  .mobile-user-panel {
    padding: 1.25rem;
  }
  
  .mobile-player-simple {
    gap: 0.875rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
  }
  
  .player-avatar-simple {
    width: 50px;
    height: 50px;
    font-size: 1.375rem;
  }
  
  .player-level {
    font-size: 0.625rem;
    padding: 0.25rem 0.5rem;
  }
  
  .player-name-simple {
    font-size: 1.125rem;
  }
  
  .player-status-simple {
    font-size: 0.875rem;
  }
  
         .mobile-actions-simple {
           gap: 0.5rem;
           margin-bottom: 1.25rem;
         }
         
         .mobile-stats-simple {
           gap: 0.875rem;
         }
         
  
  .stats-row {
    gap: 0.875rem;
  }
  
  .stat-item-simple {
    padding: 1rem;
    min-height: 65px;
  }
  
  .stat-emoji {
    font-size: 1.25rem;
  }
  
  .stat-text {
    font-size: 0.9375rem;
  }
  
  .mobile-actions-simple {
    gap: 0.75rem;
  }
  
  .btn-simple {
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
  }
  
  .login-btn-simple {
    padding: 1.125rem 2rem;
    font-size: 1rem;
  }
  
  .login-emoji {
    font-size: 2.75rem;
  }
  
        .login-title {
          font-size: 1.25rem;
        }
        
        /* Блок банди на середніх екранах */
        .mobile-band-menu {
          margin: 0 1rem 0.625rem 1rem;
          width: calc(100% - 2rem);
        }
        
        .band-menu-header {
          padding: 0.875rem 1rem;
          gap: 0.625rem;
        }
        
        .band-menu-icon {
          width: 28px;
          height: 28px;
          font-size: 0.875rem;
        }
        
        .band-menu-title {
          font-size: 0.9375rem;
        }
        
        .band-menu-content {
          padding: 0.875rem 1rem;
        }
        
        .band-menu-name {
          font-size: 1rem;
        }
        
        .band-menu-rank {
          font-size: 0.8125rem;
          margin-bottom: 0.625rem;
        }
        
        .band-menu-stats {
          gap: 0.75rem;
        }
        
        .band-stat-item {
          font-size: 0.75rem;
          padding: 0.3125rem 0.625rem;
        }
        
        
        .no-band-emoji {
          font-size: 1.25rem;
        }
        
        .no-band-text {
          font-size: 0.875rem;
        }
      }

/* Дуже маленькі екрани (до 480px) */
@media (max-width: 480px) {
  .navbar-container {
    padding: 0 0.5rem;
  }
  
  .brand-icon {
    font-size: 1.25rem;
  }
  
  /* Бокове меню на маленьких екранах */
  .navbar-menu {
    width: 85%;
    max-width: 350px;
  }
  
  /* Компактна мобільна панель 2025 */
  .mobile-user-panel {
    padding: 1.25rem;
  }
  
  .mobile-player-simple {
    gap: 0.875rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
  }
  
  .player-avatar-simple {
    width: 44px;
    height: 44px;
    font-size: 1.125rem;
  }
  
  .player-level {
    font-size: 0.5625rem;
    padding: 0.1875rem 0.375rem;
  }
  
  .player-name-simple {
    font-size: 1rem;
  }
  
  .player-status-simple {
    font-size: 0.75rem;
  }
  
         /* Кнопки на маленьких екранах */
         .mobile-actions-simple {
           gap: 0.375rem;
           margin-bottom: 1rem;
         }
         
         /* Статистика на маленьких екранах */
         .mobile-stats-simple {
           gap: 0.625rem;
         }
         
  
  .stats-row {
    gap: 0.5rem;
  }
  
  .stat-item-simple {
    padding: 0.75rem;
    gap: 0.5rem;
    min-height: 50px;
  }
  
  .stat-emoji {
    font-size: 1rem;
  }
  
  .stat-text {
    font-size: 0.8125rem;
  }
  
         /* Кнопки залишаються горизонтально, але з меншими відступами */
         .mobile-actions-simple {
           gap: 0.375rem;
         }
  
         .btn-simple {
           padding: 0.875rem 0.375rem;
           font-size: 0.75rem;
         }
  
  .login-btn-simple {
    padding: 1rem 1.75rem;
    font-size: 0.875rem;
  }
  
  .login-emoji {
    font-size: 2.25rem;
  }
  
        .login-title {
          font-size: 1rem;
        }
        
        /* Блок банди на маленьких екранах */
        .mobile-band-menu {
          margin: 0 0.875rem 0.5rem 0.875rem;
          width: calc(100% - 1.75rem);
        }
        
        .band-menu-header {
          padding: 0.75rem 0.875rem;
          gap: 0.5rem;
        }
        
        .band-menu-icon {
          width: 24px;
          height: 24px;
          font-size: 0.75rem;
        }
        
        .band-menu-title {
          font-size: 0.875rem;
        }
        
        .band-menu-content {
          padding: 0.75rem 0.875rem;
        }
        
        .band-menu-name {
          font-size: 0.9375rem;
        }
        
        .band-menu-rank {
          font-size: 0.75rem;
          margin-bottom: 0.5rem;
        }
        
        .band-menu-stats {
          gap: 0.5rem;
        }
        
        .band-stat-item {
          font-size: 0.6875rem;
          padding: 0.25rem 0.5rem;
        }
        
        
        .no-band-emoji {
          font-size: 1rem;
        }
        
        .no-band-text {
          font-size: 0.8125rem;
        }
      }

/* Дуже маленькі екрани (до 360px) */
@media (max-width: 360px) {
  .navbar-menu {
    width: 90%;
    max-width: 300px;
  }
  
  .mobile-user-panel {
    padding: 1rem;
  }
  
  .mobile-player-simple {
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
  }
  
  .player-avatar-simple {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .player-level {
    font-size: 0.5rem;
    padding: 0.125rem 0.25rem;
  }
  
  .player-name-simple {
    font-size: 0.875rem;
  }
  
  .player-status-simple {
    font-size: 0.6875rem;
  }
  
         /* Кнопки на дуже маленьких екранах */
         .mobile-actions-simple {
           gap: 0.25rem;
           margin-bottom: 0.875rem;
         }
         
         /* Статистика на дуже маленьких екранах */
         .mobile-stats-simple {
           gap: 0.5rem;
         }
         
  
  .stats-row {
    gap: 0.375rem;
  }
  
  .stat-item-simple {
    padding: 0.625rem;
    gap: 0.5rem;
    min-height: 45px;
  }
  
  .stat-emoji {
    font-size: 0.875rem;
  }
  
  .stat-text {
    font-size: 0.75rem;
  }
  
         .mobile-actions-simple {
           gap: 0.25rem;
         }
  
         .btn-simple {
           padding: 0.75rem 0.25rem;
           font-size: 0.75rem;
         }
  
  .login-btn-simple {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .login-emoji {
    font-size: 2rem;
  }
  
        .login-title {
          font-size: 0.875rem;
        }
        
        /* Блок банди на дуже маленьких екранах */
        .mobile-band-menu {
          margin: 0 0.75rem 0.4375rem 0.75rem;
          width: calc(100% - 1.5rem);
        }
        
        .band-menu-header {
          padding: 0.625rem 0.75rem;
          gap: 0.4375rem;
        }
        
        .band-menu-icon {
          width: 20px;
          height: 20px;
          font-size: 0.6875rem;
        }
        
        .band-menu-title {
          font-size: 0.8125rem;
        }
        
        .band-menu-content {
          padding: 0.625rem 0.75rem;
        }
        
        .band-menu-name {
          font-size: 0.875rem;
        }
        
        .band-menu-rank {
          font-size: 0.6875rem;
          margin-bottom: 0.4375rem;
        }
        
        .band-menu-stats {
          gap: 0.4375rem;
        }
        
        .band-stat-item {
          font-size: 0.625rem;
          padding: 0.1875rem 0.4375rem;
        }
        
        
        .no-band-emoji {
          font-size: 0.875rem;
        }
        
        .no-band-text {
          font-size: 0.75rem;
        }
      }

/* ===== СТИЛІ ДЛЯ ПРОФІЛЮ ===== */

/* Основний контейнер профілю */
.profile-container {
  width: 100%;
  max-width: 100%;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  box-sizing: border-box;
  overflow: hidden;
}

/* Заголовок профілю */
.profile-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  padding: 2rem;
  color: #1a202c;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.profile-info {
  flex: 1;
  min-width: 0;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  flex-shrink: 0;
}

.profile-name {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1a202c;
}

.profile-status {
  font-size: 1rem;
  color: #4a5568;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.profile-level {
  font-size: 0.9rem;
  color: #718096;
  font-weight: 500;
}


/* Сітка статистики */
.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.stat-card {
  background: var(--panel);
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.stat-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.stat-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.stat-card-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
}

.stat-card-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.stat-card-description {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Секції контенту */
.profile-section {
  background: var(--panel);
  border-radius: 8px;
  padding: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Таби */
.section-tabs {
  display: flex;
  width: 100%;
  margin-bottom: 1.5rem;
  gap: 0.5rem;
}

.tab-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #718096;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 12px;
  position: relative;
}

.tab-button:hover {
  color: #4a5568;
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tab-button.active {
  color: #667eea;
  background: #ffffff;
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
  transform: translateY(-2px);
}

.tab-icon {
  font-size: 1.1rem;
}

.tab-text {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Контент табів */
.tab-content {
  display: none !important;
  min-height: 200px;
}

.tab-content.active {
  display: block !important;
}

/* Специфічні стилі для cities-content */
#cities-content.active {
  display: block !important;
}

/* Вирівнювання висоти для band-content */
#band-content.active {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

#band-content .band-info,
#band-content .no-band-message {
  width: 100%;
  max-width: 400px;
}

/* Стилі для band-info в табах */
#band-content .band-info {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#band-content .band-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

#band-content .band-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 1rem;
}

#band-content .band-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #667eea;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

#band-content .band-link:hover {
  background: #5a67d8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Повідомлення про відсутність банди */
.no-band-message {
  text-align: center;
  padding: 2rem;
  color: #718096;
}

.no-band-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.no-band-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 0.5rem;
}

.no-band-subtext {
  font-size: 0.9rem;
  color: #718096;
  margin-bottom: 1.5rem;
}

.section-title::before {
  content: '';
  width: 3px;
  height: 18px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 2px;
}

/* Міста */
.cities-grid {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.cities-grid::-webkit-scrollbar {
  height: 6px;
}

.cities-grid::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.cities-grid::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.cities-grid::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.city-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  width: 100%;
  min-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.city-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.city-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.city-card.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.city-card.disabled:hover {
  transform: none;
  box-shadow: none;
}

.city-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.city-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.city-description {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.city-requirement {
  font-size: 0.625rem;
  color: #ef4444;
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Банда */
.band-info {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: 6px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.band-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.band-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.band-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #0369a1;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.band-link:hover {
  color: #0284c7;
}

/* Інвентар */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  width: 100%;
  box-sizing: border-box;
}

.inventory-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 1rem;
}

.inventory-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.inventory-count {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 0.125rem 0.375rem;
  border-radius: 10px;
  font-size: 0.625rem;
  font-weight: 600;
}

.inventory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.inventory-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 0.375rem 0.5rem;
  font-size: 0.75rem;
  color: var(--text);
  transition: all 0.3s ease;
}

.inventory-item:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.inventory-empty {
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  padding: 0.75rem;
  font-size: 0.75rem;
}

/* Адаптивність для профілю */
@media (max-width: 768px) {
  .profile-container {
    gap: 0.75rem;
  }
  
  .profile-header {
    padding: 1rem;
  }
  
  .profile-header {
    gap: 1rem;
  }
  
  .profile-avatar {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
  
  .profile-name {
    font-size: 1.5rem;
  }
  
  .profile-status {
    font-size: 0.9rem;
  }
  
  .profile-level {
    font-size: 0.8rem;
  }
  
  .profile-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .profile-name {
    font-size: 1.25rem;
  }
  
  .profile-status {
    font-size: 0.875rem;
  }
  
  
  .profile-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .stat-card {
    padding: 0.75rem;
  }
  
  .stat-card-value {
    font-size: 1rem;
  }
  
  .stat-card-title {
    font-size: 0.625rem;
  }
  
  .stat-card-description {
    font-size: 0.625rem;
  }
  
  .profile-section {
    padding: 1rem;
  }
  
  .section-title {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
  }
  
  .section-tabs {
    margin-bottom: 1rem;
    gap: 0.4rem;
  }
  
  .tab-button {
    padding: 0.8rem 1rem;
    font-size: 0.8rem;
  }
  
  .tab-icon {
    font-size: 1rem;
  }
  
  .tab-text {
    font-size: 0.8rem;
  }
  
  .cities-grid {
    gap: 0.5rem;
  }
  
  .city-card {
    padding: 0.75rem;
  }
  
  .inventory-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .inventory-section {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .profile-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.375rem;
  }
  
  .stat-card {
    padding: 0.5rem;
  }
  
  .stat-card-header {
    gap: 0.25rem;
    margin-bottom: 0.5rem;
  }
  
  .stat-card-icon {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }
  
  .stat-card-value {
    font-size: 0.875rem;
  }
  
  .stat-card-title {
    font-size: 0.5rem;
  }
  
  .stat-card-description {
    font-size: 0.5rem;
  }
  
  .profile-header {
    padding: 0.75rem;
  }
  
  .profile-header {
    gap: 0.8rem;
  }
  
  .profile-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .profile-name {
    font-size: 1.25rem;
  }
  
  .profile-status {
    font-size: 0.8rem;
  }
  
  .profile-level {
    font-size: 0.7rem;
  }
  
  
  .profile-name {
    font-size: 1rem;
  }
  
  .profile-status {
    font-size: 0.75rem;
  }
  
}

@media (max-width: 360px) {
  .profile-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-card {
    padding: 0.5rem;
  }
  
  .stat-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .stat-card-icon {
    width: 20px;
    height: 20px;
    font-size: 0.625rem;
  }
  
  .stat-card-value {
    font-size: 0.75rem;
  }
  
  .stat-card-title {
    font-size: 0.5rem;
  }
  
  .stat-card-description {
    font-size: 0.5rem;
  }
  
  .section-tabs {
    margin-bottom: 0.75rem;
    gap: 0.3rem;
  }
  
  .tab-button {
    padding: 0.7rem 0.8rem;
    font-size: 0.75rem;
  }
  
  .tab-icon {
    font-size: 0.9rem;
  }
  
  .tab-text {
    font-size: 0.75rem;
  }
  
  .tab-content {
    min-height: 150px;
  }
  
  #band-content .band-info {
    padding: 1.5rem;
  }
  
  #band-content .band-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
  
  #band-content .band-name {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  
  #band-content .band-link {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .no-band-message {
    padding: 1.5rem;
  }
  
  .no-band-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
  
  .no-band-text {
    font-size: 1rem;
  }
  
  .no-band-subtext {
    font-size: 0.8rem;
  }
}

/* ========================================
   КАРТОЧКИ ТОВАРІВ
   ======================================== */

.products-grid {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.5rem 0 0.5rem 0;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  margin: 1.5rem 0;
  -webkit-overflow-scrolling: touch;
}

.products-grid::-webkit-scrollbar {
  height: 6px;
}

.products-grid::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.products-grid::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.products-grid::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.product-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-shadow: var(--shadow);
}

.product-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover::before {
  opacity: 1;
}

.product-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.product-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.product-info {
  flex: 1;
  min-width: 0;
}

.product-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}

.product-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

.product-price {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
  padding: 0.5rem;
  background: var(--bg-solid);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

.price-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-solid);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.price-currency {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.product-actions {
  margin-top: 1rem;
}

.product-btn {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  margin-top: 1rem;
}

.product-btn:hover {
  background: var(--primary-solid);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.product-btn:active {
  transform: translateY(0);
}

.product-btn:disabled {
  background: var(--text-light);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.product-btn .btn-icon {
  font-size: 1rem;
}

/* Спеціальні стилі для різних типів товарів */
.product-card.weapon::before {
  background: var(--danger);
}

.product-card.car::before {
  background: var(--accent);
}

.product-card.health::before {
  background: var(--warning);
}

.product-card.tattoo::before {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.product-card.haircut::before {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.product-card.medical::before {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Стилі для медичних карточок */
.product-card.medical {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #10b981;
}

.product-card.medical .product-name {
  color: #065f46;
}

.product-card.medical .product-category {
  color: #047857;
}

.product-card.medical .product-price .price-value {
  color: #059669;
}

.product-card.medical .product-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
}

.product-card.medical .product-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* Стилі для ресторанних карточок */
.product-card.restaurant {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border: 1px solid #f59e0b;
}

.product-card.restaurant::before {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.product-card.restaurant:hover {
  background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
  border-color: #d97706;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 1rem;
}

.product-info {
  margin-bottom: 1rem;
}

.product-form {
  width: 100%;
}

.product-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Адаптивність для мобільних */
@media (max-width: 768px) {
  .products-grid {
    gap: 0.5rem;
    margin: 1rem 0;
  }
  
  .product-card {
    padding: 0.75rem;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }
  
  .product-header {
    gap: 0.25rem;
  }
  
  .product-icon {
    font-size: 1.25rem;
  }
  
  .product-name {
    font-size: 0.9rem;
  }
  
  .product-category {
    font-size: 0.7rem;
  }
  
  .product-price {
    padding: 0.375rem;
    margin: 0.75rem 0;
  }
  
  .price-value {
    font-size: 1rem;
  }
  
  .product-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    margin-top: 0.75rem;
  }
}

@media (max-width: 480px) {
  .products-grid {
    gap: 0.375rem;
  }
  
  .product-card {
    padding: 0.625rem;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }
  
  .product-header {
    gap: 0.25rem;
  }
  
  .product-icon {
    font-size: 1.125rem;
  }
  
  .product-name {
    font-size: 0.85rem;
  }
  
  .product-category {
    font-size: 0.65rem;
  }
  
  .product-price {
    padding: 0.25rem;
    margin: 0.5rem 0;
  }
  
  .price-value {
    font-size: 0.9rem;
  }
  
  .product-btn {
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    margin-top: 0.5rem;
  }
}

/* Стилі для порожнього стану */
.products-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.products-empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.products-empty-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.products-empty-text {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ===== CITY LOCATIONS NAVIGATION ===== */

.city-header {
  text-align: center;
  margin: 0 0 0.75rem 0;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, var(--panel) 0%, #f8fafc 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.city-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-solid), var(--accent-solid), var(--primary-solid));
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

.city-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.city-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.city-description {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.4;
  max-width: 500px;
  margin: 0 auto;
}

.locations-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem;
  margin: 1.5rem 0;
  padding: 0;
}

.location-card {
  background: linear-gradient(135deg, var(--panel) 0%, #fefefe 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex !important;
  align-items: flex-start;
  gap: 1.5rem;
  flex-direction: row !important;
}

.location-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.location-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--border-focus);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.location-card:hover::before {
  transform: scaleX(1);
  height: 6px;
}

.location-icon {
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
  border-radius: var(--radius);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transition: all 0.3s ease;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 0.1rem;
}

.location-card:hover .location-icon {
  transform: scale(1.05) rotate(3deg);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
}

.location-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.location-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
  text-align: left;
  letter-spacing: 0.025em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  line-height: 1.2;
}

.location-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
  text-align: left;
  margin: 0;
  font-weight: 400;
}


/* Responsive design */
@media (max-width: 768px) {
  .city-header {
    margin: 0 0 0.75rem 0;
    padding: 1.5rem 1rem;
  }
  
  .locations-container {
    grid-template-columns: 1fr;
    gap: 0.2rem;
    margin: 0;
    padding: 0;
  }
  
  .location-card {
    padding: 1rem;
    gap: 1rem;
    align-items: flex-start;
    display: flex !important;
    flex-direction: row !important;
  }
  
  .location-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    margin-top: 0.1rem;
    flex-shrink: 0;
    order: 1;
  }
  
  .location-content {
    align-items: flex-start;
    flex: 1;
    order: 2;
  }
  
  .location-title {
    font-size: 1.1rem;
  }
  
  .location-description {
    font-size: 0.8rem;
  }
}

/* Special location themes */
.location-card.market {
  border-left: 6px solid var(--accent-solid);
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.location-card.police {
  border-left: 6px solid var(--danger-solid);
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.location-card.slums {
  border-left: 6px solid var(--warning-solid);
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.location-card.area {
  border-left: 6px solid var(--primary-solid);
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.location-card.racing {
  border-left: 6px solid #8b5cf6;
  background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
}

.location-card.guns {
  border-left: 6px solid #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.location-card.cars {
  border-left: 6px solid #059669;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.location-card.health {
  border-left: 6px solid #0891b2;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.location-card.salon {
  border-left: 6px solid #7c3aed;
  background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
}

.location-card.tattoo {
  border-left: 6px solid #ea580c;
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
}

/* Slums locations themes */
.location-card.home {
  border-left: 6px solid #6b7280;
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.location-card.fastfood {
  border-left: 6px solid #ef4444;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.location-card.blackmarket {
  border-left: 6px solid #1f2937;
  background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
}

.location-card.voodoo {
  border-left: 6px solid #7c3aed;
  background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
}

.location-card.blackmarket:hover {
  background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 100%);
  transform: translateY(-2px) scale(1.02);
}

.location-card.voodoo:hover {
  background: linear-gradient(135deg, #e9d5ff 0%, #faf5ff 100%);
  transform: translateY(-2px) scale(1.02);
}

.location-card.brothel {
  border-left: 6px solid #ec4899;
  background: linear-gradient(135deg, #fdf2f8 0%, #ffffff 100%);
}

.location-card.warehouse {
  border-left: 6px solid #10b981;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

/* User home functions themes */
.location-card.profile {
  border-left: 6px solid #3b82f6;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.location-card.money {
  border-left: 6px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.location-card.mails {
  border-left: 6px solid #8b5cf6;
  background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
}

/* Cars mode themes */
.location-card.take-car {
  border-left: 6px solid #10b981;
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
}

.location-card.store-car {
  border-left: 6px solid #6b7280;
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

/* Guns mode themes */
.location-card.take-gun {
  border-left: 6px solid #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.location-card.store-gun {
  border-left: 6px solid #7c2d12;
  background: linear-gradient(135deg, #fef3c7 0%, #ffffff 100%);
}

/* Money mode themes */
.location-card.take-money {
  border-left: 6px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.location-card.store-money {
  border-left: 6px solid #059669;
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
}

/* Mails mode themes */
.location-card.view-messages {
  border-left: 6px solid #3b82f6;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.location-card.write-message {
  border-left: 6px solid #10b981;
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
}

.location-card.delete-messages {
  border-left: 6px solid #ef4444;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

/* Black sale themes */
.location-card.stolen-cars {
  border-left: 6px solid #1f2937;
  background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
}

.location-card.shell-game {
  border-left: 6px solid #7c3aed;
  background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
}

/* Voodoo themes */
.location-card.voodoo-kill {
  border-left: 6px solid #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.location-card.voodoo-health {
  border-left: 6px solid #7c2d12;
  background: linear-gradient(135deg, #fef3c7 0%, #ffffff 100%);
}

.location-card.voodoo-cure {
  border-left: 6px solid #059669;
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
}

/* Public house themes */
.location-card.brothel-services {
  border-left: 6px solid #ec4899;
  background: linear-gradient(135deg, #fdf2f8 0%, #ffffff 100%);
}

/* Sklad themes */
.location-card.take-items {
  border-left: 6px solid #3b82f6;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.location-card.store-items {
  border-left: 6px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

/* Sklad mode 1 themes */
.location-card.store-cars {
  border-left: 6px solid #10b981;
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
}

.location-card.store-guns {
  border-left: 6px solid #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.location-card.store-money {
  border-left: 6px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

/* Area themes */
.location-card.stranger {
  border-left: 6px solid #6b7280;
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.location-card.dealer {
  border-left: 6px solid #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.location-card.bank {
  border-left: 6px solid #059669;
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
}

.location-card.casino {
  border-left: 6px solid #7c3aed;
  background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
}

.location-card.agency {
  border-left: 6px solid #3b82f6;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.location-card.elite {
  border-left: 6px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

/* About themes */
.location-card.listen-stories {
  border-left: 6px solid #7c3aed;
  background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
}

.location-card.city-rules {
  border-left: 6px solid #3b82f6;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

/* Chuvak themes */
.location-card.ask-drugs {
  border-left: 6px solid #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.location-card.back-to-area {
  border-left: 6px solid #6b7280;
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

/* Cops themes */
.location-card.cops-arrest {
  border-left: 6px solid #1e40af;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.location-card.cops-bribe {
  border-left: 6px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.location-card.cops-attack {
  border-left: 6px solid #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

/* Casino themes */
.location-card.casino-tic-tac-toe {
  border-left: 6px solid #7c3aed;
  background: linear-gradient(135deg, #f3e8ff 0%, #ffffff 100%);
}

.location-card.casino-play {
  border-left: 6px solid #059669;
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
}

/* Elite themes */
.location-card.elite-restaurant {
  border-left: 6px solid #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.location-card.elite-1st-avenue {
  border-left: 6px solid #7c2d12;
  background: linear-gradient(135deg, #fef7ed 0%, #ffffff 100%);
}

.location-card.elite-2nd-avenue {
  border-left: 6px solid #92400e;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.location-card.elite-security {
  border-left: 6px solid #1e40af;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

/* Restaurant themes */
.location-card.restaurant-eat {
  border-left: 6px solid #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.location-card.restaurant-grab {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0.5rem auto;
  max-width: 350px;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.location-card.restaurant-grab::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shine 2s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.location-card.restaurant-grab:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.location-card.restaurant-grab .location-icon {
  font-size: 1.3rem;
  margin-right: 0.5rem;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.location-card.restaurant-grab .location-title {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
}

.location-card.restaurant-grab .location-description {
  display: none;
}

.location-card.restaurant-protection {
  border-left: 6px solid #1e40af;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.location-card.restaurant-attack {
  border-left: 6px solid #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.location-card.restaurant-attack::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(220, 38, 38, 0.1) 50%, transparent 70%);
  animation: danger-shine 2s infinite;
  pointer-events: none;
}

.location-card.restaurant-attack:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
  border-left: 6px solid #b91c1c;
}

.location-card.restaurant-attack .location-icon {
  animation: pulse-danger 1.5s infinite;
}

.location-card.restaurant-percent {
  border-left: 6px solid #059669;
  background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.location-card.restaurant-percent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(5, 150, 105, 0.1) 50%, transparent 70%);
  animation: success-shine 3s infinite;
  pointer-events: none;
}

@keyframes success-shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.location-card.restaurant-percent:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
  border-left: 6px solid #047857;
}

.location-card.restaurant-percent .location-icon {
  animation: pulse-success 2s infinite;
}

@keyframes pulse-success {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Dark speed dial style for location cards */
.locations-container.speed-dial {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  padding: 0;
  border-radius: 12px;
  margin: 1rem -2rem;
  width: calc(100% + 4rem);
}

/* Mobile styles for speed dial */
@media (max-width: 768px) {
  .locations-container.speed-dial {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.1rem 0.1rem;
    padding: 1px 5px 1px 5px;
    margin: 0.5rem -1.5rem;
    width: calc(100% + 3rem);
  }
}

@media (max-width: 480px) {
  .locations-container.speed-dial {
    margin: 0.5rem -1rem;
    width: calc(100% + 2rem);
  }
}
  
  .location-card.speed-dial {
    padding: 0.3rem;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-direction: row;
    text-align: left;
    min-height: 55px;
  }
  
  .location-card.speed-dial:hover {
    background: #f8f8f8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }
  
  .location-card.speed-dial .location-icon {
    font-size: 1rem;
    width: 26px;
    height: 26px;
    margin: 0 0.3rem 0 0;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    flex-shrink: 0;
  }
  
  .location-card.speed-dial .location-content {
    flex: 1;
    min-width: 0;
  }
  
  .location-card.speed-dial .location-title {
    font-size: 0.6rem;
    color: #333333;
    font-weight: 600;
    margin: 0 0 0.1rem 0;
    line-height: 1.0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .location-card.speed-dial .location-description {
    font-size: 0.5rem;
    color: #666666;
    line-height: 1.0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

.location-card.speed-dial {
  display: flex;
  align-items: flex-start;
  padding: 0.3rem;
  background: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-height: 55px;
  width: 100%;
  box-sizing: border-box;
}

.location-card.speed-dial:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  background: #f8f8f8;
  text-decoration: none;
  color: inherit;
}

.location-card.speed-dial .location-icon {
  font-size: 1rem;
  margin-right: 0.3rem;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
}

.location-card.speed-dial .location-content {
  flex: 1;
  min-width: 0;
}

.location-card.speed-dial .location-title {
  color: #333333;
  font-size: 0.6rem;
  font-weight: 600;
  margin: 0 0 0.1rem 0;
  line-height: 1.0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.location-card.speed-dial .location-description {
  color: #666666;
  font-size: 0.5rem;
  margin: 0;
  line-height: 1.0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Elite 1st Avenue card themes */
.location-card.steal-car {
  border-left: 6px solid #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.location-card.back-to-elite {
  border-left: 6px solid #6b7280;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* Osobnyaki (2nd Avenue) card themes */
.location-card.buy-property {
  border-left: 6px solid #059669;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.location-card.view-mansions {
  border-left: 6px solid #7c2d12;
  background: linear-gradient(135deg, #fef7ed 0%, #ffffff 100%);
}

.location-card.order-food {
  border-left: 6px solid #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.location-card.call-doctor {
  border-left: 6px solid #0ea5e9;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.location-card.remove-criminal {
  border-left: 6px solid #7c3aed;
  background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
}

.location-card.remove-curse {
  border-left: 6px solid #be185d;
  background: linear-gradient(135deg, #fdf2f8 0%, #ffffff 100%);
}

.location-card.sell-mansion {
  border-left: 6px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.location-card.back-to-2nd-avenue {
  border-left: 6px solid #6b7280;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* Mansion types for purchase */
.location-card.mansion-type1 {
  border-left: 6px solid #059669;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.location-card.mansion-type2 {
  border-left: 6px solid #7c2d12;
  background: linear-gradient(135deg, #fef7ed 0%, #ffffff 100%);
}

.location-card.mansion-type3 {
  border-left: 6px solid #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

/* No band message styling */
.no-band-message {
  margin: 1rem 0;
  padding: 1rem;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
  border: 1px solid #fecaca;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.no-band-message p {
  margin: 0.5rem 0;
  color: #dc2626;
  font-weight: 500;
}

.no-band-message strong {
  color: #991b1b;
}

/* Band info styling */
.band-info {
  margin: 1rem 0;
  padding: 1rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  border: 1px solid #e0e7ff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.band-info p {
  margin: 0.5rem 0;
  color: #1e40af;
  font-weight: 500;
}

.band-info strong {
  color: #1e3a8a;
}

/* Price styling */
.location-price {
  font-weight: 600;
  color: #059669;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.location-card.mansion-type1 .location-price {
  color: #059669;
}

.location-card.mansion-type2 .location-price {
  color: #7c2d12;
}

.location-card.mansion-type3 .location-price {
  color: #dc2626;
}

/* Mansion list card themes */
.location-card.my-mansion {
  border-left: 6px solid #0ea5e9;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.location-card.mansion-list-type1 {
  border-left: 6px solid #059669;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.location-card.mansion-list-type2 {
  border-left: 6px solid #7c2d12;
  background: linear-gradient(135deg, #fef7ed 0%, #ffffff 100%);
}

.location-card.mansion-list-type3 {
  border-left: 6px solid #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

/* No mansions message */
.no-mansions-message {
  margin: 1rem 0;
  padding: 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.no-mansions-message p {
  margin: 0;
  color: #64748b;
  font-weight: 500;
}

/* Location number styling */
.location-number {
  font-weight: 600;
  color: #6b7280;
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

/* Pagination container */
.pagination-container {
  margin: 1rem 0;
  text-align: center;
}

/* Security card themes */
.location-card.get-security {
  border-left: 6px solid #0ea5e9;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.location-card.upgrade-security {
  border-left: 6px solid #059669;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.location-card.back-to-elite {
  border-left: 6px solid #6b7280;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* Bank card themes */
.location-card.bank-grab {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0.5rem auto;
  max-width: 350px;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.location-card.bank-grab::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shine 2s infinite;
}

.location-card.bank-grab:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.location-card.bank-grab .location-icon {
  font-size: 1.3rem;
  margin-right: 0.5rem;
  animation: pulse 1.5s infinite;
}

.location-card.bank-grab .location-title {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
}

.location-card.bank-grab .location-description {
  display: none;
}

.location-card.bank-protection {
  border-left: 6px solid #1e40af;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.location-card.bank-attack {
  border-left: 6px solid #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.location-card.bank-percent {
  border-left: 6px solid #059669;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.location-card.back-to-area {
  border-left: 6px solid #6b7280;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* Bank info styling */
.bank-info {
  margin: 1rem 0;
  padding: 1rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  border: 1px solid #e0e7ff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bank-info p {
  margin: 0.5rem 0;
  color: #1e40af;
  font-weight: 500;
}

.bank-info strong {
  color: #1e3a8a;
}

/* Bank form styling */
.bank-grab-form,
.bank-protection-form,
.bank-attack-form,
.bank-percent-form {
  display: contents;
}

/* Police House card themes */
.location-card.police-bands {
  border-left: 6px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.location-card.police-arrested {
  border-left: 6px solid #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.location-card.back-to-city {
  border-left: 6px solid #6b7280;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* Police rating styling */
.police-rating {
  margin: 1.5rem 0;
  padding: 1rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  border: 1px solid #e0e7ff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.police-rating h3 {
  margin: 0 0 1rem 0;
  color: #1e40af;
  font-size: 1.1rem;
  font-weight: 600;
}

.rating-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rating-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.rating-item:hover {
  background: rgba(255, 255, 255, 0.9);
}

.rating-number {
  font-weight: 600;
  color: #1e40af;
  min-width: 2rem;
}

.rating-name {
  flex: 1;
  color: #1e3a8a;
  font-weight: 500;
}

.rating-value {
  color: #64748b;
  font-size: 0.9rem;
}

/* Arrested players styling */
.no-arrested-message {
  margin: 1rem 0;
  padding: 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.no-arrested-message p {
  margin: 0;
  color: #64748b;
  font-weight: 500;
}

.arrested-list {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.arrested-item {
  padding: 1rem;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
  border: 1px solid #fecaca;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.arrested-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.arrested-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.arrested-number {
  font-weight: 600;
  color: #dc2626;
  min-width: 2rem;
}

.arrested-name {
  flex: 1;
  color: #1e3a8a;
  font-weight: 600;
  font-size: 1.1rem;
}

.arrested-id {
  color: #64748b;
  font-size: 0.9rem;
}

.arrested-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.arrested-status,
.arrested-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-label,
.date-label {
  font-weight: 500;
  color: #374151;
  min-width: 5rem;
}

.status-value {
  color: #dc2626;
  font-weight: 600;
}

.date-value {
  color: #6b7280;
}

.arrested-actions {
  margin-top: 0.75rem;
}

/* Police House additional card themes */
.location-card.create-petition {
  border-left: 6px solid #059669;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  margin: 0;
}

.location-card.view-petitions {
  border-left: 6px solid #7c3aed;
  background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
}

.location-card.back-to-police {
  border-left: 6px solid #6b7280;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* Forsage (Racing) card themes */
.location-card.create-race {
  border-left: 6px solid #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.location-card.view-race {
  border-left: 6px solid #0ea5e9;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.location-card.upgrade-car {
  border-left: 6px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.location-card.view-races {
  border-left: 6px solid #059669;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.location-card.back-to-city {
  border-left: 6px solid #6b7280;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* No cars message */
.no-cars-message {
  margin: 1rem 0;
  padding: 1rem;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
  border: 1px solid #fecaca;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.no-cars-message p {
  margin: 0;
  color: #dc2626;
  font-weight: 500;
}

/* City2 card themes */
.location-card.gunman {
  border-left: 6px solid #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.location-card.buy-weapons {
  border-left: 6px solid #059669;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.location-card.sell-weapons {
  border-left: 6px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

/* City3 card themes */
.location-card.casino {
  border-left: 6px solid #7c3aed;
  background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
}

.location-card.hotel {
  border-left: 6px solid #059669;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

/* City3 Casino card themes */
.location-card.blackjack {
  border-left: 6px solid #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.location-card.roulette {
  border-left: 6px solid #059669;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.location-card.slots {
  border-left: 6px solid #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

/* City3 Hotel card themes */
.location-card.rest-room {
  border-left: 6px solid #059669;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.location-card.presidential-suite {
  border-left: 6px solid #dc2626;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

/* Online players section */
.online-players-section {
  margin: 1.5rem 0;
  padding: 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 300px;
  overflow: hidden;
}

.online-players-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
  padding: 0.75rem;
  margin: -0.75rem -0.75rem 1rem -0.75rem;
}

.online-players-header:hover {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.online-players-header h3 {
  margin: 0;
  color: #1e293b;
  font-size: 1.1rem;
  font-weight: 600;
}

.online-count {
  margin: 0;
  color: #64748b;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.count-number {
  color: #059669;
  font-weight: 600;
  font-size: 0.9rem;
  background: #f0fdf4;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #bbf7d0;
}

.toggle-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: none;
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
  margin-left: 0.5rem;
}

.toggle-btn:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.toggle-icon {
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  transition: transform 0.3s ease;
  display: inline-block;
}

.toggle-icon.rotated {
  transform: rotate(180deg);
}

.online-players-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.online-players-list::-webkit-scrollbar {
  width: 4px;
}

.online-players-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 2px;
}

.online-players-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}

.online-players-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.online-player-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  transition: all 0.2s ease;
  min-height: 40px;
}

.online-player-item:hover {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.player-avatar {
  font-size: 1rem;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.player-name {
  flex: 1;
  color: #1e293b;
  font-weight: 500;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-name a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.player-name a:hover {
  color: #3b82f6;
}

.online-indicator {
  font-size: 0.7rem;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.no-players-message {
  text-align: center;
  padding: 2rem;
  color: #64748b;
}

.no-players-message p {
  margin: 0;
  font-style: italic;
}

.more-players {
  text-align: center;
  padding: 0.75rem;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: 8px;
  border: 1px solid #cbd5e1;
}

.more-count {
  color: #475569;
  font-weight: 500;
  font-size: 0.9rem;
}


/* Стилі для профілю гравця в userview.php */
.userview-profile .profile-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 8px;
  color: white;
  position: relative;
  overflow: hidden;
}

.userview-profile .profile-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
  pointer-events: none;
}

.userview-profile .profile-avatar {
  font-size: 3rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.userview-profile .profile-main-info {
  flex: 1;
  position: relative;
  z-index: 1;
}

.userview-profile .profile-header h1 {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.userview-profile .profile-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.userview-profile .badge {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.6rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.userview-profile .badge:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.userview-profile .badge-icon {
  font-size: 0.9rem;
  flex-shrink: 0;
}

.userview-profile .badge-text {
  white-space: nowrap;
}

.userview-profile .level-badge {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3) 0%, rgba(217, 119, 6, 0.3) 100%);
  border-color: rgba(245, 158, 11, 0.4);
}

.userview-profile .status-badge {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3) 0%, rgba(8, 145, 178, 0.3) 100%);
  border-color: rgba(6, 182, 212, 0.4);
}

.userview-profile .profile-info-card,
.userview-profile .profile-actions-card,
.userview-profile .profile-stats-card,
.userview-profile .profile-cars-card,
.userview-profile .profile-weapons-card {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.userview-profile .profile-info-card:hover,
.userview-profile .profile-actions-card:hover,
.userview-profile .profile-stats-card:hover,
.userview-profile .profile-cars-card:hover,
.userview-profile .profile-weapons-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.userview-profile .card-header {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.userview-profile .card-header h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.userview-profile .card-content {
  padding: 0.75rem;
}

.userview-profile .info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.userview-profile .info-row:last-child {
  border-bottom: none;
}

.userview-profile .info-label {
  font-weight: 600;
  color: #475569;
  flex: 1;
  font-size: 0.85rem;
}

.userview-profile .info-value {
  color: #1e293b;
  font-weight: 500;
  text-align: right;
  flex: 1;
  font-size: 0.85rem;
}

.userview-profile .actions-grid {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  width: 100%;
}

.userview-profile .action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  text-decoration: none;
  color: #1e293b;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  min-height: 80px;
  justify-content: center;
  flex: 1;
}

.userview-profile .action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: #1e293b;
}

.userview-profile .action-btn.band-action {
  border-color: #f59e0b;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.userview-profile .action-btn.message-action {
  border-color: #3b82f6;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.userview-profile .action-btn.fight-action {
  border-color: #ef4444;
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

.userview-profile .action-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.userview-profile .action-text {
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.userview-profile .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.5rem;
}

.userview-profile .stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.userview-profile .stat-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.userview-profile .stat-item.money {
  border-color: #10b981;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.userview-profile .stat-item.health {
  border-color: #ef4444;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.userview-profile .stat-item.police {
  border-color: #3b82f6;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.userview-profile .stat-item.level {
  border-color: #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.userview-profile .stat-item.band {
  border-color: #8b5cf6;
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.userview-profile .stat-item.status {
  border-color: #06b6d4;
  background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
}

.userview-profile .stat-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.userview-profile .stat-info {
  flex: 1;
}

.userview-profile .stat-label {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 0.1rem;
}

.userview-profile .stat-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
}

.userview-profile .stat-value a {
  color: #3b82f6;
  text-decoration: none;
}

.userview-profile .stat-value a:hover {
  text-decoration: underline;
}

.userview-profile .steal-form {
  display: flex;
  gap: 0.5rem;
  align-items: end;
}

.userview-profile .form-group {
  flex: 1;
}

.userview-profile .form-select {
  width: 100%;
  padding: 0.4rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: white;
  font-size: 0.8rem;
  color: #374151;
}

.userview-profile .steal-btn {
  padding: 0.4rem 0.8rem;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px rgba(239, 68, 68, 0.3);
  font-size: 0.8rem;
}

.userview-profile .steal-btn:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(239, 68, 68, 0.4);
}

.userview-profile .weapons-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.userview-profile .weapon-item {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #475569;
}

.userview-profile .cars-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.userview-profile .car-item {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #0ea5e9;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #0c4a6e;
}

/* Responsive стилі для профілю */
@media (max-width: 768px) {
  .userview-profile .profile-header {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .userview-profile .profile-avatar {
    font-size: 2.5rem;
  }
  
  .userview-profile .profile-header h1 {
    font-size: 1.1rem;
  }
  
  .userview-profile .profile-badges {
    justify-content: center;
  }
  
  .userview-profile .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
  }
  
  .userview-profile .actions-grid {
    flex-direction: row;
    gap: 0.5rem;
  }
  
  .userview-profile .action-btn {
    padding: 0.5rem 0.25rem;
    min-height: 70px;
    gap: 0.375rem;
    font-size: 0.75rem;
  }
  
  .userview-profile .action-icon {
    font-size: 1rem;
  }
  
  .userview-profile .action-text {
    font-size: 0.7rem;
    line-height: 1.1;
  }
}

.navigation-links {
  margin: 2rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex !important;
  flex-direction: row !important;
  gap: 1rem;
  justify-content: stretch;
  align-items: center;
  width: 100%;
}

/* Додаткові стилі для гарантії горизонтального розташування */
.navigation-links * {
  flex-direction: row !important;
}

.navigation-links .nav-link {
  display: flex !important;
  flex-direction: row !important;
}

/* Примусові стилі для навігації */
#navigationLinks {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

#navigationLinks a {
  display: flex !important;
  flex: 1 !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}

.nav-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
  color: #f1f5f9;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  flex: 1 !important;
  min-width: 0;
  border: 2px solid transparent;
  flex-direction: row !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-icon {
  font-size: 1.2rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.nav-text {
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
  text-decoration: none !important;
}

.nav-link:focus {
  text-decoration: none !important;
  outline: none;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.nav-link::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  transition: all 0.6s ease;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.nav-link:hover::before {
  opacity: 1;
}

.nav-link:hover::after {
  width: 300px;
  height: 300px;
}

.nav-link:hover {
  color: white;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(59, 130, 246, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-link:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Стилі для іконок та тексту навігації */
.nav-icon {
  font-size: 1.2rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.nav-text {
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.nav-link:hover .nav-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Mobile responsiveness for online players */
@media (max-width: 768px) {
  .online-players-section {
    margin: 1rem 0;
    padding: 0.75rem;
    max-height: 250px;
  }
  
  .online-players-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    padding: 0.5rem;
    margin: -0.5rem -0.5rem 1rem -0.5rem;
  }
  
  .online-count {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }
  
  .toggle-btn {
    padding: 0.3rem 0.5rem;
    margin-left: 0.25rem;
  }
  
  .toggle-icon {
    font-size: 0.7rem;
  }
  
  .online-players-header h3 {
    font-size: 1rem;
  }
  
  .online-count {
    font-size: 0.8rem;
  }
  
  .online-players-list {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    max-height: 150px;
  }
  
  .online-player-item {
    padding: 0.4rem 0.6rem;
    gap: 0.4rem;
    min-height: 36px;
  }
  
  .player-avatar {
    font-size: 0.9rem;
    width: 18px;
  }
  
  .player-name {
    font-size: 0.8rem;
  }
  
  .online-indicator {
    font-size: 0.6rem;
    width: 14px;
  }
  
  .navigation-links {
    flex-direction: row !important;
    gap: 0.75rem;
    padding: 1rem;
    margin: 1rem 0;
  }
  
  #navigationLinks {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }
  
  #navigationLinks a {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }
  
  .nav-link {
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    justify-content: center;
    flex: 1;
    letter-spacing: 0.3px;
  }
}

/* Restaurant info styling */
.restaurant-info {
  margin-top: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 0.5rem;
  border-left: 4px solid #64748b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.restaurant-info p {
  margin: 0;
  color: #374151;
  font-size: 0.9rem;
}

.band-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
}

.band-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}


/* Police popup styles */
.police-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease-out;
}

.police-popup {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 450px;
  width: 90%;
  overflow: hidden;
  border: 3px solid #1e40af;
  animation: slideInUp 0.4s ease-out;
}

.police-popup-header {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  color: white;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: center;
  position: relative;
}

.police-icon {
  font-size: 2.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.police-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fbbf24;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.police-popup-content {
  padding: 2rem;
  text-align: center;
}

.police-text {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #374151;
  font-weight: 500;
}


.police-popup-actions {
  padding: 0 2rem 2rem 2rem;
  text-align: center;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.police-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  min-width: 140px;
  justify-content: center;
}

.police-action-btn.primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1e40af;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.police-action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.police-action-btn.secondary {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.police-action-btn.secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(107, 114, 128, 0.4);
  background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
}

.police-action-btn .btn-icon {
  font-size: 1.2rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .police-popup {
    width: 95%;
    margin: 1rem;
  }
  
  .police-popup-header {
    padding: 1.25rem;
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  
  .police-icon {
    font-size: 2rem;
    width: 3.5rem;
    height: 3.5rem;
  }
  
  .police-title {
    font-size: 1.1rem;
  }
  
  .police-popup-content {
    padding: 1.5rem;
  }
  
  .police-popup-actions {
    padding: 0 1.5rem 1.5rem 1.5rem;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .police-action-btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
    min-width: auto;
  }
}
