/* =========================
   PROFILE HEADER (FIXED)
========================= */

.profile-page{
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 90px;
}

.profile-header{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.profile-avatar{
  flex: 0 0 88px;
}

.profile-avatar img{
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-meta{
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-identity{
  display: flex;
  flex-direction: column;
}

.profile-display{
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-handle{
  font-size: 14px;
  opacity: 0.7;
}

.profile-stats{
  display: flex;
  gap: 18px;
}

.profile-stats .stat{
  display: flex;
  flex-direction: column;
  font-size: 13px;
  text-align: center;
}

.profile-bio{
  font-size: 14px;
  opacity: 0.9;
  max-width: 520px;
}

.profile-actions{
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

/* =========================
   GRID (LEAVE AS IS)
========================= */

.profile-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.grid-tile{
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.grid-tile img,
.grid-tile video{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   BADGES
========================= */

.founding-badge{
  animation: v2k-pulse 2.8s ease-in-out infinite;
}

@keyframes v2k-pulse{
  0%   { transform: scale(1); opacity: .85; }
  50%  { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); opacity: .85; }
}
.profile-grid video{
  background:#000;
  object-fit:cover;
}
.creator-hub-wrap {
  margin: 12px 0 6px;
  text-align: center;
}
.creator-hub-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1f6cff, #00e5ff);
  color: #000;
  font-weight: 600;
  text-decoration: none;
}
.creator-hub-btn:hover {
  opacity: .9;
}

.profile-bio {
  margin-top: 6px;
  font-size: 0.95rem;
  color: #cfd8e3;
  line-height: 1.35;
}

.profile-links {
  margin-top: 6px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-links a {
  font-size: 0.85rem;
  color: #4dd0ff;
  text-decoration: none;
}

.profile-links a:hover {
  text-decoration: underline;
}

.creator-hub {
  position: relative;
  overflow: hidden;
}
.creator-hub.collapsed .creator-hub-actions {
  display: none;
}
.creator-hub-toggle {
  position: absolute;
  right: 0;
  top: 0;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
}

.creator-hub-drawer {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100%;
  background: #0b0f14;
  padding: 16px;
  transition: right .25s ease;
  z-index: 900;
}
.creator-hub-drawer.open { right: 0; }

.creator-hub-btn {
  margin-top: 10px;
}


.creator-hub {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: #0b0f14;
  padding: 16px;
  transition: right .25s ease;
  z-index: 900;
}

.creator-hub.open {
  right: 0;
}

