/* =========================================================
   RYNA WOMAN - REWARDS
========================================================= */

* {
    box-sizing: border-box;
}

.rewards-body {
    margin: 0;
    padding: 0;
    background: #fff8fa;
    color: #2d2226;
    font-family: Arial, Helvetica, sans-serif;
}

/* =========================================================
   PAGE
========================================================= */

.rewards-page {
    width: 100%;
    min-height: 100vh;
}

/* =========================================================
   HERO
========================================================= */

.rewards-hero {
    width: 100%;
    min-height: 570px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    align-items: center;
    gap: 60px;
    padding: 75px max(6vw, 30px);
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(244, 213, 223, 0.75),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #fff7f9 0%,
            #fdebef 52%,
            #f8e2e8 100%
        );
}

.rewards-hero-content {
    max-width: 720px;
}

.rewards-label {
    display: inline-block;
    margin-bottom: 18px;
    color: #a85c76;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.rewards-hero h1 {
    margin: 0;
    color: #35262c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 6vw, 78px);
    line-height: 1.02;
    font-weight: 500;
}

.rewards-hero-content > p {
    max-width: 600px;
    margin: 24px 0 0;
    color: #6d5c63;
    font-size: 17px;
    line-height: 1.8;
}

/* =========================================================
   CURRENT USER
========================================================= */

.rewards-current-user {
    width: fit-content;
    min-width: 250px;
    margin-top: 30px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(187, 119, 140, 0.2);
    border-radius: 12px;
}

.rewards-current-user span {
    color: #735d65;
    font-size: 14px;
}

.rewards-current-user strong {
    color: #a85c76;
    font-size: 22px;
}

.rewards-current-user strong small {
    margin-left: 4px;
    color: #77646b;
    font-size: 11px;
    font-weight: 600;
}

/* =========================================================
   HERO BUTTON
========================================================= */

.rewards-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 28px;
    padding: 0 24px;
    border-radius: 8px;
    background: #a85c76;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.rewards-primary-button:hover {
    background: #914f67;
    transform: translateY(-1px);
}

/* =========================================================
   REWARD CARD
========================================================= */

.rewards-hero-card {
    width: min(100%, 390px);
    margin-left: auto;
    padding: 28px;
    border: 1px solid rgba(166, 95, 119, 0.18);
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fff4f7 100%
        );
    box-shadow: 0 25px 55px rgba(103, 49, 68, 0.12);
}

.reward-card-top,
.reward-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.reward-card-top span:first-child {
    color: #765d66;
    font-size: 13px;
    font-weight: 600;
}

.reward-star {
    color: #af647d;
    font-size: 22px;
}

.reward-balance {
    margin-top: 45px;
    color: #a85c76;
    font-size: 64px;
    line-height: 1;
    font-weight: 700;
}

.reward-balance-label {
    margin-top: 9px;
    color: #806c73;
    font-size: 13px;
}

.reward-card-divider {
    width: 100%;
    height: 1px;
    margin: 50px 0 18px;
    background: #ead6dd;
}

.reward-card-bottom {
    color: #856e76;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =========================================================
   CONTAINER
========================================================= */

.rewards-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 85px 0 100px;
}

/* =========================================================
   SECTION HEADING
========================================================= */

.rewards-section-heading {
    text-align: center;
    margin-bottom: 44px;
}

.rewards-section-heading > span,
.rules-heading > span,
.help-label,
.balance-eyebrow {
    display: inline-block;
    margin-bottom: 9px;
    color: #ab6078;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.rewards-section-heading h2,
.rules-heading h2 {
    margin: 0;
    color: #34252b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 500;
}

.rewards-section-heading p {
    max-width: 620px;
    margin: 14px auto 0;
    color: #74666c;
    font-size: 15px;
    line-height: 1.8;
}

/* =========================================================
   STEPS
========================================================= */

.reward-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.reward-step {
    position: relative;
    min-height: 275px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #f0dfe5;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(110, 57, 74, 0.04);
}

.reward-step-number {
    color: #c8879c;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.reward-step-content {
    margin-top: 30px;
}

.reward-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #f8e8ed;
    color: #aa5f78;
    font-size: 20px;
}

.reward-step h3 {
    margin: 0 0 10px;
    color: #35262c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: 500;
}

.reward-step p {
    margin: 0;
    color: #716169;
    font-size: 14px;
    line-height: 1.75;
}

/* =========================================================
   BALANCE
========================================================= */

.reward-balance-section {
    margin-top: 75px;
}

.balance-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 42px 48px;
    border-radius: 20px;
    background: #f8e6eb;
    border: 1px solid #eed4dc;
}

.balance-card-left h2 {
    margin: 0;
    color: #37272d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 500;
}

.balance-card-left p {
    max-width: 600px;
    margin: 12px 0 0;
    color: #725f67;
    font-size: 14px;
    line-height: 1.7;
}

.balance-card-left p strong {
    color: #a85c76;
}

.balance-number {
    min-width: 180px;
    text-align: right;
}

.balance-number strong {
    display: block;
    color: #a85c76;
    font-size: 52px;
    line-height: 1;
}

.balance-number span {
    display: block;
    margin-top: 8px;
    color: #765f68;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =========================================================
   BENEFITS
========================================================= */

.rewards-benefits {
    margin-top: 90px;
}

.left-heading {
    text-align: left;
    margin-bottom: 30px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.benefit-card {
    padding: 30px;
    background: #ffffff;
    border: 1px solid #f0dfe5;
    border-radius: 16px;
}

.benefit-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    border-radius: 50%;
    background: #fff0f4;
    color: #a85c76;
    font-size: 18px;
}

.benefit-card h3 {
    margin: 0 0 9px;
    color: #37272d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 500;
}

.benefit-card p {
    margin: 0;
    color: #716169;
    font-size: 14px;
    line-height: 1.75;
}

/* =========================================================
   RULES
========================================================= */

.reward-rules {
    margin-top: 90px;
}

.rules-heading {
    margin-bottom: 30px;
}

.rules-list {
    border-top: 1px solid #ecdce2;
}

.rule-row {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 15px;
    padding: 25px 0;
    border-bottom: 1px solid #ecdce2;
}

.rule-number {
    color: #b16b83;
    font-size: 12px;
    font-weight: 700;
}

.rule-row h3 {
    margin: 0 0 7px;
    color: #37272d;
    font-size: 15px;
}

.rule-row p {
    max-width: 800px;
    margin: 0;
    color: #716169;
    font-size: 14px;
    line-height: 1.75;
}

/* =========================================================
   HELP
========================================================= */

.rewards-help {
    margin-top: 90px;
    padding: 40px 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: 1px solid #eed8df;
    border-radius: 18px;
    background: #fff2f6;
}

.rewards-help h2 {
    margin: 0;
    color: #38282e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 500;
}

.rewards-help p {
    max-width: 600px;
    margin: 10px 0 0;
    color: #716169;
    font-size: 14px;
    line-height: 1.75;
}

.rewards-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid #b76d85;
    border-radius: 8px;
    color: #a85c76;
    background: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.rewards-secondary-button:hover {
    background: #a85c76;
    color: #ffffff;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .rewards-hero {
        grid-template-columns: 1fr;
        gap: 45px;
        min-height: auto;
        padding: 65px 30px;
    }

    .rewards-hero-card {
        margin: 0;
    }

    .reward-steps,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .reward-step {
        min-height: auto;
    }

    .balance-card {
        padding: 35px;
    }

    .rewards-help {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .rewards-hero {
        padding: 50px 20px;
    }

    .rewards-hero h1 {
        font-size: 43px;
    }

    .rewards-hero-content > p {
        font-size: 15px;
    }

    .rewards-current-user {
        width: 100%;
        min-width: 0;
    }

    .rewards-hero-card {
        padding: 23px;
        border-radius: 17px;
    }

    .reward-balance {
        margin-top: 32px;
        font-size: 53px;
    }

    .rewards-container {
        width: calc(100% - 28px);
        padding: 60px 0 75px;
    }

    .rewards-section-heading h2,
    .rules-heading h2 {
        font-size: 31px;
    }

    .reward-step,
    .benefit-card {
        padding: 24px;
    }

    .balance-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px 24px;
    }

    .balance-number {
        min-width: 0;
        text-align: left;
    }

    .balance-number strong {
        font-size: 45px;
    }

    .rule-row {
        grid-template-columns: 45px 1fr;
        gap: 8px;
    }

    .rewards-help {
        padding: 28px 22px;
    }

    .rewards-help h2 {
        font-size: 27px;
    }

    .rewards-secondary-button {
        width: 100%;
    }
}