/* ===================================================
   FELEROUS STORE - SUBUSHAKI STEAM TOPLULUK PROFİLİ
   Midnight / Space Theme (Steam UI Replica)
   =================================================== */

.pub-profile-wrapper {
  background: #0e141d;
  background: linear-gradient(to bottom, #171a21 0%, #0e141d 100%);
  min-height: calc(100vh - 65px);
  position: relative;
  overflow-x: hidden;
  padding-bottom: 80px;
  font-family: var(--font-body);
}

.pub-profile-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 620px;
  background-size: cover;
  background-position: center;
  filter: brightness(0.28) blur(3px);
  z-index: 1;
}

.pub-backdrop-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 26, 33, 0.2) 0%, rgba(14, 20, 29, 0.95) 80%, #0e141d 100%);
}

.pub-profile-container {
  position: relative;
  z-index: 2;
  padding-top: 36px;
}

/* Profil Üst Başlığı (Steam Header) */
.pub-header-card {
  background: rgba(22, 29, 43, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7);
  flex-wrap: wrap;
}

.pub-header-left {
  display: flex;
  align-items: center;
  gap: 22px;
}

/* Neon Çerçeveli Avatar */
.pub-avatar-frame {
  position: relative;
  width: 114px;
  height: 114px;
  border-radius: 6px;
  border: 2px solid #8b5cf6;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.6), inset 0 0 10px rgba(139, 92, 246, 0.4);
  overflow: hidden;
  background: #080b11;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pub-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pub-user-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pub-persona-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.pub-name-arrow {
  font-size: 0.8rem;
  color: #8f98a0;
}

.pub-real-name {
  font-size: 0.88rem;
  color: #8f98a0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.pub-real-name strong {
  color: #c6d4df;
}

.pub-custom-summary {
  font-size: 0.92rem;
  color: #ebebeb;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-style: italic;
}

/* Seviye & Rozet Alanı */
.pub-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pub-level-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 19, 29, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 8px 14px;
}

.pub-level-title {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 700;
}

.pub-level-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #8b5cf6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
}

.pub-fav-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 19, 29, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 6px 12px;
  text-decoration: none;
}

.pub-badge-icon {
  font-size: 1.5rem;
}

.pub-badge-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.pub-badge-xp {
  font-size: 0.72rem;
  color: #38bdf8;
}

/* İki Sütunlu Steam Grid */
.pub-content-grid {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 20px;
}

.pub-main-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Vitrin Kartları (Steam Showcase Blocks) */
.showcase-block {
  background: rgba(22, 29, 43, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.showcase-header {
  padding: 12px 18px;
  background: rgba(14, 19, 29, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.showcase-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.showcase-stat-item {
  text-align: left;
}

.showcase-stat-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.showcase-stat-label {
  font-size: 0.75rem;
  color: #8f98a0;
  margin-top: 4px;
}

.showcase-subheading {
  padding: 10px 18px 4px;
  font-size: 0.8rem;
  color: #8f98a0;
  font-weight: 700;
}

.showcase-game-capsules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px 18px 18px;
}

.showcase-capsule-card {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 184 / 69;
  background: #111722;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, border-color 0.2s;
}

.showcase-capsule-card:hover {
  transform: scale(1.03);
  border-color: #38bdf8;
}

.showcase-capsule-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-capsule-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  padding: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Envanter Vitrini Izgarası */
.showcase-inventory-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  padding: 16px 18px;
}

.inventory-skin-slot {
  aspect-ratio: 1 / 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid #8847ff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.inventory-skin-slot:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 12px rgba(136, 71, 255, 0.6);
}

.inventory-skin-slot img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.inventory-total-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  text-align: center;
}

/* Son Etkinlikler Kartı */
.recent-activity-item {
  padding: 16px 18px;
  display: flex;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.recent-activity-item:last-child {
  border-bottom: none;
}

.recent-thumb {
  width: 140px;
  height: 65px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
}

.recent-details {
  flex: 1;
}

.recent-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.recent-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.recent-time-meta {
  font-size: 0.75rem;
  color: #8f98a0;
  margin-bottom: 8px;
}

.recent-achieve-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.recent-progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.recent-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #00e676);
}

.recent-achieve-icons {
  display: flex;
  gap: 4px;
}

.recent-mini-badge {
  width: 24px;
  height: 24px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* Yorumlar Bölümü */
.profile-comments-box {
  padding: 16px 18px;
}

.comment-input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.comment-input-field {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 8px 12px;
  color: #fff;
  font-size: 0.85rem;
  outline: none;
}

.comment-input-field:focus {
  border-color: #38bdf8;
}

.comment-list-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-list-item:last-child {
  border-bottom: none;
}

.comment-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
  color: #fff;
  flex-shrink: 0;
}

.comment-content-col {
  flex: 1;
}

.comment-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.comment-author-name {
  font-weight: 700;
  color: #ebebeb;
  font-size: 0.88rem;
}

.comment-date-text {
  font-size: 0.72rem;
  color: #8f98a0;
}

.comment-body-text {
  font-size: 0.85rem;
  color: #c6d4df;
  line-height: 1.4;
}

/* Sağ Kenar Kolonu (Steam Right Sidebar) */
.pub-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-status-card {
  padding: 14px 16px;
  background: rgba(22, 29, 43, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.sidebar-status-title {
  font-size: 0.85rem;
  color: #8f98a0;
}

.sidebar-status-title.online {
  color: #00e676;
}

.sidebar-award-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.sidebar-award-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 10px;
  border-radius: 4px;
}

.sidebar-badges-grid {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.sidebar-badge-item {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.sidebar-badge-item:hover {
  transform: scale(1.1);
  border-color: #38bdf8;
}

.sidebar-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  color: #8f98a0;
  font-size: 0.85rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.sidebar-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.sidebar-nav-count {
  color: #c6d4df;
  font-weight: 700;
}

.sidebar-group-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.sidebar-group-avatar {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: #e11d48;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
  color: #fff;
}

.sidebar-friends-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.sidebar-friend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  text-decoration: none;
}

.sidebar-friend-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-friend-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-friend-avatar {
  width: 28px;
  height: 28px;
  border-radius: 3px;
  background: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  color: #fff;
}

.sidebar-friend-lvl {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #8b5cf6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: #fff;
  font-weight: 700;
}

@media (max-width: 900px) {
  .pub-content-grid {
    grid-template-columns: 1fr;
  }
}
