:root {
  --accent: #30a2da;
  --text: #ffffff;
  --bg: #000000;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Epilogue', 'Arial', sans-serif;
  min-height: 100%;
}

.bg-blur {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(60px) brightness(0.55) saturate(1.1);
  transform: scale(1.15);
  z-index: 0;
}

.bg-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  padding: 48px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.avatar-hero {
  width: min(340px, 82%);
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 18px;
}

.avatar-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile__name {
  font-family: 'IBM Plex Sans', 'Arial', sans-serif;
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 8px;
  direction: rtl;
}

.profile__bio {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  direction: rtl;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 20px 0 28px;
}

.social-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}

.social-icon:hover {
  transform: scale(1.15);
}

.social-icon svg {
  width: 100%;
  height: 100%;
}

.group {
  width: 100%;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.group__title {
  font-family: 'IBM Plex Sans', 'Arial', sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  margin: 0 0 14px;
  direction: rtl;
}

.link-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 6px 18px 6px 6px;
  margin-bottom: 12px;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  color: var(--text);
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.link-pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

.link-pill__thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #111;
}

.link-pill__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.link-pill__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.link-pill__title {
  flex: 1;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  direction: rtl;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.link-pill__subtitle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
  direction: rtl;
}

.link-pill__subtitle svg {
  flex-shrink: 0;
}

.link-pill__menu {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.75;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid var(--accent);
  text-decoration: none;
  color: var(--text);
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.feature-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card__play svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6));
}

.feature-card__caption {
  margin: 0;
  padding: 12px 16px;
  font-size: 14px;
  text-align: center;
  direction: rtl;
}

.footer {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

