/* ==========================================================================
   ИЗОЛИРОВАННЫЕ СТИЛИ ДЛЯ ПРИЛОЖЕНИЯ ТАРО (tarot.css)
   ========================================================================== */

.tarot-page-container {
    width: min(1200px, 95%);
    margin: 0 auto;
    padding-bottom: 120px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #DAD2BB;
}

/* Переключатель шагов (используется на странице отдельного расклада:
   форма ситуации <-> результат) */
.tarot-page-container .step-section {
    display: none;
}

.tarot-page-container .step-section.active-step {
    display: block;
    animation: tarotFadeIn 0.5s ease-in-out forwards;
}

@keyframes tarotFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Заголовки */
.tarot-page-container .page-title {
    text-align: center;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(32px, 5vw, 48px);
    color: #E7D8A4;
    margin: 20px 0 10px 0;
    font-weight: 400;
}

.tarot-page-container .page-subtitle {
    text-align: center;
    color: #A99E80;
    font-size: 16px;
    margin-bottom: 60px;
}

/* ==========================================================================
   HERO-БАННЕР (шапка страницы списка раскладов, с фоновым фото)
   ========================================================================== */

.tarot-hero-banner {
    position: relative;
    max-width: 1200px;
    min-height: 420px;
    margin: 30px auto 50px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(184, 149, 79, 0.35);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

.tarot-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 35%;
    filter: brightness(1) contrast(1.1) saturate(0.8);
    z-index: 1;
}

.tarot-hero-frame {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px dashed rgba(184, 149, 79, 0.25);
    border-radius: 8px;
    pointer-events: none;
    z-index: 3;
}

.tarot-hero-content {
    position: relative;
    z-index: 4;
    max-width: 800px;
    margin-top: 10px;
    margin-bottom: auto;
}

.tarot-hero-title {
    margin: -20px 0 15px 0;
    padding: 0;
    color: #E7D8A4;
    font-family: "Cormorant Garamond", serif;
    font-size: 42px;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.tarot-hero-subtitle {
    margin: 0;
    padding: 0;
    color: #f1ebd9;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    line-height: 1.5;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    opacity: 0.95;
}

/* ==========================================================================
   АКЦЕНТНЫЙ БЛОК "СВОЙ ВОПРОС"
   Теперь это <a href="...">, а не <div onclick="...">, поэтому ниже
   отдельно сбрасываем стандартные стили ссылки (подчёркивание/цвет)
   ========================================================================== */

.own-question-banner {
    max-width: 1100px;
    margin: 0 auto 60px auto;
    padding: 36px 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(184, 149, 79, 0.14) 0%, rgba(5, 16, 10, 0.9) 55%, rgba(2, 7, 4, 0.95) 100%);
    border: 1px solid rgba(184, 149, 79, 0.55);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7), inset 0 0 40px rgba(184, 149, 79, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    text-decoration: none;
    color: inherit;
}

.own-question-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.75), 0 0 40px rgba(184, 149, 79, 0.2);
}

.own-question-left {
    display: flex;
    align-items: center;
    gap: 26px;
    text-align: left;
}

.own-question-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 1px solid rgba(184, 149, 79, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #E7D8A4;
    background: rgba(184, 149, 79, 0.08);
}

.own-question-title {
    margin: 0 0 8px 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 32px;
    color: #E7D8A4;
    letter-spacing: 0.5px;
}

.own-question-desc {
    margin: 0 0 14px 0;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    color: #c9c0a6;
    line-height: 1.5;
    max-width: 520px;
}

.own-question-cta {
    flex-shrink: 0;
    padding: 16px 34px;
    border-radius: 10px;
    border: 1px solid #B8954F;
    color: #07110B;
    background: #B8954F;
    font-family: "Cormorant Garamond", serif;
    font-size: 19px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
    text-align: center;
    box-sizing: border-box;
}

/* Шаг 1: Сетка блоков раскладов */
.tarot-page-container .spreads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 500px) {
    .tarot-page-container .spreads-grid {
        grid-template-columns: 1fr;
    }
}

/* Карточка расклада теперь <a href="...">, а не <div onclick="...">.
   Сбрасываем стили ссылки (подчёркивание/цвет) */
.tarot-page-container a.spread-card {
    background: linear-gradient(145deg, #05100a 0%, #020704 100%);
    border: 1px solid rgba(184, 149, 79, 0.2);
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.tarot-page-container .spread-card-inner {
    border: 1px solid rgba(184, 149, 79, 0.05);
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.tarot-page-container .spread-card:hover {
    border-color: rgba(184, 149, 79, 0.7);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.tarot-page-container .spread-card h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    color: #E7D8A4;
    margin: 0 0 15px 0;
    font-weight: 400;
}

.tarot-page-container .spread-desc {
    font-size: 14px;
    color: #a39c8c;
    line-height: 1.6;
    margin-bottom: 20px;
    white-space: pre-line;
}

/* ---------- ЦЕНА РАСКЛАДА (бейдж 🪙) ---------- */

.spread-price-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    margin-bottom: 14px;
    border-radius: 14px;
    border: 1px solid rgba(184, 149, 79, 0.4);
    background: rgba(184, 149, 79, 0.08);
    color: #E7D8A4;
    font-family: "Cormorant Garamond", serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.spread-price-badge--big {
    font-size: 16px;
    padding: 6px 16px;
}

/* ---------- АКЦЕНТ НА "ВЫБРАТЬ РАСКЛАД" ---------- */
.tarot-page-container .spread-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid rgba(184, 149, 79, 0.45);
    background: rgba(184, 149, 79, 0.08);
    color: #B8954F;
    font-family: "Cormorant Garamond", serif;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.tarot-page-container .spread-action-btn .btn-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.tarot-page-container .spread-card:hover .spread-action-btn {
    background: #B8954F;
    color: #07110B;
    border-color: #B8954F;
    box-shadow: 0 0 18px rgba(184, 149, 79, 0.45);
}

.tarot-page-container .spread-card:hover .btn-arrow {
    transform: translateX(5px);
}

/* ==========================================================================
   СТРАНИЦА ОТДЕЛЬНОГО РАСКЛАДА: ФОРМА ВВОДА СИТУАЦИИ
   ========================================================================== */

.tarot-page-container .situation-box {
    max-width: 750px;
    margin: 40px auto;
    background: #040c08;
    border: 1px solid rgba(184, 149, 79, 0.3);
    padding: 40px;
    border-radius: 8px;
    box-sizing: border-box;
}

/* Ссылка "Назад к раскладам" (теперь <a>, не <button>) */
.tarot-page-container .back-btn,
.tarot-back-link {
    background: none;
    border: none;
    color: #A99E80;
    cursor: pointer;
    font-family: "Cormorant Garamond", serif;
    font-size: 16px;
    margin-bottom: 25px;
    padding: 0;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
}

.tarot-back-link {
    margin: 20px 0 0 0;
}

.tarot-page-container .back-btn:hover,
.tarot-back-link:hover {
    color: #B8954F;
}

.tarot-page-container .situation-box h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 34px;
    color: #E7D8A4;
    margin: 0 0 20px 0;
    font-weight: 400;
}

/* Строка "цена расклада + ваш баланс" на странице расклада */
.spread-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.user-balance-row {
    font-size: 14.5px;
    color: #A99E80;
}

.user-balance-row strong {
    color: #E7D8A4;
    font-family: "Cormorant Garamond", serif;
    font-size: 16px;
}

/* Предупреждение о нехватке монет */
.balance-warning {
    background: rgba(217, 123, 108, 0.08);
    border: 1px solid rgba(217, 123, 108, 0.4);
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.balance-warning p {
    margin: 0;
    font-size: 14.5px;
    color: #e2a196;
    line-height: 1.5;
}

.balance-warning-btn {
    flex-shrink: 0;
    padding: 10px 22px;
    border-radius: 8px;
    border: 1px solid #B8954F;
    background: #B8954F;
    color: #07110B;
    font-family: "Cormorant Garamond", serif;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.balance-warning-btn:hover {
    background: #E7D8A4;
    border-color: #E7D8A4;
}

.tarot-page-container .question-instructions {
    font-size: 15px;
    color: #DAD2BB;
    line-height: 1.6;
    background: rgba(18, 32, 23, 0.4);
    padding: 22px;
    border-radius: 6px;
    border-left: 3px solid #B8954F;
    margin: 0 0 35px 0;
    white-space: pre-line;
}

/* Поле "Ваш вопрос" (только для расклада "Свой вопрос") */
.question-field-wrapper {
    margin-bottom: 18px;
}

.question-field-wrapper.hidden {
    display: none;
}

.question-field-label {
    display: block;
    margin-bottom: 10px;
    font-family: "Cormorant Garamond", serif;
    font-size: 19px;
    letter-spacing: 0.5px;
    color: #E7D8A4;
}

.question-field-textarea {
    width: 100%;
    min-height: 70px;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid rgba(184, 149, 79, 0.4);
    background: rgba(4, 12, 8, 0.7);
    color: #EFE7D2;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    resize: vertical;
    box-sizing: border-box;
}

.question-field-textarea:focus {
    outline: none;
    border-color: #B8954F;
    box-shadow: 0 0 12px rgba(184, 149, 79, 0.2);
}

/* Обёртка текстового поля ситуации + кнопки микрофона */
.situation-input-wrapper {
    position: relative;
}

.tarot-page-container #situation-input {
    width: 100%;
    height: 160px;
    background: #020604;
    border: 1px solid rgba(184, 149, 79, 0.3);
    border-radius: 6px;
    padding: 15px;
    color: #EFE7D2;
    font-family: inherit;
    font-size: 15px;
    resize: none;
    margin-bottom: 30px;
    box-sizing: border-box;
}

.tarot-page-container #situation-input:focus {
    outline: none;
    border-color: #B8954F;
    box-shadow: 0 0 12px rgba(184, 149, 79, 0.2);
}

/* Кнопка голосового ввода */
.voice-btn {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(184, 149, 79, 0.5);
    background: rgba(20, 16, 10, 0.85);
    color: #E7D8A4;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 5;
}

.voice-btn.is-listening {
    background: #B8954F;
    color: #07110B;
    box-shadow: 0 0 18px rgba(184, 149, 79, 0.6);
}

.voice-status {
    margin: 8px 0 0 0;
    font-size: 13px;
    color: #E7D8A4;
    font-family: "Cormorant Garamond", serif;
    letter-spacing: 0.5px;
}

.voice-status.hidden {
    display: none;
}

.tarot-page-container .oracle-btn {
    width: 100%;
    padding: 16px;
    background: rgba(18, 36, 25, 0.8);
    border: 1px solid #B8954F;
    color: #E7D8A4;
    font-family: "Cormorant Garamond", serif;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    box-sizing: border-box;
    transition: background 0.3s, color 0.3s;
}

.tarot-page-container .oracle-btn:hover:not(:disabled) {
    background: #B8954F;
    color: #020604;
}

.tarot-page-container .oracle-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* "Выбрать другой расклад" в результате — тоже <a>, но не на всю ширину */
a.tarot-result-link {
    width: auto;
    padding: 16px 40px;
}

/* ==========================================================================
   ШАГ 3: СТОЛ КАРТ (результат)
   ========================================================================== */

.tarot-page-container .tarot-table {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

.tarot-page-container .position-block {
    background: rgba(4, 12, 8, 0.4);
    border: 1px solid rgba(184, 149, 79, 0.15);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
}

.tarot-page-container .position-block h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 26px;
    color: #E7D8A4;
    margin: 0 0 30px 0;
    font-weight: 400;
}

.tarot-page-container .cards-line {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* Толкование под строкой карт */
.pos-interpretation-text {
    margin-top: 20px;
    padding: 15px;
    color: #f1ebd9;
    font-size: 15px;
    line-height: 1.6;
    border-left: 3px solid #B8954F;
    background: rgba(184, 149, 79, 0.05);
    text-align: left;
}

/* Интерактивная 3D-карта */
.tarot-page-container .tarot-card-wrapper {
    width: 135px;
    height: 235px;
    perspective: 1000px;
}

.tarot-page-container .tarot-card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.tarot-page-container .tarot-card-inner.flipped {
    transform: rotateY(180deg);
}

.tarot-page-container .card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    border: 1px solid #B8954F;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

/* Рубашка */
.tarot-page-container .card-back {
    background: radial-gradient(circle, #0a2014 0%, #020704 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tarot-page-container .back-pattern {
    font-size: 36px;
    color: rgba(184, 149, 79, 0.35);
    animation: tarotPulse 2.5s infinite ease-in-out;
}

@keyframes tarotPulse {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.08); }
}

/* Лицо карты */
.tarot-page-container .card-front {
    background: #040c08;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
}

.tarot-page-container .card-front img {
    width: 100%;
    height: 195px;
    object-fit: cover;
    display: block;
}

.tarot-page-container .card-label {
    height: 38px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E7D8A4;
    background: #020604;
    font-family: "Cormorant Garamond", serif;
    border-top: 1px solid rgba(184, 149, 79, 0.25);
    text-align: center;
    padding: 0 4px;
}

/* Блок общей рекомендации */
.recommendation-box {
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 25px;
    background: rgba(20, 16, 10, 0.85);
    border: 1px solid rgba(184, 149, 79, 0.4);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
}

.recommendation-box.hidden {
    display: none;
}

.recommendation-title {
    font-family: "Cormorant Garamond", serif;
    color: #E7D8A4;
    font-size: 26px;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px dashed rgba(184, 149, 79, 0.3);
    padding-bottom: 12px;
    letter-spacing: 1px;
}

.recommendation-text {
    color: #f1ebd9;
    font-size: 16px;
    line-height: 1.7;
    font-family: "Open Sans", sans-serif;
    text-align: left;
}

.result-actions {
    text-align: center;
    margin-top: 50px;
}

/* Мобильная адаптивность для стола карт */
@media (max-width: 600px) {
    .tarot-page-container .situation-box { padding: 25px 20px; }
    .tarot-page-container .tarot-card-wrapper { width: 110px; height: 190px; }
    .tarot-page-container .card-front img { height: 153px; }
    .tarot-page-container .card-label { height: 35px; font-size: 11px; }
    .tarot-page-container .cards-line { gap: 15px; }
}

/* Совсем маленькие экраны — карты дальше ужимаются пропорционально */
@media (max-width: 400px) {
    .tarot-page-container .tarot-card-wrapper { width: 90px; height: 157px; }
    .tarot-page-container .card-front img { height: 122px; }
    .tarot-page-container .card-label { height: 30px; font-size: 10px; }
    .tarot-page-container .cards-line { gap: 10px; }
}

/* ==========================================================================
   СТИЛИ ДЛЯ ДИНАМИЧЕСКИХ ГРУПП И ЭЛЬФИЙСКИХ ЛОГОТИПОВ
   ========================================================================== */

.tarot-page-container .category-section {
    margin-bottom: 70px;
}

.tarot-page-container .category-title {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(24px, 4vw, 32px);
    color: #E7D8A4;
    border-bottom: 1px solid rgba(184, 149, 79, 0.25);
    padding-bottom: 12px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 400;
}

.tarot-page-container .category-icon {
    font-size: 26px;
    opacity: 0.8;
}

@media (max-width: 600px) {
    .tarot-page-container .category-title {
        justify-content: center;
        text-align: center;
    }
}

/* Контейнер эльфийской иконки */
.tarot-page-container .elven-logo {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: inline-block;
}

.tarot-page-container .elven-logo svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.tarot-page-container .elven-ring-outer {
    fill: none;
    stroke: rgba(184, 149, 79, 0.4);
    stroke-width: 1;
    stroke-dasharray: 4, 2;
}

.tarot-page-container .elven-ring-inner {
    fill: none;
    stroke: rgba(184, 149, 79, 0.2);
    stroke-width: 0.75;
}

.tarot-page-container .elven-star {
    fill: rgba(184, 149, 79, 0.08);
    stroke: rgba(184, 149, 79, 0.3);
    stroke-width: 1;
    transition: all 0.5s ease;
    transform-origin: 50px 50px;
}

/* Центральная мини-эмблема */
.tarot-page-container .inner-emblem {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    filter: grayscale(30%);
    transition: transform 0.5s ease;
}

/* Интерактивный эффект при наведении на карточку */
.tarot-page-container .spread-card:hover .elven-star {
    stroke: rgba(184, 149, 79, 0.9);
    fill: rgba(184, 149, 79, 0.15);
    transform: rotate(45deg);
}

.tarot-page-container .spread-card:hover .elven-ring-outer {
    stroke: rgba(184, 149, 79, 0.8);
}

.tarot-page-container .spread-card:hover .inner-emblem {
    transform: translate(-50%, -50%) scale(1.15);
}

/* ==========================================================================
   МОБИЛЬНАЯ АДАПТИВНОСТЬ: HERO-БАННЕР И БЛОК "СВОЙ ВОПРОС"
   ========================================================================== */

@media (max-width: 900px) {
    .own-question-banner {
        flex-direction: column;
        align-items: stretch;
        flex-wrap: wrap;
        gap: 20px;
    }

    .own-question-left {
        width: 100%;
        box-sizing: border-box;
    }

    .own-question-cta {
        width: 100%;
        white-space: normal;
    }
}

@media (max-width: 600px) {
    .tarot-hero-banner {
        min-height: 260px;
        padding: 26px 18px;
        margin: 16px auto 30px auto;
        border-radius: 10px;
    }

    .tarot-hero-title {
        font-size: 26px;
        margin: -10px 0 12px 0;
        letter-spacing: 0.5px;
    }

    .tarot-hero-subtitle {
        font-size: 14px;
    }

    .own-question-banner {
        padding: 22px 18px;
        margin-bottom: 40px;
    }

    .own-question-title {
        font-size: 24px;
    }

    .own-question-desc {
        font-size: 14px;
    }

    .own-question-icon {
        width: 54px;
        height: 54px;
        font-size: 24px;
    }

    /* Поля ввода — минимум 16px, иначе iOS Safari зумит страницу при фокусе */
    .question-field-textarea,
    .tarot-page-container #situation-input {
        font-size: 16px;
    }

    .voice-btn {
        width: 40px;
        height: 40px;
        right: 8px;
        bottom: 8px;
    }

    .recommendation-box {
        padding: 18px;
        max-width: 100%;
    }

    /* Строка цена/баланс и предупреждение о нехватке монет — на мобильных
       складываем в колонку, чтобы ничего не вылезало за карточку */
    .spread-price-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .balance-warning {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .balance-warning-btn {
        text-align: center;
    }
}

@media (max-width: 380px) {
    .tarot-hero-title {
        font-size: 22px;
    }
}