/* five-card-tarot.html CSS [F-I] SEO blocks, header chrome (lang/breadcrumbs), icon nav, hero/carousel, content, footer, base media.
   CSS MAP: F SEO blocks | G icon nav (desktop arc) | G1 mobile icon scroll | H hero/carousel | I content/footer/media */

/* ==== F. SEO BLOCKS — heading and the "what you'll discover" grid ==== */
.seo-hero {
  padding-top: 48px;
  text-align: center;
}

.seo-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
}

.seo-hero h2.subtitle {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 24px;
}

.content h3.section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin: 32px 0 12px;
}

.classification {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 24px 0 64px;
  width: 100%;
}

.class-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.class-items .row {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 100%;
}

.splitter {
  width: min(900px, 100%);
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, #eac47e, transparent);
}

.class-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  text-align: center;
  width: 100%;
}

.class-item img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 20px;
}

.class-item .name {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 12px;
}

.class-item .descr {
  font-size: 15px;
  line-height: 1.6;
  max-width: 36em;
  opacity: 0.95;
}

@media (min-width: 768px) {
  .mobile-breadcrumbs { display: none; }
  .mode-panel-mobile { display: none; }
  .mode-panel-desktop { display: block; }
  .reading-stage {
    min-height: calc(100svh - var(--site-header-chrome));
    padding-top: 16px;
    padding-bottom: 40px;
  }
  .mode-panel-desktop {
    margin-top: 0;
  }
  .class-items .row {
    flex-direction: row;
  }
  .class-item {
    max-width: 50%;
    padding: 40px 16px;
  }
  .content--wide {
    max-width: min(1320px, 96vw);
  }
}

.breadcrumbs a {
  color: var(--text);
}

.breadcrumb-sep {
  color: var(--text);
  opacity: 0.9;
}

.current-path {
  background: linear-gradient(0deg, #26dbff, #ba80ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lang-switcher {
  position: absolute;
  top: 14px;
  right: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 24px;
  padding: 4px 8px;
  font-size: 14px;
  cursor: pointer;
}

.lang-switcher .ls-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
}

.lang-switcher img {
  width: 30px;
  height: 20px;
  object-fit: cover;
  border-radius: 2px;
}

.lang-switcher .cntrl {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #fff;
  opacity: 0.8;
}

.site-header .logo-center .logo-img {
  height: 128px;
  width: auto;
  max-width: min(92vw, 680px);
  margin: 8px 0 4px;
}

/* ==== G. ICON NAVIGATION — .nav-item in an arc (same as index) ==== */
.icon-navigation {
  width: 100%;
  padding: 0 40px;
  margin-top: -12px;
}

.navigation-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 980px;
  min-height: 161px;
  margin: 0 auto;
}

.navigation-content.is-scroll {
  justify-content: flex-start;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: none;
  min-height: 0;
  padding-bottom: 8px;
}

.navigation-content.is-scroll::-webkit-scrollbar { display: none; }

.nav-item {
  flex: 0 0 120px;
  width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  color: var(--text);
  text-decoration: none;
}

.navigation-content.is-scroll .nav-item {
  flex: 0 0 100px;
  width: 100px;
  scroll-snap-align: start;
  gap: 12px;
}

.nav-icon {
  position: relative;
  width: 44px;
  height: 44px;
  color: var(--icon-color, #c79bfe);
}

.nav-icon::before {
  content: "";
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: linear-gradient(-45deg, #8b26ff, #26dbff 60%);
  filter: blur(24px);
  opacity: 0;
  z-index: -1;
  will-change: opacity;
  pointer-events: none;
}

.nav-item:hover .nav-text {
  font-weight: 600;
}

.nav-item:hover .nav-icon::before {
  opacity: 1;
}

.nav-item:hover .nav-svg,
.nav-item:hover .nav-svg * {
  fill: #fff;
}

.nav-svg {
  width: 44px;
  height: 44px;
  display: block;
  position: relative;
  z-index: 1;
}

.nav-svg,
.nav-svg * {
  fill: currentColor;
}

.nav-text {
  font-size: 14px;
  line-height: 1.2;
}

.nav-item[data-arc="0"] { margin-top: 0; }
.nav-item[data-arc="1"] { margin-top: 46px; }
.nav-item[data-arc="2"] { margin-top: 68px; }
.nav-item[data-arc="3"] { margin-top: 76px; }
.nav-item[data-arc="4"] { margin-top: 76px; }
.nav-item[data-arc="5"] { margin-top: 68px; }
.nav-item[data-arc="6"] { margin-top: 46px; }
.nav-item[data-arc="7"] { margin-top: 0; }

.navigation-content.is-scroll .nav-item[data-arc="1"] { margin-top: 41px; }
.navigation-content.is-scroll .nav-item[data-arc="2"] { margin-top: 61px; }
.navigation-content.is-scroll .nav-item[data-arc="3"] { margin-top: 68px; }
.navigation-content.is-scroll .nav-item[data-arc="4"] { margin-top: 68px; }
.navigation-content.is-scroll .nav-item[data-arc="5"] { margin-top: 61px; }
.navigation-content.is-scroll .nav-item[data-arc="6"] { margin-top: 41px; }

/* ==== G1. MOBILE ICON NAV — horizontal scroll below mobile header ==== */
.mobile-icon-nav {
  display: block;
  position: relative;
  z-index: 90;
  padding: 0 16px 12px;
}

/* ==== H. HERO/CAROUSEL base — card styles shared with index ==== */
.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 20px;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 6vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 48px;
  max-width: 500px;
}

/* Hero cards panel */
.cards-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 20px;
}

.cards-mobile-only { display: flex; flex-direction: column; width: 100%; gap: 16px; }
.cards-desktop-only { display: none; }

.cards-wrapper.busy,
.cards-wrapper.busy .cards-content .card-slide * {
  pointer-events: none;
}

.control-top-status {
  display: flex;
  flex-direction: row;
  gap: calc(40vw / 6);
  justify-content: center;
  position: relative;
  padding: 8px 0;
}

.control-top-status .indicator {
  background: #fff;
  border: none;
  border-radius: 8px;
  height: 8px;
  opacity: 0.6;
  padding: 0;
  cursor: pointer;
  transition: 0.4s;
  width: 8px;
}

.control-top-status .indicator.active {
  opacity: 1;
  width: 24px;
}

.control-top-status .indicator:nth-child(1) { background: #ba80ff; }
.control-top-status .indicator:nth-child(2) { background: #c79bfe; }
.control-top-status .indicator:nth-child(3) { background: #bab7fe; }
.control-top-status .indicator:nth-child(4) { background: #b3c5fe; }
.control-top-status .indicator:nth-child(5) { background: #a7dffe; }
.control-top-status .indicator:nth-child(6) { background: #26dbff; }

.scrolled-container {
  overflow: hidden;
  position: relative;
  width: 100vw;
  max-width: 100%;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.cards-content {
  display: flex;
  flex-direction: row;
  gap: 5vw;
  overflow-y: visible;
  padding: 32px 0;
  transition: transform 0.4s;
  width: fit-content;
  will-change: transform;
}

.card-slide {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  pointer-events: all;
  transform: rotate(0deg);
  transition: transform 0.4s;
  will-change: transform;
}

.card-slide:first-child { margin-left: 17vw; }
.card-slide:last-child { margin-right: 17vw; }

.card-slide.prev {
  pointer-events: none;
  transform: rotate(-5deg);
  transform-origin: right bottom;
}

.card-slide.next {
  pointer-events: none;
  transform: rotate(5deg);
  transform-origin: left bottom;
}

.cards-control {
  align-items: center;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.25);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  height: 32px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  z-index: 2;
}

.cards-control.left { left: 24px; padding-right: 2px; }
.cards-control.right { right: 24px; padding-left: 2px; }
.cards-control svg { width: 14px; height: 14px; fill: currentColor; }

.card-nav-item { text-decoration: none; color: inherit; }

.card-holder {
  align-items: center;
  backdrop-filter: blur(4px);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
  padding: 32px 24px;
  position: relative;
  transform: translateZ(0);
}

.card-holder::before {
  background: linear-gradient(90deg, #c79bfe, #99fdfe);
  border-radius: inherit;
  content: "";
  inset: 0;
  opacity: 0.35;
  position: absolute;
  z-index: -2;
}

.card-holder .nav-name {
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
  transform: translateY(0);
  transition: transform 0.2s;
}

.grad-shadow {
  display: none;
  inset: 36px;
  position: absolute;
  z-index: -1;
}

.grad-shadow::before,
.grad-shadow::after,
.grad-shadow > div {
  aspect-ratio: 1;
  background: radial-gradient(circle, #26dbff, #ba80ff, transparent 70%);
  border-radius: 50%;
  content: "";
  opacity: 0.4;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 160%;
}

.grad-shadow > div {
  animation: grad-push-1 1s linear infinite alternate;
  left: 24%;
  top: 34%;
}

.grad-shadow::after {
  animation: grad-push-2 1s linear infinite alternate;
  background: radial-gradient(circle, #ba80ff, #26dbff, transparent 70%);
  left: 70%;
  top: 50%;
}

.grad-shadow::before {
  animation: grad-push-3 1s linear infinite alternate;
  left: 30%;
  top: 80%;
}

@keyframes grad-push-1 {
  0% { width: 70%; }
  100% { width: 120%; }
}

@keyframes grad-push-2 {
  0% { width: 80%; }
  80% { width: 120%; }
  100% { width: 110%; }
}

@keyframes grad-push-3 {
  0% { width: 90%; }
  60% { width: 120%; }
  100% { width: 90%; }
}

.card-holder .card {
  border-radius: 12px;
  height: auto;
  overflow: hidden;
  position: relative;
  transform: translateY(0) scale(1);
  transition: transform 0.2s;
  width: min(50vw, 195px);
  aspect-ratio: 180 / 278;
}

.card-holder .card::before {
  background: linear-gradient(-45deg, rgba(255,255,255,0.5), rgba(255,255,255,0), rgba(255,255,255,0.25), rgba(255,255,255,0), rgba(255,255,255,0.3));
  border-radius: inherit;
  content: "";
  inset: 0;
  opacity: 0.8;
  pointer-events: none;
  position: absolute;
  z-index: 1;
  transition: background 0.2s;
}

.card-holder .card img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.card-slide.active .card-holder .grad-shadow {
  display: block;
}

.card-slide.active .card-holder .grad-shadow::before,
.card-slide.active .card-holder .grad-shadow::after,
.card-slide.active .card-holder .grad-shadow > div {
  animation: none;
  background: radial-gradient(circle, rgba(186, 183, 254, 0.8), rgba(167, 223, 254, 0.4), transparent 70%);
  opacity: 0.6;
}

.card-slide.active .card-holder .grad-shadow > div { left: 60%; top: 20%; width: 120%; }
.card-slide.active .card-holder .grad-shadow::after {
  background: radial-gradient(circle, rgba(167, 223, 254, 0.8), rgba(199, 155, 254, 0.6), transparent 70%);
  left: 40%; top: 50%; width: 160%;
}
.card-slide.active .card-holder .grad-shadow::before {
  aspect-ratio: 1 / 1.4;
  background: radial-gradient(rgba(186, 183, 254, 0.8), rgba(173, 211, 254, 0.4), transparent 70%);
  left: 116%; top: 40%;
  transform: rotate(70deg);
  transform-origin: left top;
  width: 114%;
}

.cards-desktop-only {
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.nav-items-row {
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-items-row .card-nav-item { flex: 0 0 auto; }

.cards-desktop-only .card-holder {
  border-radius: 40px;
  height: 500px;
  padding: 40px 30px;
  width: 290px;
}

.cards-desktop-only .card-holder .nav-name { font-size: 24px; }

.cards-desktop-only .card-holder .card {
  border-radius: 16px;
  height: 356px;
  width: 230px;
}

.cards-desktop-only .card-holder:hover .grad-shadow { display: block; }
.cards-desktop-only .card-holder:hover .nav-name { transform: translateY(-10px); }
.cards-desktop-only .card-holder:hover .card { transform: translateY(-16px) scale(1.05); }
.cards-desktop-only .card-holder:hover .card::before {
  background: rgba(255, 255, 255, 0.85);
  opacity: 0.35;
}

/* ==== I. CONTENT / FOOTER ==== */
.content {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px 64px;
  position: relative;
}

.content section {
  margin-bottom: 48px;
}

.content h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 16px;
}

.content p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.decor {
  position: absolute;
  pointer-events: none;
  opacity: 0.8;
}
.decor-planet {
  width: 200px;
  right: -40px;
  top: 200px;
}
.decor-moon {
  width: 180px;
  left: -60px;
  bottom: 400px;
}

/* FAQ */
.faq h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin: 24px 0 8px;
}

/* Footer */
footer {
  text-align: center;
  padding: 48px 24px 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

footer .logo {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer .logo-img { height: 72px; width: auto; max-width: min(90vw, 460px); }

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #fff;
  opacity: 0.9;
  transition: opacity 0.2s, color 0.2s;
}

.footer-socials a:hover {
  opacity: 1;
  color: var(--accent-purple);
}

.footer-socials svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-nav a:hover { color: var(--accent-purple); }

.footer-legal {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.6;
}

@media (min-width: 724px) {
  .cards-mobile-only { display: none; }
  .cards-desktop-only { display: flex; }
}

@media (min-width: 768px) {
  .mobile-header { display: none; }
  .mobile-icon-nav { display: none; }
  .site-header { display: flex; }
  .nav-panel { display: none !important; }
  .navigation-content { overflow-x: visible; flex-wrap: nowrap; }
  .decor-planet { right: 5%; width: 250px; }
  .decor-moon { left: 5%; width: 220px; }
}

@media (max-width: 767px) {
  .mobile-icon-nav .nav-text { font-size: 12px; }
}

@media (min-width: 1024px) {
  .hero { min-height: 80vh; }
  .icon-navigation { padding: 0 40px 12px; }
}

@media (min-width: 1440px) {
  .site-header {
    max-width: min(1320px, 96vw);
    margin-left: auto;
    margin-right: auto;
  }
}
