/* Vista de Listado de Empresas */
#view-list {
  padding: 60px 0;
}

.company-card-item {
  background: var(--gr-card-bg);
  border: 1px solid var(--gr-border);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
}

.company-card-item:hover {
  background: white;
  transform: translateY(-5px);
}

.company-card-item:hover * {
  color: black !important;
}

.company-item-logo {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  margin: 0 auto 20px;
  transition: 0.3s;
}

.company-card-item:hover .company-item-logo {
  background: black;
  color: white !important;
}

/* Vista de Perfil (Oculta por defecto) */
#view-profile {
  display: none;
}

.company-header {
  padding: 80px 0 40px;
  background: linear-gradient(180deg, #111 0%, var(--gr-black) 100%);
  border-bottom: 1px solid var(--gr-border);
}

.company-logo-big {
  width: 120px;
  height: 120px;
  background: white;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 900;
  color: black;
  margin-bottom: 20px;
}

.stats-badge {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 15px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--gr-border);
}

/* Navegación de pestañas */
.nav-tabs-gr {
  border: none;
  gap: 30px;
  margin-top: 40px;
}

.nav-link-gr {
  color: var(--gr-muted);
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding-bottom: 10px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  background: none;
  border: none;
}

.nav-link-gr:hover,
.nav-link-gr.active {
  color: white;
  border-bottom-color: white;
}

/* Contenido de pestañas */
.tab-content-section {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tarjetas de Juegos y Noticias */
.game-card {
  background: var(--gr-card-bg);
  border: 1px solid var(--gr-border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.game-card:hover {
  border-color: #555;
  transform: scale(1.02);
}

.game-img-top {
  width: 100%;
  aspect-ratio: 3/4;
  background: #222;
}

.news-mini-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--gr-card-bg);
  border: 1px solid var(--gr-border);
  border-radius: 16px;
  margin-bottom: 15px;
}

/* Botón de regresar */
.btn-back {
  cursor: pointer;
  transition: 0.2s;
}
.search-container {
  max-width: 600px;
  margin: 0 auto 50px;
  position: relative;
}
.search-input-wrapper {
  position: relative;
}

.search-input-wrapper i {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gr-muted);
  font-size: 1.2rem;
}
.gr-search-input {
  background: var(--gr-card-bg);
  border: 1px solid var(--gr-border);
  border-radius: 100px;
  padding: 15px 25px 15px 55px;
  color: white;
  width: 100%;
  transition: all 0.3s;
}

.gr-search-input:focus {
  outline: none;
  border-color: white;
  background: #1a1a1a;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.btn-back:hover {
  opacity: 0.7;
}
