/* Variables */
:root {
  /* Colores principales (azul como en el logo) */
  --primary: #0078ff;
  --primary-dark: #0056cc;
  --primary-light: #4da6ff;
  --primary-bg: #0b1a33;
  --primary-bg-light: #132546;
  
  /* Colores secundarios */
  --secondary: #2a3f5f;
  --secondary-dark: #1a2a45;
  --secondary-light: #3d5783;
  
  /* Colores de estado */
  --success: #2ecc71;
  --warning: #f39c12;
  --error: #e74c3c;
  --info: #3498db;
  
  /* Colores neutros */
  --bg-dark: #0a0e1a;
  --bg-light: #121830;
  --border-color: #1e2c4d;
  --text-primary: #ffffff;
  --text-secondary: #a5b7d9;
  --text-muted: #6c7a94;
}

/* Reset y base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-dark);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-light);
}

/* Utilidades */
.mb-4 {
  margin-bottom: 1rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-size: 0.9rem;
}

.btn i {
  margin-right: 0.5rem;
}

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

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

.btn-disabled {
  pointer-events: none;
  opacity: 0.6;
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: white;
}

.btn-steam {
  background-color: #171a21;
  color: white;
}

.btn-steam:hover {
  background-color: #2a3f5f;
  color: white;
}

.btn-discord {
  background-color: #5865F2;
  color: white;
}

.btn-discord:hover {
  background-color: #4752c4;
  color: white;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.status-badge.success {
  background-color: var(--success);
  color: white;
}

.status-badge.warning {
  background-color: var(--warning);
  color: white;
}

.status-badge.error {
  background-color: var(--error);
  color: white;
}

.status-badge.neutral {
  background-color: var(--secondary);
  color: white;
}

.status-badge.info {
  background-color: var(--info);
  color: white;
}

/* Alertas */
.alert {
  display: flex;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.alert i {
  margin-right: 0.75rem;
  margin-top: 0.2rem;
  font-size: 1.2rem;
}

.alert h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.alert p {
  margin: 0;
  font-size: 0.9rem;
}

.alert-success {
  background-color: rgba(46, 204, 113, 0.15);
  border: 1px solid rgba(46, 204, 113, 0.3);
  color: var(--success);
}

.alert-warning {
  background-color: rgba(243, 156, 18, 0.15);
  border: 1px solid rgba(243, 156, 18, 0.3);
  color: var(--warning);
}

.alert-error {
  background-color: rgba(231, 76, 60, 0.15);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: var(--error);
}

.alert-info {
  background-color: rgba(52, 152, 219, 0.15);
  border: 1px solid rgba(52, 152, 219, 0.3);
  color: var(--info);
}

/* Formularios */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  background-color: var(--secondary-dark);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
}

/* Controles de formulario reutilizables */
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--secondary-dark);
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 120, 255, 0.3);
}

/* Tarjetas */
.dashboard-card {
  background-color: var(--primary-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-bottom: 1.5rem;
}

.card-header {
  padding: 1rem;
  background-color: var(--primary-bg-light);
  border-bottom: 1px solid var(--border-color);
}

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

.card-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-body {
  padding: 1.25rem;
}

/* Landing page */
.landing-container {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary-bg), var(--bg-dark));
  background-size: cover;
  background-position: center;
  position: relative;
}

.landing-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/img/bg.jpg') no-repeat center center;
  background-size: cover;
  opacity: 0.15;
  z-index: 0;
}

.landing-content {
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.landing-logo {
  max-width: 300px;
  margin-bottom: 2rem;
}

.landing-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.landing-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.button-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature {
  background-color: rgba(20, 37, 67, 0.7);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.landing-footer {
  text-align: center;
  padding: 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Login page */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary-bg), var(--bg-dark));
}

.login-card {
  background-color: var(--primary-bg);
  border-radius: 8px;
  padding: 2rem;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.login-logo {
  max-width: 200px;
  margin: 0 auto 2rem;
  display: block;
}

.login-card h1 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.login-card p {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.auth-steps {
  margin-bottom: 2rem;
}

.auth-step {
  display: flex;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: var(--primary-bg-light);
  border-radius: 8px;
  position: relative;
}

.auth-step.complete {
  background-color: rgba(46, 204, 113, 0.15);
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.auth-step.active {
  border: 1px solid rgba(52, 152, 219, 0.3);
}

.auth-step.disabled {
  opacity: 0.6;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--secondary);
  color: white;
  font-weight: bold;
  margin-right: 1rem;
  flex-shrink: 0;
}

.auth-step.complete .step-number {
  background-color: var(--success);
}

.step-content {
  flex: 1;
}

.step-content h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.step-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  text-align: left;
}

.user-info {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 0.75rem;
}

.info-text {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.login-help {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.terms-note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.login-footer {
  text-align: center;
  padding: 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Dashboard layout */
.dashboard-body {
  min-height: 100vh;
  background-color: var(--bg-dark);
  display: flex;
  flex-direction: column;
}

.dashboard-container {
  flex: 1;
  padding: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Navbar */
.navbar {
  background-color: var(--primary-bg);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.navbar-logo {
  display: flex;
  align-items: center;
}

.navbar-logo img {
  height: 40px;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
}

.navbar-menu {
  display: flex;
  list-style: none;
}

.navbar-menu li {
  margin-left: 2rem;
}

.navbar-menu a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--text-primary);
}

.navbar-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
}

.navbar-user {
  display: flex;
  align-items: center;
  margin-left: 2rem;
}

.navbar-notifications {
  position: relative;
  margin-right: 1rem;
}

.navbar-notifications i {
  font-size: 1.2rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.navbar-notifications i:hover {
  color: var(--text-primary);
}

.notification-dot {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--error);
}

.navbar-user-info {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.navbar-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 0.75rem;
}

.navbar-username {
  font-weight: 500;
  margin-right: 0.5rem;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--primary-bg);
    width: 200px;
    padding: 0.5rem 1rem;
    border-radius: 0 0 6px 6px;
  }

  .navbar-menu.show {
    display: flex;
  }

  .navbar-menu li {
    margin: 0.75rem 0;
  }

  .navbar-toggle {
    display: block;
  }
}

/* Header */
.dashboard-header {
  margin-bottom: 1.5rem;
}

.dashboard-header h1 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.dashboard-header p {
  color: var(--text-secondary);
}

/* Dashboard content */
.dashboard-content {
  margin-bottom: 2rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* User profile */
.user-profile {
  display: flex;
  align-items: flex-start;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-right: 1.25rem;
}

.profile-info {
  flex: 1;
}

.profile-info h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.profile-info p {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.profile-info p i {
  width: 20px;
  margin-right: 0.5rem;
  color: var(--primary);
}

.whitelist-status {
  display: flex;
  align-items: center;
  margin-top: 0.75rem;
}

.whitelist-status span:first-child {
  margin-right: 0.5rem;
  color: var(--text-secondary);
}

/* Notifications */
.notifications-list {
  max-height: 350px;
  overflow-y: auto;
}

.notification {
  display: flex;
  padding: 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  background-color: var(--primary-bg-light);
  transition: background-color 0.2s ease;
}

.notification:hover {
  background-color: var(--secondary-dark);
}

.notification.read {
  opacity: 0.5;
}
.notification.unread {
  background-color: var(--secondary-dark);
}

.notification-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.notification-icon.success {
  background-color: rgba(46, 204, 113, 0.2);
  color: var(--success);
}

.notification-icon.error {
  background-color: rgba(231, 76, 60, 0.2);
  color: var(--error);
}

.notification-icon.warning {
  background-color: rgba(243, 156, 18, 0.2);
  color: var(--warning);
}

.notification-icon.info {
  background-color: rgba(52, 152, 219, 0.2);
  color: var(--info);
}

.notification-content {
  flex: 1;
}

.notification-content h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.notification-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

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

/* Notification dropdown */
.notification-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  background-color: var(--primary-bg);
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  width: 320px;
  max-height: 400px;
  overflow-y: auto;
  padding: 1rem;
  z-index: 1000;
}

.notification-dropdown .notification-item {
  display: flex;
  padding: 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
  background-color: var(--primary-bg-light);
  transition: background-color 0.2s ease;
}

.notification-dropdown .notification-item:hover {
  background-color: var(--secondary-dark);
}

.notification-dropdown .notification-item.read {
  opacity: 0.5;
}
.notification-dropdown .notification-item.unread {
  background-color: var(--secondary-dark);
}

.notification-dropdown .notification-item.empty {
  justify-content: center;
  background-color: transparent;
  color: var(--text-secondary);
}

.notification-actions {
  text-align: center;
  margin-bottom: 0.5rem;
}

.notifications-list::-webkit-scrollbar,
.notification-dropdown::-webkit-scrollbar {
  width: 6px;
}

.notifications-list::-webkit-scrollbar-thumb,
.notification-dropdown::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  border-radius: 3px;
}

.notifications-list::-webkit-scrollbar-track,
.notification-dropdown::-webkit-scrollbar-track {
  background-color: var(--primary-bg-light);
}

/* Quick links */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 1rem;
}

.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  border-radius: 6px;
  background-color: var(--primary-bg-light);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.quick-link:hover {
  background-color: var(--secondary);
  color: white;
  transform: translateY(-3px);
}

.quick-link i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.quick-link:hover i {
  color: white;
}

.quick-link span {
  font-size: 0.85rem;
  font-weight: 500;
}

/* Server status */
.server-status {
  background-color: var(--primary-bg-light);
  border-radius: 6px;
  padding: 1rem;
}

.status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.status-item span:first-child {
  color: var(--text-secondary);
}

/* Empty state */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.empty-state h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 500px;
}

/* Character cards */
.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.character-card {
  background-color: var(--primary-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.character-card:hover {
  transform: translateY(-5px);
}

.character-header {
  padding: 1rem;
  background-color: var(--primary-bg-light);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.character-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.character-avatar i {
  font-size: 1.5rem;
}

.character-avatar.large {
  width: 80px;
  height: 80px;
}

.character-avatar.large i {
  font-size: 2.5rem;
}

.character-info {
  flex: 1;
}

.character-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.character-body {
  padding: 1rem;
}

.character-details {
  margin-bottom: 1rem;
}

.detail-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.detail-item i {
  width: 20px;
  margin-right: 0.5rem;
  color: var(--primary);
}

.detail-item span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.character-footer {
  padding: 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
}

/* Character sheet */
.character-actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.character-tabs {
  margin-bottom: 2rem;
}

.tabs {
  background-color: var(--primary-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tab-header {
  display: flex;
  background-color: var(--primary-bg-light);
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.tab-btn {
  padding: 1rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--primary);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
}

.tab-content {
  display: none;
  padding: 1.5rem;
}

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

.character-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .character-info-grid {
    grid-template-columns: 3fr 2fr;
  }
}

.character-overview {
  display: flex;
  flex-direction: column;
}

@media (min-width: 576px) {
  .character-overview {
    flex-direction: row;
  }
}

.info-group {
  margin-bottom: 0.75rem;
}

.info-group label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.character-status {
  margin-bottom: 1.5rem;
}

.status-bar {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.status-bar label {
  width: 70px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.progress-bar {
  flex: 1;
  height: 8px;
  background-color: var(--secondary-dark);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 0.75rem;
}

.progress {
  height: 100%;
  background-color: var(--primary);
  border-radius: 4px;
}

.character-finances {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.character-finances h4 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: var(--text-secondary);
}

.finance-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.finance-item i {
  width: 20px;
  margin-right: 0.5rem;
  color: var(--primary);
}

.finance-item label {
  width: 70px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.character-sheet-content {
  color: var(--text-secondary);
}

.sheet-section {
  margin-bottom: 1.5rem;
}

.sheet-section h4 {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.sheet-section h4 i {
  margin-right: 0.5rem;
  color: var(--primary);
}

.sheet-section p {
  line-height: 1.6;
  font-size: 0.95rem;
  white-space: pre-line;
}

.sheet-meta {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.character-sheet-form textarea {
  resize: vertical;
}

/* Vehicles and properties */
.vehicles-grid,
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.vehicle-card,
.property-card {
  display: flex;
  padding: 1rem;
  background-color: var(--primary-bg-light);
  border-radius: 6px;
}

.vehicle-icon,
.property-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--secondary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.vehicle-icon i,
.property-icon i {
  font-size: 1.5rem;
}

.vehicle-info,
.property-info {
  flex: 1;
}

.vehicle-info h4,
.property-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.vehicle-info p,
.property-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.vehicle-details,
.property-details {
  margin-top: 0.75rem;
}

/* Whitelist */
.success-state,
.pending-state,
.rejected-state,
.blocked-state {
  text-align: center;
  padding: 2rem 1rem;
}

.success-icon,
.pending-icon,
.rejected-icon,
.blocked-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-icon {
  background-color: rgba(46, 204, 113, 0.2);
  color: var(--success);
}

.pending-icon {
  background-color: rgba(243, 156, 18, 0.2);
  color: var(--warning);
}

.rejected-icon {
  background-color: rgba(231, 76, 60, 0.2);
  color: var(--error);
}

.blocked-icon {
  background-color: rgba(231, 76, 60, 0.2);
  color: var(--error);
}

.success-icon i,
.pending-icon i,
.rejected-icon i,
.blocked-icon i {
  font-size: 2.5rem;
}

.success-state h3,
.pending-state h3,
.rejected-state h3,
.blocked-state h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.success-state p,
.pending-state p,
.rejected-state p,
.blocked-state p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.whitelist-details {
  max-width: 1000px;
  margin: 0 auto 1rem;
  background-color: var(--primary-bg-light);
  border-radius: 6px;
  padding: 0.65rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}




.discord-channel {
  background-color: var(--secondary-dark);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  display: inline-block;
  margin: 0.5rem 0;
}

.discord-channel span {
  font-family: monospace;
  font-weight: 500;
  color: var(--primary-light);
}

.info-section {
  text-align: left;
  margin: 1.5rem auto;
  max-width: 600px;
  background-color: var(--primary-bg-light);
  border-radius: 6px;
  padding: 1.25rem;
}

.info-section h4 {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.info-section h4 i {
  margin-right: 0.5rem;
  color: var(--primary);
}

.info-list {
  list-style-position: inside;
  margin-left: 0.5rem;
}

.info-list li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.rejection-reason {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.rejection-reason h4 {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  text-align: left;
}

.rejection-reason h4 i {
  margin-right: 0.5rem;
  color: var(--error);
}

.reason-box {
  background-color: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: 6px;
  padding: 1rem;
  text-align: left;
  color: var(--text-secondary);
  white-space: pre-line;
}

.attempt-info {
  font-weight: 500;
  color: var(--warning);
  margin: 1rem 0;
}

.whitelist-form {
  max-width: 700px;
  margin: 0 auto;
}

/* Animación deslizante para el formulario de whitelist */
.whitelist-form-slide {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.whitelist-form-slide.show {
  max-height: 2000px;
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.footer {
  margin-top: auto;
  padding: 1.5rem;
  background-color: var(--primary-bg);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Icons (placeholders para reemplazar con Font Awesome o similares) */
.icon-whitelist::before {
  content: "✓";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.icon-character::before {
  content: "👤";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.icon-tickets::before {
  content: "🎫";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.icon-steam::before {
  content: "S";
  font-family: "Font Awesome 5 Brands";
  font-weight: 400;
}

.icon-discord::before {
  content: "D";
  font-family: "Font Awesome 5 Brands";
  font-weight: 400;
}

/* Modal generic styles */
.modal {
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-content {
  background-color: var(--primary-bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-header,
.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.modal-body {
  padding: 1rem 1.5rem;
}

.modal-header {
  background-color: var(--primary-bg);
  border-bottom: 1px solid var(--border-color);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.modal-footer {
  background-color: var(--primary-bg);
  border-top: 1px solid var(--border-color);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  justify-content: flex-end;
  gap: 0.75rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--primary);
}

/* Map page */
.map-box {
  position: relative;
  width: 85vmin;
  height: 85vmin;
  max-width: 800px;
  max-height: 800px;
  margin: 60px auto;
  border: 2px solid var(--border-color);
}

#map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.blip-form {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  background-color: rgba(11, 26, 51, 0.8);
  padding: 0.75rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.blip-form button {
  width: 100%;
}

.modal-image {
  max-width: 100%;
  border-radius: 4px;
  margin-top: 6px;
}

/* Página de aceptación de términos */
.terms-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary-bg), var(--bg-dark));
}

.terms-card {
  background-color: var(--primary-bg);
  padding: 2rem;
  border-radius: 8px;
  width: 100%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.terms-card h1 {
  margin-bottom: 1rem;
}

.terms-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Página de términos completa */
.terms-content {
  background-color: var(--primary-bg);
  padding: 2rem;
  border-radius: 8px;
  width: 100%;
  max-width: 800px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.terms-content h1 {
  text-align: center;
  margin-bottom: 1rem;
}

.terms-content h2 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.terms-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Estilos de la página VIP */
.vip-card {
  background: linear-gradient(135deg, var(--primary-bg-light), var(--primary-bg));
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.vip-header {
  text-align: center;
  margin-bottom: 1rem;
}

.vip-header i {
  color: #FFD700;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.vip-benefits {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.vip-benefits li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.vip-benefits li i {
  color: #FFD700;
  margin-right: 0.5rem;
}

/* Invitaciones */
.invitation-list { list-style: none; padding-left: 0; }
.invitation-list li { margin-bottom: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-actions { grid-column: span 2; }

/* Tabla básica */
.table-container { background-color: var(--primary-bg); border-radius: 0.75rem; overflow: hidden; margin-bottom: 1rem; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border-color); }
.table th { font-weight: 600; color: var(--text-secondary); background-color: rgba(0,0,0,0.1); }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background-color: rgba(0,0,0,0.1); }

/* Badges */
.badge { display: inline-flex; align-items: center; justify-content: center; padding: 0.25rem 0.5rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; }
.badge-success { background-color: rgba(14,159,110,0.2); color: var(--success); }
.badge-error { background-color: rgba(224,36,36,0.2); color: var(--error); }
.badge-warning { background-color: rgba(255,90,31,0.2); color: var(--warning); }
.badge-info { background-color: rgba(63,131,248,0.2); color: var(--info); }

/* Role badges */
.vip-badge,
.invited-badge,
.rep-badge {
  font-size: 0.75rem;
  background-color: var(--primary-bg-light);
  color: var(--text-primary);
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 5px;
  border: 1px solid var(--border-color);
  vertical-align: middle;
}

.vip-badge {
  background-color: rgba(255, 215, 0, 0.2);
  color: #FFD700;
  border-color: rgba(255, 215, 0, 0.3);
  font-weight: bold;
}

.invited-badge {
  background-color: rgba(0, 123, 255, 0.2);
  color: #007bff;
  border-color: rgba(0, 123, 255, 0.3);
  font-weight: bold;
}

.rep-badge {
  background-color: rgba(156, 39, 176, 0.2);
  color: #9c27b0;
  border-color: rgba(156, 39, 176, 0.3);
  font-weight: bold;
}

/* Map legend */
.map-legend {
  background-color: rgba(11, 26, 51, 0.8);
  color: var(--text-primary);
  padding: 0.5rem;
  border-radius: 6px;
  line-height: 1.2;
  font-size: 0.75rem;
}

.map-legend h4 {
  margin: 0 0 4px 0;
  font-size: 0.85rem;
}

.map-legend .legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.map-legend .legend-icon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
}

/* =============================================================================
   ESTILO 4: GLASS MORPHISM COMPACTO - WHITELIST WARNING
   Versión minimalista y compacta
   Agregar este CSS al final de tu archivo styles.css
   ============================================================================= */

/* Whitelist Warning - Glass Morphism Compacto */
.whitelist-glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.whitelist-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.whitelist-glass:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 120, 255, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.glass-content {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.glass-visual {
  flex-shrink: 0;
  position: relative;
}

.glass-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, 
    rgba(0, 120, 255, 0.25), 
    rgba(0, 120, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 120, 255, 0.15);
  transition: all 0.3s ease;
}

.glass-circle::before {
  content: '';
  position: absolute;
  top: 8%;
  left: 8%;
  width: 25%;
  height: 25%;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  filter: blur(4px);
}

.glass-circle:hover {
  background: linear-gradient(135deg, 
    rgba(0, 120, 255, 0.35), 
    rgba(0, 120, 255, 0.15));
  border-color: rgba(0, 120, 255, 0.25);
}

.glass-circle i {
  font-size: 1.3rem;
  color: var(--primary);
  z-index: 1;
  transition: all 0.3s ease;
}

.glass-circle:hover i {
  color: var(--primary-light);
  transform: scale(1.05);
}

.glass-text {
  flex: 1;
}

.glass-title {
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--text-primary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.glass-description {
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.glass-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-glass {
  background: rgba(0, 120, 255, 0.15);
  backdrop-filter: blur(8px);
  color: var(--primary);
  padding: 0.6rem 1.25rem;
  border: 1px solid rgba(0, 120, 255, 0.2);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-size: 0.85rem;
}

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

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

.btn-glass:hover {
  background: rgba(0, 120, 255, 0.25);
  border-color: rgba(0, 120, 255, 0.35);
  transform: translateY(-1px);
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 120, 255, 0.15);
}

.btn-glass-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
}

.btn-glass-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-primary);
}

.glass-info {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(0, 120, 255, 0.03);
  padding: 0.75rem;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

.glass-info i {
  color: var(--primary);
  font-size: 0.8rem;
}

/* Estados dinámicos para glass morphism compacto */
.glass-status-pending .glass-circle {
  background: linear-gradient(135deg, 
    rgba(243, 156, 18, 0.25), 
    rgba(243, 156, 18, 0.1));
  border-color: rgba(243, 156, 18, 0.15);
}

.glass-status-pending .glass-circle i {
  color: var(--warning);
}

.glass-status-pending .glass-title {
  background: linear-gradient(135deg, var(--text-primary), var(--warning));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-status-rejected .glass-circle {
  background: linear-gradient(135deg, 
    rgba(231, 76, 60, 0.25), 
    rgba(231, 76, 60, 0.1));
  border-color: rgba(231, 76, 60, 0.15);
}

.glass-status-rejected .glass-circle i {
  color: var(--error);
}

.glass-status-rejected .glass-title {
  background: linear-gradient(135deg, var(--text-primary), var(--error));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive para glass morphism compacto */
@media (max-width: 768px) {
  .whitelist-glass {
    padding: 1rem;
  }
  
  .glass-content {
    gap: 1rem;
  }
  
  .glass-circle {
    width: 45px;
    height: 45px;
  }
  
  .glass-circle i {
    font-size: 1.1rem;
  }
  
  .glass-title {
    font-size: 1rem;
  }
  
  .glass-description {
    font-size: 0.8rem;
  }
  
  .glass-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-glass {
    width: 100%;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
  
  .glass-info {
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    padding: 0.6rem;
  }
}




/* =============================================================================
   CSS SIMPLE PARA EL MAPA - NO ROMPE LA FUNCIONALIDAD ORIGINAL
   Reemplazar SOLO la sección del mapa en styles.css
   ============================================================================= */

/* Container principal del mapa */
.map-container {
  position: relative;
  min-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 1rem;
}

/* Header del mapa */
.map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(11, 26, 51, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.map-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.map-title i {
  color: var(--primary);
  font-size: 1.5rem;
}

.map-title h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.map-title p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.map-controls {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* Contenedor principal del mapa */
.map-wrapper {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1rem;
  min-height: 600px;
}

/* Contenedor del mapa - MANTENER SIMPLE */
.map-box {
  position: relative;
  background-color: var(--primary-bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  /* NO TOCAR width y height - dejar que Leaflet maneje esto */
}

#map {
  /* NO TOCAR position, width, height - configuración original del gta-map.js */
  border-radius: 12px;
}

/* Panel lateral */
.map-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 600px;
  overflow-y: auto;
}

/* Panel de controles */
.control-panel {
  background: rgba(11, 26, 51, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.panel-header i {
  color: var(--primary);
  font-size: 1.1rem;
}

.panel-header h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

/* Leyenda del mapa */
.map-legend {
  background: transparent;
}

.legend-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(42, 63, 95, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(42, 63, 95, 0.5);
  transition: all 0.2s ease;
  cursor: pointer;
}

.legend-item:hover {
  background: rgba(42, 63, 95, 0.5);
  border-color: var(--primary);
  transform: translateX(4px);
}

.legend-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.legend-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Panel de blips */
.blip-panel {
  background: transparent;
}

.blip-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.stat-item {
  text-align: center;
  padding: 0.75rem;
  background: rgba(42, 63, 95, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(42, 63, 95, 0.5);
  transition: all 0.2s ease;
}

.stat-item:hover {
  background: rgba(42, 63, 95, 0.5);
  border-color: var(--primary);
}

.stat-number {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

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

/* Actualización del panel de blips existente */
.blip-form {
  position: static;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  width: 100%;
}

.blip-form h4 {
  display: none;
}

.blip-form button {
  width: 100%;
}

/* Loading overlay */
.map-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 26, 51, 0.95);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
  .map-container {
    min-height: auto;
    padding: 1rem;
  }
  
  .map-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
  }
  
  .map-sidebar {
    grid-row: 2;
    flex-direction: row;
    overflow-x: auto;
    max-height: none;
    padding-bottom: 1rem;
  }
  
  .control-panel {
    min-width: 300px;
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .map-container {
    padding: 1rem;
  }
  
  .map-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .map-controls {
    width: 100%;
    justify-content: center;
  }
  
  .map-wrapper {
    gap: 1rem;
  }
  
  .map-sidebar {
    flex-direction: column;
    overflow-x: visible;
  }
  
  .control-panel {
    min-width: unset;
  }
  
  .config-grid {
    grid-template-columns: 1fr;
  }
  
  .blip-stats {
    grid-template-columns: 1fr;
  }
}

/* Scroll personalizado para el sidebar */
.map-sidebar::-webkit-scrollbar {
  width: 6px;
}

.map-sidebar::-webkit-scrollbar-track {
  background: var(--secondary-dark);
  border-radius: 3px;
}

.map-sidebar::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.map-sidebar::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* SOLUCIÓN PARA EL PROBLEMA DE ZOOM EN POPUPS */
/* Añadir este CSS al final del <style> en map.ejs */

/* Fijar el tamaño de los popups independiente del zoom */
.leaflet-popup {
  transform-origin: center bottom !important;
}

/* Contrarresto del zoom para diferentes niveles */
.leaflet-zoom-level-2 .leaflet-popup {
  transform: scale(2) !important;
}

.leaflet-zoom-level-3 .leaflet-popup {
  transform: scale(1.5) !important;
}

.leaflet-zoom-level-4 .leaflet-popup {
  transform: scale(1.2) !important;
}

.leaflet-zoom-level-5 .leaflet-popup {
  transform: scale(1) !important;
}

/* Alternativa más simple: tamaño fijo */
.leaflet-popup-content-wrapper {
  /* Forzar tamaño fijo */
  width: 300px !important;
  min-width: 300px !important;
  max-width: 300px !important;
  /* Prevenir escala */
  transform: none !important;
  zoom: 1 !important;
}

.leaflet-popup-content {
  /* Forzar ancho fijo para el contenido */
  width: 300px !important;
  max-width: 300px !important;
  box-sizing: border-box !important;
}

/* Ajustar imágenes para que no se salgan */
.leaflet-popup-content .blip-popup-images {
  max-width: 260px !important;
  overflow: hidden !important;
}

.leaflet-popup-content .blip-popup-image {
  max-width: 60px !important;
  max-height: 45px !important;
  min-width: 60px !important;
  min-height: 45px !important;
}

.leaflet-popup-content .blip-popup-image img {
  max-width: 60px !important;
  max-height: 45px !important;
  width: 60px !important;
  height: 45px !important;
  object-fit: cover !important;
}

/* Ajustar el popup tip también */
.leaflet-popup-tip {
  transform: none !important;
  zoom: 1 !important;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .leaflet-popup-content-wrapper {
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
  }
  
  .leaflet-popup-content {
    width: 260px !important;
    max-width: 260px !important;
  }
  
  .leaflet-popup-content .blip-popup-images {
    max-width: 220px !important;
  }
  
  .leaflet-popup-content .blip-popup-image {
    max-width: 50px !important;
    max-height: 35px !important;
    min-width: 50px !important;
    min-height: 35px !important;
  }
  
  .leaflet-popup-content .blip-popup-image img {
    max-width: 50px !important;
    max-height: 35px !important;
    width: 50px !important;
    height: 35px !important;
  }
}






















/* =============================================================================
   WHITELIST - DISEÑO MEJORADO Y COHERENTE
   Reemplazar la sección de whitelist existente en styles.css
   ============================================================================= */

/* Contenedor principal de whitelist */
.whitelist-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

/* Estados principales - Layout unificado */
.status-approved,
.status-pending,
.status-rejected,
.status-blocked,
.status-verification-failed,
.status-none {
  background: var(--primary-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 2rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Headers de estado con iconos */
.status-header {
  padding: 1.5rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.status-approved .status-header {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), var(--primary-bg-light));
  border-bottom-color: rgba(46, 204, 113, 0.2);
}

.status-pending .status-header {
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), var(--primary-bg-light));
  border-bottom-color: rgba(243, 156, 18, 0.2);
}

.status-rejected .status-header {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), var(--primary-bg-light));
  border-bottom-color: rgba(231, 76, 60, 0.2);
}

.status-blocked .status-header {
  background: linear-gradient(135deg, rgba(128, 128, 128, 0.1), var(--primary-bg-light));
  border-bottom-color: rgba(128, 128, 128, 0.2);
}

.status-verification-failed .status-header {
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.1), var(--primary-bg-light));
  border-bottom-color: rgba(156, 39, 176, 0.2);
}

.status-none .status-header {
  background: linear-gradient(135deg, rgba(0, 120, 255, 0.1), var(--primary-bg-light));
  border-bottom-color: rgba(0, 120, 255, 0.2);
}

/* Iconos de estado rediseñados */
.success-icon,
.pending-icon,
.rejected-icon,
.blocked-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
}

.success-icon {
  background: rgba(46, 204, 113, 0.2);
  border: 2px solid rgba(46, 204, 113, 0.3);
  color: var(--success);
}

.pending-icon {
  background: rgba(243, 156, 18, 0.2);
  border: 2px solid rgba(243, 156, 18, 0.3);
  color: var(--warning);
  animation: pulse-icon 2s infinite;
}

.rejected-icon {
  background: rgba(231, 76, 60, 0.2);
  border: 2px solid rgba(231, 76, 60, 0.3);
  color: var(--error);
}

.blocked-icon {
  background: rgba(128, 128, 128, 0.2);
  border: 2px solid rgba(128, 128, 128, 0.3);
  color: #999;
}

.success-icon i,
.pending-icon i,
.rejected-icon i,
.blocked-icon i {
  font-size: 2rem;
}

/* Títulos de estado */
.status-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.status-approved .status-title {
  color: var(--success);
}

.status-pending .status-title {
  color: var(--warning);
}

.status-rejected .status-title {
  color: var(--error);
}

.status-blocked .status-title {
  color: #999;
}

.status-verification-failed .status-title {
  color: #9c27b0;
}

.status-none .status-title {
  color: var(--primary);
}

/* Descripción de estado */
.status-description {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Contenido de estado */
.status-body {
  padding: 1.5rem;
}


.detail-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  background: var(--primary-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.detail-group:hover {
  background: var(--secondary-dark);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 120, 255, 0.15);
}

.detail-group span:first-child {
  color: var(--text-secondary);
  font-size: 0.65rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-value {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.detail-group:hover .detail-value {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
}

/* Responsive: en móvil vuelve a columnas */
@media (max-width: 768px) {
  .whitelist-details {
    flex-direction: column;
  }
  
  .detail-group {
    min-width: unset;
  }
}

/* Información del usuario mejorada */
.user-info-section {
  margin-bottom: 2rem;
}

.user-info-card {
  background: var(--primary-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.user-info-header {
  background: var(--primary-bg-light);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.user-info-header h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.user-info-header i {
  color: var(--primary);
}

.user-info-content {
  padding: 1.5rem;
}

.user-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.user-info-item {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: var(--secondary-dark);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.user-info-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.user-info-value {
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Alertas de usuario */
.user-warnings {
  margin-top: 1rem;
}

.user-warning {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(243, 156, 18, 0.1);
  border: 1px solid rgba(243, 156, 18, 0.3);
  border-left: 4px solid var(--warning);
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.user-warning i {
  color: var(--warning);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.user-warning p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Botones modernos unificados */
.btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-modern::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.4s ease;
}

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

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 120, 255, 0.3);
  color: white;
}

.btn-success {
  background: linear-gradient(135deg, var(--success), #27ae60);
}

.btn-success:hover {
  box-shadow: 0 8px 20px rgba(46, 204, 113, 0.3);
  color: white;
}

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

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 120, 255, 0.3);
}

/* Grupos de botones */
.button-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

/* Información adicional organizada */
.info-section {
  background: var(--primary-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
}

/* Header mejorado */
.info-section h3 {
  background: linear-gradient(135deg, var(--primary-bg-light), rgba(0, 120, 255, 0.05));
  padding: 1.25rem 1.5rem;
  margin: 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.info-section h3 i {
  color: var(--primary);
  font-size: 1.2rem;
}

.info-section-header i {
  color: var(--primary);
}

.info-section-body {
  padding: 1.5rem;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-list li:last-child {
  border-bottom: none;
}

.info-list li::before {
  content: '•';
  color: var(--primary);
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Razón de rechazo mejorada */
.rejection-section {
  margin-bottom: 1.5rem;
}

.rejection-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--error);
}

.rejection-header i {
  color: var(--error);
}

.reason-box {
  background: rgba(231, 76, 60, 0.08);
  border: 1px solid rgba(231, 76, 60, 0.2);
  border-left: 4px solid var(--error);
  border-radius: 8px;
  padding: 1.5rem;
  color: var(--text-secondary);
  white-space: pre-line;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Contador de intentos y cooldown */
.attempts-info,
.cooldown-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
  font-weight: 500;
}

.attempts-counter {
  background: rgba(243, 156, 18, 0.1);
  border: 1px solid rgba(243, 156, 18, 0.3);
  color: var(--warning);
}

.cooldown-timer {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: var(--error);
}

.attempts-counter i,
.cooldown-timer i {
  font-size: 1.1rem;
}

/* Canal de Discord destacado */
.discord-info {
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  margin: 1rem 0;
}

.discord-channel {
  display: inline-block;
  background: rgba(88, 101, 242, 0.2);
  color: #5865F2;
  font-family: 'Courier New', monospace;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  margin: 0.5rem 0;
  border: 1px solid rgba(88, 101, 242, 0.3);
}

/* Formulario de whitelist mejorado */
.whitelist-form {
  background: var(--primary-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.form-header {
  background: var(--primary-bg-light);
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.form-header h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 1.2rem;
  color: var(--primary);
}

.form-body {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--secondary-dark);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 120, 255, 0.2);
  background-color: rgba(0, 120, 255, 0.05);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Alertas mejoradas */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border: 1px solid;
}

.alert i {
  font-size: 1.2rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.alert-content h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  font-weight: 600;
}

.alert-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.alert-success {
  background: rgba(46, 204, 113, 0.1);
  border-color: rgba(46, 204, 113, 0.3);
  color: var(--success);
}

.alert-warning {
  background: rgba(243, 156, 18, 0.1);
  border-color: rgba(243, 156, 18, 0.3);
  color: var(--warning);
}

.alert-error {
  background: rgba(231, 76, 60, 0.1);
  border-color: rgba(231, 76, 60, 0.3);
  color: var(--error);
}

.alert-info {
  background: rgba(52, 152, 219, 0.1);
  border-color: rgba(52, 152, 219, 0.3);
  color: var(--info);
}

/* Layout responsive */
@media (max-width: 768px) {
  .whitelist-container {
    padding: 0.5rem;
  }
  
  .status-header {
    padding: 1.25rem;
  }
  
  .status-body {
    padding: 1.25rem;
  }
  
  .form-body {
    padding: 1.5rem;
  }
  
  .success-icon,
  .pending-icon,
  .rejected-icon,
  .blocked-icon {
    width: 56px;
    height: 56px;
  }
  
  .success-icon i,
  .pending-icon i,
  .rejected-icon i,
  .blocked-icon i {
    font-size: 1.5rem;
  }
  
  .status-title {
    font-size: 1.3rem;
  }
  
  
  .button-group {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-modern {
    width: 100%;
    max-width: 280px;
  }
}

/* Animaciones */
@keyframes pulse-icon {
  0%, 100% { 
    transform: scale(1); 
    opacity: 1; 
  }
  50% { 
    transform: scale(1.05); 
    opacity: 0.8; 
  }
}

/* Estado específico para primera solicitud */
.status-none .info-section {
  background: var(--primary-bg-light);
  border: 1px solid var(--border-color);
}

/* Formulario visible por defecto para nuevos usuarios */
.status-none .whitelist-form {
  display: block;
}

/* Formulario oculto para usuarios rechazados (se muestra con JS) */
.status-rejected #whitelist-form-container {
  background: var(--primary-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 1.5rem;
  display: none;
}

.status-rejected #whitelist-form-container .form-header {
  background: var(--primary-bg-light);
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.status-rejected #whitelist-form-container .form-header h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 1.1rem;
  color: var(--primary);
}

/* Mejora visual para el proceso de whitelist */
.whitelist-process {
  background: var(--primary-bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.process-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.process-header i {
  font-size: 1.2rem;
}

.process-header h4 {
  margin: 0;
  font-size: 1.1rem;
}

.process-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Ajustes finales para mantener consistencia */
.status-approved .success-state,
.status-pending .pending-state,
.status-rejected .rejected-state,
.status-blocked .blocked-state,
.status-verification-failed .rejected-state {
  text-align: center;
}

.success-state h3,
.pending-state h3,
.rejected-state h3,
.blocked-state h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.success-state p,
.pending-state p,
.rejected-state p,
.blocked-state p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Override para elementos con estilos conflictivos */
.dashboard-content .status-approved,
.dashboard-content .status-pending,
.dashboard-content .status-rejected,
.dashboard-content .status-blocked,
.dashboard-content .status-verification-failed,
.dashboard-content .status-none {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Scrollbar para elementos largos */
.form-body::-webkit-scrollbar,
.status-body::-webkit-scrollbar {
  width: 6px;
}

.form-body::-webkit-scrollbar-track,
.status-body::-webkit-scrollbar-track {
  background: var(--secondary-dark);
  border-radius: 3px;
}

.form-body::-webkit-scrollbar-thumb,
.status-body::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.form-body::-webkit-scrollbar-thumb:hover,
.status-body::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* Botones modernos para whitelist */
.btn-modern {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem;
  box-shadow: 0 8px 25px rgba(0, 120, 255, 0.3);
  z-index: 2;
}

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

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

.btn-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 120, 255, 0.4);
  color: white;
}

.btn-success {
  background: linear-gradient(135deg, var(--success), #27ae60);
  box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
}

.btn-success:hover {
  box-shadow: 0 12px 35px rgba(46, 204, 113, 0.4);
  color: white;
}

/* Actualizar button-group */
.button-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* Panel de información moderno */
.info-section {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1.5rem auto;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.info-section h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--primary-light);
}

.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.info-list li:last-child {
  border-bottom: none;
}



/* Motivo de rechazo mejorado */
.rejection-reason {
  max-width: 600px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 2;
}

.rejection-reason h4 {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--error);
}

.rejection-reason h4 i {
  margin-right: 0.5rem;
  color: var(--error);
}

.reason-box {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-left: 4px solid var(--error);
  border-radius: 8px;
  padding: 1.5rem;
  color: var(--text-secondary);
  white-space: pre-line;
  line-height: 1.6;
}

/* Contador de intentos moderno */
.attempt-info,
.attempts-counter {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.2), rgba(231, 76, 60, 0.1));
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  margin: 1rem auto;
  color: var(--error);
  font-weight: 600;
  max-width: 400px;
  position: relative;
  z-index: 2;
}

/* Timer de cooldown */
.cooldown-timer,
.suspended-info {
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.2), rgba(243, 156, 18, 0.1));
  border: 1px solid rgba(243, 156, 18, 0.3);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  margin: 1rem auto;
  color: var(--warning);
  font-weight: 600;
  max-width: 400px;
  position: relative;
  z-index: 2;
}

/* Formulario de whitelist moderno */
.whitelist-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.whitelist-form .form-group input,
.whitelist-form .form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.whitelist-form .form-group input:focus,
.whitelist-form .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 120, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

/* Canal de Discord destacado */
.discord-channel {
  background: rgba(88, 101, 242, 0.2);
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: 8px;
  padding: 0.75rem;
  margin: 0.5rem 0;
  text-align: center;
}

.discord-channel span {
  font-family: 'Courier New', monospace;
  font-weight: 600;
  color: #5865F2;
}

/* Animaciones */
@keyframes shimmer {
  0% { 
    background-position: -200% 0; 
  }
  100% { 
    background-position: 200% 0; 
  }
}

@keyframes pulse {
  0%, 100% { 
    opacity: 1; 
  }
  50% { 
    opacity: 0.5; 
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { 
    transform: translateY(0); 
  }
  40% { 
    transform: translateY(-10px); 
  }
  60% { 
    transform: translateY(-5px); 
  }
}

/* Responsive para whitelist */
@media (max-width: 768px) {
  .status-approved,
  .status-pending,
  .status-rejected,
  .status-blocked,
  .status-verification-failed {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  
  .success-state h3,
  .pending-state h3,
  .rejected-state h3,
  .blocked-state h3 {
    font-size: 1.5rem;
  }
  
  .success-icon,
  .pending-icon,
  .rejected-icon,
  .blocked-icon {
    width: 60px;
    height: 60px;
  }
  
  .success-icon i,
  .pending-icon i,
  .rejected-icon i,
  .blocked-icon i {
    font-size: 2rem;
  }
  
  
  .button-group {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-modern {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    margin: 0.25rem 0;
  }
  
  .whitelist-form {
    padding: 1.5rem;
  }
}

/* Sobrescribir estilos existentes para mantener consistencia */
.dashboard-card.whitelist-modern {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* Estado para primera vez (sin whitelist) */
.status-none {
  background: linear-gradient(135deg, 
    rgba(0, 120, 255, 0.15) 0%, 
    rgba(11, 26, 51, 0.9) 50%, 
    rgba(0, 120, 255, 0.1) 100%);
  border: 2px solid rgba(0, 120, 255, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
  box-shadow: 0 20px 40px rgba(0, 120, 255, 0.1);
}

.status-none::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--primary), 
    rgba(0, 120, 255, 0.5), 
    var(--primary));
  animation: shimmer 3s infinite;
}





/* =============================================================================
   FLAPPY BOT - DISEÑO MINIMALISTA
   ============================================================================= */

.flappy-container {
  max-width: 1650px !important;
  padding: 1.5rem;
}

/* JUEGO PRINCIPAL */
.flappy-main-game {
  margin-bottom: 2rem;
  position: relative;
}

.btn-fullscreen {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 100;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 120, 255, 0.9);
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 120, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-fullscreen:hover {
  background: rgba(0, 120, 255, 1);
  transform: scale(1.1);
}

.flappy-main-game:fullscreen {
  background: #0a0e1a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.flappy-main-game:fullscreen .flappy-game-box {
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
}

.flappy-main-game:fullscreen .btn-fullscreen {
  position: fixed;
  top: 20px;
  right: 20px;
}

.flappy-game-box {
  position: relative;
  width: 100%;
  max-width: 1600px;
  height: 1000px;
  margin: 0 auto;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#gameCanvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* Pantallas del juego */
.game-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 26, 51, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  z-index: 10;
}

.game-screen-content {
  text-align: center;
  padding: 3rem;
  max-width: 600px;
}

.game-icon {
  font-size: 8rem;
  color: var(--primary);
  margin-bottom: 2rem;
  animation: float 3s ease-in-out infinite;
}

.game-icon.game-over {
  color: var(--error);
  animation: shake 0.5s ease-in-out;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

.game-screen-content h2 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.game-screen-content p {
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-size: 1.5rem;
}

.btn-start {
  font-size: 1.5rem;
  padding: 1.5rem 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 15px rgba(0, 120, 255, 0.4);
  transition: all 0.3s ease;
}

.btn-start:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 120, 255, 0.6);
}

.game-instructions {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  text-align: left;
}

.game-instructions h4 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.game-instructions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.game-instructions li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  color: var(--text-secondary);
  font-size: 1.2rem;
}

.game-instructions li i {
  color: var(--primary);
  width: 30px;
  font-size: 1.3rem;
}

.score-display {
  background: rgba(255, 255, 255, 0.05);
  border: 3px solid rgba(0, 120, 255, 0.3);
  border-radius: 16px;
  padding: 3rem;
  margin: 2rem 0;
}

.score-display p {
  font-size: 1.3rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.score-display h1 {
  font-size: 7rem;
  color: var(--primary);
  margin: 0;
  font-weight: 700;
}

.new-record {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  animation: pulse 1s infinite;
}

.new-record i {
  font-size: 1.5rem;
}

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

/* =============================================================================
   FLAPPY BOT - ESTILOS COMPLETOS
   ============================================================================= */

/* Contenedor Principal */
.flappy-container {
  padding: 2rem;
  max-width: 1800px;
  margin: 0 auto;
}

/* Juego Principal */
.flappy-main-game {
  position: relative;
  margin-bottom: 2rem;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-fullscreen {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.btn-fullscreen:hover {
  background: rgba(0, 120, 255, 0.8);
  border-color: var(--primary);
  transform: scale(1.1);
}

.flappy-game-box {
  position: relative;
  width: 100%;
  max-width: 1600px;
  height: 1000px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border: 3px solid var(--border-color);
}

@media (max-width: 1200px) {
  .flappy-game-box {
    height: auto;
    aspect-ratio: 16 / 10;
    min-height: 500px;
  }
}

#gameCanvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  touch-action: none; /* Mejora la experiencia táctil en móviles */
  -webkit-tap-highlight-color: transparent; /* Elimina el highlight azul en iOS */
}

/* Pantallas de juego */
.game-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.game-screen-content {
  text-align: center;
  padding: 3rem;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 20px;
  border: 2px solid var(--primary);
  max-width: 600px;
  width: 90%;
}

.game-icon {
  font-size: 6rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  animation: float 3s ease-in-out infinite;
}

.game-icon-img {
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(0, 120, 255, 0.5));
}

.game-icon.game-over {
  color: #e74c3c;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.game-screen-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 0 20px rgba(0, 120, 255, 0.5);
}

.game-screen-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.btn-start {
  padding: 1rem 3rem;
  font-size: 1.3rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 120, 255, 0.4);
}

.btn-start:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 120, 255, 0.6);
}

.btn-start i {
  margin-right: 0.5rem;
}

/* Instrucciones del juego */
.game-instructions {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: left;
}

.game-instructions h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.game-instructions ul {
  list-style: none;
  padding: 0;
}

.game-instructions li {
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.game-instructions li i {
  color: var(--primary);
  width: 24px;
}

/* Pantalla de Game Over */
.score-display {
  margin: 2rem 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 2px solid var(--primary);
}

.score-display p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.score-display h1 {
  font-size: 5rem;
  margin: 0;
  color: var(--primary);
  text-shadow: 0 0 30px rgba(0, 120, 255, 0.8);
}

.new-record {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  animation: pulse 2s ease-in-out infinite;
}

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

.new-record i {
  margin-right: 0.5rem;
}

/* =============================================================================
   ESTADÍSTICAS Y LEADERBOARD MINIMALISTA
   ============================================================================= */

.flappy-bottom-minimal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

/* Estadísticas Minimalistas */
.stats-minimal {
  background: var(--primary-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
}

.stats-minimal h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.5rem 0;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.stats-minimal h3 i {
  color: var(--primary);
}

.stats-grid-minimal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-minimal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--primary-bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.stat-minimal:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.stat-minimal i {
  font-size: 1.5rem;
  color: var(--primary);
}

.stat-minimal div {
  display: flex;
  flex-direction: column;
}

.stat-minimal .stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stat-minimal .stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Leaderboard Minimalista */
.leaderboard-minimal {
  background: var(--primary-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
}

.leaderboard-header-minimal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.leaderboard-header-minimal h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.leaderboard-header-minimal h3 i {
  color: #FFD700;
}

.btn-refresh-minimal {
  width: 35px;
  height: 35px;
  border-radius: 6px;
  background: var(--primary-bg-light);
  border: 1px solid var(--border-color);
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-refresh-minimal:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-refresh-minimal i.fa-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Lista de Leaderboard */
.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--primary-bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.leaderboard-item:hover {
  border-color: var(--primary);
  transform: translateX(5px);
}

.leaderboard-item.current-user {
  background: rgba(0, 120, 255, 0.1);
  border-color: var(--primary);
}

.leaderboard-rank {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 6px;
  flex-shrink: 0;
  background: var(--secondary-dark);
  color: var(--text-secondary);
}

.leaderboard-rank.rank-1 {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #000;
  font-size: 1.3rem;
}

.leaderboard-rank.rank-2 {
  background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
  color: #000;
  font-size: 1.2rem;
}

.leaderboard-rank.rank-3 {
  background: linear-gradient(135deg, #CD7F32, #B8860B);
  color: #000;
  font-size: 1.1rem;
}

.leaderboard-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  flex-shrink: 0;
}

.leaderboard-item.current-user .leaderboard-avatar {
  border-color: var(--primary);
}

.leaderboard-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.leaderboard-name {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.95rem;
}

.leaderboard-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.leaderboard-score {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.leaderboard-score i {
  font-size: 0.9rem;
}

/* Scrollbar */
.leaderboard-list::-webkit-scrollbar {
  width: 6px;
}

.leaderboard-list::-webkit-scrollbar-track {
  background: var(--secondary-dark);
  border-radius: 3px;
}

.leaderboard-list::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.leaderboard-list::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.empty-state p {
  color: var(--text-secondary);
  margin: 0.25rem 0;
}

/* Responsive */
@media (max-width: 1700px) {
  .flappy-game-box {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 1400px) {
  .flappy-bottom-minimal {
    grid-template-columns: 1fr;
  }
  
  .stats-grid-minimal {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .flappy-container {
    padding: 0.5rem;
  }

  .flappy-game-box {
    border-radius: 8px;
    border-width: 2px;
    min-height: 400px;
  }

  .btn-fullscreen {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
    top: 10px;
    right: 10px;
  }

  .stats-grid-minimal {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .stat-minimal {
    padding: 0.75rem;
    gap: 0.5rem;
  }

  .stat-minimal i {
    font-size: 1.2rem;
  }

  .stat-minimal .stat-value {
    font-size: 1.4rem;
  }

  .stat-minimal .stat-label {
    font-size: 0.7rem;
  }

  .game-screen-content {
    padding: 1.5rem;
    max-width: 90%;
  }

  .game-icon {
    font-size: 4rem;
  }

  .game-icon-img {
    width: 80px;
    height: 80px;
  }

  .game-screen-content h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .game-screen-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .btn-start {
    font-size: 1.1rem;
    padding: 1rem 2rem;
  }

  .game-instructions {
    padding: 1.5rem;
  }

  .game-instructions h4 {
    font-size: 1.1rem;
  }

  .game-instructions li {
    font-size: 0.9rem;
  }

  .score-display {
    padding: 1.5rem;
  }

  .score-display h1 {
    font-size: 3.5rem;
  }

  .new-record {
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
  }

  .leaderboard-list {
    max-height: 350px;
  }

  .flappy-bottom-minimal {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .flappy-container {
    padding: 0.25rem;
  }

  .flappy-game-box {
    border-radius: 6px;
    min-height: 350px;
  }

  .btn-fullscreen {
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
    top: 8px;
    right: 8px;
  }

  .stats-grid-minimal {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .stat-minimal {
    padding: 0.6rem;
  }

  .stat-minimal .stat-value {
    font-size: 1.3rem;
  }

  .game-screen-content {
    padding: 1rem;
  }

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

  .game-icon-img {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }

  .game-screen-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .game-screen-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .btn-start {
    font-size: 1rem;
    padding: 0.9rem 1.75rem;
    margin-bottom: 1.5rem;
  }

  .game-instructions {
    padding: 1rem;
    margin-top: 1rem;
  }

  .game-instructions h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .game-instructions li {
    font-size: 0.85rem;
    padding: 0.5rem 0;
  }

  .score-display {
    padding: 1rem;
    margin: 1rem 0;
  }

  .score-display p {
    font-size: 0.85rem;
  }

  .score-display h1 {
    font-size: 2.5rem;
  }

  .new-record {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
    margin-bottom: 1rem;
  }

  .leaderboard-item {
    padding: 0.5rem;
    gap: 0.5rem;
  }

  .leaderboard-avatar {
    width: 35px;
    height: 35px;
  }

  .leaderboard-rank {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .leaderboard-name {
    font-size: 0.85rem;
  }

  .leaderboard-score {
    font-size: 1rem;
  }

  .leaderboard-list {
    max-height: 300px;
  }

  .stats-minimal,
  .leaderboard-minimal {
    padding: 1rem;
  }

  .stats-minimal h3,
  .leaderboard-header-minimal h3 {
    font-size: 1rem;
  }
}

/* Pantallas ultra pequeñas (menos de 360px) */
@media (max-width: 360px) {
  .flappy-game-box {
    min-height: 300px;
  }

  .game-screen-content h2 {
    font-size: 1.3rem;
  }

  .game-icon-img {
    width: 50px;
    height: 50px;
  }

  .game-screen-content p {
    font-size: 0.85rem;
  }

  .btn-start {
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
  }

  .score-display h1 {
    font-size: 2rem;
  }

  .game-instructions {
    padding: 0.75rem;
  }

  .game-instructions li {
    font-size: 0.8rem;
  }
}