.profile-container {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  color: #ffffff;
  background: #181a20;
  min-height: 100vh;
  width: 100%;
}

body {
  background: #181a20;
}

.profile-header {
  text-align: center;
  margin-bottom: 3rem;
  border-bottom: 2px solid #007bff;
  padding-bottom: 2rem;
}

.profile-username {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.profile-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

/* Estadísticas */
.profile-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-card {
  background: #2a2d35;
  border: 1px solid #007bff;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: #323644;
  border-color: #0056b3;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 0.95rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Records */
.profile-records {
  display: flex;
  flex-direction: column;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.profile-records::-webkit-scrollbar {
  width: 8px;
}

.profile-records::-webkit-scrollbar-track {
  background: #2a2d35;
  border-radius: 4px;
}

.profile-records::-webkit-scrollbar-thumb {
  background: #007bff;
  border-radius: 4px;
}

.profile-records::-webkit-scrollbar-thumb:hover {
  background: #0056b3;
}

.records-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  color: #ffffff;
  position: sticky;
  top: 0;
  background: #181a20;
  padding-bottom: 1rem;
  z-index: 10;
}

.records-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.record-card {
  background: #2a2d35;
  border: 1px solid #007bff;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.record-card:hover {
  background: #323644;
  border-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.record-card.is-first-victor {
  border-color: #ffc107;
  background: #2a2d35;
}

.record-card.is-first-victor:hover {
  background: #323644;
  border-color: #ffb700;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

/* Estilos para records co-op */
.record-card.is-coop {
  border-left: 4px solid #17a2b8;
}

.coop-indicator {
  color: #17a2b8;
  font-size: 0.8em;
  font-weight: 500;
  margin-left: 8px;
}

.record-level {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
  word-break: break-word;
}

.record-percent {
  font-size: 1.5rem;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 0.5rem;
}

.record-type {
  font-size: 0.8rem;
  color: #ffc107;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.5rem;
}

.no-records {
  text-align: center;
  color: #aaa;
  font-style: italic;
  padding: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .records-list {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
  }

  .profile-username {
    font-size: 1.8rem;
  }
}
