/* Import Slavic-style font for headers */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&display=swap');

/* Caveat - рукописный шрифт для цитат и дневниковых записей */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&display=swap');

/* Warrior Path Typography */
h1, h2, h3, .page-title, .section-title, .warrior-title, .hero-main-title {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Eclipse Logo styling */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-svg {
    width: 45px;
    height: 45px;
    filter: drop-shadow(0 0 8px rgba(218, 165, 32, 0.5));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-svg:hover {
    filter: drop-shadow(0 0 12px rgba(218, 165, 32, 0.8));
    transform: scale(1.05);
}

.brand-text {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: #daa520;
    text-shadow: 0 0 10px rgba(218, 165, 32, 0.3);
    line-height: 1.2;
}

.brand-subtitle {
    font-family: 'Georgia', serif;
    font-size: 0.75rem;
    color: #b8860b;
    font-style: italic;
    letter-spacing: 1px;
}

/* Caveat - рукописный стиль для особых элементов */
.journal-content,
.entry-preview,
.hero-quote-text,
.handwritten {
    font-family: 'Caveat', cursive;
    font-size: 1.3rem;
    line-height: 1.8;
}

.journal-entry-content {
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    line-height: 1.9;
    color: #e0e0e0;
}

.quote-handwritten {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Parchment texture background for body */
body {
    background-image: url('../images/parchment-texture.svg');
    background-size: 400px 400px;
    background-attachment: fixed;
}

/* ПОЛНОЭКРАННЫЙ HERO БЛОК */
.hero-fullscreen {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;

  /* КАРТИНКА НА ВЕСЬ ЭКРАН */
  background-image: url("/static/images/Main-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* Контент поверх картинки */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
  padding-top: 2rem; /* Минимальный отступ сверху */
  display: flex;
  flex-direction: column;
  gap: 3rem; /* Большое расстояние между элементами */
  animation: fadeInUp 1s ease-out;
}

/* Заголовок */
.hero-main-title {
  font-size: 4rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #daa520;
}

/* Блок с цитатой */
.hero-quote-block {
  margin-bottom: 0;
  padding: 2rem 2.5rem;
  background: rgba(10, 10, 10, 0.4);
  border-radius: 15px;
  border: 1px solid rgba(218, 165, 32, 0.25);
  backdrop-filter: blur(8px);
}

.hero-quote-text {
  font-size: 1.5rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-quote-author {
  font-size: 1rem;
  font-style: normal;
  opacity: 0.9;
  letter-spacing: 1px;
}

/* Кнопки */
.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.hero-btn-primary {
  background: #daa520;
  color: #1a1206;
  border: 2px solid #daa520;
}

.hero-btn-primary:hover {
  background: #b8860b;
  border-color: #b8860b;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  color: white;
}

.hero-btn-secondary {
  background: transparent;
  color: #daa520;
  border: 2px solid #daa520;
}

.hero-btn-secondary:hover {
  background: rgba(218, 165, 32, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Анимация */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== МОБИЛЬНАЯ АДАПТИВНОСТЬ ===== */

/* Маленькие телефоны (до 480px) */
@media (max-width: 480px) {
  .hero-main-title {
    font-size: 1.6rem;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-quote-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
  }

  .hero-quote-author {
    font-size: 0.8rem;
  }

  .hero-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    padding: 0 1rem;
  }

  .hero-content {
    padding: 1rem;
    width: 100%;
  }

  .hero-fullscreen {
    background-attachment: scroll;
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }

  /* Навигация */
  .nav-menu {
    gap: 0.8rem;
    padding: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-menu a {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
  }

  /* Уроки */
  .warrior-level {
    padding: 1rem;
    margin: 0.5rem;
    border-radius: 12px;
  }

  .warrior-level h1 {
    font-size: 1.5rem;
  }

  .warrior-level h2 {
    font-size: 1.2rem;
  }

  .warrior-level h3 {
    font-size: 1.1rem;
  }

  .book-practice,
  .video-example,
  .our-practice,
  .level-task,
  .feature,
  .humor-block,
  .final-quote {
    padding: 1rem;
    margin: 1rem 0;
  }

  /* Кнопки */
  .complete-level-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    width: 100%;
  }

  .video-link a {
    display: block;
    text-align: center;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    word-break: break-word;
  }

  /* Формы */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px !important; /* Предотвращает зум на iOS */
    padding: 0.7rem;
  }

  /* Таблицы */
  table {
    font-size: 0.85rem;
  }

  td, th {
    padding: 0.5rem;
  }
}

/* Планшеты и большие телефоны (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .hero-main-title {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }

  .hero-quote-text {
    font-size: 1.1rem;
  }

  .hero-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .hero-buttons {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .hero-fullscreen {
    background-attachment: scroll;
  }

  .nav-menu {
    gap: 1.5rem;
    padding: 1rem;
  }

  .warrior-level {
    padding: 1.5rem;
  }

  .warrior-level h1 {
    font-size: 1.8rem;
  }

  .warrior-level h2 {
    font-size: 1.4rem;
  }
}

/* ===== ГЛОБАЛЬНЫЕ СТИЛИ И ШРИФТЫ ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Raleway", sans-serif;
  background: #0a0a0a;
  color: #e0e0e0;
  line-height: 1.6;
}

/* Заголовки - более элегантный шрифт */
h1,
h2,
h3,
h4,
.hero-main-title,
.nav-links a {
  font-family: "Playfair Display", serif;
}

/* ===== HERO БЛОК ===== */
.hero-fullscreen {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background-image: url("/static/images/Main-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45); /* Посветлее: было 0.6, стало 0.45 */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
  padding-top: 1rem; /* Минимальный отступ сверху */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Прижимаем к верху */
  gap: 2rem;
  animation: fadeInUp 1s ease-out;
  text-align: center;
  height: 100%;
  padding-bottom: 4rem;
}

/* Заголовок "Учение дона Хуана" */
.hero-main-title {
  font-family: "Playfair Display", serif;
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 6px;
  background: linear-gradient(135deg, #daa520 0%, #ffd700 50%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  line-height: 1.1;
}

/* Скрытый H1 - виден только поисковикам */
.hero-title-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Анимация появления цитаты */
@keyframes fadeInQuote {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-quote-animate {
  animation: fadeInQuote 1.5s ease-out 0.5s both;
}

/* Цитата */
.hero-quote-text {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  line-height: 1.9;
  font-style: italic;
  margin-bottom: 1.2rem;
  color: #e0e0e0;
  font-weight: 300;
}

.hero-quote-author {
  font-family: "Raleway", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #daa520;
  margin-bottom: 0;
  font-weight: 500;
}

/* ===== ДЫШАЩАЯ КНОПКА ===== */
.hero-btn {
  display: inline-block;
  padding: 1.2rem 3rem; /* Больше размер */
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px; /* Шире буквы */
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-family: "Raleway", sans-serif;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.hero-btn-primary {
  background: linear-gradient(135deg, #daa520 0%, #b8860b 100%);
  color: #0a0a0a;
  border: none;
  box-shadow: 0 0 15px rgba(218, 165, 32, 0.3);

  /* АНИМАЦИЯ ДЫХАНИЯ */
  animation: breathe 2.5s ease-in-out infinite;
}

.hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(218, 165, 32, 0.5);
  animation: none;
  background: linear-gradient(135deg, #e6b422 0%, #c4940a 100%);
}

/* Ключевые кадры для анимации дыхания */
@keyframes breathe {
  0% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(218, 165, 32, 0.3);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(218, 165, 32, 0.7);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 15px rgba(218, 165, 32, 0.3);
    opacity: 0.9;
  }
}

/* Вторая кнопка (если нужна) */
.hero-btn-secondary {
  background: transparent;
  color: #daa520;
  border: 2px solid #daa520;
}

.hero-btn-secondary:hover {
  background: rgba(218, 165, 32, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ===== КНОПКА HERO (как в примере) ===== */
.btn-hero {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: linear-gradient(135deg, #daa520 0%, #b8860b 100%);
  color: #0a0a0a;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 1.2rem;
  font-family: "Raleway", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(218, 165, 32, 0.4);
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(218, 165, 32, 0.6);
  background: linear-gradient(135deg, #e6b422 0%, #c4940a 100%);
}

/* Кнопка с анимацией дыхания */
.btn-hero-breathe {
  animation: breathe 2.5s ease-in-out infinite;
}

.btn-hero-breathe:hover {
  animation: none;
}

/* Вторая кнопка (Войти) - без анимации */
.btn-hero-secondary {
  background: transparent;
  color: #daa520;
  border: 2px solid #daa520;
  box-shadow: none;
}

.btn-hero-secondary:hover {
  background: rgba(218, 165, 32, 0.1);
  box-shadow: 0 0 20px rgba(218, 165, 32, 0.3);
}

/* Группа кнопок */
.hero-buttons {
  display: flex;
  flex-direction: column; /* Друг под другом */
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 0;
}

/* ===== НАВИГАЦИЯ (как на скрине) ===== */
.nav-menu {
  display: flex;
  justify-content: center;
  gap: 3rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

.nav-menu a {
  font-family: "Playfair Display", serif;
  color: #daa520;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  color: #ffd700;
  transform: translateY(-2px);
}

/* ===== АНИМАЦИЯ ПОЯВЛЕНИЯ ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
  .hero-main-title {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }

  .hero-quote-text {
    font-size: 1rem;
  }

  .hero-btn-primary {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
  }

  .hero-fullscreen {
    background-attachment: scroll;
  }

  @keyframes breathe {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.03);
    }
    100% {
      transform: scale(1);
    }
  }
}

/* ========== СТИЛИ ДЛЯ УРОКОВ "ПУТЬ ВОИНА" ========== */

/* Общий контейнер урока */
.warrior-level {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 20px;
  color: #e2e8f0;
}

/* Цитата в начале уровня */
.warrior-level > blockquote,
.warrior-level > p:first-of-type {
  font-style: italic;
  color: #f59e0b;
  border-left: 3px solid #f59e0b;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-size: 1.1rem;
}

/* Блок "Что делал Карлос" */
.book-practice {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid #334155;
}

.book-practice p {
  margin: 0.5rem 0;
  line-height: 1.6;
}

/* Видео-примеры */
.video-example {
  background: rgba(245, 158, 11, 0.1);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid #f59e0b;
}

.video-link {
  margin: 1rem 0;
}

.video-link a {
  display: inline-block;
  background: #f59e0b;
  color: #0f172a;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.video-link a:hover {
  background: #d97706;
  transform: translateY(-2px);
}

.video-note {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.3rem;
}

/* Наша практика */
.our-practice {
  background: rgba(16, 185, 129, 0.1);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid #10b981;
}

.our-practice p {
  margin: 0.8rem 0;
  line-height: 1.6;
}

.our-practice strong {
  color: #10b981;
}

/* Задание на неделю */
.level-task {
  background: rgba(245, 158, 11, 0.15);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 1px dashed #f59e0b;
}

.level-task p {
  margin: 0.8rem 0;
}

/* ФИШКА уровня */
.feature {
  background: linear-gradient(135deg, #1e1b4b 0%, #2e1065 100%);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid #8b5cf6;
}

.feature p {
  margin: 0.8rem 0;
}

.feature strong {
  color: #f59e0b;
}

/* Блок с юмором */
.humor-block {
  background: rgba(245, 158, 11, 0.08);
  border-radius: 15px;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  border-left: 4px solid #f59e0b;
}

.humor-block p {
  margin: 0.5rem 0;
  color: #fde68a;
}

/* Кнопка завершения уровня */
.level-complete {
  text-align: center;
  margin: 2rem 0;
}

.complete-level-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.complete-level-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.complete-note {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.8rem;
}

/* Финальная цитата */
.final-quote {
  background: rgba(139, 92, 246, 0.15);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
  border: 1px solid #8b5cf6;
}

.final-quote p {
  margin: 0.5rem 0;
  font-style: italic;
}

/* Заголовки внутри урока */
.warrior-level h1 {
  font-size: 2.5rem;
  color: #f59e0b;
  text-align: center;
  margin-bottom: 2rem;
}

.warrior-level h2 {
  color: #f59e0b;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.warrior-level h3 {
  color: #10b981;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

/* Списки */
.warrior-level ul,
.warrior-level ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.warrior-level li {
  margin: 0.5rem 0;
  line-height: 1.5;
}

/* Цитаты внутри уроков */
.warrior-level blockquote {
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 3px solid #f59e0b;
  font-style: italic;
  color: #cbd5e1;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .warrior-level {
    padding: 1rem;
  }

  .warrior-level h1 {
    font-size: 1.8rem;
  }

  .warrior-level h2 {
    font-size: 1.3rem;
  }

  .video-link a {
    display: block;
    text-align: center;
    word-break: break-word;
  }
}

/* ============================================
   ГЛАВНАЯ СТРАНИЦА (index.html)
   ============================================ */

/* Статистика на главной */
.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.home-stat-card {
  text-align: center;
  padding: 2rem;
  background: #2a1f0c;
  border-radius: 10px;
  border: 1px solid #b8860b;
}

.home-stat-value {
  font-size: 2.5rem;
  color: #daa520;
  margin-bottom: 0.5rem;
}

.home-stat-label {
  color: #b8860b;
}

/* Путь воина - уровни */
.warrior-path-section {
  margin: 4rem 0;
}

.warrior-path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.warrior-level-card {
  text-align: center;
  padding: 1.5rem;
  background: #2a1f0c;
  border-radius: 10px;
}

.warrior-level-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.warrior-level-name {
  color: #daa520;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.warrior-level-desc {
  font-size: 0.9rem;
  color: #b8860b;
}

/* Последние уроки */
.recent-lessons-section {
  margin: 4rem 0;
}

.recent-lessons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.lesson-card {
  background: #2a1f0c;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid #b8860b;
}

.lesson-card-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.lesson-card-title {
  color: #daa520;
  margin-bottom: 0.5rem;
}

.lesson-card-subtitle {
  color: #b8860b;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.lesson-card-tags {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
}

.lesson-tag {
  background: #3a2f1c;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* CTA секция (призыв к действию) */
.cta-section {
  text-align: center;
  padding: 4rem;
  background: #2a1f0c;
  border-radius: 10px;
  margin: 4rem 0;
}

.cta-title {
  color: #daa520;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-text {
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  font-size: 1.2rem;
  padding: 1rem 2rem;
}

/* ============================================
   АДМИН ПАНЕЛЬ
   ============================================ */

/* Заголовок страницы админки */
.admin-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem 0;
}

.admin-title {
  color: #daa520;
}

/* Карточки статистики */
.admin-stats-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-stat-card {
  background: #2a1f0c;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #b8860b;
}

.admin-stat-value {
  font-size: 2rem;
  color: #daa520;
}

.admin-stat-label {
  color: #b8860b;
}

/* Формы админки */
.admin-form-container {
  max-width: 800px;
  margin: 2rem auto;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-form-help {
  color: #b8860b;
  font-size: 0.9rem;
}

.admin-form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.admin-form-actions .btn {
  flex: 1;
}

/* Кнопки в таблицах */
.btn-inline {
  display: inline;
  padding: 0.3rem 0.8rem;
}

.btn-small {
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
}

/* Inline формы */
.form-inline {
  display: inline;
}

/* Обрезка текста */
.text-truncate {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================
   ДНЕВНИК (Journal)
   ============================================ */

/* Шапка формы дневника */
.journal-form-header {
  text-align: center;
  margin: 2rem 0;
}

/* Секции формы */
.form-section {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed #b8860b;
}

.form-section-title {
  color: #daa520;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.form-card {
  max-width: 900px;
  margin: 0 auto 3rem;
  background: #2a1f0c;
  border: 1px solid #b8860b;
  border-radius: 10px;
  padding: 2rem;
}

/* Grid для форм */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  color: #daa520;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  background: #1a1a1a;
  border: 1px solid #b8860b;
  border-radius: 5px;
  color: #e0e0e0;
  font-family: 'Georgia', serif;
}

.form-control:focus {
  outline: none;
  border-color: #daa520;
  box-shadow: 0 0 10px rgba(218, 165, 32, 0.3);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-text {
  display: block;
  color: #b8860b;
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

/* Range sliders */
input[type=range] {
  width: 100%;
  margin: 0.5rem 0;
  -webkit-appearance: none;
  background: transparent;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  background: #1a1a1a;
  border-radius: 4px;
  border: 1px solid #b8860b;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: #daa520;
  border-radius: 50%;
  margin-top: -7px;
  cursor: pointer;
  border: 2px solid #b8860b;
}

input[type=range]::-webkit-slider-thumb:hover {
  background: #b8860b;
}

.range-value {
  text-align: center;
  color: #daa520;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Checkbox */
.checkbox-group {
  margin: 1rem 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e0e0e0;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* File upload */
.file-upload {
  position: relative;
}

.file-upload-preview {
  margin-top: 1rem;
  text-align: center;
}

.file-upload-preview img {
  max-width: 200px;
  max-height: 200px;
  border: 2px solid #b8860b;
  border-radius: 5px;
}

/* Кнопки формы */
.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-icon {
  margin-right: 0.5rem;
}

/* ============================================
   ПРОФИЛЬ (Profile)
   ============================================ */

/* Шапка профиля */
.profile-header {
  background: #2a1f0c;
  border: 1px solid #b8860b;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}

.profile-avatar-section {
  text-align: center;
}

.profile-avatar {
  position: relative;
  width: 150px;
  height: 150px;
  margin-bottom: 1rem;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #daa520;
  object-fit: cover;
}

.avatar-edit-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #daa520;
  color: #1a1a1a;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.avatar-edit-btn:hover {
  background: #b8860b;
  transform: scale(1.1);
}

.profile-name {
  font-size: 1.5rem;
  color: #daa520;
  margin-bottom: 0.3rem;
}

.nagual-name {
  color: #b8860b;
  font-style: italic;
  margin-bottom: 0.3rem;
}

.warrior-path {
  background: #3a2f1c;
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

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

.stat-card {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #b8860b;
}

.stat-value {
  font-size: 2rem;
  color: #daa520;
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.stat-label {
  color: #b8860b;
  font-size: 0.9rem;
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.dashboard-card {
  background: #2a1f0c;
  border: 1px solid #b8860b;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.dashboard-card h3 {
  color: #daa520;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.view-all {
  color: #b8860b;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.view-all:hover {
  color: #daa520;
}

/* Category Progress */
.category-progress-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.category-progress-item {
  width: 100%;
}

.category-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.category-name {
  color: #e0e0e0;
}

.category-count {
  color: #b8860b;
}

.progress-bar {
  height: 8px;
  background: #1a1a1a;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #b8860b, #daa520);
  transition: width 0.3s;
}

/* Skills */
.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skill-item {
  width: 100%;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.skill-name {
  color: #e0e0e0;
}

.skill-value {
  color: #daa520;
}

.skill-bar {
  height: 6px;
  background: #1a1a1a;
  border-radius: 3px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, #daa520, #f0b90b);
  transition: width 0.3s;
}

/* Energy Body */
.energy-body {
  margin-top: 1rem;
}

.energy-level-display {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.energy-level-label {
  color: #daa520;
  font-weight: bold;
  min-width: 100px;
}

.energy-dots {
  display: flex;
  gap: 0.3rem;
}

.energy-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 1px solid #b8860b;
}

.energy-dot.active {
  background: #daa520;
  box-shadow: 0 0 10px #daa520;
}

.energy-description {
  color: #b8860b;
  font-style: italic;
  margin-top: 0.5rem;
}

/* Comments List */
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comment-item {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #3a2f1c;
}

.comment-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.comment-target {
  color: #daa520;
}

.comment-date {
  color: #b8860b;
}

.comment-preview {
  color: #e0e0e0;
  font-size: 0.9rem;
}

.comment-author {
  color: #daa520;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

/* Journal List */
.journal-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.journal-item {
  display: flex;
  gap: 0.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #3a2f1c;
}

.journal-icon {
  font-size: 1.5rem;
}

.journal-content {
  flex: 1;
}

.journal-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.journal-title {
  color: #daa520;
  font-weight: bold;
}

.journal-date {
  color: #b8860b;
  font-size: 0.9rem;
}

.journal-preview {
  color: #e0e0e0;
  font-size: 0.9rem;
}

/* Achievements Mini */
.achievements-grid-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.achievement-mini {
  width: 50px;
  height: 50px;
  background: #1a1a1a;
  border: 2px solid #b8860b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s;
  cursor: help;
}

.achievement-mini:hover {
  transform: scale(1.1);
  border-color: #daa520;
  box-shadow: 0 0 10px #daa520;
}

/* Empty State */
.empty-state {
  color: #b8860b;
  text-align: center;
  padding: 1rem;
  font-style: italic;
}

/* Profile Actions */
.profile-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

/* Навигация на мобильных */
@media (max-width: 768px) {
  /* Бургер-меню */
  .burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
  }

  .burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: #daa520;
    border-radius: 2px;
    transition: all 0.3s;
  }

  .burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Мобильное меню */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #2a1f0c;
    flex-direction: column;
    padding: 1rem;
    border-bottom: 2px solid #b8860b;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #3a2f1c;
  }

  /* Скрываем десктопное меню на мобильных */
  .user-menu {
    display: none !important;
  }

  /* Мобильное меню пользователя - скрыто пока бургер не активен */
  .mobile-user-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #b8860b;
  }

  /* Показываем когда бургер активен */
  .nav-links.active .mobile-user-menu {
    display: flex !important;
  }

  .mobile-user-header {
    padding: 0.8rem 1rem;
    text-align: center;
    border-bottom: 1px solid #3a2f1c;
    margin-bottom: 0.5rem;
  }

  .mobile-nav-link {
    display: block;
    padding: 0.8rem 1rem;
    color: #e0e0e0;
    text-decoration: none;
    border-bottom: 1px solid #3a2f1c;
    transition: all 0.3s;
  }

  .mobile-nav-link:hover {
    background: #3a2f1c;
    color: #daa520;
  }

  .mobile-nav-link-primary {
    background: #b8860b;
    color: #1a1a1a;
    text-align: center;
    border-radius: 5px;
    margin-top: 0.5rem;
    border-bottom: none;
  }

  .mobile-nav-link-primary:hover {
    background: #daa520;
    color: #1a1a1a;
  }
}

/* Маленькие телефоны (до 480px) */
@media (max-width: 480px) {
  .hero-main-title {
    font-size: 1.6rem;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-quote-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
  }

  .hero-quote-author {
    font-size: 0.8rem;
  }

  .hero-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    padding: 0 1rem;
  }

  .hero-content {
    padding: 1rem;
    width: 100%;
  }

  .hero-fullscreen {
    background-attachment: scroll;
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }

  /* Навигация */
  .nav-menu {
    gap: 0.8rem;
    padding: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-menu a {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
  }

  /* Уроки */
  .warrior-level {
    padding: 1rem;
    margin: 0.5rem;
    border-radius: 12px;
  }

  .warrior-level h1 {
    font-size: 1.5rem;
  }

  .warrior-level h2 {
    font-size: 1.2rem;
  }

  .warrior-level h3 {
    font-size: 1.1rem;
  }

  .book-practice,
  .video-example,
  .our-practice,
  .level-task,
  .feature,
  .humor-block {
    padding: 1rem;
    margin: 1rem 0;
  }

  /* Профиль - улучшенная адаптивность */
  .profile-header {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
    padding: 1rem;
  }

  .profile-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .profile-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 0.8rem;
  }

  .profile-name {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
  }

  .nagual-name {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
  }

  .warrior-path {
    font-size: 0.8rem;
    padding: 0.2rem 0.8rem;
  }

  .profile-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .stat-card {
    padding: 0.8rem;
  }

  .stat-value {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .dashboard-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .dashboard-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }

  .profile-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .profile-actions .btn {
    width: 100%;
    text-align: center;
    padding: 0.6rem 1rem;
  }

  /* Формы */
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }

  /* Админка */
  .admin-stats-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== HERO НА ВСЕХ ЭКРАНАХ ===== */
@media (max-width: 768px) {
  .hero-fullscreen {
    height: 100vh !important;
    height: 100dvh !important; /* Dynamic viewport height */
    min-height: 100vh !important;
    min-height: -webkit-fill-available !important; /* iOS Safari */
  }
}

@media (min-width: 769px) {
  .hero-fullscreen {
    height: 100vh !important;
    min-height: 100vh !important;
  }
}

/* ===== HERO - ФИНАЛЬНАЯ НАСТРОЙКА ДИЗАЙНА ===== */
@media (max-width: 480px) {
  .btn-hero {
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
    width: 100% !important;
    letter-spacing: 2px !important;
  }
  
  .hero-content {
    gap: 2rem !important;
    padding: 1.5rem !important;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .btn-hero {
    padding: 1.1rem 2.5rem !important;
    font-size: 1.1rem !important;
  }
  
  .hero-content {
    gap: 2.5rem !important;
  }
}

/* ===== WARRIOR LOADER: Светление Точки Сборки ===== */
.loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 8, 4, 0.92);
  backdrop-filter: blur(12px) saturate(0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.loader-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.loader-container {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 800px;
}

/* Центральное ядро — Точка Сборки */
.loader-core {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff7d1, #daa520 40%, #8b4513 80%);
  box-shadow:
    0 0 20px 4px rgba(218, 165, 32, 0.4),
    0 0 60px 12px rgba(218, 165, 32, 0.15),
    inset 0 0 10px rgba(255, 255, 255, 0.3);
  animation: corePulse 2.4s ease-in-out infinite;
}
@keyframes corePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.85; }
}

/* Энергетические кольца */
.loader-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: rgba(218, 165, 32, 0.55);
  border-right-color: rgba(184, 134, 11, 0.25);
  transform-style: preserve-3d;
  animation: ringSpin var(--speed, 3s) linear infinite;
}
.loader-ring:nth-child(2) { width: 70px; height: 70px; transform: rotateX(var(--tilt, 15deg)); }
.loader-ring:nth-child(3) { width: 110px; height: 110px; transform: rotateY(var(--tilt, -20deg)); }
.loader-ring:nth-child(4) { width: 150px; height: 150px; transform: rotateX(var(--tilt, 10deg)); }
.loader-ring:nth-child(5) { width: 190px; height: 190px; transform: rotateY(var(--tilt, -15deg)); }
.loader-ring:nth-child(6) { width: 230px; height: 230px; transform: rotateX(var(--tilt, 25deg)); border-top-color: rgba(218, 165, 32, 0.25); }
@keyframes ringSpin {
  0% { transform: rotateZ(0deg) rotateX(var(--tilt, 0deg)); }
  100% { transform: rotateZ(360deg) rotateX(var(--tilt, 0deg)); }
}

/* Летящие эманации — частицы */
.loader-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #daa520;
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 6px 1px rgba(218, 165, 32, 0.5);
}
.loader-particles span:nth-child(1) { top: 10%; left: 50%; animation: particleFloat 2.5s ease-in-out infinite 0s; }
.loader-particles span:nth-child(2) { top: 30%; right: 10%; animation: particleFloat 3s ease-in-out infinite 0.3s; }
.loader-particles span:nth-child(3) { bottom: 20%; right: 20%; animation: particleFloat 2.8s ease-in-out infinite 0.6s; }
.loader-particles span:nth-child(4) { bottom: 10%; left: 30%; animation: particleFloat 3.2s ease-in-out infinite 0.9s; }
.loader-particles span:nth-child(5) { top: 50%; left: 8%; animation: particleFloat 2.6s ease-in-out infinite 1.2s; }
.loader-particles span:nth-child(6) { top: 15%; left: 25%; animation: particleFloat 3.1s ease-in-out infinite 1.5s; }
.loader-particles span:nth-child(7) { bottom: 35%; left: 12%; animation: particleFloat 2.9s ease-in-out infinite 1.8s; }
.loader-particles span:nth-child(8) { top: 60%; right: 12%; animation: particleFloat 3.3s ease-in-out infinite 2.1s; }
@keyframes particleFloat {
  0%   { transform: translate(0, 0) scale(0.5); opacity: 0; }
  20%  { opacity: 0.8; }
  80%  { opacity: 0.6; }
  100% { transform: translate(var(--tx, 30px), var(--ty, -40px)) scale(0.2); opacity: 0; }
}

/* Текст состояний */
.loader-text {
  position: absolute;
  bottom: -48px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: #daa520;
  text-align: center;
  white-space: nowrap;
  opacity: 0.9;
  text-shadow: 0 0 10px rgba(218, 165, 32, 0.3);
}
.loader-text::after {
  content: attr(data-loading);
}
.loader-overlay[data-state="sending"] .loader-text::after {
  content: attr(data-sending);
}
.loader-overlay[data-state="success"] .loader-text::after {
  content: attr(data-success);
}
.loader-overlay[data-state="error"] .loader-text::after {
  content: attr(data-error);
  color: #e74c3c;
  text-shadow: 0 0 10px rgba(231, 76, 60, 0.4);
}

/* Иконка успеха */
.loader-success-icon {
  position: absolute;
  width: 64px;
  height: 64px;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.loader-success-icon circle {
  stroke: #2ecc71;
  stroke-width: 3;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  transition: stroke-dashoffset 0.6s ease;
}
.loader-success-icon path {
  stroke: #2ecc71;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  transition: stroke-dashoffset 0.4s ease 0.3s;
}
.loader-overlay[data-state="success"] .loader-success-icon {
  opacity: 1;
  transform: scale(1);
}
.loader-overlay[data-state="success"] .loader-success-icon circle {
  stroke-dashoffset: 0;
}
.loader-overlay[data-state="success"] .loader-success-icon path {
  stroke-dashoffset: 0;
}
.loader-overlay[data-state="success"] .loader-core {
  background: radial-gradient(circle at 30% 30%, #d4f8d4, #2ecc71 40%, #27ae60 80%);
  box-shadow:
    0 0 20px 4px rgba(46, 204, 113, 0.4),
    0 0 60px 12px rgba(46, 204, 113, 0.15);
}
.loader-overlay[data-state="success"] .loader-ring {
  border-top-color: rgba(46, 204, 113, 0.4);
}

/* Состояние ошибки */
.loader-overlay[data-state="error"] .loader-core {
  background: radial-gradient(circle at 30% 30%, #ffdbdb, #e74c3c 40%, #c0392b 80%);
  box-shadow:
    0 0 20px 4px rgba(231, 76, 60, 0.4),
    0 0 60px 12px rgba(231, 76, 60, 0.15);
  animation: corePulse 0.8s ease-in-out infinite, errorShake 0.5s ease-in-out;
}
.loader-overlay[data-state="error"] .loader-ring {
  border-top-color: rgba(231, 76, 60, 0.4);
}
@keyframes errorShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
.breadcrumbs {
  background: #120b04;
  border-bottom: 1px solid #3a2f1c;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.breadcrumbs-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.breadcrumb-link {
  color: #b8860b;
  text-decoration: none;
  transition: color 0.2s ease;
  opacity: 0.85;
}

.breadcrumb-link:hover {
  color: #daa520;
  opacity: 1;
}

.breadcrumb-separator {
  color: #b8860b;
  opacity: 0.5;
  margin: 0 0.2rem;
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: #daa520;
  font-weight: 600;
  opacity: 1;
}

@media (max-width: 768px) {
  .breadcrumbs-inner {
    padding: 0 1rem;
    font-size: 0.8rem;
  }
}

/* Адаптив */
@media (max-width: 480px) {
  .loader-container { transform: scale(0.8); }
  .loader-text { font-size: 0.8rem; }
}
