/* БАЗА */
body {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

/* ПАРАГРАФЫ */
p {
  margin: 0 0 14px;
  font-size: 16px;

  text-shadow: 0 0 6px rgba(100, 180, 255, 0.25);
}

/* ССЫЛКИ */
a {
  color: #7fd0ff;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
}

a:hover {
  color: #c9ecff;
  text-shadow: 0 0 10px rgba(120, 200, 255, 0.8);
}

/* СПИСКИ (выделенные) */
ul, ol {
  padding-left: 20px;
  margin: 10px 0;
}

li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 10px;
}



/* ЦИТАТЫ */
blockquote {
  margin: 20px 0;
  padding: 16px 20px;

  border-left: 3px solid #7fd0ff;
  border-radius: 10px;

  background: rgba(120, 180, 255, 0.08);

  font-style: italic;
  color: #cfeeff;

  box-shadow: 0 0 15px rgba(120, 180, 255, 0.2);
}

/* ВЫДЕЛЕНИЕ */
strong {
  color: #d6f0ff;
  font-weight: 600;
}

em {
  color: #9edcff;
  font-style: italic;
}

/* МЕЛКИЙ ТЕКСТ */
small {
  font-size: 12px;
  color: rgba(168, 216, 255, 0.6);
}

/* ТЕКСТ В КАРТОЧКАХ */
.card p,
.value p {
  color: rgba(168, 216, 255, 0.85);
}

/* PLACEHOLDER */
input::placeholder {
  color: rgba(168, 216, 255, 0.5);
}



/* ОБЩИЕ */
h1, h2, h3 {
  font-family: system-ui;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 10px;
  color: #f5d27a;
}

/* ОБЩЕЕ */
h1, h2, h3 {
  font-family: system-ui;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: #f5d27a;
}

/* H1 — главный акцент */
h1 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2.5px;

  text-shadow:
    0 0 6px rgba(255, 215, 0, 1),
    0 0 16px rgba(255, 215, 0, 0.7),
    0 0 30px rgba(255, 215, 0, 0.5);

  position: relative;
  padding-bottom: 6px;
}

h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, #f5d27a, transparent);
}

/* H2 — вторичный уровень (ЦЕНТР + ЛИНИИ) */
h2 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;

  color: rgba(245, 210, 122, 0.9);

  text-shadow:
    0 0 4px rgba(255, 215, 0, 0.6),
    0 0 10px rgba(255, 215, 0, 0.3);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  text-align: center;
  margin: 30px 0 20px;
}

/* линии h2 */
h2::before,
h2::after {
  content: "";
  flex: 1;
  height: 2px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(245, 210, 122, 0.9),
    transparent
  );
}

/* H3 — подзаголовки / UI (ЦЕНТР + ЛИНИИ) */
h3 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.2px;

  color: rgba(245, 210, 122, 0.7);

  text-shadow:
    0 0 3px rgba(255, 215, 0, 0.3);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  text-align: center;
  margin: 20px 0 15px;
}

/* линии h3 */
h3::before,
h3::after {
  content: "";
  flex: 1;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(245, 210, 122, 0.6),
    transparent
  );

  opacity: 0.7;
}

/* ДОПОЛНИТЕЛЬНО: hover-эффекты */
h1:hover {
  text-shadow:
    0 0 8px rgba(255, 215, 0, 1),
    0 0 24px rgba(255, 215, 0, 0.9);
}

h2:hover {
  color: #f5d27a;
}

h3:hover {
  color: rgba(245, 210, 122, 1);
  text-shadow:
    0 0 10px rgba(245, 212, 143, 0.6),
    0 0 25px rgba(245, 212, 143, 0.25);
}
/* СПИСОК В SECTION-BOX */
.section-box ul {
  list-style: none !important; /* убираем квадраты */
  padding-left: 0;
  margin: 20px auto;
  max-width: 500px;
  text-align: left;
}

.section-box ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;

  list-style: none !important; /* доп. защита */
  color: #f8e7b5;

  text-shadow:
    0 0 6px rgba(245, 212, 143, 0.25);
}

/* убираем marker PicoCSS */
.section-box ul li::marker {
  content: "";
}

/* ✨ звёздочки */
.section-box ul li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;

  color: #f5d48f;
  font-size: 14px;

  text-shadow:
    0 0 6px rgba(245, 212, 143, 0.8),
    0 0 12px rgba(245, 212, 143, 0.4);

  animation: starGlow 2.5s ease-in-out infinite;
}

/* ✨ мягкая анимация */
@keyframes starGlow {
  0% {
    opacity: 0.6;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0.6;
    transform: scale(0.9);
  }
}
/* 🌟 TABLE STYLE */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;

  background: linear-gradient(
    135deg,
    rgba(5, 15, 31, 0.8),
    rgba(10, 25, 50, 0.6)
  );

  border: 1px solid rgba(245, 212, 143, 0.25);
  border-radius: 16px;
  overflow: hidden;

  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(245, 212, 143, 0.12);
}

/* HEADER */
table thead {
  background: linear-gradient(
    90deg,
    rgba(245, 212, 143, 0.15),
    rgba(245, 212, 143, 0.05)
  );
}

table th {
  padding: 16px;
  text-align: left;

  color: #fff3c4;
  font-weight: 600;
  letter-spacing: 1px;

  text-shadow:
    0 0 8px rgba(245, 212, 143, 0.4);
}

/* CELLS */
table td {
  padding: 14px 16px;
  color: #f5d48f;

  border-top: 1px solid rgba(245, 212, 143, 0.15);
}

/* ROW HOVER */
table tbody tr {
  transition: 0.3s;
}

table tbody tr:hover {
  background: rgba(245, 212, 143, 0.08);

  box-shadow:
    inset 0 0 20px rgba(245, 212, 143, 0.08);
}

/* ✨ мягкое разделение колонок */
table td + td,
table th + th {
  border-left: 1px solid rgba(245, 212, 143, 0.1);
}

/* 🌟 лёгкое свечение таблицы */
table::before {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at top,
    rgba(245, 212, 143, 0.15),
    transparent 70%
  );

  pointer-events: none;
}

/* 🌟 CTA READ BUTTON */
.cta-read {
  display: inline-block;
  margin-top: 25px;
  padding: 16px 34px;

  font-size: 1.1rem;          /* ← крупнее */
  font-weight: 700;           /* ← жирнее */
  letter-spacing: 1.2px;

  border-radius: 999px;
  text-decoration: none;

  /* 🔥 КОНТРАСТНЫЙ ТЕКСТ */
  color: #0b1d3a;

  /* ✨ яркий золотой градиент */
  background: linear-gradient(
    90deg,
    #f5d48f,
    #fff7d6,
    #f5d48f
  );
  background-size: 200% 100%;

  border: 1px solid #fff3c4;

  box-shadow:
    0 0 25px rgba(245, 212, 143, 0.7),
    0 0 60px rgba(245, 212, 143, 0.3);

  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* ✨ перелив */
.cta-read:hover {
  background-position: 100% 0;

  transform: translateY(-3px) scale(1.05);

  box-shadow:
    0 0 40px rgba(245, 212, 143, 1),
    0 0 90px rgba(245, 212, 143, 0.4);
}

/* 💫 свет внутри */
.cta-read::before {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at 40% 30%,
    rgba(255,255,255,0.5),
    transparent 60%
  );

  opacity: 0;
  transition: 0.4s;
}

.cta-read:hover::before {
  opacity: 1;
}
canvas {
  position:fixed;
  inset:0;
  z-index:-1;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(5, 15, 31, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6),
              0 0 15px rgba(245, 212, 143, 0.08);
  transition: 0.3s;
}

nav.scrolled {
  background: rgba(5,15,31,0.9);
  box-shadow: 0 4px 20px rgba(245,212,143,0.2),
              0 0 10px rgba(245,212,143,0.2);
}

nav a {
  color: #f5d48f;
  position: relative;
  transition: 0.3s;
}

nav a:hover {
  color: #fff3c4;
  text-shadow: 0 0 8px rgba(245, 212, 143, 0.8),
               0 0 18px rgba(245, 212, 143, 0.4);
  transform: translateY(-1px);
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f5d48f, transparent);
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}


/* кнопка ⋯ */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #f5d48f;
}

/* выпадающее меню */
/* скрыто по умолчанию */
.mobile-menu {
  position: fixed;
  top: 70px;
  right: 16px;
  width: 240px;

  background: rgba(5,15,31,0.95);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(245,212,143,0.2);
  border-radius: 12px;
  padding: 10px;

  display: flex;
  flex-direction: column;

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;

  transition: 0.3s;
  z-index: 1000;
}

/* активное состояние */
.mobile-menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}



/* 📱 адаптив */
@media (max-width: 768px) {

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

}
/* HERO */
.hero {
  display:grid;
  grid-template-columns: 420px 1fr;
  gap:60px;
  align-items:center;
  margin-top:40px;
}

.hero img {
  border-radius: 14px;
  border: 2px solid rgba(245, 212, 143, 0.9);
  box-shadow: 0 0 20px rgba(245, 212, 143, 0.25),
              0 0 60px rgba(245, 212, 143, 0.08);
  transition: 0.4s;
}

.hero img:hover {
  transform:scale(1.05);
}

/* GRID */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

/* FRAME */
.frame {
  position: relative;
  padding: 2rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
}

/* TAROT IMAGE */
.tarot-img {
  border-radius: 12px;
  border: 2px solid #f5d48f;
  transition: 0.4s;
}

.tarot-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(245,212,143,1);
}

/* MINI CARDS */
.mini-card {
  border: 1px solid rgba(245,212,143,0.3);
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  transition: 0.3s;
}

.mini-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px #f5d48f;
}

/* CTA */
.cta-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.cta-btn {
  border: 1px solid #f5d48f;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  color: #f5d48f;
  text-decoration: none;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #f5d48f;
  color: #0b1d3a;
}



/* FEATURES (FULL WIDTH FIXED) */
.features {
  display: flex;
  flex-wrap: nowrap;   /* ❗ запрещаем перенос */
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  overflow-x: auto;    /* если экран маленький — будет скролл */
  margin-top: 30px;
  padding: 40px 20px;
}

.features .card {
  flex: 0 0 180px !important;
}


 
/* BUTTONS */
.btn-glow {
  position: relative;
  overflow: hidden;

  padding: 14px 26px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-weight: 500;
  letter-spacing: 0.5px;

  color: #f5d48f;

  background: rgba(245, 212, 143, 0.04);
  border: 1px solid rgba(245, 212, 143, 0.35);

  box-shadow:
    0 0 8px rgba(245, 212, 143, 0.08),
    inset 0 0 10px rgba(245, 212, 143, 0.05);

  transition: all 0.4s ease;
}

/* мягкое свечение */
.btn-glow::before {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at 30% 30%,
    rgba(245, 212, 143, 0.18),
    transparent 60%
  );

  opacity: 0;
  transition: 0.4s;
}

.btn-glow:hover::before {
  opacity: 1;
}

/* hover — без “пережога” */
.btn-glow:hover {
  transform: translateY(-2px);

  background: rgba(245, 212, 143, 0.08);

  box-shadow:
    0 0 18px rgba(245, 212, 143, 0.25),
    inset 0 0 14px rgba(245, 212, 143, 0.08);
}

/* активное состояние — убираем серый флеш */
.btn-glow:active {
  transform: translateY(0);
  box-shadow:
    0 0 10px rgba(245, 212, 143, 0.2),
    inset 0 0 8px rgba(245, 212, 143, 0.1);
}


/* ✨ световой блик */
.btn-glow::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 60%);
  opacity: 0;
  transition: 0.4s;
}

.btn-glow:hover::before {
  opacity: 1;
}

/* 💥 hover эффект */
.btn-glow:hover {
  transform: translateY(-3px) scale(1.05);

  background: linear-gradient(90deg, #f5d48f, #fff3c4);
  color: #0b1d3a;

  border-color: #fff3c4;

  box-shadow:
    0 0 25px rgba(245, 212, 143, 0.8),
    0 0 60px rgba(245, 212, 143, 0.3);
}

/* CARDS */
.card {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,215,0,0.2);
  text-align: center;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 20px rgba(255,215,0,0.4);
}

.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.cards-row .tags {
  padding: 20px;
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 212, 143, 0.2);

  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

/* TAGS */
.tags {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
}

.tags span {
  margin: 5px;
  display: inline-block;
}

/* SECTION */
.section-box {
  margin-top: 40px;
  padding: 30px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  
}

/* FOOTER */
.site-footer {
  width: 100%;
  margin-top: 60px;
  background: rgba(5, 15, 31, 0.65);
  border-top: 1px solid rgba(245, 212, 143, 0.2);
  backdrop-filter: blur(14px);
  padding: 25px;
  text-align: center;
}

/* FOOTER */
.tarot-footer {
  margin-top: 60px;
  padding: 40px 20px;
  background: rgba(5,15,31,0.9);
  border-top: 1px solid rgba(245,212,143,0.2);
  text-align: center;
}

/* NAV CARDS */
.footer-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

.nav-card {
  flex: 1;
  padding: 20px;
  border-radius: 16px;
  text-decoration: none;
  color: #f5d48f;
  border: 1px solid rgba(245,212,143,0.3);
  transition: 0.3s;
}

.nav-card:hover {
  box-shadow: 0 0 20px rgba(245,212,143,0.5);
  transform: translateY(-4px);
}

/* SHOP */
.footer-section {
  margin-bottom: 30px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 15px;
  margin-top: 15px;
}

.shop-btn {
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg,#2f6bff,#6aa8ff);
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.shop-btn:hover {
  box-shadow: 0 0 20px #6aa8ff;
}

/* BOOK */
.book-btn {
  display: inline-block;
  padding: 18px 30px;
  border-radius: 14px;
  background: linear-gradient(135deg,#ffb347,#ffcc33);
  color: #000;
  font-weight: bold;
  text-decoration: none;
  margin-top: 10px;
  transition: 0.3s;
}

.book-btn:hover {
  box-shadow: 0 0 25px rgba(255,204,51,0.8);
}

/* SOCIAL */
.social {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-btn {
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid rgba(245,212,143,0.3);
  text-decoration: none;
  color: #f5d48f;
  transition: 0.3s;
}

.social-btn:hover {
  background: #f5d48f;
  color: #0b1d3a;
}

/* BOTTOM TEXT */
.footer-bottom {
  margin-top: 30px;
  opacity: 0.7;
  font-size: 14px;
}


/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align:center; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
  .card {
    padding: 14px;
    font-size: 14px;
  }
}



/* =========================
   📱 MOBILE OVERRIDE
   ========================= */

@media (max-width: 768px) {

  /* базовая адаптация */
  body {
    font-size: 16px;
  }

  /* ===== NAV ===== */
  nav {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 14px;
  }

  .nav-links {
    display: none !important;
  }

  .menu-toggle {
    display: block;
    font-size: 32px;
    cursor: pointer;
    color: #f5d48f;
  }

  /* мобильное меню */
  .mobile-menu {
    position: fixed;
    top: 60px;
    right: 12px;
    left: 12px;

    width: auto;

    background: rgba(5,15,31,0.97);
    backdrop-filter: blur(14px);

    border-radius: 14px;
    padding: 14px;

    display: none;
    flex-direction: column;
    gap: 12px;

    z-index: 9999;
  }

  .mobile-menu.active {
    display: flex;
  }

  /* ===== HERO ===== */
  .hero {
    grid-template-columns: 1fr !important;
    gap: 20px;
    text-align: center;
  }

  .hero img {
    width: 100%;
    height: auto;
  }

  /* ===== GRID ===== */
  .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  /* ===== CARDS ===== */
  .cards-row {
    grid-template-columns: 1fr !important;
  }

  .card {
    padding: 14px;
    font-size: 14px;
  }

  /* ===== FEATURES ===== */
  .features {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 20px 10px;
    gap: 12px;
  }

  .features .card {
    flex: 0 0 70%;
  }

  /* ===== TABLE ===== */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* ===== CTA BUTTONS ===== */
  .cta-bar {
    flex-direction: column;
    gap: 10px;
  }

  .cta-read {
    width: 100%;
    text-align: center;
  }

  /* ===== SECTION BOX ===== */
  .section-box {
    padding: 18px;
  }

  /* ===== FOOTER ===== */
  .footer-nav {
    flex-direction: column;
    gap: 12px;
  }

  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .social {
    flex-direction: column;
    gap: 10px;
  }
}
@media (max-width: 768px) {

  /* ОТКЛЮЧАЕМ ВСЕ КОЛОНКИ И СЕТКИ */
  * {
    max-width: 100% !important;
  }

  /* ЛЮБОЙ GRID / FLEX → СТОЛБИК */
  .hero,
  .grid-2,
  .cards-row,
  .features,
  .footer-nav,
  nav ul,
  .shop-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  /* КАРТЫ */
  .card,
  .mini-card,
  .section-box,
  .tags {
    width: 100% !important;
  }

  /* ИЗОБРАЖЕНИЯ */
  img {
    width: 100% !important;
    height: auto !important;
  }

  /* ТАБЛИЦЫ */
  table {
    display: block !important;
    overflow-x: auto !important;
  }

  /* NAV */
  .nav-links {
    display: none !important;
  }

  .menu-toggle {
    display: block !important;
  }

  body {
    padding: 0 12px !important;
  }
}
