/* =====================================================================
   PETWAL GEMS — 12 ZODIAC SIGNS & RASHIFAL (राशिफल) STYLES
   Styles: public/css/rashifal.css
   Scoped strictly under .prs (Petwal Rashifal Styles)
   ===================================================================== */

.prs {
    --night: #12070a;
    --night-2: #1f0b10;
    --maroon: #8B1A1A;
    --maroon-deep: #5A0E13;
    --gold: #C59B2B;
    --gold-hi: #F6DC98;
    --gold-soft: #E2B46A;
    --gold-lo: #8A6417;
    --gold-grad: linear-gradient(135deg, #F6DC98 0%, #D9B048 38%, #C59B2B 62%, #8A6417 100%);
    --ivory: #FFF8EF;
    --cream: #FBF3E7;
    --ink: #241c19;
    --muted: #6a5d52;
    --border: #EFE3CF;
    --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --sans: "Raleway", "Roboto", system-ui, sans-serif;
    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --shadow-card: 0 1px 2px rgba(60, 31, 18, .04), 0 16px 40px -16px rgba(60, 31, 18, .22);
    --shadow-lift: 0 2px 4px rgba(60, 31, 18, .05), 0 30px 64px -22px rgba(110, 20, 25, .38);

    --prs-facets-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='%23fff' stroke='%23fff' stroke-opacity='.10' stroke-width='.6'%3E%3Cpath d='M0 0L0 40L40 40Z' fill-opacity='0.050'/%3E%3Cpath d='M0 0L80 0L40 40Z' fill-opacity='0.110'/%3E%3Cpath d='M80 0L40 40L120 40Z' fill-opacity='0.020'/%3E%3Cpath d='M80 0L120 40L160 40Z' fill-opacity='0.080'/%3E%3Cpath d='M80 0L160 0L160 40Z' fill-opacity='0.140'/%3E%3Cpath d='M0 40L40 40L0 80Z' fill-opacity='0.040'/%3E%3Cpath d='M40 40L0 80L80 80Z' fill-opacity='0.090'/%3E%3Cpath d='M40 40L120 40L80 80Z' fill-opacity='0.010'/%3E%3Cpath d='M120 40L80 80L160 80Z' fill-opacity='0.120'/%3E%3Cpath d='M120 40L160 40L160 80Z' fill-opacity='0.060'/%3E%3Cpath d='M0 80L0 120L40 120Z' fill-opacity='0.030'/%3E%3Cpath d='M0 80L80 80L40 120Z' fill-opacity='0.100'/%3E%3Cpath d='M80 80L40 120L120 120Z' fill-opacity='0.070'/%3E%3Cpath d='M80 80L120 120L160 120Z' fill-opacity='0.130'/%3E%3Cpath d='M80 80L160 80L160 120Z' fill-opacity='0.020'/%3E%3Cpath d='M0 120L40 120L0 160Z' fill-opacity='0.080'/%3E%3Cpath d='M40 120L0 160L80 160Z' fill-opacity='0.050'/%3E%3Cpath d='M40 120L120 120L80 160Z' fill-opacity='0.110'/%3E%3Cpath d='M120 120L80 160L160 160Z' fill-opacity='0.030'/%3E%3Cpath d='M120 120L160 120L160 160Z' fill-opacity='0.090'/%3E%3C/g%3E%3C/svg%3E");

    font-family: var(--sans);
    color: var(--ink);
    background: var(--ivory);
    background-image: var(--prs-facets-light);
    overflow-x: clip;
}

.prs *, .prs *::before, .prs *::after { box-sizing: border-box; }
.prs img { max-width: 100%; display: block; }
.prs a { text-decoration: none; }

.prs [class^="flaticon-"]::before,
.prs [class*=" flaticon-"]::before,
.prs [class^="flaticon-"]::after,
.prs [class*=" flaticon-"]::after,
.prs .fa::before,
.prs .fa::after {
    margin: 0 !important;
    display: inline-block;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
}

.prs-section { padding: clamp(60px, 7vw, 100px) 0; position: relative; }
.prs-head { text-align: center; max-width: 840px; margin: 0 auto clamp(32px, 4vw, 54px); }
.prs-eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font: 600 12px/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase;
    color: var(--maroon); margin: 0 0 14px;
}
.prs-eyebrow__line { width: 34px; height: 1px; background: var(--gold); }
.prs-title { font: 600 clamp(32px, 4.2vw, 52px)/1.1 var(--serif); color: var(--ink); margin: 0; }
.prs-title em { color: var(--maroon); font-style: italic; }
.prs-intro { font-size: 16.5px; line-height: 1.7; color: var(--muted); margin: 16px auto 0; max-width: 720px; }

/* Buttons */
.prs-btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
    font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
    isolation: isolate; overflow: hidden; white-space: nowrap; text-decoration: none !important;
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), filter .3s;
}
.prs-btn:hover { filter: brightness(1.06) saturate(1.08); transform: translateY(-2px); }
.prs-btn--gold {
    color: #3b0d10 !important; text-shadow: 0 1px 0 rgba(255, 245, 215, .55);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 45%, rgba(90, 55, 0, 0) 60%, rgba(90, 55, 0, .3) 100%),
        linear-gradient(115deg, #8A6417 0%, #D9B048 16%, #FFF1C4 30%, #C59B2B 45%, #F6DC98 60%, #A77A1E 78%, #EBCB6E 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -2px 1px rgba(110, 70, 10, .45),
        0 3px 0 #8A6417, 0 14px 28px -10px rgba(197, 155, 43, .8);
}
.prs-btn--wa {
    color: #fff !important;
    background:
        linear-gradient(180deg, rgba(210, 255, 225, .35) 0%, rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0) 60%, rgba(0, 35, 15, .35) 100%),
        linear-gradient(115deg, #0b5d2c 0%, #1FAF54 22%, #7ce8a4 36%, #1FAF54 52%, #16a049 70%, #0a4f25 100%);
    box-shadow: 0 3px 0 #0b5d2c, 0 14px 28px -10px rgba(31, 175, 84, .75);
}

/* =====================================================================
   12 ZODIAC SIGNS GRID
   ===================================================================== */
.prs-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
@media (max-width: 1199px) { .prs-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px) { .prs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .prs-grid { grid-template-columns: 1fr; } }

.prs-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    border-radius: 22px; padding: 26px 20px;
    background: #fff; border: 1px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(145deg, rgba(246, 220, 152, .95), var(--border) 32%, var(--border) 68%, rgba(197, 155, 43, .85)) border-box;
    box-shadow: var(--shadow-card);
    transition: transform .4s var(--ease-out), box-shadow .4s;
    position: relative; overflow: hidden;
}
.prs-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lift); }

.prs-card__stage {
    position: relative; width: 120px; height: 120px; display: grid; place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 220, 152, .35) 0%, rgba(255, 248, 239, .8) 60%, transparent 75%);
    margin-bottom: 16px;
    overflow: hidden;
}
.prs-card__img {
    width: 96px; height: 96px; object-fit: cover; object-position: center; border-radius: 50%;
    transition: transform .5s var(--ease-out);
}
.prs-card:hover .prs-card__img { transform: scale(1.1) rotate(4deg); }

.prs-card__title { font: 600 22px/1.2 var(--serif); color: var(--ink); margin: 0 0 4px; }
.prs-card__hi { font-size: 15px; color: var(--maroon); font-weight: 600; margin: 0 0 8px; }
.prs-card__dates { font-size: 12.5px; color: var(--muted); margin: 0 0 16px; font-weight: 500; }
.prs-card__link {
    display: inline-flex; align-items: center; gap: 6px;
    font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
    color: var(--maroon); margin-top: auto;
}
.prs-card__link i { transition: transform .3s; }
.prs-card:hover .prs-card__link i { transform: translateX(5px); }

/* =====================================================================
   SINGLE RASHIFAL PAGE (STICKY LEFT & PREDICTIONS)
   ===================================================================== */
.prs-single__grid {
    display: grid; grid-template-columns: 4.8fr 7.2fr; gap: clamp(32px, 4vw, 56px);
    align-items: start;
}
@media (max-width: 991px) { .prs-single__grid { grid-template-columns: 1fr; } }

/* Sticky Left Aside */
.prs-single__sticky { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 992px) {
    .prs-single__sticky {
        position: -webkit-sticky;
        position: sticky;
        top: 115px;
        align-self: start;
        z-index: 4;
    }
}
.prs-single__visual {
    border-radius: 22px; padding: 30px 24px; background: #fff;
    border: 1px solid rgba(197, 155, 43, .3); box-shadow: var(--shadow-lift);
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
.prs-single__stage {
    position: relative; width: 140px; height: 140px; display: grid; place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246, 220, 152, .4) 0%, rgba(255, 248, 239, .8) 60%, transparent 75%);
    margin-bottom: 16px;
    overflow: hidden;
}
.prs-single__stage img { width: 110px; height: 110px; object-fit: cover; object-position: center; border-radius: 50%; }

.prs-facts-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    margin: 16px 0 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
    text-align: left;
}
.prs-facts-table th, .prs-facts-table td {
    padding: 10px 14px; font-size: 13.5px; line-height: 1.4; border-bottom: 1px solid var(--border);
}
.prs-facts-table tr:last-child th, .prs-facts-table tr:last-child td { border-bottom: 0; }
.prs-facts-table th { background: #faf6ef; color: var(--ink); font-weight: 600; width: 40%; }
.prs-facts-table td { background: #fff; color: #433932; }

/* Right Column Predictions */
.prs-single__main { display: flex; flex-direction: column; gap: 26px; }

.prs-box {
    border-radius: 22px; padding: 32px; background: #fff;
    border: 1px solid rgba(197, 155, 43, 0.22); box-shadow: var(--shadow-card);
}
.prs-box h2, .prs-box h3 { font: 600 24px/1.25 var(--serif); color: var(--ink); margin: 0 0 16px; }
.prs-box p { font-size: 16px; line-height: 1.8; color: #3b322c; margin: 0; }
.prs-box p + p { margin-top: 14px; }

.prs-period-pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px;
    background: rgba(139, 26, 26, .08); color: var(--maroon); font: 600 12.5px/1 var(--sans);
    margin-bottom: 16px;
}

.prs-sign-footer {
    border-radius: 16px; padding: 20px 24px;
    background: linear-gradient(135deg, #1f0b10, #12070a); color: #fff;
    border: 1px solid rgba(246, 220, 152, .3);
    font-size: 14px; line-height: 1.6; text-align: center;
}
.prs-sign-footer a { color: var(--gold-hi); font-weight: 700; }
