/* ==========================================================================
   2-COLUMN MAIN CONTENT & GAMES GRID STYLESHEET
   70% Upcoming Games Grid | 30% News & Devlogs Sidebar
   ========================================================================== */

.main-content-layout {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2rem;
}

/* ==========================================================================
   COLUMNA IZQUIERDA (70%): PRÓXIMOS JUEGOS EN DESARROLLO
   ========================================================================== */
.upcoming-games-column {
  min-width: 0;
}

.upcoming-header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.35rem 0.9rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

/* Grilla de Tarjetas */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  margin-top: 1.5rem;
}

/* Tarjeta de Juego */
.game-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-card);
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-purple), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(6, 182, 212, 0.25);
}

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

/* Miniatura Preview */
.card-media {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #090d16;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.game-card:hover .card-img {
  transform: scale(1.08);
}

.card-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 41, 59, 0.95) 0%, rgba(30, 41, 59, 0.2) 60%, transparent 100%);
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.badge-alpha {
  background: rgba(236, 72, 153, 0.2);
  border: 1px solid var(--neon-pink);
  color: #f472b6;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.3);
}

.badge-prod {
  background: rgba(6, 182, 212, 0.2);
  border: 1px solid var(--neon-cyan);
  color: #67e8f9;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.badge-concept {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid var(--neon-yellow);
  color: #fbbf24;
}

.card-progress-pill {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.25rem 0.65rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: #cbd5e1;
}

/* Cuerpo de la Tarjeta */
.card-content {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-genre {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 0.4rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  transition: color var(--transition-fast);
}

.game-card:hover .card-title {
  color: var(--neon-cyan);
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.4rem;
  flex: 1;
}

/* Barra de Progreso de Desarrollo */
.card-dev-progress {
  margin-bottom: 1.2rem;
}

.dev-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.dev-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(15, 23, 42, 0.8);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dev-progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
  box-shadow: 0 0 8px var(--neon-cyan);
}

/* Pie de Tarjeta / Botón */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-card-action {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all var(--transition-fast);
}

.btn-card-action svg {
  width: 18px;
  height: 18px;
  color: var(--neon-cyan);
  transition: transform var(--transition-fast);
}

.btn-card-action:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(6, 182, 212, 0.25));
  border-color: var(--neon-cyan);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.35);
}

.btn-card-action:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   COLUMNA DERECHA (30%): NOTICIAS Y NOVEDADES (SIDEBAR)
   ========================================================================== */
.sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-panel {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 1.6rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.sidebar-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
  box-shadow: 0 0 10px var(--neon-cyan);
}

.sidebar-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-panel-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-panel-title svg {
  color: var(--neon-purple);
}

/* Lista de Noticias y Devlogs */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.news-item {
  padding-bottom: 1.3rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  transition: transform var(--transition-fast);
}

.news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-item:hover {
  transform: translateX(4px);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.news-date {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.news-tag {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tag-patch {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tag-release {
  background: rgba(6, 182, 212, 0.15);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.tag-devlog {
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.news-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 0.35rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.news-title:hover {
  color: var(--neon-cyan);
}

.news-snippet {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Tarjeta Perfil de Desarrollador "Angel" */
.dev-profile-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.15);
}

.dev-avatar-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dev-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  padding: 2px;
  box-shadow: 0 0 15px var(--neon-purple-glow);
}

.dev-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--neon-cyan);
}

.dev-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.dev-role {
  font-size: 0.8rem;
  color: var(--neon-purple);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dev-bio-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.2rem;
}

.dev-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  text-align: center;
  background: rgba(15, 23, 42, 0.6);
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.dev-stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--neon-cyan);
}

.dev-stat-item span {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Newsletter / Suscripción Beta */
.newsletter-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem;
}

.newsletter-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.newsletter-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.45;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.newsletter-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.newsletter-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.35);
}

.newsletter-btn {
  padding: 0.65rem;
  font-size: 0.9rem;
}

/* Responsividad de 2 Columnas */
@media (max-width: 1024px) {
  .main-content-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  .games-grid {
    grid-template-columns: 1fr;
  }
}
