/* =========================================================
   🏠 HOME PAGE — Hunter Style
   ========================================================= */

/* ═══ پس‌زمینه ═══ */
body:has(.home-hero),
.app:has(.home-hero) {
    background: #0f1117 !important;
    min-height: 100vh;
}

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */

.app:has(.home-hero) .header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 6px 0 18px !important;
    margin-bottom: 8px !important;
    border-bottom: none !important;
}

.app:has(.home-hero) .header::after {
    display: none !important;
}

.app:has(.home-hero) .logo {
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
}

.app:has(.home-hero) .header-logo-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    background: #1a1d24 !important;
    border: 1px solid rgba(255,255,255,.06) !important;
    color: #f5c453 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
    animation: none !important;
    box-shadow: none !important;
    position: relative !important;
}

.app:has(.home-hero) .header-logo-icon::before,
.app:has(.home-hero) .header-logo-icon::after {
    display: none !important;
}

.app:has(.home-hero) .header-logo-icon svg {
    filter: none !important;
    color: #f5c453 !important;
    position: static !important;
}

.app:has(.home-hero) .logo h1 {
    font-family: inherit !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #f0f2f7 !important;
    letter-spacing: 0 !important;
    margin: 0 !important;
    line-height: 1.1 !important;
}

.app:has(.home-hero) .logo span {
    font-family: inherit !important;
    font-size: 10.5px !important;
    color: #8b95a8 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    display: block !important;
    margin-top: 3px !important;
}

/* دکمه نوتیفیکیشن */
.app:has(.home-hero) .notification-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    background: #1a1d24 !important;
    border: 1px solid rgba(255,255,255,.06) !important;
    color: #e4e7ee !important;
    transition: .18s !important;
    position: relative !important;
}

.app:has(.home-hero) .notification-btn::after {
    content: '' !important;
    position: absolute !important;
    top: 10px !important;
    right: 11px !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #ef4444 !important;
    border: 1.5px solid #1a1d24 !important;
    box-shadow: none !important;
    animation: none !important;
}

.app:has(.home-hero) .notification-btn:hover {
    background: #252932 !important;
    border-color: rgba(255,255,255,.12) !important;
    color: #f0f2f7 !important;
}

/* ═══════════════════════════════════════════════════════════
   HOME HERO (کارت خوش‌آمد)
   ═══════════════════════════════════════════════════════════ */

.home-hero {
    background: #1a1d24 !important;
    border: 1px solid rgba(255,255,255,.06) !important;
    border-radius: 18px !important;
    box-shadow: none !important;
    padding: 16px 16px 18px !important;
    margin: 4px 0 14px !important;
    position: relative !important;
    overflow: hidden !important;
}

/* حذف تزئینات قبلی */
.home-hero-blob,
.home-hero-dots,
.home-hero-dot {
    display: none !important;
}

.home-hero::before,
.home-hero::after {
    display: none !important;
}

.home-hero-content {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    position: relative !important;
    z-index: 1 !important;
}

/* آواتار */
.home-avatar {
    position: relative !important;
    width: 56px !important;
    height: 56px !important;
    flex-shrink: 0 !important;
}

.home-avatar-ring {
    background: transparent !important;
    padding: 0 !important;
    animation: none !important;
    position: static !important;
    inset: auto !important;
}

.home-avatar-inner {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    background: #252932 !important;
    border: 2px solid rgba(255,255,255,.08) !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #8b95a8 !important;
    position: static !important;
    box-shadow: 0 0 0 3px rgba(15,17,23,.5) !important;
}

.home-avatar-inner img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.home-avatar-online {
    position: absolute !important;
    bottom: 2px !important;
    right: 2px !important;
    width: 13px !important;
    height: 13px !important;
    background: #22c55e !important;
    border: 2.5px solid #1a1d24 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    animation: none !important;
}

/* متن‌های hero */
.home-hero-text {
    flex: 1 !important;
    min-width: 0 !important;
}

.home-hero-hello {
    display: inline-block !important;
    background: rgba(245,196,83,.12) !important;
    border: 1px solid rgba(245,196,83,.25) !important;
    color: #f5c453 !important;
    font-family: inherit !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    border-radius: 8px !important;
    letter-spacing: 0 !important;
    margin-bottom: 6px !important;
}

.home-hero-name {
    font-family: inherit !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #f0f2f7 !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
    margin: 2px 0 4px !important;
    line-height: 1.25 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.home-hero-sub {
    font-family: inherit !important;
    font-size: 11.5px !important;
    color: #8b95a8 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    line-height: 1.5 !important;
}

.home-hero-sub svg {
    color: #f5c453 !important;
    filter: none !important;
}

/* ═══════════════════════════════════════════════════════════
   HOME WALLET
   ═══════════════════════════════════════════════════════════ */

.home-wallet {
    background: #1a1d24 !important;
    border: 1px solid rgba(255,255,255,.06) !important;
    border-radius: 18px !important;
    box-shadow: none !important;
    padding: 18px 16px 16px !important;
    margin-bottom: 18px !important;
    position: relative !important;
    overflow: hidden !important;
}

.home-wallet::before,
.home-wallet::after {
    display: none !important;
}

.home-wallet-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 8px !important;
}

.home-wallet-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    font-family: inherit !important;
    font-size: 12px !important;
    color: #8b95a8 !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
}

.home-wallet-label .wl-dot {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: #22c55e !important;
    box-shadow: 0 0 6px rgba(34,197,94,.6) !important;
    animation: none !important;
}

.home-wallet-chip-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 11px !important;
    background: rgba(245,196,83,.12) !important;
    border: none !important;
    color: #f5c453 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    animation: none !important;
}

.home-wallet-chip-icon svg {
    width: 18px !important;
    height: 18px !important;
}

.home-wallet-amount {
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
    direction: rtl !important;
    font-family: inherit !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    color: #f5c453 !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
    margin-bottom: 12px !important;
    line-height: 1.1 !important;
    font-variant-numeric: tabular-nums !important;
}

.home-wallet-amount small {
    font-size: 12.5px !important;
    color: #8b95a8 !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
}

.home-wallet-cardnum {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 12px !important;
    margin-top: 6px !important;
    border-top: 1px solid rgba(255,255,255,.05) !important;
    font-size: 11px !important;
    color: #5b6478 !important;
    direction: ltr !important;
    font-family: inherit !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
}

.home-wallet-cardnum .dots {
    letter-spacing: 1.5px !important;
    font-size: 13px !important;
    color: #5b6478 !important;
}

.home-wallet-cardnum .id {
    color: #8b95a8 !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    letter-spacing: 0 !important;
}

.home-wallet-btn {
    width: 100% !important;
    margin-top: 14px !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    background: #f5c453 !important;
    color: #1a1d24 !important;
    border: none !important;
    font-family: inherit !important;
    font-weight: 800 !important;
    font-size: 12.5px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    box-shadow: none !important;
    transition: .18s !important;
}

.home-wallet-btn:hover,
.home-wallet-btn:active {
    background: #e0b13e !important;
    transform: scale(.98) !important;
    box-shadow: none !important;
}

.home-wallet-btn svg {
    filter: none !important;
    color: #1a1d24 !important;
    width: 15px !important;
    height: 15px !important;
}


/* ═══════════════════════════════════════════════════════════
   HOME SECTION TITLE
   ═══════════════════════════════════════════════════════════ */

.app:has(.home-hero) .home-section-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 4px 2px 12px !important;
}

.app:has(.home-hero) .home-section-title h3 {
    font-family: inherit !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #f0f2f7 !important;
    letter-spacing: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 0 !important;
}

.app:has(.home-hero) .home-section-title h3 svg {
    color: #f5c453 !important;
    filter: none !important;
    width: 15px !important;
    height: 15px !important;
}

.app:has(.home-hero) .home-section-title .line {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════
   HOME MENU GRID
   ═══════════════════════════════════════════════════════════ */

.app:has(.home-hero) .home-menu-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
}

.app:has(.home-hero) .home-menu-card {
    background: #1a1d24 !important;
    border: 1px solid rgba(255,255,255,.06) !important;
    border-radius: 16px !important;
    padding: 14px 14px 12px !important;
    min-height: 118px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    text-align: right !important;
    transition: .18s !important;
    box-shadow: none !important;
    position: relative !important;
    overflow: hidden !important;
    animation: none !important;
}

.app:has(.home-hero) .home-menu-card::before,
.app:has(.home-hero) .home-menu-card::after {
    display: none !important;
}

.app:has(.home-hero) .home-menu-card:hover,
.app:has(.home-hero) .home-menu-card:active {
    background: #1e2128 !important;
    border-color: rgba(255,255,255,.12) !important;
    transform: none !important;
}

/* حذف گرادیانت‌های رنگی قبلی */
.app:has(.home-hero) .home-menu-card.movies,
.app:has(.home-hero) .home-menu-card.packages,
.app:has(.home-hero) .home-menu-card.account,
.app:has(.home-hero) .home-menu-card.custompack {
    background: #1a1d24 !important;
}

/* آیکون منو */
.app:has(.home-hero) .home-menu-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(245,196,83,.12) !important;
    border: none !important;
    color: #f5c453 !important;
    animation: none !important;
    box-shadow: none !important;
    margin-bottom: auto !important;
}

.app:has(.home-hero) .home-menu-icon svg {
    filter: none !important;
    color: inherit !important;
    width: 22px !important;
    height: 22px !important;
}

/* رنگ آیکون هر کارت */
.app:has(.home-hero) .home-menu-card.movies .home-menu-icon {
    background: rgba(239,68,68,.12) !important;
    color: #f87171 !important;
}

.app:has(.home-hero) .home-menu-card.packages .home-menu-icon {
    background: rgba(245,196,83,.12) !important;
    color: #f5c453 !important;
}

.app:has(.home-hero) .home-menu-card.account .home-menu-icon {
    background: rgba(96,165,250,.12) !important;
    color: #60a5fa !important;
}

.app:has(.home-hero) .home-menu-card.custompack .home-menu-icon {
    background: rgba(52,211,153,.12) !important;
    color: #34d399 !important;
}

/* متن منو */
.app:has(.home-hero) .home-menu-info {
    margin-top: 12px !important;
}

.app:has(.home-hero) .home-menu-info h4 {
    font-family: inherit !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #f0f2f7 !important;
    letter-spacing: 0 !important;
    margin: 0 0 4px !important;
    line-height: 1.3 !important;
}

.app:has(.home-hero) .home-menu-info p {
    font-family: inherit !important;
    font-size: 10.5px !important;
    color: #8b95a8 !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* فلش گوشه */
.app:has(.home-hero) .home-menu-arrow {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    font-size: 14px !important;
    color: #5b6478 !important;
    opacity: 1 !important;
    z-index: 1 !important;
}

.app:has(.home-hero) .home-menu-card:hover .home-menu-arrow,
.app:has(.home-hero) .home-menu-card:active .home-menu-arrow {
    color: #f5c453 !important;
    transform: none !important;
}

/* بج «جدید» */
.app:has(.home-hero) .home-menu-badge {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    background: #ef4444 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-family: inherit !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    padding: 3px 8px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: none !important;
    animation: none !important;
}

/* ═══════════════════════════════════════════════════════════
   HOME QUICK CHIPS
   ═══════════════════════════════════════════════════════════ */

.app:has(.home-hero) .home-quick {
    display: flex !important;
    gap: 7px !important;
    margin-top: 4px !important;
    padding: 2px 2px 6px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    animation: none !important;
}

.app:has(.home-hero) .home-quick::-webkit-scrollbar {
    display: none !important;
}

.app:has(.home-hero) .home-quick-chip {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 9px 13px !important;
    border-radius: 10px !important;
    background: #1a1d24 !important;
    border: 1px solid rgba(255,255,255,.06) !important;
    color: #e4e7ee !important;
    font-family: inherit !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    cursor: pointer !important;
    transition: .18s !important;
    white-space: nowrap !important;
}

.app:has(.home-hero) .home-quick-chip:hover,
.app:has(.home-hero) .home-quick-chip:active {
    background: #252932 !important;
    border-color: rgba(255,255,255,.12) !important;
    color: #f0f2f7 !important;
    transform: none !important;
}

.app:has(.home-hero) .home-quick-chip svg {
    color: #f5c453 !important;
    filter: none !important;
    width: 15px !important;
    height: 15px !important;
}

/* ═══════════════════════════════════════════════════════════
   BOTTOM NAV
   ═══════════════════════════════════════════════════════════ */

.app:has(.home-hero) .bottom-nav {
    background: #0f1117 !important;
    border-top: 1px solid rgba(255,255,255,.05) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    padding: 10px 8px calc(16px + env(safe-area-inset-bottom)) !important;
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    gap: 4px !important;
}

.app:has(.home-hero) .bottom-nav::before,
.app:has(.home-hero) .bottom-nav::after {
    display: none !important;
}

.app:has(.home-hero) .nav-item {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 3px !important;
    padding: 8px 6px !important;
    border-radius: 14px !important;
    background: transparent !important;
    border: none !important;
    color: #5b6478 !important;
    font-family: inherit !important;
    transition: .18s !important;
    position: relative !important;
    min-width: 0 !important;
}

.app:has(.home-hero) .nav-item .nav-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.app:has(.home-hero) .nav-item .nav-icon svg {
    width: 22px !important;
    height: 22px !important;
    filter: none !important;
    transform: none !important;
    transition: .18s !important;
}

.app:has(.home-hero) .nav-item small {
    font-family: inherit !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    color: inherit !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.app:has(.home-hero) .nav-item:hover {
    color: #8b95a8 !important;
}

.app:has(.home-hero) .nav-item.active {
    color: #f0f2f7 !important;
    background: #1e2128 !important;
}

.app:has(.home-hero) .nav-item.active::after {
    display: none !important;
}

.app:has(.home-hero) .nav-item.active .nav-icon svg {
    filter: none !important;
    transform: none !important;
    color: #f5c453 !important;
}

.app:has(.home-hero) .nav-item.active small {
    color: #f0f2f7 !important;
}

/* ═══════════════════════════════════════════════════════════
   اسکرول بار
   ═══════════════════════════════════════════════════════════ */

.app:has(.home-hero) ::-webkit-scrollbar {
    width: 6px !important;
    height: 6px !important;
}

.app:has(.home-hero) ::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.1) !important;
    border-radius: 3px !important;
}

.app:has(.home-hero) ::-webkit-scrollbar-track {
    background: transparent !important;
}

