/* Horoscop Space 1.9.29.20 — Premium tiles (price visible at once), module tiles and the trust strip.
 * Dark "premium" surfaces in both skins: amethyst night in the classic one, emerald in the new one. */

:root,
html[data-hs-skin="classic"] {
    --pt-ink: #f3f0fb;
    --pt-muted: #bdb5d6;
    --pt-faint: #8f88aa;
    --pt-gold: #d4af37;
    --pt-gold-soft: #ecd18a;
    --pt-surface: #120f26;
    --pt-surface-2: #1b1636;
    --pt-surface-3: #0b091a;
    --pt-line: rgba(212, 175, 55, .2);
    --pt-accent: rgba(139, 92, 246, .16);
}
html[data-hs-skin="highend"] {
    --pt-ink: #f3efe4;
    --pt-muted: #a9bcb2;
    --pt-faint: #7d9488;
    --pt-surface: #0c1d17;
    --pt-surface-2: #12291f;
    --pt-surface-3: #07130e;
    --pt-accent: rgba(140, 47, 57, .22);
}

/* --- Trust strip ---------------------------------------------------------------- */
.hs-trust-strip {
    list-style: none;
    margin: 14px 0 0;
    padding: 10px 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    border: 1px solid var(--pt-line);
    border-radius: 14px;
    background: rgba(212, 175, 55, .06);
    color: var(--pt-muted);
    font-size: .84rem;
    line-height: 1.35;
}
.hs-trust-strip li { display: inline-flex; align-items: center; gap: 7px; margin: 0; padding: 0; }
.hs-trust-strip__icon { color: var(--pt-gold); }
/* Home: under the hero form, on the photo. */
.hs-trust-strip--hero {
    margin: 12px 0 0;
    background: rgba(8, 7, 20, .55);
    border-color: rgba(212, 175, 55, .28);
    color: #ece6f8;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
html[data-hs-skin="highend"] .hs-trust-strip--hero { background: rgba(6, 16, 12, .6); color: #eef4f0; }
.hs-trust-strip--compact { justify-content: center; font-size: .8rem; }

/* --- Premium page section --------------------------------------------------------- */
.hs-premium-tiles {
    margin: 0 0 clamp(24px, 4vw, 40px);
    padding: clamp(20px, 3.4vw, 36px) clamp(16px, 3.4vw, 36px);
    border: 1px solid var(--pt-line);
    border-radius: 26px;
    background:
        radial-gradient(70% 60% at 100% 0%, var(--pt-accent), transparent 60%),
        linear-gradient(160deg, var(--pt-surface-2) 0%, var(--pt-surface) 60%, var(--pt-surface-3) 100%);
    color: var(--pt-ink);
    box-shadow: 0 30px 70px -44px rgba(0, 0, 0, .7);
}
.hs-premium-tiles__kicker { margin: 0 0 6px; color: var(--pt-gold); font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hs-premium-tiles__title { margin: 0 0 8px !important; color: var(--pt-ink) !important; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1.12; }
.hs-premium-tiles__lead { margin: 0; max-width: 64ch; color: var(--pt-muted) !important; line-height: 1.55; }
.hs-premium-tiles .hs-trust-strip { justify-content: flex-start; margin: 16px 0 22px; }
.hs-premium-tiles__sub { margin: 28px 0 12px; color: var(--pt-ink) !important; font-size: 1.15rem; }

/* --- Offer tiles ------------------------------------------------------------------- */
.hs-offer-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 14px;
    align-items: stretch;
}
.hs-offer-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 18px 18px;
    border: 1px solid var(--pt-line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .035);
    color: var(--pt-ink);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.hs-offer-tile:hover { border-color: rgba(212, 175, 55, .45); transform: translateY(-2px); }
.hs-offer-tile.is-featured {
    border-color: rgba(212, 175, 55, .62);
    background: linear-gradient(160deg, rgba(212, 175, 55, .13), rgba(212, 175, 55, .03));
    box-shadow: 0 0 0 1px rgba(212, 175, 55, .2), 0 22px 46px -30px rgba(212, 175, 55, .7);
}
.hs-offer-tile__badge {
    position: absolute;
    top: -11px;
    inset-inline-start: 16px;
    padding: 3px 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f0d58a, #d4af37);
    color: #1b1405;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .1em;
}
.hs-offer-tile__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(212, 175, 55, .12);
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, .32);
    color: var(--pt-gold-soft);
    font-size: 1.15rem;
}
.hs-offer-tile__title { margin: 6px 0 0 !important; color: var(--pt-ink) !important; font-size: 1.12rem !important; }
.hs-offer-tile__price { margin: 0 !important; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.hs-offer-tile__price strong { color: var(--pt-gold-soft) !important; font-size: 1.7rem; font-weight: 800; letter-spacing: -.01em; }
.hs-offer-tile__price small { color: var(--pt-faint) !important; font-size: .8rem; }
.hs-offer-tile__body { flex: 1; margin: 0 0 8px !important; color: var(--pt-muted) !important; font-size: .93rem; line-height: 1.5; }
.hs-offer-tile .hs-btn,
.hs-cards-lock .hs-btn,
.hs-cards .hs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}
.hs-offer-tile .hs-btn { width: 100%; margin-top: auto; }
.hs-offer-tile .hs-btn--gold,
.hs-cards-lock .hs-btn--gold,
.hs-cards .hs-btn--gold {
    border: 0;
    background: linear-gradient(135deg, #f0d58a 0%, #d4af37 52%, #b8901f 100%);
    color: #1b1405 !important;
    box-shadow: 0 12px 28px -16px rgba(212, 175, 55, .85);
}
.hs-offer-tile .hs-btn--gold:hover,
.hs-cards .hs-btn--gold:hover,
.hs-cards-lock .hs-btn--gold:hover { filter: brightness(1.05); box-shadow: 0 14px 32px -14px rgba(212, 175, 55, .95); }
.hs-offer-tile .hs-btn--ghost,
.hs-cards-lock .hs-btn--ghost,
.hs-cards .hs-btn--ghost {
    border: 1px solid rgba(212, 175, 55, .5);
    background: rgba(212, 175, 55, .06);
    color: var(--pt-gold-soft) !important;
}
.hs-offer-tile .hs-btn--ghost:hover,
.hs-cards .hs-btn--ghost:hover,
.hs-cards-lock .hs-btn--ghost:hover { background: rgba(212, 175, 55, .13); }

/* --- Module tiles -------------------------------------------------------------------- */
.hs-module-tiles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
    gap: 10px;
}
.hs-module-tiles li { margin: 0; padding: 0; }
.hs-module-tile {
    height: 100%;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    padding: 13px 14px;
    border: 1px solid var(--pt-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .035);
    color: var(--pt-ink) !important;
    text-decoration: none !important;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.hs-module-tile:hover,
.hs-module-tile:focus-visible { border-color: rgba(212, 175, 55, .5); background: rgba(212, 175, 55, .07); transform: translateY(-1px); }
.hs-module-tile:focus-visible { outline: 2px solid var(--pt-gold-soft); outline-offset: 2px; }
.hs-module-tile__icon {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(212, 175, 55, .1);
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, .26);
    color: var(--pt-gold-soft);
    font-size: 1.18rem;
}
.hs-module-tile strong { align-self: end; color: var(--pt-ink); font-size: .96rem; line-height: 1.25; }
.hs-module-tile small { align-self: start; color: var(--pt-muted); font-size: .8rem; line-height: 1.35; }

@media (min-width: 700px) {
    .hs-offer-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hs-offer-tile__price strong { font-size: 1.5rem; }
}
@media (max-width: 767px) {
    .hs-premium-tiles { border-radius: 20px; }
    .hs-offer-tile { padding: 18px 16px 16px; }
    .hs-premium-tiles .hs-trust-strip { justify-content: center; }
    .hs-trust-strip { font-size: .8rem; gap: 6px 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .hs-offer-tile, .hs-module-tile { transition: none; }
    .hs-offer-tile:hover, .hs-module-tile:hover { transform: none; }
}
.hs-offer-tile .hs-btn { padding: 12px 14px; font-size: .9rem; white-space: nowrap; }
/* Arrows follow the reading direction (Arabic). */
[dir="rtl"] .hs-offer-tile .hs-btn span[aria-hidden="true"],
[dir="rtl"] .hs-cards-lock .hs-btn span[aria-hidden="true"],
[dir="rtl"] .hs-cards [data-hs-cards-draw="spread"] span[aria-hidden="true"] { display: inline-block; transform: scaleX(-1); }
