/* =========================
   GLOBAL
   ========================= */

html {
  scroll-behavior: smooth;
}


* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, Arial, sans-serif;
  background: radial-gradient(circle at top, #111 0%, #000 70%);
  color: #fff;
}

.container {
  max-width: 420px;
  margin: 0 auto;
  padding: 40px 16px;
}

/* =========================
   BRAND
   ========================= */

.brand {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 24px;
  text-shadow: 0 0 25px rgba(255,170,0,.35);
}

/* =========================
   CARD
   ========================= */

.card {
  background: linear-gradient(180deg, #1a1a1a, #0f0f0f);
  border-radius: 22px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 30px 90px rgba(0,0,0,.9);
}

/* =========================
   AI AVATAR
   ========================= */

.ai-avatar {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 16px;
}

.ai-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    rgba(255,170,0,.8) 30%,
    rgba(255,90,0,.9) 50%,
    rgba(255,170,0,.8) 70%,
    transparent 100%
  );
  mask: radial-gradient(circle, transparent 62%, black 63%);
  animation: spinFast 6s linear infinite;
  opacity: .6;
}

.ai-ring--slow {
  inset: 10px;
  animation: spinSlow 14s linear infinite reverse;
  opacity: .35;
}

.avatar-glow {
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255,200,120,.45),
    rgba(255,120,0,.2),
    transparent 70%
  );
  box-shadow:
    0 0 35px rgba(255,160,0,.7),
    0 0 90px rgba(255,100,0,.5);
  animation: pulse 4s ease-in-out infinite;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* =========================
   TEXT
   ========================= */

h1 {
  margin: 12px 0 4px;
  font-size: 22px;
}

.subtitle {
  opacity: .7;
  margin-bottom: 12px;
}

.description {
  font-size: 14px;
  line-height: 1.6;
  opacity: .85;
  margin-bottom: 18px;
}

.hint {
  font-size: 12px;
  opacity: .5;
  margin: 14px 0;
}

/* =========================
   BUTTONS
   ========================= */

.btn {
  display: block;
  padding: 14px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 12px;
  transition: .25s;
}

.btn-primary {
  background: linear-gradient(135deg, #ffb300, #ff9800);
  color: #000;
}

.btn-primary:hover {
  box-shadow: 0 0 35px rgba(255,170,0,.7);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #1e88e5;
  color: #fff;
}

.btn-secondary:hover {
  background: #2196f3;
  transform: translateY(-2px);
}

/* =========================
   CONTENT (SEO TEXT)
   ========================= */

.content {
  margin-top: 48px;
  text-align: left;
}

.content h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.content p {
  font-size: 14px;
  line-height: 1.6;
  opacity: .75;
  margin-bottom: 28px;
}

/* =========================
   BOTTOM CTA
   ========================= */

.bottom-cta {
  margin-top: 48px;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255,180,0,0.08),
    rgba(255,180,0,0.02)
  );
  text-align: center;
}

.btn-large {
  font-size: 16px;
  padding: 16px;
}

/* =========================
   FAQ ACCORDION (WORKING)
   ========================= */

.faq {
  margin-top: 24px;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  text-align: left;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  color: #ffb300;
}

.faq-icon {
  font-size: 20px;
  transition: transform .25s ease;
}

/* ANSWER CLOSED */
.faq-answer {
  display: none;
  padding-bottom: 16px;
}

.faq-answer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  opacity: .75;
}

/* ANSWER OPEN */
.faq-item.active .faq-answer {
  display: block;
  animation: faqFade .25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* =========================
   FOOTER (FINISHED STYLE)
   ========================= */

.footer {
  margin-top: 64px;
  padding: 24px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.02),
    rgba(0,0,0,0)
  );
}

.footer a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  margin: 0 6px;
  transition: color .2s ease;
}

.footer a:hover {
  color: #ffb300;
}


/* =========================
   ANIMATIONS
   ========================= */

@keyframes spinFast {
  to { transform: rotate(360deg); }
}

@keyframes spinSlow {
  to { transform: rotate(-360deg); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: .7; }
  50% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); opacity: .7; }
}

@keyframes faqFade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
/* =========================
   EXAMPLES (BEFORE / AFTER)
   ========================= */

.examples {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.example-card {
  background: linear-gradient(180deg, #151515, #0f0f0f);
  border-radius: 16px;
  padding: 16px;
}

.example-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 12px;
  opacity: .6;
  margin-bottom: 8px;
}

.example-labels span:last-child {
  text-align: right;
}

.example-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.example-images img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}
/* =========================
   STATISTICS (2 COLUMNS)
   ========================= */

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.stat-card {
  background: linear-gradient(180deg, #151515, #0f0f0f);
  border-radius: 16px;
  padding: 20px 12px;
  text-align: center;
}

.stat-value {
  font-size: 24px;
  font-weight: 800;
  color: #ffb300;
  margin-bottom: 4px;
  transition: transform .3s ease;
}

.stat-label {
  font-size: 13px;
  opacity: .65;
}

.stat-card.animate .stat-value {
  transform: scale(1.05);
}
/* =========================
   WHY US
   ========================= */

.why-us {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.why-card {
  background: linear-gradient(180deg, #151515, #0f0f0f);
  border-radius: 16px;
  padding: 20px 16px;
}

.why-icon {
  font-size: 22px;
  margin-bottom: 8px;
}

.why-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.why-text {
  font-size: 13px;
  line-height: 1.6;
  opacity: .7;
}
/* =========================
   REVIEWS
   ========================= */

.reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.review-card {
  background: linear-gradient(180deg, #151515, #0f0f0f);
  border-radius: 16px;
  padding: 20px 16px;
}

.review-text {
  font-size: 14px;
  line-height: 1.6;
  opacity: .85;
  margin-bottom: 12px;
}

.review-author {
  font-size: 13px;
  opacity: .6;
}
/* =========================
   HOW IT WORKS
   ========================= */

.how-it-works {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.how-card {
  background: linear-gradient(180deg, #151515, #0f0f0f);
  border-radius: 16px;
  padding: 20px 16px;
}

.how-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffb300;
  color: #000;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.how-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.how-text {
  font-size: 13px;
  line-height: 1.6;
  opacity: .7;
}
/* =========================
   AGE POPUP
   ========================= */

.age-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.age-popup.hidden {
  display: none;
}

.age-card {
  background: linear-gradient(180deg, #1a1a1a, #0f0f0f);
  border-radius: 20px;
  padding: 32px 24px;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.9);
}

.age-title {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 12px;
  color: #ffb300;
}

.age-text {
  font-size: 14px;
  line-height: 1.6;
  opacity: .8;
  margin-bottom: 20px;
}

.age-card .btn {
  width: 100%;
}
/* =========================
   AGE POPUP ANIMATION
   ========================= */

.age-popup {
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
}

.age-popup.show {
  opacity: 1;
  visibility: visible;
}

.age-card {
  transform: scale(0.92);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}

.age-popup.show .age-card {
  transform: scale(1);
  opacity: 1;
}
/* =========================
   AGE POPUP LEGAL LINKS
   ========================= */

.age-legal {
  font-size: 11px;
  line-height: 1.5;
  opacity: .55;
  margin-top: 16px;
}

.age-legal a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255,255,255,0.3);
  transition: color .2s ease, border-color .2s ease;
}

.age-legal a:hover {
  color: #ffb300;
  border-bottom-color: #ffb300;
}
/* =========================
   STATS BLOCK
   ========================= */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.stat-card {
  background: linear-gradient(180deg, #151515, #0f0f0f);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.6);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(255,180,0,0.08),
    transparent 70%
  );
  pointer-events: none;
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: #ffb300;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  opacity: .6;
}

/* =========================
   CHARTS
   ========================= */

canvas {
  margin-top: 20px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.03),
    rgba(255,255,255,0.01)
  );
  border-radius: 14px;
  padding: 12px;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr;
  }
}
/* =========================
   PARTNERS PAGE
   ========================= */

.partners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.partner-card {
  display: block;
  background: linear-gradient(180deg, #151515, #0f0f0f);
  border-radius: 18px;
  padding: 20px;
  text-decoration: none;
  color: #fff;
  transition: .25s;
  box-shadow: 0 15px 40px rgba(0,0,0,.6);
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.8);
}

.partner-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffb300;
}

.partner-desc {
  font-size: 14px;
  line-height: 1.5;
  opacity: .75;
}

/* MOBILE */
@media (max-width: 480px) {
  .partners {
    grid-template-columns: 1fr;
  }
}
.footer-link {
  color: #ffb300;
  text-decoration: none;
  font-size: 13px;
  opacity: .8;
}

.footer-link:hover {
  opacity: 1;
}
/* =========================
   DEMO EMULATION BLOCK
   ========================= */

.demo-block {
  margin-top: 48px;
}

/* UPLOAD ZONE */

.demo-upload-zone {
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: 18px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: .25s;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.02),
    rgba(255,255,255,0.01)
  );
}

.demo-upload-zone:hover {
  border-color: #ffb300;
  box-shadow: 0 0 30px rgba(255,180,0,.25);
}

.demo-upload-zone.dragover {
  border-color: #ff9800;
  background: rgba(255,180,0,0.06);
}

.upload-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.upload-subtitle {
  font-size: 14px;
  opacity: .7;
  margin-bottom: 6px;
}

.upload-hint {
  font-size: 12px;
  opacity: .5;
}

.upload-file-name {
  margin-top: 10px;
  font-size: 13px;
  color: #ffb300;
}

/* STYLES */

.demo-styles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.demo-style {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #121212;
  color: #fff;
  cursor: pointer;
  transition: .25s;
}

.demo-style:hover,
.demo-style.active {
  border-color: #ffb300;
  box-shadow: 0 0 20px rgba(255,180,0,.3);
}

/* GENERATE */

.demo-generate:disabled {
  opacity: .4;
  pointer-events: none;
}

/* PROGRESS */

.demo-progress {
  margin-top: 24px;
}

.demo-status {
  font-size: 14px;
  opacity: .8;
  margin-bottom: 10px;
}

.demo-bar {
  height: 10px;
  background: rgba(255,255,255,.1);
  border-radius: 10px;
  overflow: hidden;
}

.demo-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffb300, #ff9800);
  transition: width .6s ease;
}

/* RESULT */

.demo-result {
  margin-top: 24px;
  text-align: center;
}
.demo-generate {
  width: 100%;
}
/* =========================
   FLOATING EMOJI BACKGROUND
   ========================= */

.emoji-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.emoji-bg span {
  position: absolute;
  bottom: -120px;
  font-size: 96px;
  opacity: 0.06;
  animation: floatEmoji linear infinite;
}

/* INDIVIDUAL POSITIONS & SPEEDS */

.emoji-bg span:nth-child(1) { left: 5%;  animation-duration: 40s; }
.emoji-bg span:nth-child(2) { left: 15%; animation-duration: 55s; }
.emoji-bg span:nth-child(3) { left: 30%; animation-duration: 45s; }
.emoji-bg span:nth-child(4) { left: 45%; animation-duration: 60s; }
.emoji-bg span:nth-child(5) { left: 60%; animation-duration: 50s; }
.emoji-bg span:nth-child(6) { left: 70%; animation-duration: 42s; }
.emoji-bg span:nth-child(7) { left: 85%; animation-duration: 58s; }
.emoji-bg span:nth-child(8) { left: 95%; animation-duration: 47s; }

/* ANIMATION */

@keyframes floatEmoji {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-120vh) rotate(360deg);
  }
}

/* CONTENT ABOVE BACKGROUND */

body > *:not(.emoji-bg) {
  position: relative;
  z-index: 1;
}
/* =========================
   EMOJI TOGGLE
   ========================= */

.emoji-toggle {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  opacity: .7;
}

.emoji-toggle label {
  cursor: pointer;
}

.emoji-toggle input {
  margin-right: 6px;
}
/* =========================
   ACCESSIBILITY FIX
   ========================= */

/* Secondary buttons — higher contrast */
.btn-secondary {
  background: #1e88e5;              /* более тёмный синий */
  color: #ffffff;                   /* чисто белый */
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
}

/* Hover */
.btn-secondary:hover {
  background: #1565c0;              /* ещё темнее */
}

/* Focus (важно для доступности) */
.btn-secondary:focus-visible {
  outline: 2px solid #ffb300;
  outline-offset: 2px;
}
/* =========================
   CLEAN TARIFF BLOCKS
   ========================= */

.tariff-block {
  background: linear-gradient(180deg, #1a1a1a, #0f0f0f);
  border-radius: 24px;
  padding: 28px;
  margin-top: 28px;
  box-shadow: 0 30px 90px rgba(0,0,0,.7);
}

.tariff-block.highlight {
  border: 1px solid rgba(255,179,0,.4);
}

.tariff-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.tariff-info h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.tariff-info p {
  font-size: 14px;
  opacity: .75;
  max-width: 520px;
}

.tariff-price {
  text-align: right;
  font-size: 14px;
  opacity: .85;
}

.tariff-price span {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #FFB300;
}

.tariff-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 24px 0;
}

.tariff-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tariff-features li {
  font-size: 14px;
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
  opacity: .85;
}

.tariff-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #FFB300;
}

.tariff-footer {
  text-align: right;
}

/* Mobile */

@media (max-width: 640px) {
  .tariff-header {
    grid-template-columns: 1fr;
  }

  .tariff-price {
    text-align: left;
    margin-top: 8px;
  }

  .tariff-features {
    grid-template-columns: 1fr;
  }

  .tariff-footer {
    text-align: left;
  }
}
/* =========================
   TARIFF BUTTONS FIX
   ========================= */

.tariff-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: 100%;
  margin-top: 8px;

  font-size: 16px;
  font-weight: 600;
  padding: 16px 18px;
  text-align: center;
  border-radius: 16px;
}

/* Slight lift on hover */
.tariff-btn:hover {
  transform: translateY(-2px);
}

/* Emoji alignment */
.tariff-btn::before {
  line-height: 1;
}
/* =========================
   PARTNER CTA (PREMIUM)
   ========================= */

.partner-cta {
  margin-top: 64px;
}

.partner-cta-box {
  background: linear-gradient(
    180deg,
    rgba(255,179,0,0.08),
    rgba(255,179,0,0.03)
  );
  border-radius: 22px;
  padding: 32px;
  text-align: center;
}

.partner-cta-box h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.partner-cta-box p {
  font-size: 14px;
  opacity: .75;
  max-width: 620px;
  margin: 0 auto 24px;
}

.partner-cta-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.photo-icon {
  display: grid;
  place-items: center;
}

.photo-icon svg {
  width: 24px;
  height: 24px;
  transform: translateY(-10px); /* ↑ поднять на 10px */
}
.btn-wrap--soft {
  display: flex;
  align-items: center;      /* ⬅ вертикальное центрирование */
  justify-content: center;  /* ⬅ горизонтальное центрирование */
  margin-top: 14px;
  padding: 16px;
  background: linear-gradient(180deg, #151515, #0f0f0f);
  border-radius: 14px;
}
.btn-wrap--soft {
  padding-top: 8px;
  padding-bottom: 20px;
}
.btn-wrap--soft .btn {
  opacity: 0.85;
}

/* =========================
   AI AVATAR VIDEO
   ========================= */

.ai-avatar video.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  /* Для плавного видео */
  filter: brightness(1.05) contrast(1.1);
  /* Небольшая анимация видео */
  animation: videoPulse 8s ease-in-out infinite;
}

/* Оптимизация для мобильных устройств */
.ai-avatar video.avatar {
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Анимация пульсации для видео */
@keyframes videoPulse {
  0%, 100% {
    filter: brightness(1.05) contrast(1.1);
  }
  50% {
    filter: brightness(1.15) contrast(1.2);
  }
}

/* Улучшенные стили для .avatar-glow */
.avatar-glow {
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255,200,120,.45),
    rgba(255,120,0,.2),
    transparent 70%
  );
  box-shadow:
    0 0 35px rgba(255,160,0,.7),
    0 0 90px rgba(255,100,0,.5),
    inset 0 0 40px rgba(255,180,0,.3); /* Добавили внутреннее свечение */
  animation: pulse 4s ease-in-out infinite;
  overflow: hidden; /* Важно для обрезки видео по кругу */
}

/* Адаптация анимации pulse для видео */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: .7;
    box-shadow:
      0 0 35px rgba(255,160,0,.7),
      0 0 90px rgba(255,100,0,.5),
      inset 0 0 40px rgba(255,180,0,.3);
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
    box-shadow:
      0 0 50px rgba(255,180,0,.9),
      0 0 120px rgba(255,120,0,.7),
      inset 0 0 60px rgba(255,200,0,.5);
  }
  100% {
    transform: scale(1);
    opacity: .7;
    box-shadow:
      0 0 35px rgba(255,160,0,.7),
      0 0 90px rgba(255,100,0,.5),
      inset 0 0 40px rgba(255,180,0,.3);
  }
}

/* Мобильная оптимизация видео */
@media (max-width: 480px) {
  .ai-avatar {
    width: 140px;
    height: 140px;
  }
  
  .avatar-glow {
    inset: 24px; /* Уменьшаем отступы */
  }
  
  /* Отключаем сложные анимации на мобильных для экономии батареи */
  @media (prefers-reduced-motion: reduce) {
    .ai-avatar video.avatar,
    .avatar-glow,
    .ai-ring {
      animation: none;
    }
  }
}

/* Браузерная оптимизация */
.ai-avatar {
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

/* Фолбэк если видео не загрузилось */
.ai-avatar .avatar:not([src]) {
  background: linear-gradient(45deg, #ffb300, #ff9800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  padding: 10px;
}

/* Анимация загрузки видео */
.ai-avatar video.avatar[data-loaded="false"] {
  background: linear-gradient(90deg, #2a2a2a, #1a1a1a, #2a2a2a);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
