/*
  MK2030 UNIVERSAL PROFILE SYSTEM v1.0
  Mizik Kreyol creator, artist, DJ, producer, engineer, label, publisher, and venue profile UI
  Made with Love. Haiti at Heart. Built for the World.
*/

.mk-profile {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 5rem;
  display: grid;
  gap: 1.2rem;
}

.mk-profile-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: grid;
  align-items: end;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--mk-radius-xl);
  border: 1px solid var(--mk-border);
  background:
    radial-gradient(circle at 20% 0%, rgba(100, 255, 218, 0.18), transparent 34%),
    radial-gradient(circle at 90% 20%, rgba(240, 170, 255, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(127, 90, 240, 0.24), rgba(255, 255, 255, 0.045));
  box-shadow: var(--mk-shadow);
}

.mk-profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 20%, rgba(7, 8, 29, 0.88)),
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.08), transparent 40%);
}

.mk-profile-hero > * {
  position: relative;
  z-index: 1;
}

.mk-profile-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: end;
}

.mk-profile-avatar {
  width: 136px;
  height: 136px;
  border-radius: 36px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, var(--mk-purple), var(--mk-cyan));
  box-shadow: var(--mk-glow-purple);
  font-size: 3rem;
  font-weight: 1000;
  overflow: hidden;
}

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

.mk-profile-title h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.mk-profile-title p {
  margin: 0.75rem 0 0;
  color: var(--mk-muted);
  line-height: 1.7;
  max-width: 720px;
}

.mk-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.mk-profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: var(--mk-radius-pill);
  border: 1px solid rgba(100, 255, 218, 0.25);
  background: rgba(100, 255, 218, 0.08);
  color: var(--mk-cyan);
  font-size: 0.78rem;
  font-weight: 1000;
}

.mk-verified-badge {
  color: #06131d;
  background: var(--mk-cyan);
  box-shadow: var(--mk-glow-cyan);
}

.mk-profile-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mk-profile-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.mk-profile-stat {
  padding: 1rem;
  border-radius: var(--mk-radius-lg);
  border: 1px solid var(--mk-border);
  background: rgba(255, 255, 255, 0.065);
}

.mk-profile-stat strong {
  display: block;
  color: var(--mk-cyan);
  font-size: 1.9rem;
  line-height: 1;
}

.mk-profile-stat span {
  display: block;
  margin-top: 0.35rem;
  color: var(--mk-muted);
  font-size: 0.9rem;
}

.mk-profile-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1rem;
}

.mk-profile-content,
.mk-profile-sidebar {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.mk-profile-card {
  padding: 1.3rem;
  border-radius: var(--mk-radius-xl);
  border: 1px solid var(--mk-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  box-shadow: var(--mk-shadow);
}

.mk-profile-card h2,
.mk-profile-card h3 {
  margin-top: 0;
}

.mk-profile-card p,
.mk-profile-card li {
  color: var(--mk-muted);
  line-height: 1.7;
}

.mk-profile-tabs {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.mk-profile-tab {
  padding: 0.7rem 1rem;
  border-radius: var(--mk-radius-pill);
  border: 1px solid var(--mk-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--mk-muted);
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.25s ease;
}

.mk-profile-tab:hover,
.mk-profile-tab.active {
  color: #06131d;
  background: var(--mk-cyan);
  box-shadow: var(--mk-glow-cyan);
}

.mk-profile-catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mk-profile-release {
  padding: 1rem;
  border-radius: var(--mk-radius-lg);
  border: 1px solid var(--mk-border);
  background: rgba(255, 255, 255, 0.06);
  transition: 0.25s ease;
}

.mk-profile-release:hover {
  transform: translateY(-5px);
  border-color: rgba(100, 255, 218, 0.42);
  box-shadow: var(--mk-glow-cyan);
}

.mk-release-cover {
  height: 180px;
  margin-bottom: 0.9rem;
  border-radius: var(--mk-radius-md);
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.38), transparent 18%),
    linear-gradient(135deg, var(--mk-purple), var(--mk-pink), var(--mk-cyan));
  font-size: 2rem;
  font-weight: 1000;
}

.mk-profile-release h3 {
  margin: 0 0 0.35rem;
}

.mk-profile-release p {
  margin: 0;
  color: var(--mk-muted);
}

.mk-profile-timeline {
  display: grid;
  gap: 0.8rem;
}

.mk-profile-timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  padding: 0.9rem;
  border-radius: var(--mk-radius-lg);
  border: 1px solid var(--mk-border);
  background: rgba(255, 255, 255, 0.055);
}

.mk-profile-timeline-dot {
  width: 14px;
  height: 14px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--mk-cyan);
  box-shadow: 0 0 0 7px rgba(100, 255, 218, 0.08);
}

.mk-profile-timeline-item strong {
  display: block;
}

.mk-profile-timeline-item span {
  color: var(--mk-muted);
  line-height: 1.6;
}

.mk-profile-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.mk-profile-social {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--mk-border);
  background: rgba(255, 255, 255, 0.07);
  color: var(--mk-text);
  text-decoration: none;
  transition: 0.25s ease;
}

.mk-profile-social:hover {
  color: var(--mk-cyan);
  box-shadow: var(--mk-glow-cyan);
  transform: translateY(-2px);
}

.mk-profile-contact {
  display: grid;
  gap: 0.75rem;
}

.mk-profile-contact-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--mk-border);
}

.mk-profile-contact-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mk-profile-contact-row span {
  color: var(--mk-muted);
}

.mk-profile-contact-row strong {
  text-align: right;
}

.mk-achievement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.mk-achievement {
  padding: 0.9rem;
  border-radius: var(--mk-radius-lg);
  border: 1px solid var(--mk-border);
  background: rgba(255, 255, 255, 0.055);
}

.mk-achievement-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 0.65rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--mk-purple), var(--mk-gold));
  box-shadow: 0 0 28px rgba(255, 209, 102, 0.16);
}

.mk-achievement strong {
  display: block;
}

.mk-achievement span {
  color: var(--mk-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 1050px) {
  .mk-profile-main,
  .mk-profile-layout,
  .mk-profile-stats,
  .mk-profile-catalog {
    grid-template-columns: 1fr;
  }

  .mk-profile-avatar {
    width: 116px;
    height: 116px;
  }

  .mk-profile-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .mk-profile {
    width: min(100% - 1rem, 1280px);
  }

  .mk-profile-hero {
    min-height: auto;
  }

  .mk-profile-stat strong {
    font-size: 1.6rem;
  }

  .mk-achievement-grid {
    grid-template-columns: 1fr;
  }
}
