﻿@charset "UTF-8";

/*
Theme Name: Mystical Tarot Theme
Description: Професійна мистична тема для WordPress, спеціально розроблена для таро-майстрів, астрологів та езотериків. Включає інтеграцію з Bookly, адаптивний дизайн, українську локалізацію та унікальні магічні ефекти.
Author: WebRocket.Dev Studio
Author URI: https://webrocket.dev
Version: 1.0.0
License: Proprietary License
License URI: https://webrocket.dev/license
Text Domain: custom-theme
Tags: mystical, tarot, astrology, esoteric, dark, responsive, bookly, ukrainian
Charset: UTF-8

=== АВТОРСЬКІ ПРАВА ===
© 2025 WebRocket.Dev Studio
Email: webrocketdev@gmail.com
Website: https://webrocket.dev

Всі права захищені. Тема є власністю WebRocket.Dev Studio.
Забороняється копіювання, розповсюдження або продаж без письмової згоди.

=== ЛІЦЕНЗІЯ ===
Дана тема ліцензована для використання на одному сайті.
Для отримання розширеної ліцензії зверніться: webrocketdev@gmail.com

=== ОСОБЛИВОСТІ ===
- Унікальний мистичний дизайн
- Повна інтеграція з Bookly
- Українська локалізація
- Адаптивна верстка
- Плаваючі віджети
- Магічні анімації та ефекти
- SEO оптимізація

=== ТЕХНІЧНА ПІДТРИМКА ===
webrocketdev@gmail.com
*/

@import url('./fonts/fonts.css');

/* Містичні кольори з золотими акцентами */
:root {
  --primary-dark: #0d0d1a;
  --secondary-dark: #1a1a2e;
  --tertiary-dark: #16213e;
  --accent-gold: #b8956a;
  --accent-gold-light: #d4af6f;
  --accent-silver: #c0c0c0;
  --accent-light: #e8e8e8;
  --text-muted: #b8b8b8;
  --mystical-glow: rgba(212, 175, 55, 0.3);
  --silver-glow: rgba(192, 192, 192, 0.2);

  /* Мистические шрифты */
  --font-family-primary: 'FlaviusUniversal', Georgia, 'Times New Roman', Times, serif;
  --font-family-text: 'e-Ukraine', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-fallback: Georgia, 'Times New Roman', Times, serif;
  --font-family-base: var(--font-family-text);
}

/* Основні стилі */
* {
  box-sizing: border-box;
}

/* Плавная прокрутка для якорей */
html {
  scroll-behavior: smooth;
}

/* Компенсация высоты фиксированного хедера для якорей */
section[id] {
  scroll-margin-top: 100px;
}

/* Убираем отступы между секциями, используем только padding */
section {
  margin: 0;
  padding: 0;
  position: relative;
}

/* Плавные переходы между секциями */
section:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1) 50%,
    transparent
  );
  z-index: 10;
}

/* Основные стили */
.main-content {
  margin: 0;
  padding: 0;
}

/* Убираем WordPress отступы */
body.home {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family-base);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: #0a0a0a;
  color: var(--accent-light);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Основные текстовые элементы используют e-Ukraine */
p, span, div, li, ul, ol, table, td, th, 
.content, .description, .text, .service-description,
.prediction-text, .shuffle-text, .tarot-subtitle,
.section-subtitle, .stat-label, .used-message p {
  font-family: var(--font-family-text);
}

/* Звездное небо анимация */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(2px 2px at 20px 30px, #eee, transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 90px 40px, #fff, transparent),
    radial-gradient(
      1px 1px at 130px 80px,
      rgba(255, 255, 255, 0.6),
      transparent
    ),
    radial-gradient(2px 2px at 160px 30px, #ddd, transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: sparkle 20s linear infinite;
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      1px 1px at 50px 50px,
      rgba(255, 255, 255, 0.4),
      transparent
    ),
    radial-gradient(
      2px 2px at 100px 25px,
      rgba(255, 255, 255, 0.3),
      transparent
    ),
    radial-gradient(1px 1px at 150px 75px, #fff, transparent),
    radial-gradient(
      1px 1px at 200px 15px,
      rgba(255, 255, 255, 0.7),
      transparent
    );
  background-repeat: repeat;
  background-size: 250px 120px;
  animation: sparkle 25s linear infinite reverse;
  z-index: -1;
  pointer-events: none;
}

@keyframes sparkle {
  0% {
    transform: translateX(0) translateY(0);
  }
  100% {
    transform: translateX(-200px) translateY(-100px);
  }
}

/* Заголовок сайта - прозорий поверх hero */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  padding: 1rem 0;
  z-index: 1000;
  transition: all 0.4s ease;
  box-shadow: none;
}

.site-header.scrolled {
  background: rgba(13, 13, 26, 0.95);
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 30px rgba(106, 76, 147, 0.2);
  border-bottom: 1px solid var(--accent-purple);
}

.site-header .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Логотип та назва - містичний стиль */
.site-branding {
  display: flex;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: radial-gradient(circle, var(--accent-purple), #4a2c61);
  border: 2px solid var(--accent-silver);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-primary);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--accent-silver);
  box-shadow: 0 0 20px var(--mystical-glow);
  position: relative;
}

.logo-icon::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: conic-gradient(
    var(--accent-purple),
    var(--accent-silver),
    var(--accent-purple)
  );
  z-index: -1;
  animation: rotate 8s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.site-title {
  font-family: var(--font-family-primary);
  font-size: 1.8rem;
  font-weight: 500;
  margin: 0;
  color: var(--accent-light);
  text-shadow: 0 0 10px var(--mystical-glow), 2px 2px 4px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(106, 76, 147, 0.4);
}

.site-title a {
  color: var(--accent-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.site-title a:hover {
  color: var(--accent-purple);
  text-shadow: 0 0 15px var(--mystical-glow);
}

/* Навігація - простий стиль по умолчанию, магические эффекты только при ховере */
.main-navigation {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: 'FlaviusUniversal', 'Times New Roman', serif !important; /* Хардкод FlaviusUniversal для меню */
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2.5rem;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  color: #ffffff; /* Белый цвет для меню */
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  font-family: 'FlaviusUniversal', 'Times New Roman', serif !important; /* Хардкод шрифта */
  padding: 0.8rem 1.2rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  /* Простой стиль по умолчанию - без теней и эффектов */
}

/* Магический фоновый эффект при ховере */
.main-navigation a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.1),
    transparent
  );
  transition: left 0.6s ease;
  z-index: -1;
}

.main-navigation a:hover::before {
  left: 100%;
}

/* Основные hover эффекты - магические эффекты только при ховере */
.main-navigation a:hover {
  color: #d4af6f;
  text-shadow: 0 0 15px rgba(212, 175, 111, 0.6),
    0 0 25px rgba(212, 175, 111, 0.3), 1px 1px 3px rgba(0, 0, 0, 0.8);
  transform: translateY(-2px);
  background: rgba(212, 175, 111, 0.08);
  box-shadow: 0 4px 15px rgba(212, 175, 111, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Магическое подчеркивание - появляется только при ховере */
.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #d4af6f 20%,
    #b8956a 50%,
    #d4af6f 80%,
    transparent
  );
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(212, 175, 111, 0.4);
  border-radius: 1px;
}

.main-navigation a:hover::after {
  width: 80%;
  box-shadow: 0 0 12px rgba(212, 175, 111, 0.6),
    0 0 25px rgba(212, 175, 111, 0.3);
}

/* Дополнительные магические частицы при ховере */
.main-navigation a:hover {
  animation: menuItemGlow 2s ease-in-out infinite alternate;
}

@keyframes menuItemGlow {
  0% {
    text-shadow: 0 0 15px rgba(212, 175, 111, 0.6),
      0 0 25px rgba(212, 175, 111, 0.3), 1px 1px 3px rgba(0, 0, 0, 0.8);
  }
  100% {
    text-shadow: 0 0 20px rgba(212, 175, 111, 0.8),
      0 0 35px rgba(212, 175, 111, 0.4), 1px 1px 3px rgba(0, 0, 0, 0.8);
  }
}

/* Активные ссылки навигации */
.main-navigation a.active,
.main-navigation a[href*='#']:target {
  color: #d4af6f;
  /* Убираем постоянные магические эффекты - только цвет */
}

.main-navigation a.active::after,
.main-navigation a[href*='#']:target::after {
  width: 80%;
  background: linear-gradient(
    90deg,
    transparent,
    #d4af6f 20%,
    #b8956a 50%,
    #d4af6f 80%,
    transparent
  );
  /* Убираем постоянные тени и анимации для активных элементов */
}

@keyframes activeMenuGlow {
  0% {
    box-shadow: 0 0 12px rgba(212, 175, 111, 0.6),
      0 0 25px rgba(212, 175, 111, 0.3);
  }
  100% {
    box-shadow: 0 0 18px rgba(212, 175, 111, 0.8),
      0 0 35px rgba(212, 175, 111, 0.4);
  }
}

/* WordPress классы для активного меню */
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .menu-item-anchor.current-menu-item > a {
  color: #d4af6f;
  background: rgba(212, 175, 111, 0.12);
  text-shadow: 0 0 15px rgba(212, 175, 111, 0.7),
    0 0 25px rgba(212, 175, 111, 0.4), 1px 1px 3px rgba(0, 0, 0, 0.8);
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(212, 175, 111, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after,
.main-navigation .menu-item-anchor.current-menu-item > a::after {
  width: 80%;
  background: linear-gradient(
    90deg,
    transparent,
    #d4af6f 20%,
    #b8956a 50%,
    #d4af6f 80%,
    transparent
  );
  box-shadow: 0 0 12px rgba(212, 175, 111, 0.6),
    0 0 25px rgba(212, 175, 111, 0.3);
  animation: activeMenuGlow 3s ease-in-out infinite alternate;
}

/* Соціальні мережі та мова - містичний стиль */
.header-extras {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--accent-light);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(106, 76, 147, 0.1);
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--accent-purple);
  background: var(--mystical-glow);
  box-shadow: 0 0 15px var(--mystical-glow);
  transform: translateY(-2px);
}

.language-switcher {
  color: var(--accent-light);
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(212, 175, 111, 0.4);
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 111, 0.15),
    rgba(184, 149, 106, 0.15)
  );
  backdrop-filter: blur(10px);
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 60px;
  flex-shrink: 0;
}

.language-switcher:hover {
  border-color: rgba(212, 175, 111, 0.6);
  color: #ffffff;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 111, 0.25),
    rgba(184, 149, 106, 0.25)
  );
  box-shadow: 0 2px 10px rgba(212, 175, 111, 0.2);
  text-shadow: 0 0 5px rgba(212, 175, 111, 0.3);
  transform: translateY(-1px);
}

/* Polylang Language Switcher Styles */
.language-switcher-container {
  position: relative;
  display: inline-block;
}

.language-switcher-container .language-switcher {
  cursor: pointer;
  user-select: none;
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 20, 30, 0.98),
    rgba(40, 40, 50, 0.98)
  );
  border: 1px solid rgba(212, 175, 111, 0.4);
  border-radius: 8px;
  backdrop-filter: blur(20px);
  min-width: 120px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  margin-top: 5px;
}

.language-switcher-container:hover .language-dropdown,
.language-switcher-container.active .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: block;
  padding: 0.8rem 1rem;
  color: var(--accent-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(212, 175, 111, 0.1);
}

.language-option:last-child {
  border-bottom: none;
  border-radius: 0 0 8px 8px;
}

.language-option:first-child {
  border-radius: 8px 8px 0 0;
}

.language-option:hover {
  background: linear-gradient(
    135deg,
    rgba(212, 175, 111, 0.2),
    rgba(184, 149, 106, 0.2)
  );
  color: #ffffff;
  text-shadow: 0 0 5px rgba(212, 175, 111, 0.3);
  transform: translateX(3px);
}

.language-option.active {
  background: linear-gradient(
    135deg,
    rgba(212, 175, 111, 0.15),
    rgba(184, 149, 106, 0.15)
  );
  color: var(--accent-gold);
}

.language-option.active:hover {
  background: linear-gradient(
    135deg,
    rgba(212, 175, 111, 0.3),
    rgba(184, 149, 106, 0.3)
  );
}

/* Hero секція - містичний стиль з фоном hero-by-taro */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)),
    url('images/hero-by-taro.webp');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 70%,
      rgba(0, 0, 0, 0.5) 0%,
      transparent 50%
    ),
    radial-gradient(circle at 70% 30%, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
  max-width: 900px;
  padding: 30px 2rem;
}

.hero-welcome {
  font-family: var(--font-family-primary);
  font-size: 1.3rem;
  color: var(--accent-silver);
  margin-bottom: 2rem;
  letter-spacing: 1px;
  text-shadow: 0 0 10px var(--silver-glow);
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-family-primary);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
  background: linear-gradient(45deg, #d4af6f, #d4af37, #e6c98a, #d4af6f, #c8a25e);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(212, 175, 111, 0.4), 
               0 0 30px rgba(212, 175, 111, 0.3),
               2px 2px 4px rgba(0, 0, 0, 0.6);
  animation: golden-shimmer 8s ease-in-out infinite;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
  font-weight: 300;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero-mission {
  font-size: 1.1rem;
  color: var(--accent-purple);
  margin-bottom: 2.5rem;
  font-style: italic;
  text-shadow: 0 0 10px var(--mystical-glow), 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-appointment {
  font-size: 1rem;
  color: var(--accent-silver);
  margin-bottom: 3rem;
  padding: 1.5rem;
  border: 1px solid var(--mystical-glow);
  border-radius: 15px;
  background: rgba(106, 76, 147, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px var(--mystical-glow);
}

.hero-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-purple), #8a6bb1);
  color: var(--accent-light);
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 20px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 30px var(--mystical-glow);
  border: 1px solid var(--accent-silver);
  font-family: var(--font-family-primary);
  letter-spacing: 1px;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px var(--mystical-glow);
  background: linear-gradient(135deg, #8a6bb1, var(--accent-purple));
  color: var(--accent-light);
}

/* Базовые стили кнопок - как в блоке "Ваша особиста карта" */
.btn {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(135deg, #d4af6f, #b8956a);
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(212, 175, 111, 0.4);
  border: none;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-family-text);
}

.btn:focus {
  outline: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(212, 175, 111, 0.6);
  text-decoration: none;
  color: white;
}

/* Стили для btn-secondary (кнопка в hero) - как в блоке "Ваша особиста карта" */
.btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(135deg, #d4af6f, #b8956a);
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(212, 175, 111, 0.4);
  border: none;
  cursor: pointer;
  font-family: var(--font-family-text);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(212, 175, 111, 0.6);
  text-decoration: none;
  color: white;
}

.btn-secondary:active {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(212, 175, 111, 0.4);
}

/* Стили для btn-primary (основная кнопка) - как в блоке "Ваша особиста карта" */
.btn-primary {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(135deg, #d4af6f, #b8956a);
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(212, 175, 111, 0.4);
  border: none;
  cursor: pointer;
  font-family: var(--font-family-text);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(212, 175, 111, 0.6);
  text-decoration: none;
  color: white;
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(212, 175, 111, 0.4);
}

/* Декоративні містичні елементи */
.hero-decoration {
  position: absolute;
  z-index: 1;
  opacity: 0.6;
}

.hero-decoration:nth-child(1) {
  top: 15%;
  left: 10%;
  width: 120px;
  height: 120px;
  border: 2px solid var(--accent-purple);
  border-radius: 50%;
  animation: mysticalFloat 8s ease-in-out infinite;
}

.hero-decoration:nth-child(2) {
  bottom: 20%;
  right: 15%;
  width: 80px;
  height: 80px;
  border: 1px solid var(--accent-silver);
  border-radius: 50%;
  animation: mysticalFloat 6s ease-in-out infinite reverse;
}

.hero-decoration:nth-child(3) {
  top: 50%;
  left: 5%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, var(--mystical-glow), transparent);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

.hero-decoration:nth-child(4) {
  top: 30%;
  right: 8%;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, var(--silver-glow), transparent);
  border-radius: 50%;
  animation: pulse 5s ease-in-out infinite 2s;
}

@keyframes mysticalFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    box-shadow: 0 0 20px var(--mystical-glow);
  }
  33% {
    transform: translateY(-20px) rotate(120deg) scale(1.1);
    box-shadow: 0 0 30px var(--mystical-glow);
  }
  66% {
    transform: translateY(10px) rotate(240deg) scale(0.9);
    box-shadow: 0 0 15px var(--mystical-glow);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.5);
  }
}

/* Анимация золотого мерцания для заголовка */
@keyframes golden-shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Анімовані кола з каплями що летять вгору */
.floating-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.bubble {
  position: absolute;
  bottom: -100px;
  background: radial-gradient(
    circle,
    rgba(106, 76, 147, 0.4),
    rgba(192, 192, 192, 0.2)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: floatUp linear infinite;
  opacity: 0;
}

.bubble:nth-child(1) {
  left: 10%;
  width: 20px;
  height: 20px;
  animation-duration: 8s;
  animation-delay: 0s;
}

.bubble:nth-child(2) {
  left: 20%;
  width: 30px;
  height: 30px;
  animation-duration: 10s;
  animation-delay: 2s;
}

.bubble:nth-child(3) {
  left: 35%;
  width: 15px;
  height: 15px;
  animation-duration: 7s;
  animation-delay: 1s;
}

.bubble:nth-child(4) {
  left: 50%;
  width: 25px;
  height: 25px;
  animation-duration: 9s;
  animation-delay: 3s;
}

.bubble:nth-child(5) {
  left: 65%;
  width: 18px;
  height: 18px;
  animation-duration: 8.5s;
  animation-delay: 4s;
}

.bubble:nth-child(6) {
  left: 80%;
  width: 22px;
  height: 22px;
  animation-duration: 11s;
  animation-delay: 1.5s;
}

.bubble:nth-child(7) {
  left: 90%;
  width: 16px;
  height: 16px;
  animation-duration: 7.5s;
  animation-delay: 5s;
}

/* Анімація підйому бульбашок */
@keyframes floatUp {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
    box-shadow: 0 0 10px rgba(106, 76, 147, 0.3);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(50px) rotate(360deg);
    opacity: 0;
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.2);
  }
}

/* Додаткові містичні краплі */
.mystic-drops {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.drop {
  position: absolute;
  bottom: -50px;
  width: 8px;
  height: 12px;
  background: linear-gradient(
    45deg,
    rgba(106, 76, 147, 0.6),
    rgba(192, 192, 192, 0.4)
  );
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  animation: dropRise linear infinite;
  opacity: 0;
}

.drop:nth-child(1) {
  left: 15%;
  animation-duration: 6s;
  animation-delay: 0s;
}
.drop:nth-child(2) {
  left: 30%;
  animation-duration: 8s;
  animation-delay: 2s;
}
.drop:nth-child(3) {
  left: 45%;
  animation-duration: 7s;
  animation-delay: 4s;
}
.drop:nth-child(4) {
  left: 60%;
  animation-duration: 9s;
  animation-delay: 1s;
}
.drop:nth-child(5) {
  left: 75%;
  animation-duration: 6.5s;
  animation-delay: 3s;
}

@keyframes dropRise {
  0% {
    transform: translateY(0) rotate(-45deg) scale(0.5);
    opacity: 0;
  }
  15% {
    opacity: 1;
    transform: translateY(-20vh) rotate(-45deg) scale(1);
  }
  85% {
    opacity: 1;
    transform: translateY(-80vh) rotate(-45deg) scale(0.8);
  }
  100% {
    transform: translateY(-100vh) rotate(-45deg) scale(0.3);
    opacity: 0;
  }
}

/* Плавні переходи між секціями - темні та загадочні */
.section-transition {
  height: 100px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.1) 50%,
    transparent 100%
  );
  position: relative;
  z-index: 10;
}

/* Загальні стилі для плавних переходів - убираем проблемные transitions */
.services-section,
.experience-section {
  transform: translateZ(0); /* Активація GPU прискорення */
}

/* Ефект паралаксу для фонових зображень */
.services-section {
  background-attachment: fixed;
}

.experience-section {
  background-attachment: fixed;
}

/* Анімація появи контенту при скролі */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Класс для Intersection Observer анимации */
.animate-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

.site-main,
.entry-title,
.entry-content,
.course-card {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.site-main.animate-in,
.entry-title.animate-in,
.entry-content.animate-in,
.course-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.section-title,
.service-card,
.stat-item {
  animation: fadeInUp 0.8s ease-out;
}

.service-card:nth-child(2) {
  animation-delay: 0.2s;
}
.service-card:nth-child(3) {
  animation-delay: 0.4s;
}
.service-card:nth-child(4) {
  animation-delay: 0.6s;
}

.stat-item:nth-child(2) {
  animation-delay: 0.1s;
}
.stat-item:nth-child(3) {
  animation-delay: 0.2s;
}
.stat-item:nth-child(4) {
  animation-delay: 0.3s;
}
.stat-item:nth-child(5) {
  animation-delay: 0.4s;
}
.stat-item:nth-child(6) {
  animation-delay: 0.5s;
}

.services-section {
  padding: 80px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.services-section .container {
  position: relative;
  z-index: 2;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(15px);
  border: 1px solid var(--mystical-glow);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* Фоновые изображения для карточек услуг */
.service-card.tarot-service {
  background-image: url('images/course-3_1.webp');
}

.service-card.runes-service {
  background-image: url('images/course-1_2.webp');
}

.service-card.rituals-service {
  background-image: url('images/course-4_1.webp');
}

.service-card.astrology-service {
  background-image: url('images/course-5_2.webp');
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--mystical-glow), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-purple);
  box-shadow: 0 20px 60px var(--mystical-glow);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, var(--mystical-glow), transparent);
  border-radius: 50%;
  border: 2px solid var(--accent-silver);
}

.service-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent-silver);
  stroke-width: 1.5;
  fill: none;
}

.service-title {
  font-family: var(--font-family-primary);
  font-size: 1.3rem;
  color: var(--accent-light);
  margin-bottom: 1rem;
  text-shadow: 0 0 10px var(--mystical-glow), 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.service-description {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Секція досвіду/статистики з фоном tarot-reader */
.experience-section {
  padding: 80px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url('images/tarot-reader.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.experience-content {
  margin: 3rem 0 4rem 0;
  position: relative;
  z-index: 2;
}

.experience-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.experience-text p {
  color: #e0e0e0;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Белые заголовки для темного фона */
.experience-section .section-title {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.experience-section .stat-number {
  color: #d4af37;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.experience-section .stat-label {
  color: #e0e0e0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--mystical-glow);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--mystical-glow);
  border-color: var(--accent-purple);
}

.stat-number {
  font-family: var(--font-family-primary);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--accent-purple);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 15px var(--mystical-glow);
}

.stat-label {
  color: var(--accent-silver);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Секція особистої карти змін - фон tarot-1 */
.personal-card-section {
  padding: 80px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
  background-size: cover;
  background-position: center;
  /* Убираем background-attachment: fixed для лучшей производительности */
  position: relative;
  overflow: hidden;
  /* Добавляем для оптимизации */
  will-change: transform;
  transform: translateZ(0);
}

.card-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.card-images {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.tarot-cards-display {
  position: relative;
  width: 500px;
  height: 500px;
  perspective: 1200px;
  margin: 0 auto;
  /* Оптимизация производительности */
  will-change: transform;
  transform: translateZ(0);
}

/* Упрощаем центральную светящуюся точку */
.tarot-cards-display::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.6), rgba(212, 175, 55, 0.1));
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
  z-index: 1;
  /* Упрощенная анимация */
  animation: centralGlowOptimized 4s ease-in-out infinite alternate;
}

/* Упрощаем орбитальную линию */
.tarot-cards-display::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border: 1px dashed rgba(212, 175, 55, 0.15);
  border-radius: 50%;
  z-index: 0;
  /* Упрощенная анимация */
  animation: orbitPulseOptimized 6s ease-in-out infinite;
}

@keyframes centralGlowOptimized {
  0% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes orbitPulseOptimized {
  0%, 100% {
    opacity: 0.15;
  }
  50% {
    opacity: 0.3;
  }
}

.tarot-card-item {
  position: absolute;
  width: 120px;
  height: 180px;
  border-radius: 15px;
  overflow: hidden;
  /* Упрощаем тени для производительности */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(212, 175, 55, 0.2);
  /* Добавляем аппаратное ускорение */
  will-change: transform;
  transform: translateZ(0);
  pointer-events: none;
}

/* Убираем сложные эффекты hover для улучшения производительности */
.tarot-card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

/* Упрощенное круговое позиционирование карт */
.tarot-card-item.card-1 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(150px) rotate(-8deg);
  z-index: 6;
  animation: flyInCircleOptimized 12s linear infinite;
  animation-delay: 0s;
}

.tarot-card-item.card-2 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(150px) rotate(64deg);
  z-index: 5;
  animation: flyInCircleOptimized 12s linear infinite;
  animation-delay: 2.4s;
}

.tarot-card-item.card-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(150px) rotate(136deg);
  z-index: 4;
  animation: flyInCircleOptimized 12s linear infinite;
  animation-delay: 4.8s;
}

.tarot-card-item.card-4 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(150px) rotate(208deg);
  z-index: 3;
  animation: flyInCircleOptimized 12s linear infinite;
  animation-delay: 7.2s;
}

.tarot-card-item.card-5 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateX(150px) rotate(280deg);
  z-index: 2;
  animation: flyInCircleOptimized 12s linear infinite;
  animation-delay: 9.6s;
}

/* Оптимизированная анимация полета по кругу */
@keyframes flyInCircleOptimized {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(150px) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) translateX(150px) rotate(360deg);
  }
}

/* Убираем дополнительную анимацию свечения для оптимизации производительности */

/* Стили для модального окна записи */
.booking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(13, 13, 26, 0.95), rgba(0, 0, 0, 0.98));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(8px);
    animation: modalOverlayFadeIn 0.4s ease-out;
}

@keyframes modalOverlayFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalOverlayFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.booking-modal-content {
    position: relative;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    background: linear-gradient(135deg, rgba(13, 13, 26, 0.98), rgba(22, 33, 62, 0.98));
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 111, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(212, 175, 111, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: modalContentSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
}

@keyframes modalContentSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modalContentSlideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
}

.booking-modal-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(212, 175, 111, 0.2), 
        transparent, 
        rgba(212, 175, 111, 0.2), 
        transparent
    );
    border-radius: 22px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

/* Скрываем скроллбар для модального окна */
.booking-modal-content {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.booking-modal-content::-webkit-scrollbar {
    display: none; /* WebKit */
}

.modal-close {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    font-size: 1.8rem;
    color: #d4af6f;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    margin: 0;
    padding: 0;
}

.modal-close:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/* Стилі для форми записи */
.booking-form-container {
    padding: 40px 30px 30px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    color: #d4af6f;
    font-family: 'FlaviusUniversal', serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(212, 175, 111, 0.3);
}

.form-header p {
    color: #b8b8d4;
    font-size: 1rem;
}

.booking-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.booking-form .form-field {
    flex: 1;
}

.booking-form .form-field.full-width {
    width: 100%;
    margin-bottom: 20px;
}

.booking-form .form-field label {
    display: block;
    color: #d4af6f;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.booking-form .form-field input,
.booking-form .form-field select,
.booking-form .form-field textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 111, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.booking-form .form-field input:focus,
.booking-form .form-field select:focus,
.booking-form .form-field textarea:focus {
    outline: none;
    border-color: #d4af6f;
    box-shadow: 0 0 10px rgba(212, 175, 111, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.booking-form .form-field input::placeholder,
.booking-form .form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.booking-form .form-field select option {
    background: #1a1a2e;
    color: #ffffff;
}

.booking-form .checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.booking-form .checkbox-field input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
    accent-color: #d4af6f;
}

.booking-form .checkbox-field label {
    color: #b8b8d4;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: normal;
}

.booking-form .form-submit {
    text-align: center;
    margin: 30px 0 20px;
}

.booking-form .form-footer {
    text-align: center;
    border-top: 1px solid rgba(212, 175, 111, 0.2);
    padding-top: 20px;
}

.booking-form .consultation-note,
.booking-form .urgency-note {
    color: #b8b8d4;
    font-size: 0.9rem;
    margin: 8px 0;
}

.booking-form .urgency-note a {
    color: #d4af6f;
    text-decoration: none;
    font-weight: 600;
}

.booking-form .urgency-note a:hover {
    text-decoration: underline;
}

/* Адаптивность модального окна */
@media (max-width: 768px) {
    .booking-modal-overlay {
        padding: 15px;
        align-items: flex-start;
        padding-top: 30px;
    }
    
    .booking-modal-content {
        max-width: 100%;
        max-height: calc(100vh - 60px);
        border-radius: 15px;
    }
    
    #booking-modal .booking-modal-header {
        padding: 20px 20px 15px;
    }
    
    #booking-modal .booking-modal-header h3 {
        font-size: 1.6rem;
    }
    
    #booking-modal .booking-modal-header h3::after,
    #booking-modal .booking-modal-header h3::before {
        display: none;
    }
    
    #booking-modal .booking-modal-close {
        top: 15px;
        right: 20px;
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    
    #booking-modal .booking-modal-body {
        padding: 0 20px 25px;
    }
    
    #booking-modal .booking-fallback-form .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    #booking-modal .booking-fallback-form .btn-appointment {
        padding: 12px 25px;
        font-size: 1rem;
        border-radius: 18px;
    }
    
    /* Адаптивные стили для кнопок hero */
    .btn,
    .btn-secondary,
    .btn-primary {
        padding: 12px 25px;
        font-size: 1rem;
        border-radius: 18px;
    }
}

/* Стили для сообщений в модальном окне */
.booking-success-message,
.booking-error-message {
  text-align: center;
  padding: 40px 20px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.success-icon,
.error-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
}

.success-icon {
  color: #4CAF50;
}

.error-icon {
  color: #f44336;
}

.booking-success-message h3,
.booking-error-message h3 {
  color: #d4af6f;
  font-family: var(--font-family-primary);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.booking-success-message p,
.booking-error-message p {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-family-text);
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.success-actions,
.error-actions {
  display: flex;
  gap: 15px;
  margin: 30px 0 20px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.urgency-contact,
.alternative-contact {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 175, 111, 0.3);
}

.urgency-contact p,
.alternative-contact p {
  font-size: 1rem;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.urgency-contact a,
.alternative-contact a {
  color: #d4af6f;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.urgency-contact a:hover,
.alternative-contact a:hover {
  color: #f4bf7f;
  text-decoration: underline;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Адаптивные стили для сообщений */
@media (max-width: 768px) {
  .booking-success-message,
  .booking-error-message {
    padding: 30px 15px;
    min-height: 350px;
  }
  
  .success-icon,
  .error-icon {
    font-size: 3rem;
  }
  
  .booking-success-message h3,
  .booking-error-message h3 {
    font-size: 1.5rem;
  }
  
  .success-actions,
  .error-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
    .booking-modal-overlay {
        padding: 10px;
        padding-top: 20px;
    }
    
    .booking-modal-content {
        max-height: calc(100vh - 40px);
        border-radius: 12px;
    }
    
    #booking-modal .booking-modal-header {
        padding: 15px 15px 10px;
    }
    
    #booking-modal .booking-modal-header h3 {
        font-size: 1.2rem;
        white-space: nowrap;
        overflow: visible;
    }
    
    /* Стили для заголовка обычного модального окна */
    .modal-content h3,
    .modal-content h2 {
        font-size: 1.1rem;
        line-height: 1.3;
        white-space: nowrap;
        overflow: visible;
    }
    
    #booking-modal .booking-modal-close {
        top: 0;
        right: 0;
        width: 35px;
        height: 35px;
        font-size: 1.4rem;
        background: rgba(0, 0, 0, 0);
        border-radius: 10px;
        margin: 0;
        padding: 0;
    }
    
    /* Стили для обычной кнопки закрытия модального окна */
    .modal-close {
        top: 0;
        right: 0;
        font-size: 1.4rem;
        width: 35px;
        height: 35px;
        background: rgba(0, 0, 0, 0);
        border-radius: 0;
        margin: 0;
        padding: 0;
    }
    
    #booking-modal .booking-modal-body {
        padding: 0 15px 20px;
    }
    
    #booking-modal .booking-fallback-form input,
    #booking-modal .booking-fallback-form select,
    #booking-modal .booking-fallback-form textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    #booking-modal .booking-fallback-form .btn-appointment {
        padding: 10px 20px;
        font-size: 0.95rem;
        border-radius: 16px;
    }
    
    #booking-modal .booking-fallback-form .form-footer {
        padding-top: 15px;
    }
    
    #booking-modal .booking-fallback-form .consultation-note,
    #booking-modal .booking-fallback-form .urgency-note {
        font-size: 0.85rem;
    }
    
    /* Адаптивные стили для кнопок hero на мобильных */
    .btn,
    .btn-secondary,
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
        border-radius: 16px;
    }
}

/* Стили для Contact Form 7 в модальном окне */
#booking-modal .booking-modal-header {
    padding: 25px 30px 15px;
    border-bottom: 1px solid rgba(212, 175, 111, 0.2);
    margin-bottom: 25px;
    position: relative;
    background: linear-gradient(135deg, rgba(212, 175, 111, 0.05), transparent);
    overflow: visible;
    min-height: 70px;
}

#booking-modal .booking-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af6f, transparent);
    transform: translateX(-50%);
    animation: headerGlow 2s ease-in-out infinite;
}

@keyframes headerGlow {
    0%, 100% {
        opacity: 0.5;
        width: 100px;
    }
    50% {
        opacity: 1;
        width: 150px;
    }
}

#booking-modal .booking-modal-header h3 {
    color: #d4af6f;
    font-family: 'FlaviusUniversal', serif;
    font-size: 1.9rem;
    margin: 0;
    text-align: center;
    text-shadow: 0 0 10px rgba(212, 175, 111, 0.3);
    position: relative;
    white-space: nowrap;
    overflow: visible;
}

#booking-modal .booking-modal-close {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, 0);
    border: none;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
    color: #d4af6f;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

#booking-modal .booking-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    transform: scale(1.1);
}

#booking-modal .booking-modal-body {
    padding: 0 30px 30px;
    overflow-x: hidden;
}

/* Стили для fallback формы в модальном окне */
#booking-modal .booking-form-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow-x: hidden;
}

#booking-modal .booking-fallback-form {
    color: #ffffff;
}

#booking-modal .booking-fallback-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

#booking-modal .booking-fallback-form .form-field {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
}

#booking-modal .booking-fallback-form .form-field.full-width {
    width: 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
}

#booking-modal .booking-fallback-form label {
    display: block;
    color: #d4af6f;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
    text-shadow: 0 0 5px rgba(212, 175, 111, 0.3);
}

#booking-modal .booking-fallback-form input,
#booking-modal .booking-fallback-form select,
#booking-modal .booking-fallback-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 111, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    backdrop-filter: blur(5px);
    max-width: 100%;
    overflow: hidden;
}

#booking-modal .booking-fallback-form input:focus,
#booking-modal .booking-fallback-form select:focus,
#booking-modal .booking-fallback-form textarea:focus {
    outline: none;
    border-color: #d4af6f;
    box-shadow: 0 0 15px rgba(212, 175, 111, 0.4);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

#booking-modal .booking-fallback-form input::placeholder,
#booking-modal .booking-fallback-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

#booking-modal .booking-fallback-form select {
    cursor: pointer;
}

#booking-modal .booking-fallback-form select option {
    background: #1a1a2e;
    color: #ffffff;
    padding: 10px;
}

#booking-modal .booking-fallback-form textarea {
    resize: vertical;
    min-height: 80px;
}

#booking-modal .booking-fallback-form .form-submit {
    text-align: center;
    margin: 30px 0 20px;
}

#booking-modal .booking-fallback-form .btn-appointment {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #d4af6f, #b8956a);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(212, 175, 111, 0.4);
    border: none;
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
    font-family: var(--font-family-text);
}

#booking-modal .booking-fallback-form .btn-appointment:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 175, 111, 0.6);
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #d4af6f, #b8956a);
}

#booking-modal .booking-fallback-form .btn-appointment:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(212, 175, 111, 0.4);
}

#booking-modal .booking-fallback-form .btn-appointment:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

#booking-modal .booking-fallback-form .form-footer {
    text-align: center;
    border-top: 1px solid rgba(212, 175, 111, 0.2);
    padding-top: 20px;
    margin-top: 20px;
}

#booking-modal .booking-fallback-form .consultation-note,
#booking-modal .booking-fallback-form .urgency-note {
    color: #b8b8d4;
    font-size: 0.9rem;
    margin: 8px 0;
    line-height: 1.4;
}

#booking-modal .booking-fallback-form .urgency-note a {
    color: #d4af6f;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

#booking-modal .booking-fallback-form .urgency-note a:hover {
    text-decoration: underline;
    text-shadow: 0 0 5px rgba(212, 175, 111, 0.5);
}

/* Магические эффекты для модального окна */
#booking-modal .booking-modal-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 111, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 111, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(212, 175, 111, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 90% 20%, rgba(212, 175, 111, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 10% 90%, rgba(212, 175, 111, 0.06) 1px, transparent 1px);
    background-size: 300px 300px, 200px 200px, 400px 400px, 250px 250px, 350px 350px;
    animation: floatingParticles 20s linear infinite;
    border-radius: 20px;
    overflow: hidden;
}

@keyframes floatingParticles {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
    100% {
        background-position: 100% 100%, -100% 100%, 100% -100%, -100% -100%, 100% 100%;
    }
}

/* Дополнительные мистические эффекты */
#booking-modal .booking-modal-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 60px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(212, 175, 111, 0.3), transparent);
    transform: translateX(-50%);
    filter: blur(10px);
    animation: headerAura 3s ease-in-out infinite;
}

@keyframes headerAura {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-50%) scale(0.8);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.2);
    }
}

/* Contact Form 7 стили в модальном окне */
#booking-modal .wpcf7-form {
    color: #ffffff;
}

#booking-modal .wpcf7-form label {
    color: #d4af6f;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    font-size: 0.95rem;
}

#booking-modal .wpcf7-form input[type="text"],
#booking-modal .wpcf7-form input[type="email"],
#booking-modal .wpcf7-form input[type="tel"],
#booking-modal .wpcf7-form input[type="date"],
#booking-modal .wpcf7-form select,
#booking-modal .wpcf7-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 111, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

#booking-modal .wpcf7-form input:focus,
#booking-modal .wpcf7-form select:focus,
#booking-modal .wpcf7-form textarea:focus {
    outline: none;
    border-color: #d4af6f;
    box-shadow: 0 0 10px rgba(212, 175, 111, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

#booking-modal .wpcf7-form input::placeholder,
#booking-modal .wpcf7-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#booking-modal .wpcf7-form .wpcf7-submit {
    background: linear-gradient(135deg, #d4af6f, #b8956a);
    color: #0d0d1a;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 20px auto;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#booking-modal .wpcf7-form .wpcf7-submit:hover {
    background: linear-gradient(135deg, #b8956a, #d4af6f);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 111, 0.4);
}

#booking-modal .wpcf7-response-output {
    background: rgba(212, 175, 111, 0.1);
    border: 1px solid rgba(212, 175, 111, 0.3);
    color: #d4af6f;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
}

#booking-modal .wpcf7-validation-errors {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff6b6b;
}

#booking-modal .wpcf7-mail-sent-ok {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #4caf50;
}

/* Адаптивность модального окна Contact Form 7 */
@media (max-width: 768px) {
    #booking-modal .booking-modal-header {
        padding: 15px 20px 0;
    }
    
    #booking-modal .booking-modal-body {
        padding: 0 20px 20px;
    }
    
    #booking-modal .booking-modal-header h3 {
        font-size: 1.5rem;
    }
}

.scroll-up-button {
  position: absolute;
  bottom: -20px;
  left: 20px;
  z-index: 6;
}

.scroll-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #d4af6f, #b8956a);
  color: white;
  text-decoration: none;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 8px 20px rgba(212, 175, 111, 0.4);
  transition: all 0.3s ease;
}

.scroll-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(212, 175, 111, 0.6);
  color: white;
  text-decoration: none;
}

.card-text .section-title {
  font-family: var(--font-family-primary);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
    color: #d4af6f;
    margin-bottom: 1rem;
    position: relative;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.card-text .section-subtitle {
  font-size: 1.2rem;
  color: #e0e0e0;
  margin-bottom: 30px;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.card-description {
  color: #e0e0e0;
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.highlight {
  color: #d4af37;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.card-benefits {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.card-benefits li {
  color: #e0e0e0;
  padding: 10px 0;
  padding-left: 25px;
  position: relative;
  line-height: 1.6;
  border-bottom: 1px solid rgba(212, 175, 111, 0.3);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.card-benefits li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #d4af37;
  font-size: 1.2rem;
  font-weight: bold;
}

.card-conclusion {
  color: #e0e0e0;
  line-height: 1.7;
  margin-bottom: 30px;
  font-size: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.card-cta {
  margin: 30px 0;
}

.cta-button.golden {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(135deg, #d4af6f, #b8956a);
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(212, 175, 111, 0.4);
  font-family: var(--font-family-text);
}

.cta-button.golden:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(212, 175, 111, 0.6);
  text-decoration: none;
  color: white;
}

.online-chat {
  margin-top: 40px;
}

.chat-indicator {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(212, 175, 111, 0.1);
  padding: 15px 20px;
  border-radius: 25px;
  border: 1px solid rgba(212, 175, 111, 0.3);
  width: fit-content;
}

.chat-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #d4af6f;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-status {
  display: flex;
  flex-direction: column;
}

.status-text {
  color: #d4af6f;
  font-weight: 600;
  font-size: 0.9rem;
}

.response-text {
  color: #666;
  font-size: 0.8rem;
}

/* Адаптивність для секції особистої карти */
@media (max-width: 768px) {
  .card-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .tarot-cards-display {
    width: 350px;
    height: 350px;
    margin: 0 auto;
    perspective: 900px;
  }

  .tarot-card-item {
    width: 90px;
    height: 135px;
  }

  /* Более компактное мобильное круговое позиционирование */
  .tarot-card-item.card-1 {
    transform: translate(-50%, -50%) translateX(100px) rotate(-8deg);
  }

  .tarot-card-item.card-2 {
    transform: translate(-50%, -50%) translateX(100px) rotate(64deg);
  }

  .tarot-card-item.card-3 {
    transform: translate(-50%, -50%) translateX(100px) rotate(136deg);
  }

  .tarot-card-item.card-4 {
    transform: translate(-50%, -50%) translateX(100px) rotate(208deg);
  }

  .tarot-card-item.card-5 {
    transform: translate(-50%, -50%) translateX(100px) rotate(280deg);
  }

  /* Обновленная анимация для мобильных */
  @keyframes flyInCircle {
    0% {
      transform: translate(-50%, -50%) rotate(0deg) translateX(100px) rotate(0deg);
    }
    100% {
      transform: translate(-50%, -50%) rotate(360deg) translateX(100px) rotate(360deg);
    }
  }

  .card-text .section-title {
    font-size: 2rem;
  }

  .chat-indicator {
    margin: 0 auto;
  }
}

/* Секція відгуків клієнтів */
.testimonials-section {
  padding: 8rem 0;
  background: linear-gradient(
      135deg,
      rgba(13, 13, 26, 0.95),
      rgba(26, 26, 46, 0.9)
    ),
    radial-gradient(
      ellipse at 30% 70%,
      var(--mystical-glow) 0%,
      transparent 60%
    ),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="testimonial-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%236a4c93" opacity="0.1"/><path d="M5 5 L15 15 M15 5 L5 15" stroke="%23c0c0c0" stroke-width="0.2" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23testimonial-pattern)"/></svg>');
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 70% 30%,
      rgba(192, 192, 192, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 30% 70%,
      rgba(106, 76, 147, 0.15) 0%,
      transparent 50%
    );
  z-index: 1;
}

.testimonials-section .container {
  position: relative;
  z-index: 3;
}

.testimonials-section .section-title {
  font-family: var(--font-family-primary);
  font-size: 2.5rem;
  color: var(--accent-light);
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px var(--mystical-glow);
}

.testimonials-section .section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 4rem;
}

.testimonials-carousel {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonials-wrapper {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial-content {
  background: rgba(26, 26, 46, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--mystical-glow);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 15px 40px rgba(106, 76, 147, 0.2);
  position: relative;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 30px;
  font-size: 4rem;
  color: var(--accent-purple);
  font-family: var(--font-family-primary);
  opacity: 0.5;
}

.testimonial-content::after {
  content: '"';
  position: absolute;
  bottom: -30px;
  right: 30px;
  font-size: 4rem;
  color: var(--accent-purple);
  font-family: var(--font-family-primary);
  opacity: 0.5;
  transform: rotate(180deg);
}

.stars {
  color: #ffd700;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.testimonial-text {
  color: var(--accent-light);
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info {
  text-align: center;
}

.author-name {
  color: var(--accent-purple);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px var(--mystical-glow);
}

.author-service {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonial-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
  gap: 2rem;
}

.testimonial-prev,
.testimonial-next {
  background: linear-gradient(135deg, var(--accent-purple), #8a5aa0);
  border: none;
  color: var(--accent-light);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(106, 76, 147, 0.3);
}

.testimonial-prev:hover,
.testimonial-next:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(106, 76, 147, 0.5);
  background: linear-gradient(135deg, #8a5aa0, var(--accent-purple));
}

.testimonial-dots {
  display: flex;
  gap: 1rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(106, 76, 147, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.dot.active {
  background: var(--accent-purple);
  box-shadow: 0 0 15px var(--mystical-glow);
  border-color: var(--accent-silver);
}

.dot:hover {
  background: var(--accent-purple);
  transform: scale(1.2);
}

/* Секція магічних практик */
.magical-practices-section {
  padding: 80px 0;
  background: linear-gradient(
      135deg,
      rgba(20, 20, 20, 0.95),
      rgba(40, 40, 40, 0.9)
    );
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.magical-practices-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(20, 20, 20, 0.8)),
    radial-gradient(
      circle at 30% 70%,
      rgba(212, 175, 111, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 1;
}

.practices-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.practices-text .section-title {
  font-family: var(--font-family-primary);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
    color: #d4af6f;
    margin-bottom: 1rem;
    position: relative;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.practices-text .section-subtitle {
  font-size: 1.3rem;
  color: #d4af6f;
  margin-bottom: 30px;
  font-weight: 500;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.practices-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 40px;
}

.practices-list h4 {
  color: #d4af6f;
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-family: var(--font-family-primary);
  font-weight: 600;
}

.practices-list ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.practices-list li {
  color: rgba(255, 255, 255, 0.85);
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  line-height: 1.6;
  border-bottom: 1px solid rgba(212, 175, 111, 0.2);
  transition: all 0.3s ease;
}

.practices-list li:hover {
  color: #d4af6f;
  padding-left: 40px;
}

.practices-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #d4af6f;
  font-size: 1.5rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.practices-list li:hover::before {
  color: #f4bf7f;
  transform: scale(1.2);
}

.practices-approach,
.practices-trust {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 25px;
}

.practices-trust {
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

/* Кнопка записи на прием */
.practices-cta {
  margin-top: 40px;
  text-align: center;
}

.btn-appointment {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(135deg, #d4af6f, #b8956a);
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(212, 175, 111, 0.4);
}

.btn-appointment:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(212, 175, 111, 0.6);
  text-decoration: none;
  color: white;
}

.btn-appointment:active {
  transform: translateY(-1px);
}

.practices-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 40px;
}

/* Дополнительные стили для Bookly модального окна в footer */
#bookly-close:hover {
  color: #fff;
  background: rgba(212, 175, 55, 0.2);
  transform: scale(1.1) rotate(90deg);
  transition: all 0.3s ease;
}

#bookly-modal .bookly-modal-content {
  animation: modalFadeIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

#bookly-modal .bookly-modal-content::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #d4af37, #f1c40f, #d4af37);
  border-radius: 22px;
  z-index: -1;
  opacity: 0.3;
  animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.7) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes borderGlow {
  from {
    opacity: 0.3;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  }
  to {
    opacity: 0.6;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
  }
}

/* Стили для полей формы в модальном окне */
#bookly-modal .bookly-demo-form input:focus,
#bookly-modal .bookly-demo-form select:focus,
#bookly-modal .bookly-demo-form textarea:focus {
  outline: none;
  border-color: #d4af6f;
  box-shadow: 0 0 15px rgba(212, 175, 111, 0.3);
  background: rgba(15, 15, 35, 0.9);
  transform: translateY(-2px);
}

#bookly-modal .bookly-demo-form input:hover,
#bookly-modal .bookly-demo-form select:hover,
#bookly-modal .bookly-demo-form textarea:hover {
  border-color: rgba(212, 175, 111, 0.5);
  transform: translateY(-1px);
  transition: all 0.3s ease;
}

#bookly-modal .bookly-demo-form button:hover {
  background: linear-gradient(135deg, #d4af6f, #b8956a);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(180, 149, 106, 0.4);
  transition: all 0.3s ease;
}

#bookly-modal .bookly-demo-form button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
  z-index: 1;
}

#bookly-modal .bookly-demo-form button:hover::before {
  left: 100%;
}

/* Стили для украинизированной Bookly формы */
#bookly-modal .bookly-form-wrapper .bookly-form {
  font-family: var(--font-family-primary);
}

#bookly-modal .bookly-form-wrapper .bookly-form .bookly-box {
  background: transparent;
  border: none;
}

#bookly-modal .bookly-form-wrapper .bookly-form .bookly-step-title {
  color: #d4af6f;
  font-family: var(--font-family-primary);
  font-weight: 600;
  text-align: center;
  margin-bottom: 25px;
}

#bookly-modal .bookly-form-wrapper .bookly-form .bookly-step-content {
  color: #e8e8e8;
}

/* Стили для шагов формы */
#bookly-modal .bookly-form-wrapper .bookly-progress-tracker {
  margin-bottom: 30px ;
}

#bookly-modal .bookly-form-wrapper .bookly-progress-tracker .bookly-step {
  background: rgba(26, 26, 46, 0.6) ;
  color: #888 ;
  border: 2px solid rgba(212, 175, 111, 0.2) ;
  border-radius: 8px ;
  font-family: 'Inter', sans-serif ;
  font-weight: 500 ;
  font-size: 13px ;
}

#bookly-modal
  .bookly-form-wrapper
  .bookly-progress-tracker
  .bookly-step.bookly-current {
  background: linear-gradient(135deg, #d4af6f, #b8956a) ;
  color: #1a1a2e ;
  border-color: #d4af6f ;
}

#bookly-modal
  .bookly-form-wrapper
  .bookly-progress-tracker
  .bookly-step.bookly-done {
  background: rgba(212, 175, 111, 0.3) ;
  color: #d4af6f ;
  border-color: #d4af6f ;
}

/* Стили для календаря */
#bookly-modal .bookly-form-wrapper .bookly-calendar {
  background: rgba(15, 15, 35, 0.8) ;
  border: 2px solid rgba(212, 175, 111, 0.3) ;
  border-radius: 15px ;
  padding: 20px ;
}

#bookly-modal .bookly-form-wrapper .bookly-calendar .bookly-day {
  color: #e8e8e8 ;
  background: transparent ;
  border: 1px solid rgba(212, 175, 111, 0.2) ;
  border-radius: 8px ;
  transition: all 0.3s ease ;
}

#bookly-modal .bookly-form-wrapper .bookly-calendar .bookly-day:hover {
  background: rgba(212, 175, 111, 0.2) ;
  color: #d4af6f ;
}

#bookly-modal
  .bookly-form-wrapper
  .bookly-calendar
  .bookly-day.bookly-selected {
  background: linear-gradient(135deg, #d4af6f, #b8956a) ;
  color: #1a1a2e ;
  border-color: #d4af6f ;
}

/* Стили для временных слотов */
#bookly-modal .bookly-form-wrapper .bookly-time-step .bookly-time-slot {
  background: rgba(15, 15, 35, 0.8) ;
  border: 2px solid rgba(212, 175, 111, 0.3) ;
  color: #e8e8e8 ;
  border-radius: 10px ;
  margin: 5px ;
  padding: 12px 20px ;
  font-family: 'Inter', sans-serif ;
  transition: all 0.3s ease ;
}

#bookly-modal .bookly-form-wrapper .bookly-time-step .bookly-time-slot:hover {
  background: rgba(212, 175, 111, 0.2) ;
  border-color: #d4af6f ;
  transform: translateY(-2px) ;
}

#bookly-modal
  .bookly-form-wrapper
  .bookly-time-step
  .bookly-time-slot.bookly-selected {
  background: linear-gradient(135deg, #d4af6f, #b8956a) ;
  color: #1a1a2e ;
  border-color: #d4af6f ;
  transform: translateY(-2px) ;
  box-shadow: 0 5px 15px rgba(180, 149, 106, 0.3) ;
}

/* Стили для dropdown'ов и select'ов */
#bookly-modal .bookly-form-wrapper select,
#bookly-modal .bookly-form-wrapper .bookly-dropdown {
  background: rgba(15, 15, 35, 0.8) ;
  border: 2px solid rgba(212, 175, 111, 0.3) ;
  color: #e8e8e8 ;
  border-radius: 10px ;
  padding: 15px ;
  font-family: 'Inter', sans-serif ;
}

#bookly-modal .bookly-form-wrapper select:focus,
#bookly-modal .bookly-form-wrapper .bookly-dropdown:focus {
  border-color: #d4af6f ;
  box-shadow: 0 0 15px rgba(212, 175, 111, 0.3) ;
}

/* Дополнительные стили для адаптации оригинальных Bookly стилей */
#bookly-modal .bookly-form-wrapper {
  color: #e8e8e8;
}

#bookly-modal .bookly-form-wrapper .bookly-form {
  background: transparent ;
  color: #e8e8e8 ;
}

#bookly-modal .bookly-form-wrapper .bookly-btn {
  background: linear-gradient(135deg, #d4af6f, #b8956a) ;
  color: #1a1a2e ;
  border: none ;
  border-radius: 12px ;
  font-weight: bold ;
  text-transform: uppercase ;
  letter-spacing: 1px ;
  font-family: var(--font-family-primary); ;
  transition: all 0.3s ease ;
  box-shadow: 0 5px 20px rgba(180, 149, 106, 0.3) ;
}

#bookly-modal .bookly-form-wrapper .bookly-btn:hover {
  background: linear-gradient(135deg, #b8956a, #d4af6f) ;
  transform: translateY(-2px) ;
  box-shadow: 0 8px 25px rgba(180, 149, 106, 0.4) ;
}

#bookly-modal .bookly-form-wrapper input,
#bookly-modal .bookly-form-wrapper select,
#bookly-modal .bookly-form-wrapper textarea {
  background: rgba(15, 15, 35, 0.8) ;
  border: 2px solid rgba(212, 175, 111, 0.3) ;
  border-radius: 10px ;
  color: #e8e8e8 ;
  padding: 15px ;
  font-family: 'Inter', sans-serif ;
  transition: all 0.3s ease ;
}

#bookly-modal .bookly-form-wrapper input:focus,
#bookly-modal .bookly-form-wrapper select:focus,
#bookly-modal .bookly-form-wrapper textarea:focus {
  border-color: #d4af6f ;
  box-shadow: 0 0 15px rgba(212, 175, 111, 0.3) ;
  background: rgba(15, 15, 35, 0.9) ;
}

#bookly-modal .bookly-form-wrapper label {
  color: #d4af37 ;
  font-weight: 500 ;
  font-family: 'Inter', sans-serif ;
  margin-bottom: 8px ;
}

/* Responsive стили для модального окна */
@media (max-width: 768px) {
  #bookly-modal .bookly-modal-content {
    margin: 20px;
    padding: 25px ;
    max-width: calc(100% - 40px) ;
  }

  #bookly-modal .form-row {
    flex-direction: column ;
    gap: 0 ;
  }

  #bookly-modal .form-row > div {
    margin-bottom: 20px ;
  }
}

/* Секція блогу/статей без фону */
.blog-section {
  padding: 150px 0;
  background: transparent;
  position: relative;
  overflow: hidden;
}

/* Мистические частицы для блога */
.blog-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.blog-particles .particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background: radial-gradient(circle, #d4af6f, rgba(212, 175, 111, 0.3));
  border-radius: 50%;
  animation: floatParticle 15s infinite linear;
  opacity: 0.8;
  box-shadow: 0 0 10px rgba(212, 175, 111, 0.5);
}

.blog-particles .particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.blog-particles .particle:nth-child(2) {
  left: 25%;
  animation-delay: -3s;
  animation-duration: 18s;
}

.blog-particles .particle:nth-child(3) {
  left: 40%;
  animation-delay: -6s;
  animation-duration: 14s;
}

.blog-particles .particle:nth-child(4) {
  left: 60%;
  animation-delay: -9s;
  animation-duration: 16s;
}

.blog-particles .particle:nth-child(5) {
  left: 75%;
  animation-delay: -12s;
  animation-duration: 13s;
}

.blog-particles .particle:nth-child(6) {
  left: 90%;
  animation-delay: -15s;
  animation-duration: 17s;
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-20px) rotate(360deg);
    opacity: 0;
  }
}

/* Анимация частиц для hero секции */
@keyframes particleFloat {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

.blog-section .container {
  position: relative;
  z-index: 2;
}

.blog-section .section-title {
  font-family: var(--font-family-primary);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
    color: #d4af6f;
    margin-bottom: 1rem;
    position: relative;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.blog-section .section-subtitle {
  color: #e0e0e0;
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 4rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.article-card {
  background: linear-gradient(135deg, rgba(212, 175, 111, 0.15), rgba(184, 149, 106, 0.1));
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(212, 175, 111, 0.3);
  transition: all 0.3s ease;
  border: 1px solid rgba(212, 175, 111, 0.4);
  backdrop-filter: blur(15px);
  position: relative;
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 175, 111, 0.05), rgba(184, 149, 106, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 20px;
  z-index: 1;
}

.article-card:hover::before {
  opacity: 1;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(212, 175, 111, 0.5);
  border-color: rgba(212, 175, 111, 0.7);
  background: linear-gradient(135deg, rgba(212, 175, 111, 0.2), rgba(184, 149, 106, 0.15));
}

.article-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.article-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(212, 175, 111, 0.2) 50%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.article-card:hover .article-image::before {
  opacity: 1;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-date {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #d4af6f, #b8956a);
  color: white;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-family-primary);
  box-shadow: 0 8px 25px rgba(212, 175, 111, 0.4);
  z-index: 2;
  transition: all 0.3s ease;
}

.article-card:hover .article-date {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(212, 175, 111, 0.6);
}

.article-content {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(212, 175, 111, 0.08), rgba(184, 149, 106, 0.05));
  position: relative;
  z-index: 2;
}

.article-meta {
  margin-bottom: 1rem;
}

.article-category {
  color: #d4af6f;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-family-primary);
  text-shadow: 0 0 8px rgba(212, 175, 111, 0.5);
}

.article-title {
  margin-bottom: 1rem;
}

.article-title a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 600;
  font-family: var(--font-family-primary);
  line-height: 1.4;
  transition: color 0.3s ease;
  text-shadow: 0 0 8px rgba(212, 175, 111, 0.4);
}

.article-title a:hover {
  color: #d4af6f;
  text-shadow: 0 0 15px rgba(212, 175, 111, 0.7);
}

.article-excerpt {
  color: #b8b8b8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.read-more-btn {
  display: inline-block;
  background: linear-gradient(135deg, #d4af6f, #b8956a);
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 20px;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 8px 25px rgba(212, 175, 111, 0.4);
}

.read-more-btn::after {
  content: '→';
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.read-more-btn:hover::after {
  transform: translateX(5px);
}

.read-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(212, 175, 111, 0.6);
  color: white;
  background: linear-gradient(135deg, #f4bf7f, #d4af6f);
}

.read-time {
  color: #999;
  font-size: 0.9rem;
}

.blog-cta {
  text-align: center;
  margin-top: 3rem;
}

.view-all-btn {
  display: inline-block;
  background: linear-gradient(135deg, #d4af6f, #b8956a);
  color: white;
  padding: 15px 35px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(212, 175, 111, 0.4);
}

.view-all-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(212, 175, 111, 0.6);
  color: white;
  background: linear-gradient(135deg, #f4bf7f, #d4af6f);
}

.no-posts {
  grid-column: 1 / -1;
}

/* =================================
   БЕСПЛАТНЫЙ РАСКЛАД ТАРО
   ================================= */

/* Переопределение шрифтов для блока Таро */
.free-tarot-reading p,
.free-tarot-reading span,
.free-tarot-reading div:not(.tarot-title):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6),
.tarot-subtitle,
.tarot-offer p,
.shuffle-text,
.prediction-text,
.prediction-note,
.used-message p {
  font-family: 'e-Ukraine', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.free-tarot-reading {
  padding: 80px 0;
  background: linear-gradient(
      135deg,
      rgba(20, 20, 20, 0.95),
      rgba(40, 40, 40, 0.9)
    );
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.free-tarot-reading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(20, 20, 20, 0.8)),
    radial-gradient(
      circle at 30% 70%,
      rgba(212, 175, 111, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 1;
}

.tarot-reading-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.tarot-title {
  font-family: var(--font-family-primary);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
    color: #d4af6f;
    margin-bottom: 1rem;
    position: relative;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.tarot-subtitle {
  font-size: 1.3rem;
  color: #d4af6f;
  margin-bottom: 50px;
  font-weight: 500;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Предложение */
.tarot-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 111, 0.3);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.tarot-offer-text {
  flex: 1;
  text-align: left;
  padding-right: 40px;
}

.tarot-offer h3 {
  font-family: var(--font-family-primary);
  font-size: 2rem;
  color: white;
  margin-bottom: 15px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.tarot-offer p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 30px;
}

.tarot-btn {
  background: linear-gradient(45deg, #b8956a, #d4af6f);
  border: none;
  padding: 15px 40px;
  border-radius: 20px;
  font-family: var(--font-family-primary);
  font-size: 1.2rem;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(212, 175, 111, 0.3);
}

.tarot-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 111, 0.5);
}

.btn-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent
  );
  animation: shimmer 2s infinite;
}

.tarot-decoration {
  flex-shrink: 0;
}

.mystic-circle {
  width: 120px;
  height: 120px;
  border: 3px solid #b8956a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: rotate 10s linear infinite;
}

.mystic-circle::before {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(212, 175, 111, 0.3);
  border-radius: 50%;
  animation: rotate 15s linear infinite reverse;
}

.circle-inner {
  font-size: 3rem;
  animation: pulse 2s ease-in-out infinite;
}

/* Анимация тасовки */
.tarot-shuffle {
  text-align: center;
  padding: 60px 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  margin: 20px 0;
  border: 1px solid rgba(212, 175, 111, 0.3);
  backdrop-filter: blur(10px);
}

.tarot-shuffle h3 {
  font-family: var(--font-family-primary);
  font-size: 2rem;
  color: white;
  margin-bottom: 40px;
  animation: fadeInOut 2s ease-in-out infinite;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cards-deck {
  position: relative;
  height: 200px;
  margin: 40px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-back {
  width: 80px;
  height: 120px;
  background: linear-gradient(135deg, #2d1810, #5d3317);
  border: 2px solid #b8956a;
  border-radius: 10px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.card-back::before {
  content: '🔮';
  font-size: 2rem;
  color: #d4af6f;
}

.card-1 { animation: cardShuffle1 2s ease-in-out infinite; }
.card-2 { animation: cardShuffle2 2s ease-in-out infinite 0.2s; }
.card-3 { animation: cardShuffle3 2s ease-in-out infinite 0.4s; }
.card-4 { animation: cardShuffle4 2s ease-in-out infinite 0.6s; }
.card-5 { animation: cardShuffle5 2s ease-in-out infinite 0.8s; }

.shuffle-progress {
  width: 300px;
  height: 6px;
  background: rgba(184, 149, 106, 0.2);
  border-radius: 3px;
  margin: 40px auto 20px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #b8956a, #d4af6f);
  border-radius: 3px;
  animation: progressFill 3s ease-out forwards;
}

.shuffle-text {
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  opacity: 0.8;
}

/* Результат */
.tarot-result {
  text-align: center;
  padding: 40px 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  margin: 20px 0;
  border: 1px solid rgba(212, 175, 111, 0.3);
  backdrop-filter: blur(10px);
}

.tarot-result h3 {
  font-family: var(--font-family-primary);
  font-size: 2.2rem;
  color: white;
  margin-bottom: 40px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.selected-card-container {
  perspective: 1000px;
  margin: 40px auto;
}

.selected-card {
  width: 160px;
  height: 240px;
  position: relative;
  margin: 0 auto;
  transform-style: preserve-3d;
  cursor: pointer;
}

.selected-card.flipped {
  animation: cardFlip 1s ease-in-out forwards;
}

.card-back-side,
.card-front-side {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  backface-visibility: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.6s;
}

.card-back-side {
  background: linear-gradient(135deg, #2d1810, #5d3317);
  border: 3px solid #b8956a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-back-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.card-front-side {
  background: linear-gradient(135deg, #f5f5dc, #e6d3a3);
  border: 3px solid #d4af6f;
  transform: rotateY(180deg);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card-front-image {
  width: 100%;
  height: 80%;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.card-name {
  font-family: var(--font-family-primary);
  font-size: 0.9rem;
  color: #2d1810;
  text-align: center;
  font-weight: 600;
  height: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-prediction {
  max-width: 600px;
  margin: 40px auto 0;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 111, 0.3);
  border-radius: 15px;
  padding: 30px;
  animation: slideUp 0.8s ease-out;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.prediction-title {
  font-family: var(--font-family-primary);
  font-size: 1.5rem;
  color: white;
  margin-bottom: 20px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.prediction-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin-bottom: 30px;
}

.prediction-footer {
  border-top: 1px solid rgba(212, 175, 111, 0.3);
  padding-top: 20px;
}

.prediction-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  margin-bottom: 20px;
}

/* Сообщение о использовании */
.tarot-used {
  text-align: center;
  padding: 60px 0;
}

.used-message {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 111, 0.3);
  border-radius: 15px;
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.used-message h3 {
  font-family: var(--font-family-primary);
  font-size: 2rem;
  color: white;
  margin-bottom: 20px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.used-message p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Анимации */
@keyframes mysticalGlow {
  0% { text-shadow: 0 0 20px rgba(212, 175, 111, 0.5); }
  100% { text-shadow: 0 0 30px rgba(212, 175, 111, 0.8), 0 0 40px rgba(212, 175, 111, 0.3); }
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes cardShuffle1 {
  0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  25% { transform: translateX(-30px) translateY(-20px) rotate(-10deg); }
  50% { transform: translateX(20px) translateY(-30px) rotate(5deg); }
  75% { transform: translateX(-10px) translateY(10px) rotate(-5deg); }
}

@keyframes cardShuffle2 {
  0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  25% { transform: translateX(40px) translateY(-15px) rotate(15deg); }
  50% { transform: translateX(-25px) translateY(-25px) rotate(-8deg); }
  75% { transform: translateX(15px) translateY(15px) rotate(8deg); }
}

@keyframes cardShuffle3 {
  0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  25% { transform: translateX(-20px) translateY(30px) rotate(-12deg); }
  50% { transform: translateX(30px) translateY(-10px) rotate(10deg); }
  75% { transform: translateX(-15px) translateY(-20px) rotate(-6deg); }
}

@keyframes cardShuffle4 {
  0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  25% { transform: translateX(25px) translateY(25px) rotate(8deg); }
  50% { transform: translateX(-35px) translateY(-5px) rotate(-15deg); }
  75% { transform: translateX(10px) translateY(-25px) rotate(7deg); }
}

@keyframes cardShuffle5 {
  0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  25% { transform: translateX(-40px) translateY(-10px) rotate(-18deg); }
  50% { transform: translateX(15px) translateY(35px) rotate(12deg); }
  75% { transform: translateX(-20px) translateY(5px) rotate(-9deg); }
}

@keyframes progressFill {
  from { width: 0%; }
  to { width: 100%; }
}

@keyframes cardFlip {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(180deg); }
}

@keyframes slideUp {
  from { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/* Адаптивность */
@media (max-width: 768px) {
  .tarot-title {
    font-size: 2.2rem;
  }
  
  .tarot-offer {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  
  .tarot-offer-text {
    padding-right: 0;
    margin-bottom: 30px;
  }
  
  .cards-deck {
    height: 150px;
  }
  
  .card-back {
    width: 60px;
    height: 90px;
  }
  
  .selected-card {
    width: 120px;
    height: 180px;
  }
  
  .card-prediction {
    margin: 30px 20px 0;
    padding: 20px;
  }
}

/* ===================================
   FAQ СЕКЦІЯ
   =================================== */

.faq-section {
  padding: 80px 0;
  background: linear-gradient(
      135deg,
      rgba(20, 20, 20, 0.95),
      rgba(40, 40, 40, 0.9)
    );
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(20, 20, 20, 0.8)),
    radial-gradient(
      circle at 30% 70%,
      rgba(212, 175, 111, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 1;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.faq-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 111, 0.3);
  border-radius: 15px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.faq-item:hover {
  border-color: rgba(212, 175, 111, 0.6);
  box-shadow: 0 8px 32px rgba(212, 175, 111, 0.2);
  transform: translateY(-2px);
}

.faq-item.open {
  border-color: #d4af6f;
  box-shadow: 0 12px 40px rgba(212, 175, 111, 0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  padding: 25px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  background: rgba(0, 0, 0, 0.2);
}

.faq-question:hover {
  background: rgba(212, 175, 111, 0.1);
}

.faq-number {
  font-size: 1.4rem;
  margin-right: 15px;
  flex-shrink: 0;
  color: #d4af6f;
  font-weight: 600;
}

.faq-text {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  font-family: var(--font-family-primary);
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  color: #d4af6f;
  transition: all 0.3s ease;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 175, 111, 0.2);
}

.faq-item.open .faq-toggle {
  transform: rotate(180deg);
  background: rgba(212, 175, 111, 0.4);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  background: rgba(0, 0, 0, 0.3);
}

.faq-answer p {
  padding: 0 30px 30px 30px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  font-size: 1rem;
  font-family: var(--font-family-text);
}

.faq-cta {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 111, 0.3);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.faq-note {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 25px;
  font-family: var(--font-family-text);
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Анимація для FAQ елементів */
@keyframes faqItemAppear {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item {
  animation: faqItemAppear 0.6s ease forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(6) { animation-delay: 0.6s; }
.faq-item:nth-child(7) { animation-delay: 0.7s; }

/* Адаптивні стилі для FAQ */
@media (max-width: 768px) {
  .faq-section {
    padding: 60px 0;
  }
  
  .faq-question {
    padding: 20px;
  }
  
  .faq-number {
    font-size: 1.2rem;
    margin-right: 12px;
  }
  
  .faq-text {
    font-size: 1rem;
  }
  
  .faq-toggle {
    font-size: 1.5rem;
    width: 25px;
    height: 25px;
  }
  
  .faq-answer p {
    padding: 0 20px 25px 20px;
    font-size: 0.95rem;
  }
  
  .faq-cta {
    margin-top: 40px;
    padding: 30px 20px;
  }
  
  .faq-note {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .faq-question {
    padding: 15px;
  }
  
  .faq-number {
    font-size: 1.1rem;
    margin-right: 10px;
  }
  
  .faq-text {
    font-size: 0.95rem;
    line-height: 1.3;
  }
  
  .faq-answer p {
    padding: 0 15px 20px 15px;
    font-size: 0.9rem;
  }
}

.practices-btn {
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.practices-btn.primary {
  background: linear-gradient(135deg, #d4af6f, #b8956a);
  color: white;
  box-shadow: 0 8px 25px rgba(212, 175, 111, 0.4);
  font-size: 1.5rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 8px;
}

.practices-btn.primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(212, 175, 111, 0.6);
  color: white;
  text-decoration: none;
  background: linear-gradient(135deg, #f4bf7f, #d4af6f);
}

.practices-btn.secondary {
  background: linear-gradient(135deg, #d4af6f, #b8956a);
  color: white;
  border: none;
  box-shadow: 0 8px 25px rgba(212, 175, 111, 0.4);
  border-radius: 8px;
}

.practices-btn.secondary:hover {
  background: linear-gradient(135deg, #f4bf7f, #d4af6f);
  color: white;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(212, 175, 111, 0.6);
}

.practices-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.close-up-display {
  position: relative;
  z-index: 2;
  max-width: 400px;
  margin-top: 20px;
}

.close-up-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 15px rgba(212, 175, 111, 0.2));
}

.close-up-image:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  filter: drop-shadow(0 0 25px rgba(212, 175, 111, 0.4));
}

.online-chat-widget {
  position: absolute;
  bottom: -30px;
  right: -30px;
  z-index: 3;
}

.chat-bubble {
  background: linear-gradient(135deg, #d4af6f, #b8956a);
  border-radius: 25px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: chatPulseGold 2s ease-in-out infinite;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.chat-bubble .chat-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid white;
}

.chat-bubble .chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-content {
  display: flex;
  flex-direction: column;
  color: white;
}

.chat-status {
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
}

.chat-response {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
}

@keyframes chatPulseGold {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 111, 0.4);
  }
}

/* Адаптивність для магічних практик */
@media (max-width: 768px) {
  .practices-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .practices-text .section-title {
    font-size: 2.2rem;
  }

  .practices-actions {
    justify-content: center;
  }

  .online-chat-widget {
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: 30px;
    display: flex;
    justify-content: center;
  }

  .close-up-display {
    max-width: 300px;
    margin: 20px auto 0;
  }
}

/* Основной контент - хедер тепер прозорий поверх hero */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.content-area {
  padding: 4rem 0;
}

.site-main {
  background: rgba(26, 26, 26, 0.8);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.entry-title {
  font-family: var(--font-family-primary);
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  font-weight: 600;
}

.entry-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.entry-title a:hover {
  color: #d4af37;
}

.entry-content p {
  margin-bottom: 1.5rem;
  color: #e0e0e0;
  line-height: 1.8;
}

/* Стили для миниатюр */
.post-thumbnail {
  margin-bottom: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.post-thumbnail:hover img {
  transform: scale(1.05);
}

.post-thumbnail-single {
  margin: 2rem 0;
  text-align: center;
}

.post-thumbnail-single img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Разделители постов */
.post-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.3),
    transparent
  );
  margin: 3rem 0;
}

/* Пагинация */
.posts-navigation {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.posts-navigation a {
  color: #d4af37;
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.posts-navigation a:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: #d4af37;
  transform: translateY(-2px);
}

/* Стили для отсутствующих постов */
.no-posts {
  text-align: center;
  padding: 3rem 0;
}

.no-posts h2 {
  font-family: var(--font-family-primary);
  color: #d4af37;
  margin-bottom: 1rem;
}

.no-posts p {
  color: #999;
}

/* Иконки в мета информации */
.entry-meta i {
  margin-right: 0.5rem;
  color: #d4af37;
}

.entry-meta span {
  margin-right: 1.5rem;
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ ОТДЕЛЬНОЙ СТАТЬИ ===== */

/* Контейнер для отдельной статьи */
.single-post .site-main {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.95),
    rgba(15, 15, 25, 0.95)
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 111, 0.2);
  border-radius: 25px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 50px rgba(212, 175, 111, 0.1);
  position: relative;
  overflow: hidden;
}

/* Декоративные элементы для статьи */
.single-post .site-main::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(212, 175, 111, 0.05) 0%,
    transparent 70%
  );
  animation: mysticalRotate 30s linear infinite;
  pointer-events: none;
}

/* Заголовок статьи */
.single-post .entry-title {
  font-family: var(--font-family-primary);
  font-size: 2.8rem;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  text-shadow: 0 0 20px rgba(212, 175, 111, 0.3),
    0 0 40px rgba(212, 175, 111, 0.2);
}

.single-post .entry-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af6f, transparent);
}

/* Мета информация статьи */
.single-post .entry-meta {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(212, 175, 111, 0.1);
}

.single-post .entry-meta span {
  display: inline-block;
  margin: 0 1rem;
  color: #d4af6f;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.single-post .entry-meta i {
  color: #d4af6f;
  margin-right: 0.5rem;
  font-size: 1rem;
}

/* Миниатюра статьи */
.single-post .post-thumbnail-single {
  margin: 3rem 0;
  text-align: center;
  position: relative;
}

.single-post .post-thumbnail-single img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 175, 111, 0.2);
  transition: all 0.3s ease;
}

.single-post .post-thumbnail-single:hover img {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 111, 0.3);
}

/* Контент статьи */
.single-post .entry-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e8e8e8;
  position: relative;
}

.single-post .entry-content p {
  margin-bottom: 2rem;
  text-align: justify;
}

.single-post .entry-content p:first-of-type::first-letter {
  font-size: 4rem;
  font-family: var(--font-family-primary);
  color: #d4af6f;
  float: left;
  line-height: 0.8;
  padding: 0.5rem 0.8rem 0.2rem 0;
  text-shadow: 0 0 10px rgba(212, 175, 111, 0.5);
}

/* Стили для заголовков в контенте */
.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
.single-post .entry-content h5,
.single-post .entry-content h6 {
  font-family: var(--font-family-primary);
  color: #d4af6f;
  margin: 2.5rem 0 1.5rem 0;
  position: relative;
  text-shadow: 0 0 10px rgba(212, 175, 111, 0.3);
}

.single-post .entry-content h2 {
  font-size: 2rem;
  padding-left: 1.5rem;
}

.single-post .entry-content h2::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: #d4af6f;
  font-size: 1.2rem;
}

.single-post .entry-content h3 {
  font-size: 1.6rem;
}

/* Стили для списков */
.single-post .entry-content ul,
.single-post .entry-content ol {
  margin: 2rem 0;
  padding-left: 2rem;
}

.single-post .entry-content li {
  margin-bottom: 0.8rem;
  position: relative;
}

.single-post .entry-content ul li::before {
  content: '◆';
  color: #d4af6f;
  position: absolute;
  left: -1.5rem;
}

/* Стили для цитат */
.single-post .entry-content blockquote {
  background: rgba(212, 175, 111, 0.1);
  border-left: 4px solid #d4af6f;
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  font-style: italic;
  font-size: 1.1rem;
  border-radius: 0 15px 15px 0;
  position: relative;
}

.single-post .entry-content blockquote::before {
  content: '"';
  font-size: 4rem;
  color: #d4af6f;
  position: absolute;
  top: -10px;
  left: 15px;
  font-family: var(--font-family-primary);
  opacity: 0.5;
}

/* Кнопки и ссылки в контенте */
.single-post .entry-content a {
  color: #d4af6f;
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 111, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.single-post .entry-content a:hover {
  color: #f0c674;
  border-bottom-color: #f0c674;
  text-shadow: 0 0 5px rgba(212, 175, 111, 0.5);
}

/* Навигация между статьями */
.single-post .posts-navigation {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(212, 175, 111, 0.2);
}

.single-post .posts-navigation a {
  background: rgba(212, 175, 111, 0.1);
  border: 1px solid rgba(212, 175, 111, 0.3);
  color: #d4af6f;
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.single-post .posts-navigation a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 111, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.single-post .posts-navigation a:hover {
  background: rgba(212, 175, 111, 0.2);
  border-color: #d4af6f;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 111, 0.2);
}

.single-post .posts-navigation a:hover::before {
  left: 100%;
}

/* Мобильная адаптация для отдельной статьи */
@media (max-width: 768px) {
  .single-post .site-main {
    padding: 2rem;
    margin: 1rem;
    border-radius: 20px;
  }

  .single-post .entry-title {
    font-size: 2.2rem;
  }

  .single-post .entry-content {
    font-size: 1rem;
  }

  .single-post .entry-content p:first-of-type::first-letter {
    font-size: 3rem;
    padding: 0.3rem 0.6rem 0.2rem 0;
  }
}

@media (max-width: 480px) {
  .single-post .site-main {
    padding: 1.5rem;
    margin: 0.5rem;
  }

  .single-post .entry-title {
    font-size: 1.8rem;
  }

  .single-post .entry-content h2 {
    font-size: 1.6rem;
  }

  .single-post .posts-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .single-post .posts-navigation a {
    width: 100%;
    text-align: center;
  }
}

/* Секция курсов/обучения */
.courses-section {
  padding: 6rem 0;
  background: linear-gradient(
    135deg,
    rgba(15, 15, 15, 0.9),
    rgba(25, 25, 25, 0.8)
  );
  position: relative;
  overflow: hidden;
}

.courses-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="mystical" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="0.5" fill="%23d4af37" opacity="0.1"/><path d="M15 15 L25 25 M25 15 L15 25" stroke="%23d4af37" stroke-width="0.2" opacity="0.05"/></pattern></defs><rect width="200" height="200" fill="url(%23mystical)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.courses-section .container {
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-family-primary);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
    color: #d4af6f;
    margin-bottom: 1rem;
    position: relative;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #f4d03f);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #d4af37;
  font-style: italic;
  margin-top: 1.5rem;
}

/* Карусель курсов */
.courses-carousel {
  position: relative;
  overflow: hidden;
  margin: 0 -1rem;
}

.courses-slider {
  display: flex;
  gap: 2rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 1rem;
}

.course-card {
  flex: 0 0 350px;
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.course-card:hover::before {
  opacity: 1;
}

.course-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.15);
}

.course-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.course-icon svg {
  width: 60px;
  height: 60px;
  stroke: #d4af37;
  stroke-width: 1.5;
  fill: none;
}

.course-type {
  font-size: 0.9rem;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.course-title {
  font-family: var(--font-family-primary);
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.3;
  position: relative;
  z-index: 2;
}

.course-description {
  color: #b0b0b0;
  line-height: 1.6;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.course-cta {
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  color: #0a0a0a;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.course-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Навигация карусели */
.carousel-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.carousel-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: #d4af37;
  transform: scale(1.1);
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: #d4af37;
  transform: scale(1.3);
}

/* Специальные иконки для курсов */
.course-card.candle .course-icon {
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent);
}

.course-card.oracle .course-icon {
  background: radial-gradient(circle, rgba(100, 150, 200, 0.1), transparent);
}

.course-card.tarot .course-icon {
  background: radial-gradient(circle, rgba(150, 100, 200, 0.1), transparent);
}

.course-card.negativity .course-icon {
  background: radial-gradient(circle, rgba(70, 130, 180, 0.1), transparent);
}

/* Адаптивные стили для карусели */
@media (max-width: 1024px) {
  .course-card {
    flex: 0 0 300px;
  }

  .courses-slider {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .courses-section {
    padding: 4rem 0;
  }

  .course-card {
    flex: 0 0 280px;
    padding: 1.5rem;
  }

  .courses-slider {
    gap: 1rem;
    padding: 0.5rem;
  }

  .course-title {
    font-size: 1.5rem;
  }

  .carousel-navigation {
    gap: 1rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  /* Адаптивні стилі для секції особистої карти */
  .reading-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .reading-text {
    padding-left: 0;
  }

  .reading-text .section-title {
    font-size: 2rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0.8rem;
  }

  .tarot-card {
    max-width: 120px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .course-card {
    flex: 0 0 260px;
    padding: 1.2rem;
  }

  .course-icon {
    width: 60px;
    height: 60px;
  }

  .course-icon svg {
    width: 40px;
    height: 40px;
  }

  .course-title {
    font-size: 1.3rem;
  }

  /* Мобільні стилі для секції особистої карти */
  .personal-reading-section {
    padding: 4rem 0;
  }

  .reading-content {
    gap: 2rem;
  }

  .reading-text .section-title {
    font-size: 1.8rem;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    max-width: 250px;
  }

  .reading-benefits li {
    font-size: 0.9rem;
    padding-left: 1.5rem;
  }

  .consultation-note {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .reading-cta {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}

/* Футер с контактами - черно-золотой градиент */
.site-footer {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 25%, #0a0a0a 50%, #1a1a1a 75%, #000000 100%);
  color: #e0e0e0;
  padding: 6rem 0 2rem;
  border-top: 2px solid rgba(212, 175, 55, 0.4);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  z-index: 1;
}

.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(
    180deg,
    rgba(212, 175, 55, 0.15) 0%,
    transparent 100%
  );
  z-index: 1;
}

/* Дополнительный декоративный слой для черно-золотого эффекта */
.site-footer::after {
  background: 
    linear-gradient(45deg, transparent 0%, rgba(212, 175, 55, 0.08) 25%, transparent 50%, rgba(212, 175, 55, 0.05) 75%, transparent 100%),
    linear-gradient(180deg, rgba(212, 175, 55, 0.15) 0%, transparent 100%);
}

.footer-content {
  position: relative;
  z-index: 2;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.footer-about {
  max-width: 380px;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(15px);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-primary);
  font-weight: 600;
  font-size: 1.2rem;
  color: #0a0a0a;
}

.footer-logo h3 {
  color: #ffffff;
  font-family: var(--font-family-primary);
  font-size: 1.5rem;
  margin: 0;
}

.footer-description {
  color: #b8b8b8;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(0, 0, 0, 0.3));
  border-radius: 50%;
  color: #d4af37;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.footer-social a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.3), rgba(0, 0, 0, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-social a:hover::before {
  opacity: 1;
}

.footer-social a:hover {
  background: linear-gradient(135deg, #d4af37, rgba(0, 0, 0, 0.8));
  color: #000000;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
  border-color: #d4af37;
}

.footer-contacts h4,
.footer-services h4,
.footer-appointment h4 {
  color: #ffffff;
  font-family: var(--font-family-primary);
  font-size: 1.4rem;
  margin-bottom: 2rem;
  position: relative;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.footer-contacts h4::after,
.footer-services h4::after,
.footer-appointment h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, #d4af37, #f4d03f, transparent);
  border-radius: 1px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item i {
  color: #d4af37;
  font-size: 1.1rem;
  margin-top: 3px;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-info span:first-child {
  color: #b8b8b8;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact-info a,
.contact-info span:last-child {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #d4af37;
}

.footer-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-services li {
  margin-bottom: 0.8rem;
}

.footer-services a {
  color: #b8b8b8;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-services a:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-appointment p {
  color: #b8b8b8;
  margin-bottom: 1.5rem;
}

.footer-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #d4af6f, #b8956a);
  color: white;
  padding: 15px 35px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 25px rgba(212, 175, 111, 0.4);
  border: none;
  position: relative;
  overflow: hidden;
}

.footer-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.footer-cta-btn:hover::before {
  left: 100%;
}

.footer-cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(212, 175, 111, 0.6);
  color: white;
  background: linear-gradient(135deg, #f4bf7f, #d4af6f);
}

.emergency-contact {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d4af37;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  text-decoration: none;
  margin-top: 1rem;
}

.emergency-contact:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  color: #d4af37;
  text-decoration: none;
}

.emergency-contact i {
  animation: pulse 2s infinite;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 2px solid rgba(212, 175, 55, 0.2);
  position: relative;
  background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.03) 50%, transparent 100%);
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.footer-copy,
.footer-dev {
  color: #b8b8b8;
  font-size: 0.9rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.footer-copy {
  display: flex;
  align-items: center;
  gap: 8px;
}


.footer-dev a {
  color: #d4af37;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-dev a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #d4af37;
  transition: width 0.3s ease;
}

.footer-dev a:hover::after {
  width: 100%;
}

.footer-dev a:hover {
  color: #f0c674;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

/* Адаптивность футера */
@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .footer-about {
    max-width: 100%;
    text-align: center;
  }

  .footer-contacts,
  .footer-services,
  .footer-appointment {
    text-align: center;
  }

  .contact-item {
    justify-content: flex-start;
    text-align: left;
    max-width: 320px;
    margin: 0 auto 1.5rem;
  }

  .contact-info {
    text-align: left;
  }

  .footer-services ul {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
  }

  .footer-social {
    justify-content: center;
    margin: 2rem 0;
  }

  .emergency-contact {
    justify-content: flex-start;
    max-width: 320px;
    margin: 1rem auto 0;
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Дополнительные мобильные стили для лучшего выравнивания */
@media (max-width: 480px) {
  .site-footer {
    padding: 4rem 0 2rem;
  }

  .footer-main {
    gap: 2.5rem;
  }

  .contact-item {
    max-width: 300px;
    margin: 0 auto 1.3rem;
    justify-content: flex-start;
  }

  .contact-item i {
    margin-top: 2px;
    flex-shrink: 0;
  }

  .contact-info {
    text-align: left;
    width: 100%;
  }

  .emergency-contact {
    max-width: 300px;
    font-size: 0.9rem;
    padding: 10px 15px;
    justify-content: flex-start;
    text-align: left;
  }

  .footer-contacts h4,
  .footer-services h4,
  .footer-appointment h4 {
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
  }

  .footer-cta-btn {
    padding: 14px 30px;
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .footer-services ul {
    max-width: 200px;
    margin: 0 auto;
  }

  .footer-about {
    padding: 1.5rem;
  }

  /* Центрируем подчеркивания заголовков в мобильной версии */
  .footer-contacts h4::after,
  .footer-services h4::after,
  .footer-appointment h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Мобильная навигация - скрываем на десктопе */
.mobile-menu-toggle {
  display: none !important;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 111, 0.15),
    rgba(184, 149, 106, 0.15)
  );
  border: 1px solid rgba(212, 175, 111, 0.4);
  color: #d4af6f;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.6rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 5px rgba(212, 175, 111, 0.1);
  position: relative;
  overflow: hidden;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-menu-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(
    circle,
    rgba(212, 175, 111, 0.1) 0%,
    transparent 70%
  );
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.mobile-menu-toggle:hover {
  background: linear-gradient(
    135deg,
    rgba(212, 175, 111, 0.25),
    rgba(184, 149, 106, 0.25)
  );
  border-color: rgba(212, 175, 111, 0.6);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(212, 175, 111, 0.2);
  text-shadow: 0 0 5px rgba(212, 175, 111, 0.3);
  transform: translateY(-1px);
}

.mobile-menu-toggle:hover::after {
  width: 30px;
  height: 30px;
}

.mobile-menu-toggle:active {
  transform: translateY(0);
}

/* Дополнительные стили */
.read-more {
  color: #d4af37;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: #f4d03f;
  border-bottom-color: #f4d03f;
}

.entry-meta {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.entry-meta a {
  color: #d4af37;
  text-decoration: none;
}

.entry-meta a:hover {
  color: #f4d03f;
}

/* Адаптивный дизайн */
@media (max-width: 1024px) {
  .site-header .container {
    padding: 0 1.5rem;
  }

  .hero-content {
    padding: 30px 1.5rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  .site-main {
    padding: 1.5rem;
  }

  /* Уменьшенные отступы секций */
  section {
    padding: 3rem 0;
  }

  .services-section,
  .about-section,
  .contact-section,
  .blog-section {
    padding: 2.5rem 0;
  }
}

/* Предотвращение прокрутки при открытом мобильном меню */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Предотвращение горизонтальной прокрутки на мобильных */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  .container {
    max-width: 100%;
    overflow-x: hidden;
  }
}

@media (min-width: 769px) {
  /* Убеждаемся, что кнопка меню скрыта на десктопе */
  .mobile-menu-toggle {
    display: none !important;
  }
  
  /* Показываем основную навигацию на десктопе */
  .main-navigation {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex !important;
    width: 44px;
    height: 44px;
  }

  /* Скрываем кнопки соцсетей в мобильном меню */
  .header-extras .social-links {
    display: none;
  }

  /* Возвращаем переключатель языка на мобильных */
  .header-extras .language-switcher {
    display: flex;
    font-size: 0.85rem;
    padding: 0.6rem 0.8rem;
    height: 44px;
    min-width: 50px;
    border-radius: 8px;
  }

  /* Мобильные стили для Polylang переключателя */
  .header-extras .language-switcher-container {
    display: inline-block;
  }

  .header-extras .language-dropdown {
    right: 0;
    min-width: 100px;
  }

  .header-extras .language-option {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }

  /* Скрываем переключатель языков в мобильном хедере */
  .header-extras .language-switcher-container {
    display: none;
  }

  /* Стили для переключателя в мобильном меню */
  .mobile-language-switcher {
    padding: 1rem 2rem;
    border-top: 1px solid rgba(212, 175, 111, 0.2);
    margin-top: 1rem;
  }

  .mobile-language-switcher .language-switcher-container {
    display: block;
    width: 100%;
  }

  .mobile-language-switcher .language-switcher {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 0.8rem 1rem;
    background: linear-gradient(
      135deg,
      rgba(212, 175, 111, 0.1),
      rgba(184, 149, 106, 0.1)
    );
    border: 1px solid rgba(212, 175, 111, 0.3);
  }

  .mobile-language-switcher .language-dropdown {
    position: static;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    margin-top: 0.5rem;
    box-shadow: none;
    border: 1px solid rgba(212, 175, 111, 0.2);
    background: linear-gradient(
      135deg,
      rgba(15, 15, 20, 0.9),
      rgba(25, 25, 30, 0.9)
    );
    transition: all 0.3s ease;
  }

  .mobile-language-switcher .language-switcher-container:hover .language-dropdown,
  .mobile-language-switcher .language-switcher-container.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-language-switcher .language-option {
    padding: 0.8rem 1rem;
    text-align: center;
    font-size: 0.9rem;
  }

  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(
      135deg,
      rgba(10, 10, 10, 0.95),
      rgba(20, 15, 25, 0.95)
    );
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(212, 175, 111, 0.3);
    padding: 1.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(-20px);
    animation: none;
    z-index: 999;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .main-navigation.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: mobileMenuSlideIn 0.4s ease-out;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0;
    padding: 0 1rem;
    margin: 0;
    max-width: 100%;
  }

  .main-navigation li {
    margin: 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(212, 175, 111, 0.1);
    position: relative;
    width: 100%;
  }

  .main-navigation li:last-child {
    border-bottom: none;
  }

  .main-navigation a {
    color: #d4af6f;
    padding: 1rem;
    display: block;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    line-height: 1.4;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
  }

  .main-navigation a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(212, 175, 111, 0.2),
      transparent
    );
    transition: left 0.5s ease;
  }

  .main-navigation a:hover {
    background: linear-gradient(
      135deg,
      rgba(212, 175, 111, 0.15),
      rgba(184, 149, 106, 0.15)
    );
    color: #ffffff;
    text-shadow: 0 0 10px rgba(212, 175, 111, 0.5);
    transform: translateX(5px);
    box-shadow: 0 2px 15px rgba(212, 175, 111, 0.2);
  }

  .main-navigation a:hover::before {
    left: 100%;
  }

  .main-navigation a.active {
    background: linear-gradient(
      135deg,
      rgba(212, 175, 111, 0.25),
      rgba(184, 149, 106, 0.25)
    );
    color: #ffffff;
    text-shadow: 0 0 15px rgba(212, 175, 111, 0.7);
  }
}

.main-navigation li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-navigation li:last-child {
  border-bottom: none;
}

.main-navigation a {
  display: block;
  padding: 1rem 0;
}

.main-navigation a.active {
  background: rgba(212, 175, 55, 0.1);
  color: #d4af37;
  border-left: 3px solid #d4af37;
  padding-left: 1rem;
}

.header-extras {
  gap: 1rem;
}

/* Скрываем соцсети в мобильном меню, но показываем переключатель языка */
@media (max-width: 768px) {
  .header-extras {
    gap: 0.8rem;
    align-items: center;
  }
  
  .header-extras .social-links {
    display: none;
  }
  
  .header-extras .language-switcher {
    display: flex;
    font-size: 0.85rem;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    height: 44px;
    min-width: 50px;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-menu-toggle {
    display: flex !important;
    width: 44px;
    height: 44px;
  }
}

/* Десктопные стили для переключателя языка */
@media (min-width: 769px) {
  /* Показываем переключатель языков в хедере на десктопе */
  .header-extras .language-switcher-container {
    display: inline-block !important;
  }

  .header-extras .language-switcher {
    border-radius: 20px;
    padding: 0.6rem 1rem;
    height: auto;
    min-width: auto;
  }

  /* Скрываем мобильную версию переключателя на десктопе */
  .mobile-language-switcher {
    display: none;
  }
}

.social-links {
  gap: 0.5rem;
}

.hero-title {
  font-size: 2.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
}

.hero-cta {
  padding: 0.8rem 2rem;
  font-size: 1rem;
}

.site-main {
  padding: 1rem;
  border-radius: 15px;
}

/* Компактные отступы для мобильных секций - убираем падинги между секциями */
section {
  padding: 0; /* Убираем все падинги */
}

.services-section,
.about-section,
.contact-section,
.blog-section {
  padding: 0; /* Убираем все падинги */
}

.hero-section {
  padding: 1.5rem 0; /* Оставляем только для hero */
}

.hero-content {
  padding: 1rem;
}

.container {
  margin-bottom: 0; /* Убираем нижний отступ для компактности */
}

.entry-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Уменьшенные внутренние падинги контейнеров секций для планшетов */
.services-section .container,
.experience-section .container,
.personal-card-section .container,
.magical-practices-section .container,
.blog-section .container {
  padding-top: 50px ;
  padding-bottom: 50px ;
}

.services-grid,
.blog-posts {
  margin-top: 2rem; /* Уменьшено с больших значений */
}

/* Уменьшенные переходы между секциями для планшетов */
.section-transition {
  height: 30px; /* Уменьшено с 100px для планшетов */
}

@media (max-width: 480px) {
  /* Усиленный sticky хедер для мобильных */
  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    padding: 0.5rem 0;
    min-height: 60px;
    background: rgba(13, 13, 26, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    box-shadow: 0 2px 15px rgba(106, 76, 147, 0.3) !important;
    border-bottom: 1px solid var(--accent-purple) !important;
    transition: all 0.3s ease;
  }

  /* Убираем transparent состояние на мобильных */
  .site-header:not(.scrolled) {
    background: rgba(13, 13, 26, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 1px 10px rgba(106, 76, 147, 0.2) !important;
  }

  .site-header .container {
    padding: 0 0.8rem;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 60px;
  }

  .header-extras {
    gap: 0.6rem;
    align-items: center;
    height: 100%;
  }

  .logo-icon {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }

  .site-title {
    font-size: 1.2rem;
  }

  .mobile-menu-toggle {
    padding: 0.5rem;
    font-size: 1.1rem;
    border-radius: 6px;
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Переключатель языка тоже делаем такого же размера */
  .header-extras .language-switcher {
    height: 40px !important;
    min-width: 45px !important;
    font-size: 0.8rem;
    padding: 0.5rem 0.6rem;
    border-radius: 6px;
  }

  /* Улучшенное мобильное меню для маленьких экранов */
  .main-navigation {
    position: fixed !important;
    top: 60px !important;
    left: 0;
    right: 0;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 1rem 0;
    background: linear-gradient(
      135deg,
      rgba(8, 8, 8, 0.98),
      rgba(15, 10, 20, 0.98)
    );
    border-top: 1px solid rgba(212, 175, 111, 0.3);
  }

  .main-navigation ul {
    padding: 0 0.8rem;
    margin: 0;
  }

  .main-navigation li {
    padding: 0.4rem 0;
    width: 100%;
  }

  .main-navigation a {
    padding: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.3;
    border-radius: 8px;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    min-height: 44px; /* Минимальная высота для удобного нажатия */
  }

  .main-navigation a:hover {
    transform: translateX(3px);
  }

  .hero-content {
    padding: 30px 0.8rem;
  }

  /* Добавляем отступ сверху для контента под sticky хедером */
  .main-content {
    margin-top: 60px; /* Высота хедера */
    padding-top: 0;
  }

  /* Убираем отступ для hero секции, т.к. она должна быть под хедером */
  .hero-section {
    margin-top: -60px;
    padding-top: 60px;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .container {
    padding: 0 0.8rem;
  }

  .site-main {
    padding: 0.6rem;
  }

  /* Полностью убираем отступы между секциями для мобильной */
  section {
    padding: 0; /* Полностью убираем все падинги */
  }

  .services-section,
  .about-section,
  .contact-section,
  .blog-section {
    padding: 0; /* Полностью убираем все падинги */
  }

  .hero-section {
    padding: 1rem 0; /* Уменьшаем padding для hero на маленьких экранах */
  }

  /* Компактный header для маленьких экранов */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .site-branding {
    flex-shrink: 0;
  }

  .logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .about-section,
  .contact-section,
  .blog-section {
    padding: 0; /* Полностью убираем все падинги */
  }

  .hero-section {
    padding: 5rem 0; /* Минимальный падинг только для hero */
    min-height: 100vh; /* Обеспечиваем полную высоту экрана */
    background-attachment: scroll ; /* Принудительно отключаем fixed для мобильных */
    background-size: cover ; /* Принудительно покрываем весь экран */
    background-position: center center ; /* Центрируем изображение */
    background-repeat: no-repeat ;
    /* Добавляем резервный фон */
    background-color: #1a1a2e;
  }

  .entry-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }

  /* Минимальные внутренние падинги контейнеров секций для мобильной */
  .services-section .container,
  .experience-section .container,
  .personal-card-section .container,
  .magical-practices-section .container,
  .blog-section .container {
    padding-top: 10px ; /* Минимальный падинг сверху */
    padding-bottom: 10px ; /* Минимальный падинг снизу */
  }

  .services-grid,
  .blog-posts {
    margin-top: 1.5rem; /* Уменьшено с больших значений */
  }

  /* Полностью убираем переходы между секциями для мобильной */
  .section-transition {
    height: 0; 
    display: none; 
  }

  /* Адаптивні стилі для секцій послуг на мобільних */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-title {
    font-size: 1.2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* Додаткові містичні анімації */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes levitate {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes mysticalGlow {
  0%,
  100% {
    text-shadow: 0 0 10px var(--mystical-glow), 0 0 20px var(--mystical-glow);
    filter: brightness(1);
  }
  50% {
    text-shadow: 0 0 20px var(--accent-purple), 0 0 30px var(--accent-purple);
    filter: brightness(1.2);
  }
}

@keyframes mysticalRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.service-icon {
  animation: levitate 4s ease-in-out infinite;
}

.service-icon:nth-child(2n) {
  animation-delay: -2s;
}

.stat-number {
  background: linear-gradient(
    90deg,
    var(--accent-purple) 0%,
    var(--accent-silver) 50%,
    var(--accent-purple) 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

.service-title {
  animation: mysticalGlow 4s ease-in-out infinite alternate;
}

/* Кастомні скролбари для містичного вигляду */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--accent-purple), var(--accent-silver));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

/* Плавні переходи для всіх елементів */
.service-card,
.stat-item,
.hero-cta {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Містичні ефекти для кнопок */
.hero-cta:hover {
  box-shadow: 0 0 30px var(--mystical-glow),
    inset 0 0 30px rgba(106, 76, 147, 0.2);
  transform: translateY(-3px);
}

/* Загальні поліпшення для містичного вигляду */
.section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-purple),
    transparent
  );
  margin: 1rem auto 0;
  opacity: 0.7;
}

/* Bookly Integration Styles */
.bookly-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 13, 26, 0.9);
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.bookly-popup-content {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.3);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.bookly-popup-header {
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  padding: 20px;
  border-radius: 20px 20px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bookly-popup-header h3 {
  margin: 0;
  color: #0a0a0a;
  font-family: var(--font-family-primary);
  font-size: 1.5rem;
  font-weight: 600;
}

.bookly-popup-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #0a0a0a;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.bookly-popup-close:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: rotate(90deg);
}

.bookly-popup-body {
  padding: 30px;
}

.bookly-loading {
  text-align: center;
  padding: 40px 20px;
}

.bookly-loading .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(212, 175, 55, 0.2);
  border-top: 4px solid #d4af37;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.bookly-loading p {
  color: #b8b8b8;
  font-size: 1rem;
  margin: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes mobileMenuSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  50% {
    opacity: 0.7;
    transform: translateY(-5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes magicalGlow {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.bookly-form-placeholder h4 {
  color: #d4af37;
  font-family: var(--font-family-primary);
  font-size: 1.3rem;
  margin-bottom: 10px;
  text-align: center;
}

.bookly-form-placeholder p {
  color: #b8b8b8;
  text-align: center;
  margin-bottom: 25px;
}

.bookly-demo-form .form-group {
  margin-bottom: 20px;
}

.bookly-demo-form label {
  display: block;
  color: #e8e8e8;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.bookly-demo-form input,
.bookly-demo-form select,
.bookly-demo-form textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  color: #e8e8e8;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.bookly-demo-form input:focus,
.bookly-demo-form select:focus,
.bookly-demo-form textarea:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.bookly-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  color: #0a0a0a;
  border: none;
  padding: 15px;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-family-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.bookly-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.bookly-note {
  color: #999;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 20px;
  font-style: italic;
}

/* Анимация появления popup */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive для мобильных */
@media (max-width: 768px) {
  .bookly-popup-content {
    width: 95%;
    margin: 20px;
  }

  .bookly-popup-header,
  .bookly-popup-body {
    padding: 20px;
  }

  /* Мобильная адаптация плавающих кнопок */
  #mystic-scroll-top,
  #mystic-contact-widget {
    z-index: 9999;
  }

  .mystic-contact-item {
    margin-bottom: 8px;
  }

  #mystic-contact-fab {
    font-size: 1.2rem;
  }
}

/* Дополнительные стили для плавающих виджетов на всех экранах */
#mystic-scroll-top:active {
  transform: translateY(-3px) scale(0.95);
}

#mystic-contact-fab:active {
  transform: translateY(-1px) scale(0.95);
}

.mystic-contact-item:active {
  transform: translateX(-8px) scale(0.95);
}

/* ================================
   АНІМОВАНІ ЕЛЕМЕНТИ
   ================================ */

/* Контейнер для плаваючих елементів */
/* Плывущие элементы */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.floating-element {
  position: absolute;
  opacity: 0.3;
  transition: none; /* Убираем transition для производительности */
  will-change: transform; /* Добавляем для оптимизации */
  transform: translateZ(0); /* Аппаратное ускорение */
  pointer-events: none; /* Убираем hover эффекты */
}

.floating-element:nth-child(1) {
  top: 10%;
  left: 10%;
  animation: float1 30s linear infinite;
}

.floating-element:nth-child(2) {
  top: 20%;
  right: 15%;
  animation: float2 35s linear infinite;
}

.floating-element:nth-child(3) {
  bottom: 30%;
  left: 20%;
  animation: float3 28s linear infinite;
}

.floating-element:nth-child(4) {
  bottom: 15%;
  right: 25%;
  animation: float4 32s linear infinite;
}

.floating-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: blur(0.5px);
  transition: all 0.3s ease;
}

/* Упрощенные анимации плавного движения для лучшей производительности */
@keyframes float1 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.2;
  }
  50% {
    transform: translate(20px, -15px) rotate(180deg);
    opacity: 0.4;
  }
}

@keyframes float2 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.3;
  }
  50% {
    transform: translate(-15px, 20px) rotate(180deg);
    opacity: 0.5;
  }
}

@keyframes float3 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.25;
  }
  50% {
    transform: translate(15px, -20px) rotate(180deg);
    opacity: 0.45;
  }
}

@keyframes float4 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.2;
  }
  50% {
    transform: translate(-20px, 15px) rotate(180deg);
    opacity: 0.4;
  }
}

@keyframes float4 {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.3;
  }
  30% {
    transform: translate(-15px, -25px) rotate(108deg);
    opacity: 0.5;
  }
  60% {
    transform: translate(25px, -15px) rotate(216deg);
    opacity: 0.4;
  }
  90% {
    transform: translate(-10px, 20px) rotate(324deg);
    opacity: 0.6;
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
    opacity: 0.3;
  }
}

/* Оптимизация для слабых устройств и батареи */
@media (prefers-reduced-motion: reduce) {
  .tarot-card-item,
  .floating-element,
  .tarot-cards-display::before,
  .tarot-cards-display::after {
    animation: none !important;
  }
  
  .tarot-cards-display::before {
    opacity: 0.6;
  }
  
  .tarot-cards-display::after {
    opacity: 0.15;
  }
}

/* Отключение сложных анимаций на мобильных для производительности */
@media (max-width: 768px) {
  .tarot-card-item {
    animation-duration: 20s; /* Замедляем анимации */
  }
  
  .floating-element {
    animation-duration: 45s; /* Замедляем анимации */
    opacity: 0.2; /* Уменьшаем видимость */
  }
  
  .tarot-cards-display::before,
  .tarot-cards-display::after {
    animation-duration: 8s; /* Замедляем анимации */
  }
}

/* Эффекты при наведении */
.floating-element:hover .floating-image {
  transform: scale(1.1);
  filter: blur(0px);
  opacity: 0.8;
}

/* Адаптивность */
@media (max-width: 768px) {
  .floating-image {
    width: 40px;
    height: 40px;
  }

  .floating-element {
    opacity: 0.3;
  }
}

@media (max-width: 480px) {
  .floating-image {
    width: 30px;
    height: 30px;
  }

  .floating-element {
    opacity: 0.2;
  }
}

/* Адаптація для мобільних пристроїв */
@media (max-width: 768px) {
  .floating-element .floating-image {
    width: 60px;
  }

  .floating-element {
    opacity: 0.6;
  }
  .tarot-btn {
    width: 100%;
  }
   .btn btn-appointmentbtn,
  .cta-button golden {
    width: 80%;

  }

  /* Упрощенная анимация приближения для мобильных */
  .floating-element.zooming-in {
    animation: zoomToScreenMobile 2.5s ease-out forwards;
  }

  @keyframes zoomToScreenMobile {
    0% {
      transform: translateZ(0) scale(1);
      opacity: 0.7;
    }
    50% {
      transform: translateZ(200px) scale(3);
      opacity: 1;
      filter: blur(0.5px);
    }
    100% {
      transform: translateZ(400px) scale(5);
      opacity: 0;
      filter: blur(1.5px);
    }
  }

  @keyframes floatAnimation {
    0%,
    100% {
      transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    50% {
      transform: translateY(-10px) translateX(-5px) rotate(-1deg);
    }
  }
}

/* Для планшетів */
@media (max-width: 1024px) and (min-width: 769px) {
  .floating-element .floating-image {
    width: 70px;
  }

  /* Средняя анимация приближения для планшетов */
  .floating-element.zooming-in {
    animation: zoomToScreenTablet 2.8s ease-out forwards;
  }

  @keyframes zoomToScreenTablet {
    0% {
      transform: translateZ(0) scale(1);
      opacity: 0.75;
    }
    40% {
      transform: translateZ(250px) scale(3.5);
      opacity: 1;
      filter: blur(0.3px);
    }
    100% {
      transform: translateZ(500px) scale(6);
      opacity: 0;
      filter: blur(2px);
    }
  }
}

/* Забезпечення правильного позиціонування відносно батьківської секції */
section {
  position: relative;
}

/* Забезпечення, що контент секції знаходиться над анімованими елементами */
section .container {
  position: relative;
  z-index: 2;
}

/* Дополнительные эффекты для реалистичности */
.floating-element.zooming-in {
  box-shadow: 0 0 50px rgba(184, 149, 106, 0.3);
}

.floating-element.zooming-in .floating-image {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Эффект свечения контейнера при приближении */
.floating-elements:has(.floating-element.zooming-in) {
  background: radial-gradient(
    circle at center,
    rgba(184, 149, 106, 0.1) 0%,
    transparent 70%
  );
  animation: containerGlow 3s ease-out forwards;
}

@keyframes containerGlow {
  0% {
    background: radial-gradient(
      circle at center,
      rgba(184, 149, 106, 0.05) 0%,
      transparent 50%
    );
  }
  50% {
    background: radial-gradient(
      circle at center,
      rgba(184, 149, 106, 0.2) 0%,
      transparent 80%
    );
  }
  100% {
    background: radial-gradient(
      circle at center,
      rgba(184, 149, 106, 0) 0%,
      transparent 70%
    );
  }
}

/* Адаптивные паддинги для всех секций */
@media (max-width: 768px) {
  .services-section,
  .experience-section,
  .personal-card-section,
  .magical-practices-section,
  .blog-section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .services-section,
  .experience-section,
  .personal-card-section,
  .magical-practices-section,
  .blog-section {
    padding: 30px 0;
  }
}

/* Дополнительные анимации для футера - возвращаем золотую тему */
@keyframes footerGlow {
  0%, 100% {
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
  }
  50% {
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
  }
}

@keyframes socialIconFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.footer-social a {
  animation: socialIconFloat 3s ease-in-out infinite;
}

.footer-social a:nth-child(2) {
  animation-delay: 0.5s;
}

.footer-social a:nth-child(3) {
  animation-delay: 1s;
}

.footer-social a:nth-child(4) {
  animation-delay: 1.5s;
}

/* Hover эффект для заголовков футера */
.footer-contacts h4:hover,
.footer-services h4:hover,
.footer-appointment h4:hover {
  animation: footerGlow 2s ease-in-out infinite;
}

/* Улучшенный эффект для экстренного контакта */
@keyframes emergencyPulse {
  0%, 100% {
    color: #d4af37;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
  }
  50% {
    color: #f0c674;
    text-shadow: 0 0 15px rgba(240, 198, 116, 0.6);
  }
}

.emergency-contact {
  animation: emergencyPulse 3s ease-in-out infinite;
}

@media (min-width: 1024px) {
  .articles-grid {
    align-items: stretch;
  }
  .article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
}


