/* =========================================================
   FLOURISH - GLOBAL FONT
   ========================================================= */

:root {
    --jg-font: "Vazirmatn", sans-serif;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    margin: 0;
    padding: 0;
    font-family: var(--jg-font) !important;
    direction: rtl;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;

    background: #080808;
    color: #fff;

    font-family: var(--jg-font) !important;
    font-size: 15px;
    line-height: 1.75;

    direction: rtl;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body,
button,
input,
textarea,
select,
option,
label,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
strong,
b,
small,
div,
a {
    font-family: var(--jg-font) !important;
}

button,
input {
    font-family: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
}

input,
textarea,
select {
    direction: rtl;
    font-family: var(--jg-font) !important;
}

input::placeholder,
textarea::placeholder {
    font-family: var(--jg-font) !important;
}


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --black: #080808;
    --black-2: #111111;
    --black-3: #181818;

    --gray-1: #222222;
    --gray-2: #2c2c2c;
    --gray-3: #444444;
    --gray-4: #777777;
    --gray-5: #b7b7b7;

    --white: #ffffff;
    --white-2: #eeeeee;
    --white-3: #d5d5d5;

    --blue: #287cff;
    --red: #ef4444;
    --purple: #a855f7;
    --green: #22c55e;

    --pink: #ff4fa3;
    --pink-light: #ff8bc5;
    --pink-dark: #e83d91;
    --pink-soft: rgba(255, 79, 163, .12);
    --pink-border: rgba(255, 79, 163, .35);
    --pink-glow: rgba(255, 79, 163, .45);

    --border: #303030;

    --radius: 16px;
    --radius-small: 11px;

    --transition: .22s ease;
}


/* =========================================================
   NUMBERS
   ========================================================= */

.jg-number,
.wallet-balance,
#walletBalance,
#topWalletBalance,
#telegramId,
#activeAdsCount,
#purchasedAdsCount,
#orderedMembersCount,
#profilePurchasedAds,
#memberCount,
#campaignCount,
#linkCount {
    font-family: var(--jg-font) !important;
}


/* =========================================================
   APP
   ========================================================= */

.app {
    width: 100%;
    max-width: 560px;
    min-height: 100vh;

    margin: 0 auto;

    padding-bottom: 100px;

    background: var(--black);

    position: relative;

    overflow: hidden;
}


/* =========================================================
   HEADER
   ========================================================= */

.jg-home-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 12px;

    padding: 18px 16px 10px;
}

.jg-wallet-box {
    display: flex;
    flex-direction: column;

    gap: 2px;

    padding: 10px 13px;

    background: var(--black-2);
    color: var(--white);

    border: 1px solid var(--border);
    border-radius: 14px;

    text-align: right;
}

.jg-wallet-box span {
    color: var(--gray-5);
    font-size: 11px;
}

.jg-wallet-box strong {
    font-size: 14px;
}

.jg-user-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jg-user-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.jg-user-text span {
    color: var(--gray-5);
    font-size: 11px;
}

.jg-user-text strong {
    font-size: 15px;
}

.jg-user-avatar {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--white);
    color: var(--black);

    border-radius: 11px;

    font-size: 17px;
    font-weight: 900;
}


/* =========================================================
   PAGES
   ========================================================= */

.page {
    display: none;

    padding: 12px 16px 35px;

    animation: pageIn .25s ease;
}

.page.active {
    display: block;
}

.hidden {
    display: none !important;
}

@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   HOME
   ========================================================= */

.jg-home-page {
    padding-top: 8px;
}

.jg-brand {
    text-align: center;

    padding: 20px 0 25px;
}


/* =========================================================
   FLOWER LOGO
   ========================================================= */

.jg-brand-logo {
    width: 62px;
    height: 62px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 13px;

    background:
        radial-gradient(
            circle at center,
            rgba(255, 79, 163, .14),
            #151515 62%
        );

    color: var(--pink);

    border: 1px solid rgba(255, 79, 163, .35);
    border-radius: 15px;

    font-size: 0;

    box-shadow:
        0 0 0 1px rgba(255, 79, 163, .05),
        0 0 20px rgba(255, 79, 163, .10);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.jg-brand-logo::before {
    content: "✿";

    display: block;

    color: var(--pink);

    font-family: Arial, sans-serif !important;

    font-size: 31px;
    line-height: 1;

    text-shadow:
        0 0 8px rgba(255, 79, 163, .45),
        0 0 18px rgba(255, 79, 163, .18);

    animation: flowerPulse 2.4s ease-in-out infinite;
}

.jg-brand-logo:hover {
    transform: translateY(-2px);

    border-color: var(--pink);

    box-shadow:
        0 0 0 1px rgba(255, 79, 163, .10),
        0 0 30px rgba(255, 79, 163, .22);
}

@keyframes flowerPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: .88;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}


/* =========================================================
   FLOURISH TITLE
   10 SECOND FULL CYCLE
   ========================================================= */

.jg-brand h1 {
    font-size: 32px;
    letter-spacing: 5px;

    margin-bottom: 7px;

    color: #ffffff;

    animation: flourishColor 10s ease-in-out infinite;
}

@keyframes flourishColor {
    0%,
    100% {
        color: #ffffff;

        text-shadow:
            0 0 0 rgba(255, 79, 163, 0);
    }

    50% {
        color: var(--pink);

        text-shadow:
            0 0 8px rgba(255, 79, 163, .38),
            0 0 20px rgba(255, 79, 163, .18);
    }
}

.jg-brand p {
    max-width: 370px;

    margin: auto;

    color: var(--gray-5);

    font-size: 14px;
}

.jg-benefits {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 8px;

    margin-top: 13px;

    color: var(--gray-5);

    font-size: 12px;
}

.jg-benefits i {
    color: var(--gray-3);
    font-style: normal;
}


/* =========================================================
   MAIN AD
   ========================================================= */

.jg-main-ad-card {
    width: 100%;
    min-height: 155px;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 23px;

    background:
        linear-gradient(
            135deg,
            #f8f8f8,
            #bcbcbc
        );

    color: var(--black);

    border: 1px solid white;
    border-radius: 19px;

    text-align: right;

    box-shadow:
        0 18px 45px rgba(255,255,255,.08);
}

.jg-ad-glow {
    position: absolute;

    width: 140px;
    height: 140px;

    left: -50px;
    top: -50px;

    border-radius: 50%;

    background: rgba(255,255,255,.35);

    filter: blur(20px);
}

.jg-ad-icon {
    width: 55px;
    height: 55px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--black);
    color: var(--white);

    border-radius: 11px;

    font-size: 24px;
}

.jg-ad-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.jg-ad-title {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 8px;
}

.jg-ad-title strong {
    font-size: 17px;
}

.jg-ad-title span {
    padding: 5px 8px;

    background: var(--black);
    color: white;

    border-radius: 6px;

    font-size: 10px;
}

.jg-ad-content p {
    color: #333;

    font-size: 13px;
    line-height: 1.9;
}

.jg-ad-arrow {
    font-size: 23px;
    font-weight: bold;
}


/* =========================================================
   TITLES
   ========================================================= */

.jg-section-title,
.section-title,
.ads-role-title {
    display: flex;
    align-items: center;

    gap: 9px;

    margin: 28px 0 13px;
}

.jg-section-title span,
.section-title span,
.ads-role-title span {
    color: var(--gray-4);

    font-size: 11px;
    letter-spacing: 2px;
}

.jg-section-title strong,
.section-title strong,
.ads-role-title strong {
    font-size: 16px;
}


/* =========================================================
   QUICK ACCESS
   ========================================================= */

.jg-stats {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 9px;
}

.jg-stat-card {
    min-height: 115px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 13px 8px;

    background: var(--black-2);
    color: white;

    border: 1px solid var(--border);
    border-radius: 15px;

    transition:
        transform .22s ease,
        border-color .22s ease,
        background .22s ease;
}

.jg-stat-card:active {
    transform: scale(.98);
}

.jg-stat-icon {
    width: 37px;
    height: 37px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--gray-2);

    border-radius: 9px;

    font-size: 17px;
}

.jg-stat-card strong {
    font-size: 13px;
}

.jg-stat-card span {
    color: var(--gray-5);
    font-size: 11px;
}

.jg-home-note {
    margin-top: 19px;

    padding: 14px;

    background: var(--black-2);

    border: 1px solid var(--border);
    border-radius: 14px;

    text-align: center;

    color: var(--gray-5);

    font-size: 11px;
}


/* =========================================================
   PAGE HEADING
   ========================================================= */

.page-heading {
    padding: 20px 0 23px;
}

.page-heading span {
    color: var(--gray-4);

    font-size: 11px;
    letter-spacing: 2px;
}

.page-heading h1 {
    margin-top: 7px;

    font-size: 27px;
}

.page-heading p {
    margin-top: 8px;

    color: var(--gray-5);

    font-size: 14px;
    line-height: 1.9;
}


/* =========================================================
   ADS DASHBOARD
   ========================================================= */

.ads-dashboard {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 8px;
}

.ads-dashboard-card {
    padding: 15px 8px;

    background: var(--black-2);

    border: 1px solid var(--border);
    border-radius: 15px;

    text-align: center;
}

.ads-dashboard-card span {
    display: block;

    color: var(--gray-5);

    font-size: 10px;
    line-height: 1.8;
}

.ads-dashboard-card strong {
    display: block;

    margin: 7px 0;

    font-size: 23px;
}

.ads-dashboard-card small {
    color: var(--gray-4);

    font-size: 10px;
}


/* =========================================================
   ROLES
   ========================================================= */

.ads-role-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 9px;
}

.ads-role-card {
    min-height: 125px;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 15px;

    background: var(--black-2);
    color: white;

    border: 1px solid var(--border);
    border-radius: 16px;

    text-align: right;

    transition:
        background .22s ease,
        border-color .22s ease,
        transform .22s ease,
        box-shadow .22s ease;
}

.ads-role-card:active {
    transform: scale(.98);
}

.ads-role-card > div:nth-child(2) {
    flex: 1;

    display: flex;
    flex-direction: column;

    gap: 5px;
}

.ads-role-card strong {
    font-size: 15px;
}

.ads-role-card small {
    color: var(--gray-5);

    font-size: 10px;
    line-height: 1.8;
}

.ads-role-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 10px;

    background: var(--gray-2);

    font-size: 19px;

    transition:
        background .22s ease,
        color .22s ease,
        box-shadow .22s ease;
}


/* OWNER */

.ads-role-card.owner {
    border-color: rgba(255, 79, 163, .16);
}

.ads-role-card.owner:hover {
    background: rgba(255, 79, 163, .07);

    border-color: var(--pink);

    box-shadow:
        0 0 20px rgba(255, 79, 163, .08);
}

.ads-role-card.owner .ads-role-icon {
    background: rgba(255, 79, 163, .13);

    color: var(--pink);

    border: 1px solid rgba(255, 79, 163, .25);
}

.ads-role-card.owner:hover .ads-role-icon {
    background: rgba(255, 79, 163, .18);

    box-shadow:
        0 0 12px rgba(255, 79, 163, .18);
}


/* DONER */

.ads-role-card.doner {
    border-color: rgba(255, 139, 197, .14);
}

.ads-role-card.doner:hover {
    background: rgba(255, 139, 197, .06);

    border-color: var(--pink-light);

    box-shadow:
        0 0 20px rgba(255, 139, 197, .07);
}

.ads-role-card.doner .ads-role-icon {
    background: rgba(255, 139, 197, .12);

    color: var(--pink-light);

    border: 1px solid rgba(255, 139, 197, .24);
}

.ads-role-card.doner:hover .ads-role-icon {
    background: rgba(255, 139, 197, .17);

    box-shadow:
        0 0 12px rgba(255, 139, 197, .16);
}

.role-arrow {
    color: var(--gray-5);

    font-size: 18px;
}


/* =========================================================
   RESERVE
   ========================================================= */

.reserve-ad-button {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 10px;

    padding: 16px;

    background: var(--white);
    color: var(--black);

    border-radius: 15px;

    text-align: right;

    transition:
        transform .22s ease,
        box-shadow .22s ease;
}

.reserve-ad-button:active {
    transform: scale(.985);
}

.reserve-ad-icon {
    width: 42px;
    height: 42px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: var(--black);
    color: white;

    border-radius: 9px;

    font-size: 21px;
}

.reserve-ad-button div:nth-child(2) {
    flex: 1;

    display: flex;
    flex-direction: column;

    gap: 4px;
}

.reserve-ad-button strong {
    font-size: 14px;
}

.reserve-ad-button small {
    color: #666;
    font-size: 11px;
}

.reserve-ad-button > span {
    font-size: 19px;
}


/* =========================================================
   DONER INTRO
   ========================================================= */

.doner-intro {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 5px;

    padding: 15px;

    background:
        rgba(255, 139, 197, .07);

    border: 1px solid rgba(255, 139, 197, .24);

    border-radius: 16px;
}

.doner-intro-icon {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 139, 197, .12);

    color: var(--pink-light);

    border-radius: 11px;

    font-size: 21px;
}

.doner-intro strong {
    display: block;

    font-size: 14px;
}

.doner-intro p {
    margin-top: 5px;

    color: var(--gray-5);

    font-size: 11px;
    line-height: 1.9;
}

.doner-intro b {
    color: var(--pink-light);
}


/* =========================================================
   DONER AD CARD
   ========================================================= */

.doner-ad-card {
    margin-bottom: 9px;

    padding: 15px;

    background: var(--black-2);

    border: 1px solid var(--border);
    border-radius: 16px;
}

.doner-ad-header {
    display: flex;
    align-items: flex-start;

    gap: 11px;
}

.doner-channel-avatar {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--white);
    color: var(--black);

    border-radius: 11px;

    font-weight: 900;
}

.doner-ad-main {
    flex: 1;

    display: flex;
    flex-direction: column;

    gap: 4px;
}

.doner-ad-main strong {
    font-size: 14px;
}

.doner-ad-main small {
    color: var(--gray-5);

    font-size: 10px;
}

.doner-ad-price {
    color: var(--pink-light);

    font-size: 12px;
    font-weight: bold;
}

.doner-ad-info {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 7px;

    margin-top: 13px;
}

.doner-ad-info-box {
    padding: 10px;

    background: #151515;

    border: 1px solid #252525;

    border-radius: 10px;
}

.doner-ad-info-box span {
    display: block;

    color: var(--gray-4);

    font-size: 9px;
}

.doner-ad-info-box strong {
    display: block;

    margin-top: 4px;

    font-size: 11px;
}

.doner-join-button {
    width: 100%;

    height: 44px;

    margin-top: 11px;

    background: #383838;
    color: white;

    border: 1px solid #4b4b4b;

    border-radius: 11px;

    font-size: 12px;
    font-weight: bold;
}

.doner-join-button:hover {
    background: #474747;
}


/* =========================================================
   DONER DETAIL
   ========================================================= */

.doner-detail-card {
    overflow: hidden;

    background: var(--black-2);

    border: 1px solid var(--border);
    border-radius: 17px;
}

.doner-detail-head {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 16px;

    border-bottom: 1px solid var(--border);
}

.doner-detail-avatar {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--white);
    color: var(--black);

    border-radius: 12px;

    font-size: 19px;
    font-weight: 900;
}

.doner-detail-head > div:last-child {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.doner-detail-head strong {
    font-size: 15px;
}

.doner-detail-head small {
    color: var(--gray-5);

    font-size: 10px;
}

.doner-detail-body {
    padding: 15px;
}

.doner-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;

    padding: 12px 0;

    border-bottom: 1px solid #292929;
}

.doner-info-row:last-child {
    border-bottom: 0;
}

.doner-info-row span {
    color: var(--gray-5);

    font-size: 11px;
}

.doner-info-row strong {
    max-width: 65%;

    font-size: 12px;

    text-align: left;

    word-break: break-word;
}

.doner-earning {
    margin-top: 12px;

    padding: 15px;

    background: rgba(255, 139, 197, .07);

    border: 1px solid rgba(255, 139, 197, .24);

    border-radius: 13px;

    text-align: center;
}

.doner-earning span {
    display: block;

    color: var(--gray-5);

    font-size: 11px;
}

.doner-earning strong {
    display: block;

    margin-top: 4px;

    color: var(--pink-light);

    font-size: 23px;
}


/* =========================================================
   CHECKLIST
   ========================================================= */

.doner-checklist {
    display: flex;
    flex-direction: column;

    gap: 0;

    margin-top: 15px;

    padding: 14px;

    background: #141414;

    border: 1px solid var(--border);

    border-radius: 14px;
}

.doner-check-item {
    display: flex;
    align-items: center;

    gap: 11px;

    min-height: 48px;

    border-bottom: 1px solid #292929;
}

.doner-check-item:last-child {
    border-bottom: 0;
}

.check-icon {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: var(--gray-2);
    color: var(--gray-5);

    border-radius: 50%;

    font-size: 12px;
}

.doner-check-item.done .check-icon {
    background: rgba(255, 79, 163, .14);

    color: var(--pink);

    border: 1px solid rgba(255, 79, 163, .28);
}

.doner-check-item strong {
    font-size: 12px;
}

.doner-check-item small {
    margin-right: auto;

    color: var(--gray-5);

    font-size: 10px;
}


/* =========================================================
   UNIQUE LINK
   ========================================================= */

.unique-link-box {
    margin-top: 13px;

    padding: 14px;

    background: #151515;

    border: 1px solid var(--border);

    border-radius: 14px;
}

.unique-link-box > span {
    display: block;

    color: var(--gray-5);

    font-size: 11px;

    margin-bottom: 8px;
}

.unique-link-row {
    display: flex;

    gap: 7px;
}

.unique-link-input {
    flex: 1;

    min-width: 0;

    height: 43px;

    padding: 0 11px;

    background: var(--black);
    color: var(--white);

    border: 1px solid var(--border);

    border-radius: 9px;

    outline: none;

    direction: ltr;

    font-size: 10px;
}

.copy-link-button {
    width: 70px;

    height: 43px;

    background: var(--white);
    color: var(--black);

    border-radius: 9px;

    font-size: 11px;
    font-weight: bold;
}


/* =========================================================
   AD HISTORY
   ========================================================= */

.ad-history-card {
    padding: 15px;
    margin-bottom: 9px;

    background: var(--black-2);

    border: 1px solid var(--border);
    border-radius: 15px;
}

.ad-history-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 10px;
}

.ad-history-top > div {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.ad-history-top strong {
    font-size: 14px;
}

.ad-history-top small {
    color: var(--gray-5);

    font-size: 10px;
}

.ad-history-top > span {
    padding: 5px 8px;

    background: var(--gray-2);

    border: 1px solid var(--gray-3);

    border-radius: 8px;

    color: var(--gray-5);

    font-size: 10px;
}

.ad-history-info {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 7px;

    margin-top: 13px;
}

.ad-history-info > div {
    padding: 10px;

    background: #111;

    border: 1px solid #252525;

    border-radius: 10px;
}

.ad-history-info small {
    display: block;

    margin-bottom: 5px;

    color: var(--gray-4);

    font-size: 9px;
}

.ad-history-info strong {
    font-size: 11px;
}


/* =========================================================
   EMPTY
   ========================================================= */

.ad-empty,
.empty-state {
    padding: 34px 15px;

    background: var(--black-2);

    border: 1px dashed var(--gray-3);

    border-radius: 15px;

    text-align: center;
}

.ad-empty div,
.empty-state > div {
    margin-bottom: 10px;

    font-size: 29px;
}

.ad-empty strong,
.empty-state strong {
    display: block;

    font-size: 14px;
}

.ad-empty small,
.empty-state p {
    display: block;

    margin-top: 7px;

    color: var(--gray-5);

    font-size: 11px;
}


/* =========================================================
   RESERVATION
   ========================================================= */

.reservation-header {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 15px 0 21px;
}

.reservation-header > button {
    width: 42px;
    height: 42px;

    background: var(--black-2);
    color: white;

    border: 1px solid var(--border);

    border-radius: 11px;

    font-size: 19px;
}

.reservation-header span {
    color: var(--gray-4);

    font-size: 10px;
}

.reservation-header h1 {
    margin-top: 5px;

    font-size: 25px;
}

.reservation-stations {
    width: 100%;

    display: flex;
    align-items: center;

    margin-bottom: 30px;
}

.reservation-station {
    flex-shrink: 0;

    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 5px;
}

.reservation-station span {
    width: 37px;
    height: 37px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--gray-2);
    color: var(--gray-5);

    border: 1px solid var(--gray-3);

    border-radius: 11px;

    font-size: 11px;
}

.reservation-station small {
    color: var(--gray-4);

    font-size: 9px;
}

.reservation-station.active span {
    background: var(--pink);

    color: white;

    border-color: var(--pink);

    box-shadow:
        0 0 14px rgba(255, 79, 163, .20);
}

.reservation-station.completed span {
    background: var(--gray-3);
    color: white;
}

.station-line {
    flex: 1;

    height: 1px;

    margin: 0 5px 19px;

    background: var(--gray-3);
}

.reservation-step {
    display: none;
}

.reservation-step.active {
    display: block;

    animation: pageIn .25s ease;
}

.reservation-step-title {
    margin-bottom: 21px;
}

.reservation-step-title span {
    color: var(--gray-4);

    font-size: 10px;
}

.reservation-step-title h2 {
    margin-top: 7px;

    font-size: 21px;
}

.reservation-step-title p {
    margin-top: 7px;

    color: var(--gray-5);

    font-size: 13px;
    line-height: 1.9;
}

.reservation-field {
    margin-bottom: 21px;
}

.reservation-field label {
    display: block;

    margin-bottom: 9px;

    font-size: 14px;
    font-weight: bold;
}


/* =========================================================
   CATEGORY
   ========================================================= */

.category-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 9px;
}

.category-grid button {
    min-height: 51px;

    background: var(--black-2);
    color: var(--gray-5);

    border: 1px solid var(--border);

    border-radius: 12px;

    font-size: 12px;

    transition:
        background .22s ease,
        border-color .22s ease,
        color .22s ease;
}

.category-grid button.selected {
    background: var(--pink-soft);

    color: var(--pink-light);

    border-color: var(--pink);

    font-weight: bold;
}


/* =========================================================
   CHANNEL TYPE
   ========================================================= */

.channel-type-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 9px;
}

.channel-type {
    min-height: 150px;

    padding: 15px;

    background: var(--black-2);
    color: white;

    border: 1px solid var(--border);

    border-radius: 15px;

    text-align: right;
}

.channel-type-icon {
    width: 38px;
    height: 38px;

    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 12px;

    background: var(--gray-2);

    border-radius: 9px;
}

.channel-type strong {
    display: block;

    font-size: 14px;
}

.channel-type small {
    display: block;

    margin-top: 7px;

    color: var(--gray-5);

    font-size: 11px;
    line-height: 1.9;
}

.channel-type.public-selected {
    background: rgba(255, 79, 163, .10);

    border-color: var(--pink);
}

.channel-type.public-selected .channel-type-icon {
    background: rgba(255, 79, 163, .16);

    color: var(--pink);
}

.channel-type.private-selected {
    background: rgba(255, 139, 197, .08);

    border-color: var(--pink-light);
}

.channel-type.private-selected .channel-type-icon {
    background: rgba(255, 139, 197, .15);

    color: var(--pink-light);
}


/* =========================================================
   MEMBERS
   ========================================================= */

.member-count-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 8px;
}

.member-count-grid button {
    height: 50px;

    background: var(--black-2);
    color: var(--gray-5);

    border: 1px solid var(--border);

    border-radius: 11px;

    font-size: 12px;
}

.member-count-grid button.selected {
    background: var(--pink-soft);

    color: var(--pink-light);

    border-color: var(--pink);

    font-weight: bold;
}

.custom-member-input,
.reservation-input {
    width: 100%;
    height: 52px;

    margin-top: 9px;

    padding: 0 14px;

    outline: none;

    background: var(--black-2);
    color: white;

    border: 1px solid var(--border);

    border-radius: 12px;

    font-size: 13px;
}

.custom-member-input:focus,
.reservation-input:focus {
    background: var(--black-3);

    border-color: var(--pink);

    box-shadow:
        0 0 0 3px rgba(255, 79, 163, .07);
}

.custom-member-input::placeholder,
.reservation-input::placeholder {
    color: #6d6d6d;

    font-size: 11px;
}


/* =========================================================
   CONTINUE
   ========================================================= */

.reservation-continue {
    width: 100%;
    height: 53px;

    margin-top: 8px;

    background: var(--white);
    color: var(--black);

    border-radius: 13px;

    font-size: 14px;
    font-weight: bold;
}

.reservation-continue.disabled,
.reservation-continue:disabled {
    background: var(--gray-2);
    color: #666;

    border: 1px solid var(--border);
}


/* =========================================================
   REGISTERED CHANNELS
   ========================================================= */

.registered-channels {
    display: flex;
    flex-direction: column;

    gap: 9px;
}

.registered-channel {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 13px;

    background: var(--black-2);
    color: white;

    border: 1px solid var(--border);

    border-radius: 14px;

    text-align: right;
}

.registered-channel.selected {
    background: var(--gray-1);

    border-color: var(--pink);

    box-shadow:
        0 0 15px rgba(255, 79, 163, .06);
}

.registered-channel-avatar {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: var(--white);
    color: var(--black);

    border-radius: 9px;

    font-weight: 900;
}

.registered-channel > span {
    flex: 1;

    display: flex;
    flex-direction: column;

    gap: 4px;
}

.registered-channel strong {
    font-size: 13px;
}

.registered-channel small {
    color: var(--gray-5);

    font-size: 10px;
}

.registered-channel b {
    color: var(--gray-5);

    font-size: 10px;
}

.add-channel-button {
    width: 100%;
    height: 48px;

    margin-top: 10px;

    background: transparent;
    color: var(--gray-5);

    border: 1px dashed var(--gray-3);

    border-radius: 13px;

    font-size: 11px;
}

.add-channel-button span {
    margin-left: 6px;

    font-size: 17px;
}


/* =========================================================
   SUMMARY
   ========================================================= */

.reservation-summary {
    overflow: hidden;

    background: var(--black-2);

    border: 1px solid var(--border);

    border-radius: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;

    padding: 14px;

    border-bottom: 1px solid var(--border);
}

.summary-row span {
    color: var(--gray-5);

    font-size: 11px;
}

.summary-row strong {
    max-width: 62%;

    font-size: 11px;

    text-align: left;

    word-break: break-word;
}

.summary-total {
    display: flex;
    justify-content: space-between;

    padding: 18px 14px;

    background: var(--white);
    color: var(--black);
}

.summary-total span {
    font-size: 12px;
}

.summary-total strong {
    font-size: 16px;
}

.reservation-warning {
    display: flex;

    gap: 9px;

    margin-top: 10px;

    padding: 13px;

    background: #181818;

    border: 1px solid #303030;

    border-radius: 13px;
}

.reservation-warning > span {
    width: 24px;
    height: 24px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--white);
    color: var(--black);

    border-radius: 6px;

    font-weight: bold;
}

.reservation-warning p {
    color: var(--gray-5);

    font-size: 11px;
    line-height: 1.9;
}

.reservation-submit {
    width: 100%;
    height: 54px;

    margin-top: 10px;

    background: var(--white);
    color: var(--black);

    border-radius: 13px;

    font-size: 14px;
    font-weight: 900;
}


/* =========================================================
   WALLET
   بدون تغییر رنگ‌بندی
   ========================================================= */

.wallet-card {
    padding: 23px;

    background: var(--white);
    color: var(--black);

    border-radius: 18px;
}

.wallet-card small {
    color: #666;

    font-size: 12px;
}

.wallet-balance {
    display: flex;
    align-items: baseline;

    gap: 7px;

    margin: 10px 0 18px;
}

.wallet-balance strong {
    font-size: 36px;
}

.wallet-balance span {
    color: #555;

    font-size: 12px;
}

.wallet-card button {
    width: 100%;
    height: 43px;

    background: var(--black);
    color: white;

    border-radius: 10px;

    font-size: 12px;
}


/* =========================================================
   TRANSACTIONS
   بدون تغییر رنگ‌بندی
   ========================================================= */

.wallet-accepted-box {
    margin-top: 11px;

    overflow: hidden;

    background: var(--black-2);

    border: 1px solid var(--border);

    border-radius: 15px;
}

.wallet-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px;

    border-bottom: 1px solid var(--border);
}

.wallet-box-header > div:first-child {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.wallet-box-header strong {
    font-size: 13px;
}

.wallet-box-header small {
    color: var(--gray-5);

    font-size: 10px;
}

.accepted-total {
    color: var(--green);

    font-size: 12px;
}

.wallet-transaction {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px;

    border-bottom: 1px solid var(--border);
}

.wallet-transaction:last-child {
    border-bottom: 0;
}

.transaction-reason {
    display: flex;
    align-items: center;

    gap: 10px;
}

.transaction-icon {
    width: 36px;
    height: 36px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--gray-2);

    border-radius: 9px;

    font-size: 15px;
}

.transaction-reason > div:last-child {
    display: flex;
    flex-direction: column;

    gap: 3px;
}

.transaction-reason strong {
    font-size: 12px;
}

.transaction-reason small {
    color: var(--gray-5);

    font-size: 10px;
}

.transaction-amount {
    font-size: 12px;
}


/* INCOME */

.transaction.income,
.wallet-transaction.income {
    border-right: 4px solid var(--blue);
}

.transaction.income .transaction-icon,
.wallet-transaction.income .transaction-icon {
    background: rgba(40,124,255,.16);

    color: var(--blue);

    border: 1px solid rgba(40,124,255,.35);
}

.transaction.income .transaction-amount,
.wallet-transaction.income .transaction-amount {
    color: var(--blue);
}


/* EXPENSE */

.transaction.expense,
.wallet-transaction.expense {
    border-right: 4px solid var(--red);
}

.transaction.expense .transaction-icon,
.wallet-transaction.expense .transaction-icon {
    background: rgba(239,68,68,.16);

    color: var(--red);

    border: 1px solid rgba(239,68,68,.35);
}

.transaction.expense .transaction-amount,
.wallet-transaction.expense .transaction-amount {
    color: var(--red);
}


/* WITHDRAW */

.transaction.withdraw,
.wallet-transaction.withdraw {
    border-right: 4px solid var(--purple);
}

.transaction.withdraw .transaction-icon,
.wallet-transaction.withdraw .transaction-icon {
    background: rgba(168,85,247,.16);

    color: var(--purple);

    border: 1px solid rgba(168,85,247,.35);
}

.transaction.withdraw .transaction-amount,
.wallet-transaction.withdraw .transaction-amount {
    color: var(--purple);
}


/* =========================================================
   PROFILE
   PREMIUM PINK ANIMATED STYLE
   ========================================================= */

.profile-header {
    padding: 27px 0;

    text-align: center;
}

.profile-big-avatar {
    width: 74px;
    height: 74px;

    display: flex;
    justify-content: center;
    align-items: center;

    margin: 0 auto 13px;

    background: var(--white);
    color: var(--black);

    border-radius: 13px;

    font-size: 26px;
    font-weight: 900;
}

.profile-header h1 {
    font-size: 22px;
}

.profile-header p {
    margin-top: 5px;

    color: var(--gray-5);

    font-size: 12px;
}


/* =========================================================
   PROFILE BOX
   ========================================================= */

.profile-box {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #171717,
            #101010
        );

    border: 1px solid rgba(255, 139, 197, .28);

    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .30),
        inset 0 0 25px rgba(255, 79, 163, .035);
}


/* =========================================================
   PROFILE ROWS
   ========================================================= */

.profile-row {
    position: relative;

    min-height: 54px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 15px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 139, 197, .035)
        );

    border-bottom: 1px solid rgba(255, 139, 197, .12);

    transition:
        background .25s ease,
        padding .25s ease,
        border-color .25s ease;
}

.profile-row:hover {
    background:
        linear-gradient(
            90deg,
            rgba(255, 79, 163, .08),
            rgba(255, 139, 197, .12)
        );

    padding-right: 19px;

    border-bottom-color:
        rgba(255, 79, 163, .28);
}

.profile-row:last-child {
    border-bottom: 0;
}

.profile-row span {
    color: #d8b9c8;

    font-size: 11px;
}

.profile-row strong {
    color: #ffffff;

    font-size: 12px;

    text-shadow:
        0 0 8px rgba(255, 79, 163, .08);
}


/* =========================================================
   PROFILE OPEN BUTTON
   ========================================================= */

.jg-profile-open {
    position: relative;
    overflow: hidden;

    width: 100%;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 16px;

    margin-bottom: 12px;

    background:
        linear-gradient(
            135deg,
            #505050,
            #242424,
            #444444
        );

    color: #eeeeee;

    border: 1px solid rgba(255, 139, 197, .35);

    border-radius: 18px;

    text-align: right;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, .35),
        inset 0 0 25px rgba(255, 79, 163, .04);

    isolation: isolate;
}


/* moving pink glow */

.jg-profile-open::before {
    content: "";

    position: absolute;

    width: 160px;
    height: 160px;

    top: -75px;
    right: -75px;

    background:
        radial-gradient(
            circle,
            rgba(255, 79, 163, .85) 0%,
            rgba(255, 79, 163, .38) 28%,
            rgba(255, 79, 163, 0) 70%
        );

    filter: blur(12px);

    border-radius: 50%;

    z-index: -1;

    animation:
        profileGlowMove 5s linear infinite;
}


/* inner glass layer */

.jg-profile-open::after {
    content: "";

    position: absolute;

    inset: 1px;

    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 139, 197, .06),
            transparent 35%,
            rgba(255, 79, 163, .05)
        );

    pointer-events: none;

    z-index: -1;
}

@keyframes profileGlowMove {
    0% {
        top: -75px;
        right: -75px;
    }

    25% {
        top: -75px;
        right: calc(100% - 85px);
    }

    50% {
        top: calc(100% - 85px);
        right: calc(100% - 85px);
    }

    75% {
        top: calc(100% - 85px);
        right: -75px;
    }

    100% {
        top: -75px;
        right: -75px;
    }
}


/* =========================================================
   PROFILE OPEN ICON
   ========================================================= */

.jg-profile-open-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background:
        linear-gradient(
            135deg,
            #ff8bc5,
            #ff4fa3
        );

    color: white;

    border: 1px solid rgba(255, 255, 255, .25);

    border-radius: 12px;

    font-size: 19px;

    box-shadow:
        0 0 14px rgba(255, 79, 163, .35);

    animation:
        profileIconPulse 2.8s ease-in-out infinite;
}

@keyframes profileIconPulse {
    0%,
    100% {
        box-shadow:
            0 0 10px rgba(255, 79, 163, .25);
    }

    50% {
        box-shadow:
            0 0 22px rgba(255, 79, 163, .55);
    }
}


/* =========================================================
   PROFILE OPEN TEXT
   ========================================================= */

.jg-profile-open-content {
    flex: 1;

    display: flex;
    flex-direction: column;

    gap: 3px;
}

.jg-profile-open-content strong {
    color: #ffffff;

    font-size: 15px;
}

.jg-profile-open-content small {
    color: #e0c3d0;

    font-size: 10px;
}

.jg-profile-open-arrow {
    color: var(--pink-light);

    font-size: 19px;

    transition:
        transform .25s ease,
        color .25s ease;
}

.jg-profile-open:hover .jg-profile-open-arrow {
    transform: translateX(-4px);

    color: #ffffff;
}


/* =========================================================
   PROFILE CUSTOM PAGE
   ========================================================= */

.jg-profile-custom-page {
    position: relative;

    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(255, 79, 163, .07),
            transparent 28%
        ),
        var(--black);
}

.jg-profile-custom-header {
    padding: 18px 0 20px;
}

.jg-profile-custom-header span {
    color: #8b8b8b;

    font-size: 10px;
    letter-spacing: 2px;
}

.jg-profile-custom-header h1 {
    margin-top: 6px;

    color: #d2d2d2;

    font-size: 25px;
}


/* =========================================================
   PROFILE PREVIEW
   ========================================================= */

.jg-profile-preview {
    position: relative;
    overflow: hidden;

    padding: 22px;

    background:
        linear-gradient(
            145deg,
            #4a4a4a,
            #242424,
            #3a3a3a
        );

    border: 1px solid rgba(255, 139, 197, .32);

    border-radius: 20px;

    text-align: center;

    isolation: isolate;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .4),
        inset 0 0 30px rgba(255, 79, 163, .04);
}


/* moving glow around preview */

.jg-profile-preview::before {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    top: -95px;
    right: -95px;

    background:
        radial-gradient(
            circle,
            rgba(255, 79, 163, .9) 0%,
            rgba(255, 79, 163, .35) 30%,
            transparent 70%
        );

    filter: blur(13px);

    border-radius: 50%;

    z-index: -1;

    animation:
        previewGlow 6s linear infinite;
}

@keyframes previewGlow {
    0% {
        top: -95px;
        right: -95px;
    }

    25% {
        top: -95px;
        right: calc(100% - 95px);
    }

    50% {
        top: calc(100% - 95px);
        right: calc(100% - 95px);
    }

    75% {
        top: calc(100% - 95px);
        right: -95px;
    }

    100% {
        top: -95px;
        right: -95px;
    }
}

.jg-profile-preview strong {
    display: block;

    color: #dedede;

    font-size: 16px;
}

.jg-profile-preview small {
    display: block;

    margin-top: 4px;

    color: #bdbdbd;

    font-size: 10px;
}


/* =========================================================
   PROFILE PREVIEW AVATAR
   ========================================================= */

.jg-profile-preview-avatar {
    position: relative;

    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 11px;

    background:
        linear-gradient(
            145deg,
            #ffb0d5,
            #ff4fa3
        );

    color: #160912;

    border: 2px solid #ffffff;

    border-radius: 50%;

    font-size: 26px;

    box-shadow:
        0 0 0 5px rgba(255, 79, 163, .10),
        0 0 25px rgba(255, 79, 163, .38);

    animation:
        avatarGlow 3s ease-in-out infinite;
}

@keyframes avatarGlow {
    0%,
    100% {
        box-shadow:
            0 0 0 5px rgba(255, 79, 163, .08),
            0 0 18px rgba(255, 79, 163, .25);
    }

    50% {
        box-shadow:
            0 0 0 7px rgba(255, 79, 163, .13),
            0 0 32px rgba(255, 79, 163, .48);
    }
}


/* =========================================================
   PROFILE SECTION TITLES
   ========================================================= */

.jg-profile-section {
    margin-top: 18px;
}

.jg-profile-section-title {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 10px;
}

.jg-profile-section-title strong {
    color: #ffffff;

    font-size: 14px;
}

.jg-profile-section-title span {
    color: var(--pink-light);

    font-size: 10px;
}


/* =========================================================
   PROFILE SYMBOL GRID
   ========================================================= */

.jg-profile-symbol-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 9px;
}

.jg-profile-symbol {
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            rgba(255, 139, 197, .12),
            rgba(255, 79, 163, .035)
        );

    color: #ff9dcc;

    border: 1px solid rgba(255, 139, 197, .25);

    border-radius: 13px;

    font-size: 23px;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.jg-profile-symbol:active {
    transform: scale(.95);
}

.jg-profile-symbol:hover {
    background:
        rgba(255, 79, 163, .16);

    color: #ffffff;

    border-color: var(--pink);

    transform: translateY(-2px);

    box-shadow:
        0 7px 20px rgba(255, 79, 163, .12);
}

.jg-profile-symbol.selected {
    background:
        linear-gradient(
            145deg,
            #ff8bc5,
            #ff4fa3
        );

    color: #ffffff;

    border-color: #ffb5d8;

    box-shadow:
        0 0 0 2px rgba(255, 79, 163, .18),
        0 0 22px rgba(255, 79, 163, .30);
}

.jg-profile-symbol wa-icon {
    font-size: 23px;

    color: inherit;
}


/* =========================================================
   ACHIEVEMENTS
   ========================================================= */

.jg-achievement-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 8px;
}

.jg-achievement-item {
    min-height: 82px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 5px;

    padding: 9px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 139, 197, .09),
            rgba(255, 79, 163, .025)
        );

    color: #b997a8;

    border: 1px solid rgba(255, 139, 197, .18);

    border-radius: 13px;

    text-align: center;

    transition:
        transform .22s ease,
        background .22s ease,
        border-color .22s ease;
}

.jg-achievement-item strong {
    font-size: 11px;
}

.jg-achievement-item small {
    font-size: 9px;
}

.jg-achievement-item:hover {
    transform: translateY(-2px);

    background:
        rgba(255, 79, 163, .11);

    border-color:
        rgba(255, 139, 197, .4);
}

.jg-achievement-item.completed {
    background:
        linear-gradient(
            145deg,
            rgba(255, 139, 197, .18),
            rgba(255, 79, 163, .07)
        );

    color: #ffb5d8;

    border-color:
        rgba(255, 79, 163, .42);

    box-shadow:
        inset 0 0 18px rgba(255, 79, 163, .05);
}

.jg-achievement-item.completed strong {
    color: var(--pink-light);
}


/* =========================================================
   TOURNAMENT
   ========================================================= */

.jg-tournament-box {
    margin-top: 18px;

    padding: 15px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 139, 197, .09),
            #252525
        );

    border: 1px solid rgba(255, 139, 197, .24);

    border-radius: 16px;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, .22);
}

.jg-tournament-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 13px;
}

.jg-tournament-title strong {
    color: #d0d0d0;

    font-size: 14px;
}

.jg-tournament-title span {
    color: var(--pink-light);

    font-size: 10px;
}


/* =========================================================
   TOP MEMBERS
   ========================================================= */

.jg-top-members {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.jg-top-member {
    min-height: 55px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 9px 10px;

    background:
        linear-gradient(
            90deg,
            rgba(255, 139, 197, .07),
            #292929
        );

    border: 1px solid rgba(255, 139, 197, .15);

    border-radius: 11px;

    transition:
        transform .22s ease,
        border-color .22s ease,
        background .22s ease;
}

.jg-top-member:hover {
    transform: translateX(-2px);

    background:
        rgba(255, 79, 163, .10);

    border-color:
        rgba(255, 79, 163, .35);
}

.jg-top-rank {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    font-size: 11px;
    font-weight: 900;
}

.jg-top-member:nth-child(1) .jg-top-rank {
    background: #c6a968;
    color: #1d1d1d;

    border: 1px solid #e1c87f;
}

.jg-top-member:nth-child(2) .jg-top-rank {
    background: #bdbdbd;
    color: #222;

    border: 1px solid #e5e5e5;
}

.jg-top-member:nth-child(3) .jg-top-rank {
    background: #9d765d;
    color: #211914;

    border: 1px solid #c69b7d;
}

.jg-top-member:nth-child(n+4) .jg-top-rank {
    background: #555;
    color: #ddd;

    border: 1px solid #777;
}

.jg-top-member-info {
    flex: 1;

    display: flex;
    flex-direction: column;

    gap: 2px;
}

.jg-top-member-info strong {
    color: #ddd;

    font-size: 12px;
}

.jg-top-member-info small {
    color: #858585;

    font-size: 9px;
}

.jg-top-member-count {
    color: var(--pink-light);

    font-size: 11px;
    font-weight: bold;
}

.jg-view-all-members {
    width: 100%;

    height: 43px;

    margin-top: 9px;

    background: transparent;

    color: var(--pink-light);

    border: 1px dashed rgba(255,79,163,.35);

    border-radius: 10px;

    font-size: 11px;
    font-weight: bold;
}


/* =========================================================
   FULL MEMBERS PAGE
   ========================================================= */

.jg-full-members-page {
    padding-bottom: 35px;
}

.jg-full-members-list {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.jg-full-member {
    display: flex;
    align-items: center;

    gap: 10px;

    min-height: 58px;

    padding: 10px 11px;

    background: #333;

    border: 1px solid #484848;

    border-radius: 12px;
}

.jg-full-member-rank {
    width: 31px;
    height: 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: #777;

    color: #080808;

    border: 1px solid white;

    border-radius: 50%;

    font-size: 10px;
    font-weight: 900;
}

.jg-full-member-info {
    flex: 1;

    display: flex;
    flex-direction: column;

    gap: 3px;
}

.jg-full-member-info strong {
    color: #dedede;

    font-size: 12px;
}

.jg-full-member-info small {
    color: #8c8c8c;

    font-size: 9px;
}

.jg-full-member-count {
    color: var(--pink-light);

    font-size: 12px;
    font-weight: bold;
}


/* =========================================================
   LEVEL BAR
   ========================================================= */

.jg-level-bar {
    position: relative;

    display: flex;
    align-items: center;

    justify-content: space-between;

    gap: 3px;

    margin: 8px 0 20px;

    padding: 8px 5px;

    background: #3b3b3b;

    border: 1px solid #626262;

    border-radius: 14px;
}

.jg-level-bar::before {
    content: "";

    position: absolute;

    right: 20px;
    left: 20px;

    top: 50%;

    height: 2px;

    background: #777;

    transform: translateY(-50%);
}

.jg-level {
    position: relative;

    z-index: 2;

    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 5px;

    min-width: 45px;
}

.jg-level-circle {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #777;

    color: #111;

    border: 2px solid white;

    border-radius: 50%;

    font-size: 8px;
    font-weight: bold;

    text-align: center;
}

.jg-level.active .jg-level-circle {
    background: var(--pink);

    color: white;

    border-color: var(--pink-light);

    box-shadow:
        0 0 0 3px rgba(255,79,163,.15),
        0 0 16px rgba(255,79,163,.15);
}

.jg-level small {
    color: #999;

    font-size: 7px;

    white-space: nowrap;
}

.jg-level.active small {
    color: var(--pink-light);
}


/* =========================================================
   MEMBER LEVEL BADGE
   ========================================================= */

.jg-member-level {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 58px;

    height: 25px;

    padding: 0 6px;

    background: #777;

    color: #080808;

    border: 1px solid white;

    border-radius: 20px;

    font-size: 8px;
    font-weight: bold;

    white-space: nowrap;
}

.jg-member-level.active {
    background: var(--pink);

    color: white;

    border-color: var(--pink-light);

    box-shadow:
        0 0 10px rgba(255,79,163,.14);
}


/* =========================================================
   LINKS / CHANNELS
   ========================================================= */

#linksContainer {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.jg-channels-list {
    display: flex;
    flex-direction: column;

    gap: 9px;
}

.jg-channel-card {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 13px;

    background: var(--black-2);
    color: var(--white);

    border: 1px solid var(--border);
    border-radius: 15px;

    text-align: right;

    transition: var(--transition);
}

.jg-channel-card:hover {
    background: var(--black-3);

    border-color: var(--pink-border);
}

.jg-channel-avatar {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--white);
    color: var(--black);

    border-radius: 11px;

    font-size: 18px;
    font-weight: 900;
}

.jg-channel-info {
    flex: 1;

    display: flex;
    flex-direction: column;

    gap: 3px;

    min-width: 0;
}

.jg-channel-info strong {
    font-size: 13px;
}

.jg-channel-info small {
    color: var(--gray-5);

    font-size: 10px;
}

.jg-channel-members {
    color: var(--gray-5);

    font-size: 10px;
}

.jg-channel-arrow {
    color: var(--gray-5);

    font-size: 18px;
}


/* =========================================================
   ADMIN
   ========================================================= */

.jg-admin-page {
    padding-bottom: 35px;
}

.jg-admin-panel {
    display: flex;
    flex-direction: column;

    gap: 10px;
}

.jg-admin-card {
    width: 100%;

    padding: 15px;

    background: var(--black-2);

    border: 1px solid var(--border);
    border-radius: 16px;
}

.jg-admin-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 13px;
}

.jg-admin-card-header strong {
    font-size: 14px;
}

.jg-admin-card-header span {
    color: var(--gray-5);

    font-size: 10px;
}

.jg-admin-ad {
    padding: 13px;

    background: #151515;

    border: 1px solid #292929;

    border-radius: 13px;

    margin-bottom: 8px;
}

.jg-admin-ad:last-child {
    margin-bottom: 0;
}

.jg-admin-ad-top {
    display: flex;
    align-items: center;

    gap: 10px;
}

.jg-admin-ad-info {
    flex: 1;

    display: flex;
    flex-direction: column;

    gap: 3px;
}

.jg-admin-ad-info strong {
    font-size: 13px;
}

.jg-admin-ad-info small {
    color: var(--gray-5);

    font-size: 10px;
}

.jg-admin-status {
    padding: 4px 7px;

    border-radius: 7px;

    font-size: 9px;
}

.jg-admin-status.pending {
    background: rgba(168,85,247,.12);
    color: var(--purple);

    border: 1px solid rgba(168,85,247,.25);
}

.jg-admin-status.approved {
    background: rgba(34,197,94,.12);
    color: var(--green);

    border: 1px solid rgba(34,197,94,.25);
}

.jg-admin-status.rejected {
    background: rgba(239,68,68,.12);
    color: var(--red);

    border: 1px solid rgba(239,68,68,.25);
}

.jg-admin-actions {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 7px;

    margin-top: 11px;
}

.jg-admin-actions button {
    height: 40px;

    border-radius: 9px;

    font-size: 11px;
    font-weight: bold;
}

.jg-admin-approve {
    background: var(--green);
    color: #000;
}

.jg-admin-reject {
    background: rgba(239,68,68,.12);
    color: var(--red);

    border: 1px solid rgba(239,68,68,.3) !important;
}


.jg-profile-open-icon {
    flex-shrink: 0;
}


.bottom-nav {
    position: fixed;

    z-index: 100;

    bottom: 10px;
    left: 50%;

    transform: translateX(-50%);

    width: min(
        calc(100% - 18px),
        540px
    );

    height: 68px;

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    padding: 5px;

    background: rgba(15,15,15,.97);

    border: 1px solid var(--border);

    border-radius: 17px;

    box-shadow:
        0 10px 35px rgba(0,0,0,.5);

    backdrop-filter: blur(14px);
}

.nav-item {
    position: relative;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 4px;

    background: transparent;

    color: var(--gray-4);

    border-radius: 12px;

    font-size: 10px;

    transition:
        background .22s ease,
        color .22s ease,
        transform .22s ease;
}

.nav-item span {
    font-size: 19px;

    line-height: 1;

    transition:
        color .22s ease,
        transform .22s ease,
        filter .22s ease;
}


/* ACTIVE = LIGHT PINK BACKGROUND + WHITE TEXT */

.nav-item.active {
    background: rgba(255, 139, 197, .20);

    color: #ffffff;

    border: 1px solid rgba(255, 139, 197, .40);

    box-shadow:
        0 0 16px rgba(255, 79, 163, .10);
}

.nav-item.active span {
    color: #ffffff;

    transform: translateY(-1px);

    filter:
        drop-shadow(
            0 0 5px rgba(255,79,163,.55)
        );
}

.nav-item:active {
    transform: scale(.95);
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-3);

    border-radius: 4px;
}

@media (max-width: 390px) {

    body {
        font-size: 14px;
    }

    .page {
        padding-left: 12px;
        padding-right: 12px;
    }

    .jg-home-header {
        padding-left: 12px;
        padding-right: 12px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .channel-type-grid {
        grid-template-columns: 1fr;
    }

    .ads-role-grid {
        grid-template-columns: 1fr;
    }

    .jg-brand h1 {
        font-size: 29px;
    }

    .page-heading h1 {
        font-size: 24px;
    }

    .bottom-nav {
        width: calc(100% - 12px);

        bottom: 6px;
    }

    .jg-profile-symbol-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .jg-profile-symbol {
        height: 56px;

        font-size: 20px;
    }

    .jg-profile-symbol wa-icon {
        font-size: 20px;
    }

    .jg-achievement-grid {
        gap: 6px;
    }

    .jg-achievement-item {
        min-height: 76px;
    }

    .jg-level {
        min-width: 40px;
    }

    .jg-level-circle {
        width: 38px;
        height: 38px;

        font-size: 7px;
    }

    .jg-level small {
        font-size: 6px;
    }

    .jg-profile-open {
        padding: 14px;
    }

    .jg-profile-open-icon {
        width: 43px;
        height: 43px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
/* ================================
   PROFILE OPEN CARD
================================ */

.profile-open-card {
    position: relative;
    width: 100%;
    min-height: 82px;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 16px 18px;

    border: 1px solid rgba(255, 77, 166, 0.20);
    border-radius: 24px;

    background:
        linear-gradient(
            90deg,
            rgba(255, 70, 165, 0.12),
            rgba(255, 70, 165, 0.04) 45%,
            rgba(255, 255, 255, 0.025)
        );

    box-shadow:
        -35px 0 55px rgba(255, 64, 163, 0.16),
        0 12px 35px rgba(0, 0, 0, 0.25);

    color: #fff;
    cursor: pointer;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.profile-open-card::before {
    content: "";
    position: absolute;

    top: 0;
    bottom: 0;
    left: -20%;

    width: 65%;

    background: linear-gradient(
        90deg,
        rgba(255, 67, 164, 0.20),
        transparent
    );

    filter: blur(22px);
    pointer-events: none;
}

.profile-open-card:hover {
    transform: translateY(-2px);

    border-color: rgba(255, 77, 166, 0.42);

    box-shadow:
        -45px 0 70px rgba(255, 64, 163, 0.23),
        0 18px 42px rgba(0, 0, 0, 0.30);
}

.profile-open-card:active {
    transform: scale(0.985);
}

.profile-open-icon {
    position: relative;
    z-index: 1;

    width: 50px;
    height: 50px;

    flex: 0 0 50px;

    display: grid;
    place-items: center;

    border-radius: 18px;

    background: rgba(255, 72, 165, 0.12);
    border: 1px solid rgba(255, 72, 165, 0.25);

    color: #ff65b1;

    box-shadow:
        0 0 24px rgba(255, 72, 165, 0.16);
}

.profile-open-card > div:nth-child(2) {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;

    flex: 1;
}

.profile-open-card > div:nth-child(2) span {
    display: none;
}

.profile-open-card > div:nth-child(2) strong {
    font-size: 16px;
    font-weight: 800;
}

.profile-open-card > b {
    position: relative;
    z-index: 1;

    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.05);
    color: #ff69b3;

    font-size: 18px;
}
/* ================================
   FLOURISH CHANNELS
   Pink + White
================================ */

.fl-channel-section {
  margin-top: 16px;
}


/* کارت افزودن */

.fl-add-channel-card {
  position: relative;
  overflow: hidden;

  display: flex;
  align-items: center;
  gap: 13px;

  padding: 16px;

  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #fff7fb 100%
  );

  border: 1px solid #ffd5e7;
  border-radius: 22px;

  box-shadow:
    0 8px 25px rgba(236, 72, 153, 0.08);
}

.fl-add-channel-card::after {
  content: "";

  position: absolute;
  width: 120px;
  height: 120px;

  left: -55px;
  top: -65px;

  border-radius: 50%;

  background: rgba(236, 72, 153, 0.07);
}


/* آیکن */

.fl-add-icon {
  position: relative;
  z-index: 1;

  width: 48px;
  height: 48px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 15px;

  background: linear-gradient(
    135deg,
    #ec4899,
    #f472b6
  );

  color: #fff;

  font-size: 20px;

  box-shadow:
    0 7px 17px rgba(236, 72, 153, 0.25);
}


/* متن */

.fl-add-text {
  position: relative;
  z-index: 1;

  flex: 1;
  min-width: 0;
}

.fl-add-text strong {
  display: block;

  color: #30242b;

  font-size: 14px;
  font-weight: 900;

  margin-bottom: 4px;
}

.fl-add-text span {
  display: block;

  color: #a78b98;

  font-size: 11px;
}


/* دکمه */

.fl-add-btn {
  position: relative;
  z-index: 2;

  border: none;
  outline: none;

  cursor: pointer;

  padding: 10px 16px;

  border-radius: 13px;

  background: #fff;

  border: 1px solid #f3a9c9;

  color: #df3d88;

  font-family: inherit;

  font-size: 11px;
  font-weight: 900;

  transition: .2s ease;
}

.fl-add-btn:hover {
  background: #ec4899;
  color: #fff;

  border-color: #ec4899;

  transform: translateY(-1px);
}

.fl-add-btn:active {
  transform: scale(.96);
}


/* عنوان لیست */

.fl-channel-list-title {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin: 20px 4px 10px;
}

.fl-channel-list-title strong {
  color: #30242b;

  font-size: 13px;
  font-weight: 900;
}

.fl-channel-list-title span {
  color: #bd8fa6;

  font-size: 10px;
}


/* لیست */

.fl-channel-list {
  display: flex;
  flex-direction: column;

  gap: 9px;
}


/* ردیف کانال */

.fl-channel-row {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(100px, .8fr)
    70px;

  align-items: center;

  gap: 10px;

  min-height: 68px;

  padding: 9px 11px;

  background: #fff;

  border: 1px solid #f7d6e5;

  border-radius: 19px;

  box-shadow:
    0 6px 18px rgba(236, 72, 153, 0.055);

  transition: .2s ease;
}

.fl-channel-row:hover {
  border-color: #f1a4c7;

  box-shadow:
    0 9px 22px rgba(236, 72, 153, 0.10);
}


/* ================================
   سمت راست — اسم کانال
================================ */

.fl-channel-name {
  min-width: 0;

  display: flex;
  align-items: center;

  gap: 9px;

  text-align: right;
}

.fl-channel-avatar {
  width: 38px;
  height: 38px;

  flex: 0 0 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: linear-gradient(
    135deg,
    #f9a8d4,
    #ec4899
  );

  color: #fff;

  font-size: 14px;
  font-weight: 900;
}

.fl-channel-name-info {
  min-width: 0;
}

.fl-channel-name-info strong {
  display: block;

  color: #30242b;

  font-size: 12px;
  font-weight: 900;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;
}

.fl-channel-name-info small {
  display: block;

  margin-top: 3px;

  color: #b18b9d;

  font-size: 9px;
}


/* ================================
   وسط — آیدی کانال
================================ */

.fl-channel-id {
  min-width: 0;

  text-align: center;

  direction: ltr;

  overflow: hidden;
}

.fl-channel-id span {
  display: inline-block;

  max-width: 100%;

  padding: 6px 9px;

  border-radius: 9px;

  background: #fff5fa;

  border: 1px solid #fbd9e8;

  color: #d83f88;

  font-size: 10px;
  font-weight: 800;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;
}


/* ================================
   سمت چپ — ممبر
================================ */

.fl-channel-members {
  text-align: center;
}

.fl-channel-members strong {
  display: block;

  color: #30242b;

  font-size: 12px;
  font-weight: 900;
}

.fl-channel-members span {
  display: block;

  margin-top: 3px;

  color: #b58da1;

  font-size: 9px;
}


/* موبایل */

@media (max-width: 430px) {

  .fl-add-channel-card {
    padding: 13px;

    gap: 9px;
  }

  .fl-add-icon {
    width: 43px;
    height: 43px;

    flex-basis: 43px;

    border-radius: 13px;
  }

  .fl-add-text strong {
    font-size: 13px;
  }

  .fl-add-text span {
    font-size: 10px;
  }

  .fl-add-btn {
    padding: 9px 12px;
  }

  .fl-channel-row {
    grid-template-columns:
      minmax(0, 1fr)
      88px
      58px;

    gap: 6px;

    padding: 8px;
  }

  .fl-channel-avatar {
    width: 35px;
    height: 35px;

    flex-basis: 35px;
  }

  .fl-channel-name-info strong {
    font-size: 11px;
  }

  .fl-channel-id span {
    font-size: 9px;

    padding: 5px 6px;
  }

  .fl-channel-members strong {
    font-size: 11px;
  }
}
