/* FSS profil.css - Page user moderne style Letterboxd/IMDb */

.fss-profile {
  max-width: 1280px;
  margin: 0 auto 40px;
  color: #eee;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ===== HERO HEADER ===== */
.fss-profile-hero {
  position: relative;
  min-height: 280px;
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  margin-bottom: 24px;
}
.fss-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(28px) saturate(1.2);
  transform: scale(1.15);
  opacity: 0.4;
}
.fss-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,140,0,0.15), transparent 60%),
    linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.95) 100%);
}
.fss-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 36px 32px;
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .fss-hero-content { padding: 24px 16px; gap: 16px; flex-direction: column; align-items: flex-start; text-align: left; }
}

/* Avatar */
.fss-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.fss-avatar {
  width: 130px; height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #ff8c00;
  box-shadow: 0 8px 30px rgba(255,140,0,0.4), 0 0 0 8px rgba(255,140,0,0.1);
  background: #1a1a1a;
}
.fss-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fss-status-dot {
  position: absolute;
  bottom: 6px; right: 6px;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 3px solid #0a0a0a;
}
.fss-status-online  { background: #4caf50; box-shadow: 0 0 12px rgba(76,175,80,0.7); }
.fss-status-offline { background: #555; }

/* User meta */
.fss-user-meta { flex: 1; min-width: 240px; }
.fss-user-badges {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px;
}
.fss-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
}
.fss-badge-group   { background: rgba(255,140,0,0.2); color: #ffa500; border: 1px solid rgba(255,140,0,0.3); }
.fss-badge-online  { background: rgba(76,175,80,0.2); color: #66bb6a; border: 1px solid rgba(76,175,80,0.3); }
.fss-badge-offline { background: rgba(255,255,255,0.05); color: #888; border: 1px solid rgba(255,255,255,0.1); }
.fss-badge-premium { background: linear-gradient(135deg, #ffd700, #ff8c00); color: #000; border: none; }
.fss-badge i { font-size: 8px; }

.fss-username {
  font-size: 38px;
  font-weight: 900;
  margin: 0 0 4px;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.05;
}
.fss-fullname { font-size: 14px; color: #aaa; margin-bottom: 8px; }
.fss-location { font-size: 13px; color: #888; }
.fss-location i { color: #ff8c00; margin-right: 4px; }

/* Hero actions */
.fss-hero-actions {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-left: auto;
  align-items: center;
}
@media (max-width: 700px) { .fss-hero-actions { margin-left: 0; width: 100%; } }
.fss-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.fss-btn-primary { background: #ff8c00; color: #fff; box-shadow: 0 4px 14px rgba(255,140,0,0.35); }
.fss-btn-primary:hover { background: #ffa500; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,140,0,0.5); }
.fss-btn-ghost   { background: rgba(255,255,255,0.05); color: #ddd; border-color: rgba(255,255,255,0.15); }
.fss-btn-ghost:hover { background: rgba(255,255,255,0.1); color: #ff8c00; border-color: rgba(255,140,0,0.4); }

/* ===== STATS BAR ===== */
.fss-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 16px;
  margin-bottom: 32px;
}
@media (max-width: 700px) {
  .fss-stats-row { grid-template-columns: repeat(2, 1fr); }
}
.fss-stat-card {
  background: linear-gradient(135deg, #1a1a1a, #131313);
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  transition: all .2s;
  position: relative;
  overflow: hidden;
}
.fss-stat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff8c00, transparent);
  opacity: 0;
  transition: opacity .2s;
}
.fss-stat-card:hover {
  border-color: rgba(255,140,0,0.4);
  transform: translateY(-2px);
}
.fss-stat-card:hover::before { opacity: 1; }
.fss-stat-icon {
  font-size: 22px;
  color: #ff8c00;
  margin-bottom: 8px;
}
.fss-stat-val {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
  line-height: 1.2;
}
.fss-stat-label {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .8px;
}

/* ===== SECTIONS (about, etc) ===== */
.fss-section {
  background: #131313;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 22px 24px;
  margin: 0 16px 24px;
}
.fss-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  display: flex; align-items: center; gap: 8px;
}
.fss-section-title i { color: #ff8c00; }
.fss-about-text {
  font-size: 14px;
  line-height: 1.7;
  color: #ccc;
  white-space: pre-wrap;
}
.fss-signature {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #2a2a2a;
  color: #888;
  font-size: 13px;
}

/* ===== Container public-top (intégré dans la page) ===== */
#fss-public-top {
  margin: 0 16px;
}
#fss-public-top .ul-profile { padding: 0 !important; }
#fss-public-top h2 {
  font-size: 22px !important;
  margin-bottom: 4px !important;
}

/* ===== Edit zone discrete ===== */
.fss-edit-zone {
  margin: 30px 16px 0;
  padding: 18px 22px;
  border-radius: 8px;
  background: rgba(255,140,0,0.05);
  border-left: 3px solid #ff8c00;
}
.fss-edit-zone:empty { display: none; }
.fss-edit-zone .up-edit a { color: #ff8c00; text-decoration: none; font-weight: 600; }
.fss-edit-zone .up-edit a:hover { text-decoration: underline; }

/* ===== Mobile ===== */
@media (max-width: 700px) {
  .fss-username { font-size: 26px; }
  .fss-avatar { width: 100px; height: 100px; border-width: 3px; }
  .fss-section { padding: 16px 18px; margin: 0 8px 16px; }
  .fss-stats-row { padding: 0 8px; gap: 8px; }
  .fss-stat-card { padding: 12px 8px; }
  .fss-stat-val { font-size: 18px; }
  .fss-stat-label { font-size: 9px; }
  #fss-public-top { margin: 0 8px; }
  .fss-edit-zone { margin: 20px 8px 0; }
}
