/* ===================================================================
   САЙТ-ВИЗИТКА - СТИЛЬ FROSTED OBSIDIAN GLASS (МАТОВОЕ СТЕКЛО БЕЗ НЕОНА)
   Стиль вдохновлен минималистичными профилями: темное размытое стекло,
   скругленные углы 28px, тонкая полупрозрачная рамка 1px, чистые монохромные
   акценты без ядовитого неонового свечения.
   =================================================================== */

:root {
  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;

  /* Палитра темного матового стекла */
  --bg-dark: #07090e;
  --card-bg: rgba(13, 17, 26, 0.62);
  --card-border: rgba(255, 255, 255, 0.1);
  --card-border-hover: rgba(255, 255, 255, 0.24);
  --card-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.85), 0 18px 36px -18px rgba(0, 0, 0, 0.9);
  --card-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.1);

  /* Элементы внутри карточки */
  --surface-item: rgba(255, 255, 255, 0.035);
  --surface-item-hover: rgba(255, 255, 255, 0.07);
  --surface-item-border: rgba(255, 255, 255, 0.07);
  --surface-item-border-hover: rgba(255, 255, 255, 0.18);

  /* Кнопки */
  --btn-bg: rgba(255, 255, 255, 0.045);
  --btn-bg-hover: rgba(255, 255, 255, 0.09);
  --btn-border: rgba(255, 255, 255, 0.11);
  --btn-border-hover: rgba(255, 255, 255, 0.25);

  /* Типографика */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-sub: #cbd5e1;

  /* Скругления */
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-full: 9999px;

  /* Анимации */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Сброс стилей */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100%;
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Выделение текста */
::selection {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* -------------------------------------------------------------------
   1. ФОН: ВИДЕО И РАЗМЫТИЕ (АДАПТИВНО ПОД ПК И СМАРТФОНЫ)
   ------------------------------------------------------------------- */
.bg-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  height: -webkit-fill-available;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: var(--bg-dark);
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  display: block;
  opacity: 0.95;
  pointer-events: none;
  filter: blur(2px);
  -webkit-filter: blur(2px);
  transform: scale(1.02) translateZ(0);
  -webkit-transform: scale(1.02) translateZ(0);
  will-change: transform;
  transition: opacity 0.5s ease;
}

.bg-fallback {
  display: none;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(6, 8, 14, 0.25) 0%, rgba(4, 5, 10, 0.65) 100%);
  pointer-events: none;
  z-index: 2;
}

.bg-scanlines {
  display: none;
}

/* -------------------------------------------------------------------
   2. ЭКРАН ВХОДА (CLICK TO ENTER)
   ------------------------------------------------------------------- */
.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: rgba(5, 7, 11, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
  user-select: none;
}

.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  text-align: center;
  padding: 30px;
}

.splash-pulse-circle {
  width: 84px;
  height: 84px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  animation: pulse-ring 2.4s infinite ease-in-out;
}

.splash-pulse-circle svg {
  width: 36px;
  height: 36px;
  fill: #ffffff;
}

.splash-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.splash-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.96);
    border-color: rgba(255, 255, 255, 0.14);
  }
  50% {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7);
  }
  100% {
    transform: scale(0.96);
    border-color: rgba(255, 255, 255, 0.14);
  }
}

/* -------------------------------------------------------------------
   3. ГЛАВНЫЙ КОНТЕЙНЕР
   ------------------------------------------------------------------- */
.app-wrapper {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 16px 80px;
  z-index: 10;
}

/* -------------------------------------------------------------------
   4. ГЛАВНАЯ КАРТОЧКА ВИЗИТКИ (ТОЧНО ПО РЕФЕРЕНСУ: МАТОВОЕ СТЕКЛО 28px БЕЗ НЕОНА)
   ------------------------------------------------------------------- */
.bio-card {
  width: 100%;
  max-width: 520px;
  background: var(--card-bg);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  box-shadow: var(--card-shadow), var(--card-highlight);
  position: relative;
  overflow: hidden;
  transform: none !important;
  transition: border-color var(--transition-smooth);
}

/* ПОЛНОСТЬЮ УДАЛЕН ВЕРХНИЙ НЕОНОВЫЙ БАР */
.bio-card::before {
  display: none !important;
  content: none !important;
}

/* Мета-данные: бейдж просмотров на карточке */
.card-meta-row {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: -6px;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.card-views-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-muted);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: none;
  user-select: none;
  transition: all var(--transition-fast);
}

.card-views-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.card-views-badge .views-count {
  font-weight: 600;
  color: #ffffff;
  font-family: var(--font-mono);
}

.card-views-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #f1f5f9;
}

/* -------------------------------------------------------------------
   5. СЕКЦИЯ ПРОФИЛЯ
   ------------------------------------------------------------------- */
.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 22px;
}

.avatar-wrapper {
  position: relative;
  width: 108px;
  height: 108px;
  margin-bottom: 16px;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.16);
  background: #0d121f;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  transition: transform var(--transition-smooth), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.avatar-wrapper:hover .avatar-img {
  transform: scale(1.02);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.85);
}

/* Статус-индикатор */
.status-indicator {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid #0d111a;
  background-color: #64748b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  transition: background-color var(--transition-fast);
}

.status-indicator.online { background-color: #10b981; }
.status-indicator.idle { background-color: #f59e0b; }
.status-indicator.dnd { background-color: #ef4444; }
.status-indicator.offline { background-color: #64748b; }

.user-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 4px;
}

.user-name {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.user-handle {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.user-bio {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.5;
  max-width: 440px;
  margin: 0 auto 16px;
}

/* Бейджики */
.badges-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--surface-item);
  border: 1px solid var(--surface-item-border);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-sub);
  letter-spacing: 0.2px;
  transition: all var(--transition-fast);
}

.badge-item svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.badge-item:hover {
  background: var(--surface-item-hover);
  border-color: var(--surface-item-border-hover);
  color: #ffffff;
}

/* -------------------------------------------------------------------
   6. ВИДЖЕТ АКТИВНОСТИ: ИГРА (STEAM)
   ------------------------------------------------------------------- */
.activity-card {
  background: var(--surface-item);
  border: 1px solid var(--surface-item-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
}

/* Удален неоновый левый акцент */
.activity-card::before {
  display: none !important;
  content: none !important;
}

.activity-card:hover {
  background: var(--surface-item-hover);
  border-color: var(--surface-item-border-hover);
}

.activity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.activity-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
}

.activity-tag svg {
  width: 14px;
  height: 14px;
  fill: var(--text-muted);
}

.activity-elapsed-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.activity-elapsed-badge svg {
  width: 12px;
  height: 12px;
  fill: #94a3b8;
}

.activity-body {
  display: flex;
  align-items: center;
  gap: 14px;
}

.game-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #090d18;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.game-details {
  flex: 1;
  min-width: 0;
}

.game-title {
  font-size: 0.96rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.game-subtext {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-state {
  font-size: 0.78rem;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* -------------------------------------------------------------------
   7. КЛИКАБЕЛЬНЫЕ ССЫЛКИ (МАТОВЫЙ СТИЛЬ РЕФЕРЕНСА)
   ------------------------------------------------------------------- */
.links-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: var(--surface-item);
  border: 1px solid var(--surface-item-border);
  border-radius: var(--radius-md);
  color: #ffffff;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.link-item:hover {
  background: var(--surface-item-hover);
  border-color: var(--surface-item-border-hover);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.link-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.link-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
}

.link-icon-box svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.link-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.link-title {
  font-size: 0.94rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.link-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  fill: #64748b;
  transition: transform var(--transition-fast), fill var(--transition-fast);
}

.link-item:hover .link-arrow svg {
  transform: translateX(3px);
  fill: #ffffff;
}

/* -------------------------------------------------------------------
   8. КНОПКИ ДЕЙСТВИЙ (ПИЛЛ-ФОРМА ИЗ РЕФЕРЕНСА, БЕЗ НЕОНА)
   ------------------------------------------------------------------- */
.actions-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  color: #e2e8f0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-fast);
  user-select: none;
}

.action-btn svg {
  width: 18px;
  height: 18px;
  fill: #e2e8f0;
  transition: fill var(--transition-fast);
}

.action-btn:hover {
  background: var(--btn-bg-hover);
  border-color: var(--btn-border-hover);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  transform: translateY(-1px);
}

.action-btn:hover svg {
  fill: #ffffff;
}

/* -------------------------------------------------------------------
   9. МОДАЛЬНЫЕ ОКНА
   ------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: rgba(4, 6, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  background: rgba(13, 16, 23, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 26px 22px;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
  overflow-y: auto;
  transform: scale(0.96) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-title-box svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.donate-methods-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.donate-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--surface-item);
  border: 1px solid var(--surface-item-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.donate-item:hover {
  background: var(--surface-item-hover);
  border-color: var(--surface-item-border-hover);
}

.donate-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.donate-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.donate-item-icon svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.donate-item-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.donate-item-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
}

.donate-item-val {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.donate-btn-action {
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.donate-btn-action:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

/* QR окно */
.qr-modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.qr-canvas-container {
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-md);
  margin: 14px 0 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-link-input-group {
  width: 100%;
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.qr-link-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: #ffffff;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  outline: none;
  transition: border-color var(--transition-fast);
}

.qr-link-input:focus {
  border-color: rgba(255, 255, 255, 0.35);
}

.qr-action-buttons {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* -------------------------------------------------------------------
   10. ТОСТЫ
   ------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3000;
  pointer-events: none;
}

.toast {
  background: rgba(14, 18, 26, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(20px);
  animation: toast-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

@keyframes toast-in {
  to { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------------------------------------
   11. МОБИЛЬНАЯ АДАПТИВНОСТЬ
   ------------------------------------------------------------------- */
@media (max-width: 600px) {
  .bg-container {
    height: 100dvh;
    height: -webkit-fill-available;
  }

  .bg-video {
    /* На смартфонах видео остается ярким и четким */
    filter: blur(1px);
    -webkit-filter: blur(1px);
    transform: none;
    -webkit-transform: none;
    opacity: 0.95;
    object-position: center center;
  }

  .bg-overlay {
    /* Легкое полупрозрачное затемнение, чтобы видео было отлично видно */
    background: rgba(4, 6, 12, 0.38);
  }

  .app-wrapper {
    padding: 24px 14px 70px;
  }

  .bio-card {
    padding: 24px 16px;
    border-radius: 24px;
    background: rgba(12, 16, 26, 0.62);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
  }

  .avatar-wrapper {
    width: 96px;
    height: 96px;
  }

  .user-name {
    font-size: 1.55rem;
  }

  .user-bio {
    font-size: 0.88rem;
  }

  .actions-section {
    grid-template-columns: 1fr;
  }

  .qr-action-buttons {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------
   12. СКРОЛЛБАР
   ------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.28);
}
