:root {
  color-scheme: dark;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --card-width: min(92vw, 480px);
  --card-padding: clamp(1.5rem, 2.2vw, 2rem);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --shadow-strong: 0 24px 48px -32px rgba(0, 0, 0, 0.8);
  --shadow-soft: 0 12px 30px -18px rgba(0, 0, 0, 0.6);
  --surface-primary: rgba(24, 24, 24, 0.82);
  --surface-secondary: rgba(32, 32, 32, 0.85);
  --surface-highlight: rgba(64, 64, 64, 0.65);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --accent: linear-gradient(120deg, #ff4c8b, #ffa13b);
  --accent-strong: #ff4c8b;
  --border: rgba(255, 255, 255, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.22), rgba(5, 5, 5, 0.32)),
    url("media/BG.jpg") center/cover fixed no-repeat;
  color: var(--text-primary);
  position: relative;
  overflow-x: hidden;
}


.background-gradient {
  position: fixed;
  inset: -20vh -20vw;
  overflow: hidden;
  z-index: -2;
  pointer-events: none;
}

.background-gradient::before,
.background-gradient::after {
  content: "";
  position: absolute;
  inset: 0;
}

.background-gradient::before {
  background: url("media/BG.jpg") center/cover no-repeat;
  filter: blur(48px);
  transform: scale(1.1);
  opacity: 0.35;
}

.background-gradient::after {
  background: linear-gradient(160deg, rgba(5, 5, 5, 0.2), rgba(5, 5, 5, 0.12));
}

 .page {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3.5rem) 1.25rem 3rem;
  gap: 2.5rem;
}

.profile-card {
  width: var(--card-width);
  background: var(--surface-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-strong);
  padding-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  backdrop-filter: blur(18px);
}

.profile-header {
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.profile-hero {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 8px);
  display: block;
}

.profile-details {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}


.section-heading {
  margin: 0 0 1rem;
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.profile-meta h1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: clamp(1.65rem, 4vw, 2rem);
  font-weight: 700;
  margin: 0;
}

.profile-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
}

.profile-socials__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.verification-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 12px -8px rgba(0, 0, 0, 0.8);
}

.username {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: block;
  letter-spacing: 0.02em;
}


.profile-socials a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, background-color 180ms ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-socials a:focus-visible,
.profile-socials a:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.14);
}

.profile-socials img {
  width: 24px;
  height: 24px;
  filter: invert(1);
}

.profile-followers {
  display: grid;
  place-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.followers-count {
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  color: var(--text-primary);
}

.profile-bio {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.link-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 var(--card-padding);
}

.link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--surface-secondary);
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.link-card:not(.text-only) {
  background: transparent;
  border: none;
  box-shadow: none;
}

.link-card-label {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 28px -24px rgba(0, 0, 0, 0.85);
  pointer-events: none;
  z-index: 3;
}

.link-card-label--hot {
  background: linear-gradient(120deg, rgba(255, 76, 139, 0.95), rgba(255, 161, 59, 0.95));
  border-color: rgba(255, 161, 59, 0.65);
}

.link-card-label--new {
  background: linear-gradient(120deg, rgba(76, 201, 240, 0.95), rgba(140, 82, 255, 0.95));
  border-color: rgba(76, 201, 240, 0.65);
}

.link-card--highlight {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 6px;
}

.link-card--highlight::before,
.link-card--highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.link-card--highlight::before {
  background:
    linear-gradient(90deg, rgba(255, 76, 139, 0.95) 0 50%, transparent 50% 100%) 0 0 / 16px 4px repeat-x,
    linear-gradient(90deg, rgba(76, 201, 240, 0.95) 0 50%, transparent 50% 100%) 0 100% / 16px 4px repeat-x,
    linear-gradient(0deg, rgba(255, 161, 59, 0.95) 0 50%, transparent 50% 100%) 0 0 / 4px 16px repeat-y,
    linear-gradient(0deg, rgba(140, 82, 255, 0.95) 0 50%, transparent 50% 100%) 100% 0 / 4px 16px repeat-y;
  background-position: 0 0, 0 100%, 0 0, 100% 0;
  animation: marchingAnts 1.15s linear infinite;
  z-index: 10;
}

.link-card--highlight::after {
  inset: 6px;
  border-radius: calc(var(--radius-md) - 6px);
  background: transparent;
  box-shadow: 0 22px 40px -28px rgba(0, 0, 0, 0.85);
  z-index: 0;
}

.link-card > img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.link-card.small > img {
  height: 140px;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -30px rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.16);
}

.link-card--highlight:hover,
.link-card--highlight:focus-visible {
  box-shadow: none;
}

.text-link-grid {
  gap: 0.9rem;
}

.link-card.text-only {
  padding: 1.5rem 1.75rem;
  background: var(--surface-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
}

.link-card.text-only .text-only-content {
  padding: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.link-card.text-only .text-only-content h2 {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.mail-icon {
  width: 1.2em;
  height: 1.2em;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.link-card.text-only .link-description {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.link-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  gap: 1rem;
}

.link-card:not(.text-only) .link-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--overlay-height, 56px);
  padding: 0 0.75rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  pointer-events: none;
  display: flex;
  border-radius: 0 0 calc(var(--radius-md) - 2px) calc(var(--radius-md) - 2px);
  background: transparent;
  z-index: 5;
}

.link-card:not(.text-only) .link-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-color, rgba(0, 0, 0, 0.55));
  border-radius: inherit;
  z-index: 1;
}

.link-card.small .link-content {
  height: calc(var(--overlay-height, 56px) * 0.68);
}

.link-card.small .link-text-group {
  height: calc(var(--overlay-height, 56px) * 0.68);
}


.link-text-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
  z-index: 2;
}

.link-card:not(.text-only) .link-text-group {
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  width: 100%;
  position: relative;
  z-index: 2;
}


.link-card:not(.text-only) .link-text-group h2,
.link-card:not(.text-only) .link-text-group h3 {
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), 0 0 14px rgba(0, 0, 0, 0.55);
}

.link-content h2,
.link-content h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2.3vw, 1.25rem);
  font-weight: 600;
}

.link-description {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.45;
}

.link-pair {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}

.link-pair.single {
  grid-template-columns: 1fr;
}

.spotlight-card > img {
  height: 230px;
}

.spotlight-highlight {
  position: relative;
  padding: 8px;
  border-radius: calc(var(--radius-md) + 10px);
  margin: 0.35rem 0;
}

.spotlight-highlight::before,
.spotlight-highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.spotlight-highlight::before {
  background:
    linear-gradient(90deg, rgba(255, 76, 139, 0.95) 0 50%, transparent 50% 100%) 0 0 / 18px 4px repeat-x,
    linear-gradient(90deg, rgba(76, 201, 240, 0.95) 0 50%, transparent 50% 100%) 0 100% / 18px 4px repeat-x,
    linear-gradient(0deg, rgba(255, 161, 59, 0.95) 0 50%, transparent 50% 100%) 0 0 / 4px 18px repeat-y,
    linear-gradient(0deg, rgba(140, 82, 255, 0.95) 0 50%, transparent 50% 100%) 100% 0 / 4px 18px repeat-y;
  background-position: 0 0, 0 100%, 0 0, 100% 0;
  animation: marchingAnts 1.15s linear infinite;
  z-index: 0;
}

.spotlight-highlight::after {
  inset: 8px;
  border-radius: calc(var(--radius-md) + 2px);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 24px 42px -30px rgba(0, 0, 0, 0.85);
  z-index: 0;
}

.spotlight-highlight > .link-card {
  position: relative;
  z-index: 1;
}

.chip {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.chip-lock {
  background: rgba(255, 71, 87, 0.22);
  color: #ff7187;
}

.chip-youtube {
  background: rgba(255, 0, 0, 0.28);
  color: rgba(255, 160, 150, 1);
}

.media-tabs {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 0 var(--card-padding);
}

.tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font: inherit;
  padding: 0.75rem 0.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}

.tab.is-active {
  background: var(--surface-primary);
  color: var(--text-primary);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.tab:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
}

.tab-panels {
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem 1.5rem;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.shout-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem;
}

.shout-card {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.shout-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  color: #0f0f0f;
  background: #e8e8e8;
  box-shadow: 0 16px 32px -24px rgba(0, 0, 0, 0.55);
  transition: transform 180ms ease, box-shadow 220ms ease, background-color 180ms ease;
}

.shout-link:hover,
.shout-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px -26px rgba(0, 0, 0, 0.6);
  background: #f1f1f1;
}

.shout-logo {
  height: 22px;
  width: auto;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  color: var(--text-secondary);
}

.empty-state img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.empty-state h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
}

.primary-button {
  padding: 0.6rem 1.6rem;
  border-radius: 999px;
  border: none;
  background-image: var(--accent);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 220ms ease;
  box-shadow: 0 18px 30px -20px rgba(255, 76, 139, 0.8);
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 24px 40px -20px rgba(255, 76, 139, 0.9);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.media-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 200ms ease;
}

.media-grid img:hover {
  transform: scale(1.02);
}

@keyframes marchingAnts {
  to {
    background-position:
      16px 0,
      -16px 100%,
      0 16px,
      100% -16px;
  }
}

.page-footer {
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.page-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.page-footer a:hover,
.page-footer a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 520px) {
  .profile-card {
    gap: 1.25rem;
  }

  .link-card > img {
    height: 170px;
  }

  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 420px) {
  .link-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-socials {
    flex-wrap: wrap;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }
}
.profile-subtext {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}























