/* ==========================================================================
   Толин Тусгал — Таро & Бясалгал: Дээд зэрэглэлийн Сүнслэг Дизайн
   ========================================================================== */

:root {
    /* Тэнгэрийн эрхэс ба сансрын гүн өнгөнүүд */
    --cosmic-deep: #080312;         /* Хамгийн гүн шөнийн хөх-ягаан суурь */
    --cosmic-purple: #130924;       /* Дунд шатны гүн ягаан */
    --cosmic-neon-pink: #E05297;    /* Идэвхтэй хэсэг, неон тодотгол */
    --cosmic-magenta: #C23A7A;      /* Туслах гүн ягаан */
    --cosmic-lavender: #D3C4E3;     /* Уншихад хялбар уянгалаг цайвар ягаан бичвэр */
    --cosmic-gold: #F7DCA0;         /* Сар, одод, хүрээний тансаг алтан өнгө */
    --cosmic-gold-glow: rgba(247, 220, 160, 0.4);
    --white: #FFFFFF;
    --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

/* Суурь тохиргоо */
body {
    background-color: var(--cosmic-deep);
    color: var(--cosmic-lavender);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo-text, .tarot-front strong {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.08em;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* ==========================================================================
   ТАРО ХЭСГИЙН ЕРӨНХИЙ ДИЗАЙН
   ========================================================================== */

.tarot-reading {
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 15%, rgba(73, 34, 95, 0.4) 0%, transparent 60%),
        radial-gradient(circle at 10% 70%, rgba(26, 10, 46, 0.7) 0%, transparent 50%),
        var(--cosmic-deep);
}

/* Орчны уусалттай гэрлүүд (Glow Orbs) */
.tarot-reading::before,
.tarot-reading::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 0;
    pointer-events: none;
}

.tarot-reading::before {
    width: 400px;
    height: 400px;
    background: rgba(224, 82, 151, 0.08);
    top: -50px;
    right: -50px;
}

.tarot-reading::after {
    width: 500px;
    height: 500px;
    background: rgba(139, 92, 246, 0.08);
    bottom: -100px;
    left: -100px;
}

.tarot-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.tarot-eyebrow {
    color: var(--cosmic-gold);
    font: 600 12px 'Cinzel', serif;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(247, 220, 160, 0.3);
}

.tarot-reading h2 {
    margin: 10px 0 20px;
    font: 700 clamp(28px, 4vw, 42px) 'Cinzel', serif;
    background: linear-gradient(180deg, #FFFFFF 0%, #D3C4E3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tarot-intro {
    max-width: 580px;
    margin: 0 auto 35px;
    color: #AFA1C1;
    font-size: 14px;
    line-height: 1.8;
}

/* Сэдэв сонгох товчлуурууд */
.tarot-topics {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
}

.tarot-topic {
    padding: 12px 26px;
    color: var(--cosmic-lavender);
    background: rgba(31, 15, 54, 0.4);
    border: 1px solid rgba(247, 220, 160, 0.15);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tarot-topic:hover {
    color: var(--white);
    border-color: rgba(224, 82, 151, 0.6);
    background: rgba(224, 82, 151, 0.15);
    box-shadow: 0 0 15px rgba(224, 82, 151, 0.2);
    transform: translateY(-2px);
}

.tarot-topic.active {
    color: #1c1224;
    background: linear-gradient(135deg, #d7bb7e 0%, #9d7540 100%);
    border-color: #d7bb7e;
    box-shadow: 0 0 16px rgba(146, 108, 53, 0.2);
}

.tarot-instruction {
    margin: 35px 0 20px;
    font-size: 15px;
    color: #E2D5F0;
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   КАРТЫН ДИЗАЙН БА 3D ФЛИП ХӨДӨЛГӨӨН
   ========================================================================== */

.tarot-deck {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 185px));
    justify-content: center;
    gap: clamp(15px, 5vw, 40px);
    margin: 40px auto;
    perspective: 1200px; /* 3D Гүн нөлөө */
}

.tarot-choice {
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    perspective: 1200px;
    outline: none;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Карт дээгүүр хулгана гүйх үеийн хөдөлгөөн (Зөвхөн нээгээгүй үед) */
.tarot-choice:hover:not(:disabled) {
    transform: translateY(-12px) scale(1.03);
}

.tarot-choice:hover:not(:disabled) .tarot-back {
    border-color: var(--cosmic-gold);
    box-shadow: 0 0 25px var(--cosmic-gold-glow),
                inset 0 0 0 5px #190A2E,
                inset 0 0 0 7px rgba(247, 220, 160, 0.3);
}

.tarot-choice:disabled {
    cursor: default;
}

/* Флип хийх гол бүтэц */
.tarot-card-inner {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1.65; /* Алтан харьцаанд ойртсон гоёмсог хэлбэр */
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.15); /* Реалист инерцитэй эргэлт */
}

.tarot-choice.flipped .tarot-card-inner {
    transform: rotateY(180deg);
}

/* Картын нүүр болон ар талын ерөнхий загвар */
.tarot-face {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 16px;
    border: 1px solid rgba(247, 220, 160, 0.3);
    border-radius: 14px;
    backface-visibility: hidden; /* Эргэсэн үед ар талыг нуух */
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

/* КАРТЫН АР ТАЛ (Face Down) */
.tarot-back {
    background:
        radial-gradient(circle at center, #261245 0%, #0F051C 100%),
        repeating-linear-gradient(45deg, transparent 0 10px, rgba(247,220,160,0.03) 10px 11px);
    box-shadow: inset 0 0 0 5px #140727,
                inset 0 0 0 7px rgba(247, 220, 160, 0.2),
                var(--card-shadow);
    transition: all 0.4s ease;
}

/* Орнамент хээ ба одон орны бэлгэдэл */
.tarot-back::before {
    content: "✦";
    position: absolute;
    color: rgba(247, 220, 160, 0.2);
    font-size: 12px;
    top: 15px; left: 15px;
}
.tarot-back::after {
    content: "✦";
    position: absolute;
    color: rgba(247, 220, 160, 0.2);
    font-size: 12px;
    bottom: 15px; right: 15px;
}

.tarot-back-symbol {
    display: grid;
    place-items: center;
    width: 70%;
    aspect-ratio: 1;
    border: 1px dashed rgba(247, 220, 160, 0.4);
    border-radius: 50%;
    font-size: 44px;
    color: var(--cosmic-gold);
    text-shadow: 0 0 15px rgba(247, 220, 160, 0.6);
    background: rgba(8, 3, 18, 0.3);
    position: relative;
    animation: pulseGlow 3s ease-in-out infinite;
}

.tarot-back small {
    margin-top: 18px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    color: rgba(247, 220, 160, 0.7);
    font-family: 'Cinzel', serif;
}

/* КАРТЫН НҮҮР ТАЛ (Face Up) */
.tarot-front {
    transform: rotateY(180deg); /* Эхлэхэд эргэсэн байх */
    background: linear-gradient(145deg, #1C0B35 0%, #090314 100%);
    border-color: var(--cosmic-gold);
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.8),
                0 0 20px rgba(139, 92, 246, 0.15);
    text-align: center;
}

.tarot-front .tarot-card-icon {
    font-size: 46px;
    color: var(--cosmic-gold);
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(247, 220, 160, 0.5);
}

.tarot-front strong {
    font: 600 16px 'Cinzel', serif;
    color: var(--white);
    line-height: 1.4;
    overflow-wrap: anywhere;
    border-top: 1px solid rgba(247, 220, 160, 0.2);
    border-bottom: 1px solid rgba(247, 220, 160, 0.2);
    padding: 8px 0;
    width: 90%;
}

/* Сонгогдоогүй бусад картуудыг бүдгэрүүлэх эффект */
.tarot-choice:disabled:not(.flipped) {
    opacity: 0.35;
    transform: scale(0.95);
    filter: blur(1px);
}

.tarot-choice.flipped {
    opacity: 1 !important;
    transform: scale(1.05);
    filter: none !important;
}

/* ==========================================================================
   ҮР ДҮНГИЙН ХЭСЭГ (Interpretation Glassmorphism)
   ========================================================================== */

.tarot-result {
    max-width: 680px;
    margin: 50px auto 0;
    padding: 40px 35px;
    border: 1px solid rgba(247, 220, 160, 0.2);
    border-radius: 20px;
    background: rgba(19, 9, 36, 0.55);
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: tarotAppear 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tarot-symbol {
    margin: 10px 0;
    color: var(--cosmic-gold);
    font-size: 48px;
    text-shadow: 0 0 20px var(--cosmic-gold-glow);
}

.tarot-result h3 {
    font: 700 30px 'Cinzel', serif;
    margin: 10px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--cosmic-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tarot-orientation {
    margin: 14px 0;
    color: var(--cosmic-neon-pink);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(224, 82, 151, 0.3);
}

.tarot-meaning {
    margin: 25px auto;
    color: #E2D5F0;
    font-size: 15px;
    line-height: 2;
    white-space: pre-line;
    text-align: left;
    background: rgba(8, 3, 18, 0.4);
    padding: 20px 25px;
    border-radius: 12px;
    border-left: 3px solid var(--cosmic-gold);
}

.tarot-topic-reading {
    margin: 18px auto 25px;
    padding: 20px 25px;
    border: 1px solid rgba(247, 220, 160, 0.18);
    border-radius: 12px;
    background: rgba(38, 20, 54, 0.55);
    text-align: left;
}

.tarot-topic-reading h3 {
    margin: 0 0 10px;
    color: var(--cosmic-gold);
    font: 600 16px/1.5 'Noto Serif', serif;
    letter-spacing: 0.02em;
}

.tarot-topic-reading p {
    margin: 0;
    color: #E2D5F0;
    font-size: 14px;
    line-height: 1.9;
}

.tarot-disclaimer {
margin: 25px 0 15px;
color: #8C7C9E;
font-size: 12px;
line-height: 1.8;
font-style: italic;
.tarot-topic-reading { padding: 17px 16px; }
}
/* Дахин мэргэлэх товчлуур (Neon Glowing Button) */
#newTarot, .btn-neon {
background: linear-gradient(90deg, var(--cosmic-neon-pink) 0%, var(--cosmic-magenta) 100%);
color: var(--white);
border: none;
padding: 14px 35px;
border-radius: 50px;
font-size: 14px;
font-weight: 600;
font-family: 'Inter', sans-serif;
letter-spacing: 0.05em;
cursor: pointer;
box-shadow: 0 0 20px rgba(224, 82, 151, 0.4);
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
margin-top: 15px;
}
#newTarot:hover, .btn-neon:hover {
box-shadow: 0 0 30px rgba(224, 82, 151, 0.7);
transform: translateY(-2px) scale(1.02);
}
/* ==========================================================================
КЛАССИК ХӨДӨЛГӨӨНҮҮД БА RESPONSIVE ТОХИРГОО
========================================================================== */
@keyframes pulseGlow {
0% { box-shadow: 0 0 15px rgba(247, 220, 160, 0.3); border-color: rgba(247, 220, 160, 0.3); }
50% { box-shadow: 0 0 25px rgba(247, 220, 160, 0.6); border-color: rgba(247, 220, 160, 0.6); }
100% { box-shadow: 0 0 15px rgba(247, 220, 160, 0.3); border-color: rgba(247, 220, 160, 0.3); }
}
@keyframes tarotAppear {
from { opacity: 0; transform: translateY(30px); filter: blur(5px); }
to { opacity: 1; transform: translateY(0); filter: none; }
}
.hidden {
display: none !important;
}
/* Гар утас болон Жижиг Дэлгэцийн Responsive Систем */
@media (max-width: 600px) {
.tarot-reading { padding: 60px 15px; }
.tarot-deck { gap: 12px; margin: 25px auto; }
.tarot-face { padding: 10px; border-radius: 10px; }
.tarot-front strong { font-size: 13px; padding: 4px 0; }
.tarot-front .tarot-card-icon { font-size: 32px; margin-bottom: 8px; }
.tarot-back-symbol { font-size: 30px; width: 75%; }
.tarot-back small { font-size: 8px; margin-top: 10px; letter-spacing: 1px; }
.tarot-result { padding: 25px 20px; }
.tarot-meaning { padding: 15px; font-size: 14px; }
}

/* A quieter, gold-led palette keeps the existing site cohesive with the reading. */
html {
    scroll-padding-top: 76px;
}

body {
    background:
        radial-gradient(ellipse at 50% 0, rgba(64, 35, 88, 0.3), transparent 38rem),
        var(--cosmic-deep);
    color: var(--cosmic-lavender);
    font-family: 'Noto Sans', Inter, sans-serif;
}

h1, h2, h3, h4, .logo-text, .tarot-front strong {
    font-family: 'Noto Serif', Cinzel, serif;
    letter-spacing: 0.025em;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--cosmic-gold);
    outline-offset: 4px;
}

.hero {
    background:
        radial-gradient(ellipse at 75% 48%, rgba(173, 131, 75, 0.16), transparent 30%),
        radial-gradient(ellipse at 15% 10%, rgba(92, 51, 121, 0.55), transparent 48%),
        linear-gradient(115deg, #10081c, #21102f 62%, #130a1d);
}

.hero:after {
    background:
        radial-gradient(circle at 78% 23%, rgba(247, 220, 160, 0.2), transparent 8%),
        radial-gradient(circle at 91% 74%, rgba(129, 91, 148, 0.2), transparent 20%);
}

.moon {
    color: var(--cosmic-gold);
}

.btn-pink,
#newTarot {
    background: linear-gradient(135deg, #e8cf97, #b78a49);
    color: #21152a;
    box-shadow: 0 8px 25px rgba(183, 138, 73, 0.2);
    font-weight: 600;
}

.btn-pink:hover,
#newTarot:hover {
    box-shadow: 0 10px 30px rgba(224, 184, 111, 0.32);
}

.services,
.gallery {
    background: #10091a;
}

.cosmic-card,
.cosmic-card.meditation {
    color: var(--cosmic-lavender);
    border: 1px solid rgba(247, 220, 160, 0.13);
    background:
        radial-gradient(circle at 90% 15%, rgba(111, 78, 131, 0.2), transparent 35%),
        linear-gradient(140deg, #21132d, #130c1d);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
}

.cosmic-card h2,
.section-title,
.row-item h3 {
    color: #f7eedc;
}

.sub-icon-grid,
.meditation .sub-icon-grid {
    background: rgba(255, 255, 255, 0.035);
    border-top: 1px solid rgba(247, 220, 160, 0.1);
}

.icon-box,
.meditation .icon-box {
    color: #d9c9e0;
}

.row-item {
    color: #d8cce0;
    background: #1a1025;
    border-color: rgba(247, 220, 160, 0.1);
}

.row-item a {
    color: var(--cosmic-gold);
}

.horoscope-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
}

.horoscope-feature .horoscope-glyph {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    margin: 0;
    border: 1px solid rgba(229, 201, 133, 0.23);
    border-radius: 50%;
    background: rgba(229, 201, 133, 0.08);
    color: #e5c985;
    font-size: 27px;
    text-shadow: 0 0 18px rgba(229, 201, 133, 0.4);
}

.horoscope-copy {
    min-width: 0;
}

.horoscope-copy h3 {
    margin: 0 0 2px;
}

.horoscope-date {
    margin: 0 0 6px;
    color: #b9aebb;
    font-size: 11px;
}

.horoscope-summary {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 8px;
    color: #c9bdcf;
    font-size: 11px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.row-item .horoscope-source {
    display: inline-block;
    color: #e5c985;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
}

.quote-block {
    color: #eee4f2;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(83, 52, 103, 0.35), transparent 55%),
        #171021;
    border-top: 1px solid rgba(247, 220, 160, 0.12);
    border-bottom: 1px solid rgba(247, 220, 160, 0.12);
}

.quote-list li:before {
    color: var(--cosmic-gold);
}

.section-title {
    font-family: 'Noto Serif', Cinzel, serif;
}

.image-card {
    border: 1px solid rgba(247, 220, 160, 0.14);
}

.tarot-reading {
    padding: clamp(70px, 9vw, 112px) 20px;
    background:
        radial-gradient(ellipse at 50% 12%, rgba(95, 62, 116, 0.28), transparent 42%),
        radial-gradient(ellipse at 100% 80%, rgba(105, 79, 52, 0.09), transparent 35%),
        #0b0711;
    border-bottom: 1px solid rgba(247, 220, 160, 0.12);
}

.tarot-reading::before {
    width: 340px;
    height: 340px;
    background: rgba(200, 165, 103, 0.05);
    filter: blur(120px);
}

.tarot-reading::after {
    width: 390px;
    height: 390px;
    background: rgba(124, 79, 155, 0.08);
    filter: blur(130px);
}

.tarot-eyebrow {
    font-family: 'Noto Sans', Inter, sans-serif;
    letter-spacing: 0.22em;
    color: #e5c985;
}

.tarot-reading h2 {
    font-family: 'Noto Serif', Cinzel, serif;
    letter-spacing: 0.015em;
    background: linear-gradient(180deg, #fffaf0, #d9c69b);
    -webkit-text-fill-color: transparent;
}

.tarot-intro {
    color: #c2b5ca;
    font-size: 15px;
}

.tarot-topic {
    border-color: rgba(224, 199, 142, 0.2);
    background: rgba(28, 20, 37, 0.76);
}

.tarot-topic:hover {
    border-color: rgba(224, 199, 142, 0.7);
    background: rgba(190, 153, 91, 0.12);
    box-shadow: 0 0 18px rgba(224, 199, 142, 0.12);
}

.tarot-topic.active {
    color: #21152a;
    border-color: #d7bb7e;
    background: linear-gradient(135deg, #d7bb7e, #9d7540);
    box-shadow: 0 5px 18px rgba(146, 108, 53, 0.18);
}

.tarot-topic:disabled {
    opacity: 0.55;
    cursor: default;
}

.tarot-instruction {
    margin: 35px 0 28px;
    color: #e9dfc8;
    font-size: 15px;
}

.tarot-deck {
    width: 100%;
    max-width: 750px;
    grid-template-columns: repeat(3, minmax(0, 185px));
    gap: clamp(12px, 5vw, 46px);
    margin: 32px auto 0;
}

.tarot-choice {
    border-radius: 15px;
    -webkit-tap-highlight-color: transparent;
}

.tarot-choice:hover:not(:disabled) {
    transform: translateY(-9px) scale(1.025);
}

.tarot-choice:focus-visible {
    outline: 2px solid var(--cosmic-gold);
    outline-offset: 7px;
}

.tarot-card-inner {
    transition: transform 760ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.tarot-face {
    border-radius: 13px;
}

.tarot-back {
    border-color: rgba(224, 199, 142, 0.55);
    background:
        radial-gradient(ellipse at 50% 45%, rgba(120, 84, 148, 0.35), transparent 55%),
        repeating-linear-gradient(45deg, transparent 0 11px, rgba(224, 199, 142, 0.025) 11px 12px),
        linear-gradient(145deg, #241633, #0d0915 70%);
    box-shadow:
        inset 0 0 0 5px #110b1a,
        inset 0 0 0 7px rgba(224, 199, 142, 0.25),
        0 18px 38px rgba(0, 0, 0, 0.5);
}

.tarot-choice:not(:disabled) .tarot-back {
    animation: cardBreath 4s ease-in-out infinite;
}

.tarot-choice:nth-child(2) .tarot-back {
    animation-delay: 0.65s;
}

.tarot-choice:nth-child(3) .tarot-back {
    animation-delay: 1.3s;
}

.tarot-back-symbol {
    width: 68%;
    border: 1px solid rgba(224, 199, 142, 0.56);
    color: #e5c985;
    text-shadow: 0 0 18px rgba(224, 199, 142, 0.55);
    background:
        radial-gradient(circle, rgba(224, 199, 142, 0.09), transparent 68%),
        rgba(8, 3, 18, 0.3);
    box-shadow: inset 0 0 0 5px rgba(224, 199, 142, 0.04);
}

.tarot-back-symbol::before,
.tarot-back-symbol::after {
    content: "✧";
    position: absolute;
    left: 50%;
    color: rgba(224, 199, 142, 0.6);
    font-size: 14px;
}

.tarot-back-symbol::before {
    top: 9%;
}

.tarot-back-symbol::after {
    bottom: 9%;
}

.tarot-back small {
    color: rgba(231, 210, 164, 0.75);
    font-family: 'Noto Sans', Inter, sans-serif;
    font-size: 9px;
    letter-spacing: 0.2em;
}

.tarot-front {
    padding: 0;
    border: 1px solid rgba(232, 207, 151, 0.85);
    background: #110b17;
}

.tarot-artwork {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 760ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.tarot-artwork-reversed {
    transform: rotate(180deg);
}

.tarot-front strong {
    position: absolute;
    right: 8%;
    bottom: 7%;
    left: 8%;
    width: auto;
    padding: 7px 4px;
    border: 0;
    color: #fff7e7;
    background: linear-gradient(transparent, rgba(12, 8, 16, 0.86) 20%);
    font: 600 14px/1.35 'Noto Serif', serif;
    text-shadow: 0 2px 8px #000;
}

.tarot-choice:disabled:not(.flipped) {
    opacity: 0.24;
    transform: scale(0.97);
    filter: saturate(0.55);
}

.tarot-choice.flipped {
    transform: scale(1.035);
}

.tarot-result {
    border-color: rgba(224, 199, 142, 0.24);
    background:
        radial-gradient(ellipse at 50% 0, rgba(138, 105, 68, 0.13), transparent 65%),
        rgba(19, 13, 25, 0.92);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

.tarot-result h3 {
    font-family: 'Noto Serif', Cinzel, serif;
    -webkit-text-fill-color: transparent;
}

.tarot-orientation {
    color: #e2c27d;
    font-family: 'Noto Sans', Inter, sans-serif;
    letter-spacing: 0.13em;
}

.tarot-meaning {
    border-left-color: #c6a25f;
    background: rgba(8, 3, 18, 0.52);
    color: #e5dce9;
    font-family: 'Noto Sans', Inter, sans-serif;
    line-height: 1.9;
}

.tarot-disclaimer {
    color: #a99daf;
    font-family: 'Noto Sans', Inter, sans-serif;
}

@keyframes cardBreath {
    0%, 100% {
        box-shadow:
            inset 0 0 0 5px #110b1a,
            inset 0 0 0 7px rgba(224, 199, 142, 0.2),
            0 16px 34px rgba(0, 0, 0, 0.42);
    }
    50% {
        box-shadow:
            inset 0 0 0 5px #110b1a,
            inset 0 0 0 7px rgba(224, 199, 142, 0.33),
            0 18px 39px rgba(151, 117, 65, 0.15);
    }
}

@media (max-width: 600px) {
    .tarot-reading {
        padding: 68px 14px;
    }

    .tarot-deck {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(8px, 3.5vw, 16px);
        max-width: 430px;
    }

    .tarot-choice:hover:not(:disabled) {
        transform: translateY(-5px);
    }

    .tarot-choice.flipped {
        transform: none;
    }

    .tarot-back small {
        font-size: 7px;
        letter-spacing: 0.1em;
    }

    .tarot-front strong {
        font-size: clamp(9px, 3vw, 12px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 600px) {
    :root {
        --cosmic-deep: #10091a;
    }

    body {
        background:
            radial-gradient(ellipse at 50% 0, rgba(91, 57, 112, 0.34), transparent 38rem),
            var(--cosmic-deep);
    }

    .hero {
        background:
            radial-gradient(ellipse at 75% 48%, rgba(205, 164, 105, 0.2), transparent 30%),
            radial-gradient(ellipse at 15% 10%, rgba(116, 73, 145, 0.62), transparent 48%),
            linear-gradient(115deg, #1a1026, #30203e 62%, #20142d);
    }

    .services,
    .gallery {
        background: #17101f;
    }

    .cosmic-card,
    .cosmic-card.meditation {
        background:
            radial-gradient(circle at 90% 15%, rgba(137, 101, 157, 0.24), transparent 35%),
            linear-gradient(140deg, #2b1c38, #1c1427);
    }

    .row-item {
        background: #21162d;
    }

    .quote-block {
        background:
            radial-gradient(ellipse at 50% 50%, rgba(105, 70, 127, 0.4), transparent 55%),
            #201729;
    }

    footer {
        background: #20152b;
    }

    .tarot-reading {
        background:
            radial-gradient(ellipse at 50% 12%, rgba(117, 81, 140, 0.34), transparent 42%),
            radial-gradient(ellipse at 100% 80%, rgba(129, 98, 64, 0.12), transparent 35%),
            #100c17;
    }
}