/* ===================================================
   FELEROUS STORE - STEAM BIG PICTURE / KONSOL MODU (STEAM DECK UI)
   (Oyun Kumandası & Geniş Ekran TV Arayüzü)
   =================================================== */

:root {
  --bp-bg: #0b0f19;
  --bp-card-bg: #161f30;
  --bp-focus-glow: 0 0 25px rgba(56, 189, 248, 0.65), 0 0 50px rgba(2, 132, 199, 0.35);
  --bp-accent-blue: #0284c7;
  --bp-accent-cyan: #38bdf8;
  --bp-accent-green: #00e676;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
}

body.bp-mode-body {
  background: var(--bp-bg);
  color: #ffffff;
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

/* Arka Plan Atmosferik Işık Efekti */
.bp-ambient-glow {
  position: absolute;
  top: -20%;
  left: 30%;
  width: 50vw;
  height: 50vh;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.22) 0%, rgba(11, 15, 25, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  transition: all 0.5s ease;
}

/* ===================================================
   1. ÜST STEAM DECK / KONSOL BAŞLIK ÇUBUĞU
   =================================================== */
.bp-top-bar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px 10px;
}

.bp-nav-tabs {
  display: flex;
  align-items: center;
  gap: 32px;
}

.bp-nav-tab {
  font-size: 1.25rem;
  font-weight: 800;
  color: #64748b;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.bp-nav-tab:hover, .bp-nav-tab.focused {
  color: #ffffff;
  transform: scale(1.05);
}

.bp-nav-tab.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.bp-status-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.bp-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bp-btn-power {
  background: #dc2626;
  color: #ffffff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
  transition: transform 0.2s, background 0.2s;
}

.bp-btn-power:hover, .bp-btn-power.focused {
  transform: scale(1.15);
  background: #ef4444;
}

/* ===================================================
   2. ORTA VİTRİN - SON OYNANANLAR & OYUN KARTLARI
   =================================================== */
.bp-main-stage {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 48px;
  overflow: hidden;
}

.bp-hero-game-info {
  margin-bottom: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  animation: fadeIn 0.3s ease;
}

.bp-hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
  margin-bottom: 6px;
  color: #fff;
}

.bp-hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1.05rem;
  color: #94a3b8;
  font-weight: 700;
}

.bp-hero-actions {
  display: flex;
  gap: 16px;
}

.bp-btn-play-primary {
  background: linear-gradient(135deg, #00e676, #059669);
  color: #0b0f19;
  border: none;
  font-size: 1.25rem;
  font-weight: 900;
  padding: 14px 38px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 20px rgba(0, 230, 118, 0.4);
  transition: transform 0.2s, filter 0.2s;
}

.bp-btn-play-primary:hover, .bp-btn-play-primary.focused {
  transform: scale(1.08);
  filter: brightness(1.15);
  box-shadow: 0 0 30px rgba(0, 230, 118, 0.7);
}

.bp-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, background 0.2s;
}

.bp-btn-secondary:hover, .bp-btn-secondary.focused {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.2);
}

/* Yatay Oyun Kartları Karuseli */
.bp-cards-carousel-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px 0 30px;
  scrollbar-width: none;
}

.bp-cards-carousel-wrap::-webkit-scrollbar {
  display: none;
}

.bp-cards-track {
  display: flex;
  gap: 24px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bp-game-card {
  width: 220px;
  aspect-ratio: 2 / 3;
  background: var(--bp-card-bg);
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.08);
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s, box-shadow 0.25s;
}

.bp-game-card:hover, .bp-game-card.focused {
  transform: translateY(-12px) scale(1.08);
  border-color: #38bdf8;
  box-shadow: var(--bp-focus-glow);
  z-index: 20;
}

.bp-game-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-game-card-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #fff;
}

.bp-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.bp-card-playtime {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #cbd5e1;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===================================================
   3. ALT KONSOL TUŞ BİLGİSİ (GAMEPAD CONTROLLER LEGEND)
   =================================================== */
.bp-bottom-legend-bar {
  position: relative;
  z-index: 10;
  background: rgba(11, 15, 25, 0.9);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bp-legend-group {
  display: flex;
  align-items: center;
  gap: 28px;
}

.bp-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #94a3b8;
  font-weight: 700;
}

.bp-pad-btn-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.bp-pad-btn-badge.btn-a {
  background: #15803d;
  color: #ffffff;
}

.bp-pad-btn-badge.btn-b {
  background: #dc2626;
  color: #ffffff;
}

.bp-pad-btn-badge.btn-x {
  background: #0284c7;
  color: #ffffff;
}

.bp-pad-btn-badge.btn-y {
  background: #ca8a04;
  color: #ffffff;
}
