/* SAGE_TAROT_FREE_READING_EXCELLENCE_20260730 */

#read-button[hidden],
.free-reading-stage[hidden] {
    display: none !important;
}

#read-button {
    color: #160b1c !important;
    border-color: #ffdd84 !important;
    background:
        linear-gradient(
            135deg,
            #d9922c,
            #ffe28e,
            #e4a43b
        ) !important;
    box-shadow:
        0 10px 27px rgba(0, 0, 0, 0.40),
        0 0 24px rgba(238, 171, 45, 0.34),
        0 0 34px rgba(143, 52, 170, 0.16) !important;
}

.free-reading-stage {
    position: fixed;
    inset: 0;
    z-index: 300;

    display: grid;
    place-items: center;

    padding: 14px;

    background:
        linear-gradient(
            180deg,
            rgba(2, 1, 4, 0.77),
            rgba(5, 1, 8, 0.94)
        );

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.free-reading-panel {
    position: relative;

    width:
        min(
            1220px,
            calc(100vw - 28px)
        );

    max-height:
        calc(100dvh - 28px);

    overflow-x: hidden;
    overflow-y: auto;

    padding:
        clamp(24px, 3vw, 44px);

    border:
        1px solid rgba(231, 177, 67, 0.57);

    border-radius: 26px;

    color: #ead8b5;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(88, 29, 101, 0.25),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            rgba(18, 7, 24, 0.985),
            rgba(5, 2, 9, 0.995)
        );

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.74),
        0 0 44px rgba(126, 43, 151, 0.20),
        inset 0 0 70px rgba(226, 163, 43, 0.035);

    scrollbar-color:
        rgba(224, 169, 61, 0.72)
        rgba(5, 2, 9, 0.72);
}

.free-reading-close {
    position: absolute;
    top: 15px;
    right: 15px;

    padding: 7px 12px;

    border:
        1px solid rgba(223, 170, 65, 0.46);

    border-radius: 999px;

    color: #f0c866;
    background: rgba(5, 2, 8, 0.82);

    cursor: pointer;

    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.free-reading-kicker {
    margin: 0 0 7px;

    color: #da9ccf;

    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.19em;
    text-align: center;
    text-transform: uppercase;
}

.free-reading-panel h2 {
    margin: 0;

    color: #efbd57;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(2rem, 4vw, 3.7rem);

    font-weight: 600;
    line-height: 1;
    text-align: center;

    text-shadow:
        0 3px 2px rgba(0, 0, 0, 0.86),
        0 0 24px rgba(224, 158, 42, 0.24),
        0 0 30px rgba(145, 50, 171, 0.17);
}

.free-reading-question {
    width: min(900px, 100%);
    margin: 14px auto 18px;
    padding: 10px 16px;

    border:
        1px solid rgba(211, 160, 240, 0.24);

    border-radius: 999px;

    color: #d8bbdf;
    background: rgba(0, 0, 0, 0.29);

    font-size: 0.88rem;
    line-height: 1.42;
    text-align: center;
}

.free-reading-direct {
    width: min(980px, 100%);
    margin: 0 auto 26px;
    padding:
        clamp(20px, 2.8vw, 31px);

    border:
        1px solid rgba(242, 188, 75, 0.58);

    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            rgba(99, 35, 109, 0.46),
            rgba(25, 8, 30, 0.72)
        );

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.34),
        0 0 26px rgba(216, 156, 46, 0.10);
}

.free-reading-direct-label {
    margin: 0 0 9px;

    color: #f3c76b;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(1.25rem, 2.2vw, 1.8rem);

    font-weight: 600;
    text-align: center;
}

.free-reading-direct p {
    margin: 0;

    color: #f0dfc0;

    font-size:
        clamp(0.96rem, 1.4vw, 1.08rem);

    line-height: 1.72;
    text-align: center;
}

.free-reading-cards {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap:
        clamp(14px, 2vw, 25px);
}

.free-reading-card {
    padding:
        clamp(16px, 2vw, 23px);

    border:
        1px solid rgba(225, 171, 65, 0.32);

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(37, 13, 43, 0.69),
            rgba(8, 3, 12, 0.84)
        );

    box-shadow:
        0 17px 36px rgba(0, 0, 0, 0.32),
        inset 0 0 32px rgba(115, 35, 136, 0.07);
}

.free-reading-card-head {
    display: grid;
    grid-template-columns:
        92px minmax(0, 1fr);

    gap: 15px;
    align-items: center;

    margin-bottom: 15px;
}

.free-reading-card-image {
    width: 92px;
    aspect-ratio: 7 / 12;

    overflow: hidden;

    border:
        1px solid rgba(238, 187, 79, 0.74);

    border-radius: 9px;

    background: #050207;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.46),
        0 0 17px rgba(222, 159, 46, 0.14);
}

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

.free-reading-card-image img.is-reversed {
    transform: rotate(180deg);
}

.free-reading-position {
    margin: 0 0 5px;

    color: #da9ccf;

    font-size: 0.63rem;
    font-weight: 900;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.free-reading-card h3,
.free-reading-message h3,
.free-reading-insight h3 {
    margin: 0;

    color: #edbd5c;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-weight: 600;
}

.free-reading-card h3 {
    font-size:
        clamp(1.15rem, 2vw, 1.55rem);
}

.free-reading-orientation {
    margin: 5px 0 0;

    color: #c8acd2;

    font-size: 0.71rem;
}

.free-reading-card > p:last-child,
.free-reading-message p,
.free-reading-insight p {
    color: #ead8b5;

    font-size: 0.94rem;
    line-height: 1.66;
}

.free-reading-message {
    width: min(1000px, 100%);
    margin: 24px auto 0;
    padding:
        clamp(20px, 2.6vw, 30px);

    border:
        1px solid rgba(225, 171, 65, 0.30);

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(45, 14, 49, 0.49),
            rgba(7, 3, 11, 0.70)
        );
}

.free-reading-message h3 {
    margin-bottom: 10px;

    font-size:
        clamp(1.3rem, 2.25vw, 1.8rem);
}

.free-reading-flow {
    color: #d7b2df !important;
    font-style: italic;
}

.free-reading-insights {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;

    width: min(1080px, 100%);
    margin: 18px auto 0;
}

.free-reading-insight {
    padding: 20px;

    border:
        1px solid rgba(225, 171, 65, 0.26);

    border-radius: 18px;

    background:
        rgba(17, 6, 22, 0.70);
}

.free-reading-insight h3 {
    margin-bottom: 8px;

    font-size:
        clamp(1.08rem, 1.8vw, 1.38rem);
}

.free-reading-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 10px;
    margin-top: 25px;
}

.free-reading-actions button {
    min-width: 160px;
    padding: 10px 18px;

    border:
        1px solid rgba(225, 171, 65, 0.53);

    border-radius: 999px;

    color: #f2cc73;
    background:
        linear-gradient(
            135deg,
            rgba(45, 15, 53, 0.92),
            rgba(9, 3, 13, 0.96)
        );

    cursor: pointer;

    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

#copy-free-reading {
    color: #ead7ef;
    border-color:
        rgba(213, 159, 229, 0.52);
}

#start-new-reading {
    color: #160b1c;
    border-color: #ffdc82;

    background:
        linear-gradient(
            135deg,
            #d9922c,
            #ffe28e,
            #e4a43b
        );
}

.free-reading-note {
    width: min(840px, 100%);
    margin: 17px auto 0;

    color: #a78fae;

    font-size: 0.68rem;
    line-height: 1.45;
    text-align: center;
}

body.free-reading-open {
    overflow: hidden !important;
}

@media (max-width: 900px) {
    .free-reading-insights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .free-reading-stage {
        padding: 8px;
    }

    .free-reading-panel {
        width: calc(100vw - 16px);
        max-height:
            calc(100dvh - 16px);

        padding: 50px 16px 24px;

        border-radius: 19px;
    }

    .free-reading-cards {
        grid-template-columns: 1fr;
    }

    .free-reading-card-head {
        grid-template-columns:
            80px minmax(0, 1fr);
    }

    .free-reading-card-image {
        width: 80px;
    }

    .free-reading-question {
        border-radius: 16px;
    }
}
