﻿/* ===== CSS TOKENS & DESIGN SYSTEM ===== */
:root {
  --header-bg: #0E0E12;
  --text-primary: #FFFFFF;
  --text-secondary: #B9BBC6;
  --accent: #FF0054;
  --accent-hover: #FF3366;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --container-max: 1536px;
  --header-height: 92px;
  --header-height-mobile: 60px;
}

/* ===== HEADER LAYOUT ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(135deg, rgb(0 0 0 / 34%), rgb(255 255 255 / 4%));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color var(--transition-base);
  overflow: visible;
  border-radius: 0px 0px 18px 18px;
}

/* РћС‚СЃС‚СѓРї РґР»СЏ РєРѕРЅС‚РµРЅС‚Р°, С‡С‚РѕР±С‹ С€Р°РїРєР° РЅРµ РЅР°РµР·Р¶Р°Р»Р° */
body {
  padding-top: var(--header-height);
}

.header.scrolled {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header__container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  height: var(--header-height);
  overflow: visible;
  display: flex;
  align-items: center;
}

.header_component {
    grid-gap: 34px;
    align-items: center;
    background: transparent;
    display: grid;
    gap: 34px;
    grid-template-columns: auto 1fr auto;
    height: 100%;
    padding: 0 26px;
    width: 100%;
    max-width: 100%;
    align-content: center
}

@media(max-width: 1349px) {
    .header_component {
        padding:0 16px
    }
}

@media(max-width: 1300px) {
    .header_component {
        grid-template-columns:auto 1fr
    }
}

@media(max-width: 900px) {
    .header_component {
        gap:18px;
        padding: 0 12px
    }
    
    .header {
        max-height: var(--header-height-mobile);
    }
    
    .header__container {
        height: var(--header-height-mobile);
        max-height: var(--header-height-mobile);
    }
    
    .header_component {
        height: var(--header-height-mobile);
        max-height: var(--header-height-mobile);
    }
    
    body {
        padding-top: var(--header-height-mobile);
    }
}

/* Header Left */
.header_left {
    grid-gap: 20px;
    align-items: center;
    display: grid;
    gap: 20px;
    grid-auto-flow: column;
    justify-content: left
}

@media(max-width: 1800px) {
    .header_left {
        gap:14px
    }
}

@media(max-width: 900px) {
    .header_left {
        gap:12px
    }
}

/* Gift Link */
.header_gift-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 35px;
    padding: 0px 20px 0px 0px;
    /* background: hsla(0,0%,100%,.06); */
    border-radius: 66px;
    /* color: hsla(0,0%,100%,.44); */
    text-decoration: none;
    transition: all .3s;
}

.header_gift-link:hover {
    background: hsla(0,0%,100%,.1);
    color: #fff;
}

.header_gift-link svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* РРєРѕРЅРєР° С…Р°Р»СЏРІС‹ РІ 2 СЂР°Р·Р° Р±РѕР»СЊС€Рµ */
.header_gift-link .header_gift-icon-img {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    object-fit: contain;
}

.header_gift-text {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    color: #fff;
    /* letter-spacing: 0.303px; */
}

.header_auction-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 7px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #ff2f86, #ff0054 58%, #d90049);
    box-shadow: 0 8px 18px rgba(255, 0, 84, .35);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

@media(max-width: 900px) {
    .header_gift-link {
        width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 12px;
    }
    
    .header_gift-link svg {
        width: 20px;
        height: 20px;
    }
    
    .header_gift-link .header_gift-icon-img {
        width: 40px;
        height: 40px;
    }
    
    .header_gift-text {
        display: none;
    }

    .header_gift-link .header_auction-badge {
        position: absolute;
        right: -5px;
        top: -5px;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        font-size: 11px;
    }
}

/* Header Logo */
.header_logo {
    background-repeat: no-repeat;
    background-size: 100%;
    height: 108px;
    width: 240px;
    display: flex;
    align-items: center;
    justify-content: center
}

.header_logo img {
    height: 108px;
    width: auto;
    max-width: 240px;
    object-fit: contain
}

@media(max-width: 1800px) {
    .header_logo {
        height: 94.5px;
        width: 210px
    }
    .header_logo img {
        height: 94.5px;
        max-width: 210px
    }
}

@media(max-width: 1349px) {
    .header_logo {
        height: 81px;
        width: 180px
    }
    .header_logo img {
        height: 81px;
        max-width: 180px
    }
}

@media(max-width: 900px) {
    .header_logo {
        height: 40px;
        width: auto;
        max-width: 120px;
    }
    .header_logo img {
        height: 40px;
        max-width: 120px
    }
}

/* Header Side */
.header_side {
    grid-gap: 22px;
    align-items: center;
    display: grid;
    gap: 22px;
    grid-auto-flow: column;
    justify-content: right
}

@media(max-width: 900px) {
    .header_side {
        gap:12px
    }

    .header_socials {
        display: none
    }
}

/* Header Socials */
.header_socials {
    display: block
}

/* Socials Component */
.socials_component {
    grid-gap: 8px;
    display: grid;
    gap: 8px;
    grid-auto-flow: column;
    justify-content: left
}

.socialItem_component {
    display: grid
}

.socialItem_link {
    align-items: center;
    background: hsla(0,0%,100%,.06);
    border-radius: 18px;
    display: grid;
    height: 50px;
    justify-content: center;
    transition: background-color .3s;
    width: 50px;
    text-decoration: none
}

.socialItem_link:hover {
    background: hsla(0,0%,100%,.063)
}

.socialItem_icon {
    height: 21px;
    width: 21px;
    color: hsla(0,0%,100%,.44);
    transition: color .3s, fill .3s
}

.socialItem_icon path {
    fill: currentColor;
    transition: fill .3s
}

.socialItem_link[href*="twitch"]:hover {
    background: rgba(145, 70, 255, 0.2)
}

.socialItem_link[href*="twitch"]:hover .socialItem_icon {
    color: #9146FF
}

.socialItem_link[href*="twitch"]:hover .socialItem_icon path {
    fill: #9146FF
}

.socialItem_link[href*="youtube"]:hover {
    background: rgba(255, 0, 0, 0.2)
}

.socialItem_link[href*="youtube"]:hover .socialItem_icon {
    color: #FF0000
}

.socialItem_link[href*="youtube"]:hover .socialItem_icon path {
    fill: #FF0000
}

.socialItem_link[href*="t.me"]:hover {
    background: rgba(0, 136, 204, 0.2)
}

.socialItem_link[href*="t.me"]:hover .socialItem_icon {
    color: #0088CC
}

.socialItem_link[href*="t.me"]:hover .socialItem_icon path {
    fill: #0088CC
}

/* Header Buttons */
.header_buttons {
    grid-gap: 16px;
    align-items: center;
    display: grid;
    gap: 16px;
    grid-auto-flow: column
}

@media(max-width: 900px) {
    .header_buttons {
        gap:8px
    }
    
    /* Sound row hidden on mobile вЂ” moved to bottom menu */
    .header_soundRow {
        display: none;
    }
    
    /* Gift links hidden on mobile вЂ” in burger drawer */
    .header_gift-link {
        display: none;
    }
}

.header_notificationsRow {
    position: relative
}

.header_notificationsRow:before {
    background: rgba(23,21,18,.9);
    content: "";
    height: 100%;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    transition: visibility .3s,opacity .3s;
    visibility: hidden;
    width: 100%;
    z-index: 9997
}

@media(max-width: 900px) {
    .header_notificationsRow:before {
        display:none
    }
}

.header_notificationsRow.header_faded:before {
    opacity: 1;
    visibility: visible
}

.header_button {
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center
}

@media(hover: hover) {
    .header_button:hover path {
        fill: #ffffff;
    }
}

.header_button.header_active path,.header_button:active path {
    fill: #d0bea6
}

.header_button:before {
    background: #ff0055;
    border-radius: 12px;
    content: "";
    height: 9px;
    opacity: 0;
    position: absolute;
    right: -4px;
    top: -4px;
    transition: opacity .3s;
    width: 9px;
}

.header_button.header_unread:before {
    opacity: 1
}

.header_buttonIcon {
    height: 22px;
    width: 22px;
    display: block;
    object-fit: contain;
}

.header_buttonIcon path {
    transition: fill .3s;
    fill: #ffffff70;
}

.header_button img.header_buttonIcon {
    height: 22px;
    width: 22px;
    display: block;
    object-fit: contain;
    opacity: .44;
    filter: brightness(0) invert(1);
    transition: opacity .3s, filter .3s;
}

@media(hover: hover) {
    .header_button:hover img.header_buttonIcon {
        opacity: 1;
        filter: brightness(0) invert(1);
    }
}

.header_button.header_active img.header_buttonIcon,
.header_button:active img.header_buttonIcon {
    opacity: .82;
}

.header_buttonIcon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header_buttonIcon--muted {
    opacity: 0.4;
}

.header_button--muted path {
    opacity: 0.4
}

.header_button--muted img.header_buttonIcon {
    opacity: 0.35;
}

/* Sound Row */
.header_soundRow {
    position: relative
}

/* Sound Tooltip */
.sound-tooltip {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 280px;
    background: rgb(12 28 35);
    border-radius: 16px;
    padding: 22px;
    z-index: 9998;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sound-tooltip__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sound-tooltip__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sound-tooltip__title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.sound-tooltip__body {
    display: flex;
    flex-direction: column;
}

.sound-tooltip__volumeRow {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 8px;
    align-items: center;
}

.sound-tooltip__volumeButton {
    display: grid;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.sound-tooltip__volumeButton:hover path {
    fill: #fff;
}

.sound-tooltip__volumeButton:hover .sound-tooltip__volumeIcon {
    opacity: 1;
    filter: brightness(0) invert(1);
}

.sound-tooltip__volumeButton.sound-tooltip__volumeButton--muted path {
    opacity: 0.4;
}

.sound-tooltip__volumeIcon {
    height: 22px;
    width: 22px;
    display: block;
    object-fit: contain;
    opacity: .72;
    filter: brightness(0) invert(1);
    transition: opacity .3s, filter .3s;
}

.sound-tooltip__volumeIcon path {
    fill: #c6b6bc;
    transition: fill .3s;
}

.sound-tooltip__volumeRange {
    background-color: #362a2a;
    border-radius: 4px;
    cursor: pointer;
    flex: 1 1;
    height: 8px;
    position: relative;
    --fill-width: 67%;
}

.sound-tooltip__volumeTrack {
    background-color: #36312a;
    border-radius: 4px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.sound-tooltip__volumeTrack:first-child {
    background: #ff0054;
    width: var(--fill-width, 67%);
    left: 0;
    right: auto;
}

.sound-tooltip__volumeTrack:nth-child(2) {
    display: none;
}

.sound-tooltip__volumeThumb {
    background: #ff0054;
    border-radius: 50%;
    height: 14px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    cursor: grab;
    touch-action: none;
    z-index: 1;
}

.sound-tooltip__volumeThumb:active {
    cursor: grabbing;
}

.sound-tooltip__volumeThumb:focus {
    outline: 2px solid #ffc23d;
    outline-offset: 2px;
}

/* User Component */
.user_component {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-direction: row;
    justify-content: flex-end;
}

@media(max-width: 900px) {
    .user_component {
        gap: 12px;
    }
}

.user_component:before {
    background: rgba(23,21,18,.9);
    content: "";
    height: 100%;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    transition: visibility .3s,opacity .3s;
    visibility: hidden;
    width: 100%;
    z-index: 9997
}

@media(max-width: 900px) {
    .user_component:before {
        display:none
    }
}

.user_component.user_faded:before {
    opacity: 1;
    visibility: visible
}

/* User Balance */
.user_balance {
    grid-gap: 10px;
    align-content: center;
    align-items: center;
    background: linear-gradient(307deg, #b9134d 3.2%, #E91E63 99.71%);
    border-radius: 14px;
    display: grid;
    gap: 10px;
    grid-auto-flow: column;
    overflow: hidden;
    padding: 0 14px 0 22px;
    position: relative;
    text-decoration: none
}

@media(max-width: 1349px) {
    .user_balance {
        border-radius:10px;
        gap: 7px;
        padding: 0 8px 0 16px
    }
}

.user_balance--desktop {
    display: grid;
}

/* Mobile balance in header */
.user_balance--mobile {
    display: none;
}

@media(max-width: 900px) {
    .user_balance--desktop {
        display: none;
    }
    .user_balance--mobile {
        display: grid;
        grid-auto-flow: column;
        align-items: center;
        gap: 6px;
        background: linear-gradient(307deg, #b9134d 3.2%, #E91E63 99.71%);
        border-radius: 10px;
        padding: 0 10px;
        text-decoration: none;
        position: relative;
    }
    .user_balance--mobile > span {
        display: flex;
        align-items: center;
        color: hsla(0,0%,100%,.9);
        font-size: 13px;
        font-weight: 700;
        height: 36px;
        position: relative;
        z-index: 2;
        gap: 3px;
    }
    .user_balance--mobile:before {
        background: linear-gradient(307deg, #d2285c 3.2%, #E91E63 99.71%);
        content: "";
        height: 100%;
        left: 0;
        opacity: 0;
        position: absolute;
        top: 0;
        transition: opacity .3s;
        width: 100%;
        border-radius: 10px;
    }
    .user_balance--mobile:hover:before { opacity: 1; }

    .header_side {
        gap:8px
    }

    .header_socials {
        display: none
    }

    /* Hide avatar on mobile вЂ” user accesses profile via drawer */
    .user_avatarLink--header {
        display: none;
    }
}

.user_balance.user_disabled {
    pointer-events: none
}

.user_balance:hover:before {
    opacity: 1
}

.user_balance:before {
    background: linear-gradient(307deg, #d2285c 3.2%, #E91E63 99.71%);
    content: "";
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: opacity .3s;
    width: 100%
}

.user_balance>span {
    align-items: center;
    border-right: 1px solid rgba(40,35,29,.27);
    color: hsla(0,0%,100%,.9);
    display: flex;
    font-size: 16px;
    font-weight: 800;
    height: 50px;
    padding-right: 16px;
    position: relative;
    text-shadow: 0 2px 1px rgba(137,65,14,.34);
    z-index: 2;
    gap: 4px
}

@media(max-width: 1349px) {
    .user_balance>span {
        font-size:15px;
        height: 46px
    }
}

.user_plusIcon {
    height: 24px;
    position: relative;
    transition: transform .3s;
    width: 24px;
    z-index: 2
}

.user_plusIcon path {
    fill: #fff
}

.user_balance:hover .user_plusIcon:not(.user_loginIcon) {
    transform: rotate(180deg)
}

/* User Avatar */
.user_avatarLink--header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    text-decoration: none;
    transition: transform .3s;
    flex-shrink: 0;
}

.user_avatarLink--header:hover {
    transform: scale(1.05);
}

.user_avatar--header {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: border-color .3s;
}

.user_avatarLink--header:hover .user_avatar--header {
    border-color: rgba(255, 255, 255, 0.2);
}

@media(max-width: 900px) {
    .user_avatarLink--header {
        width: 36px;
        height: 36px;
    }
    
    .user_avatar--header {
        border-width: 1px;
    }
}

/* Notification Tooltip Styles */
.notification-tooltip {
  position: absolute;
  right: 0;
  top: calc(100% + 44px);
  width: 390px;
  background: #2c1e23;
  border-radius: 16px;
  overflow: hidden;
  z-index: 9998;
  display: none;
}

.notification-tooltip__content {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 22px;
  gap: 22px;
}

.notification-tooltip__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  background: transparent;
}

.notification-tooltip__title {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
}

.notification-tooltip__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #ffffff17;
  border: none;
  border-radius: 31px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.notification-tooltip__close:hover {
  background: #ff195d26;
  color: var(--text-primary);
}

.notification-tooltip__body {
  flex: 1;
  overflow-y: auto;
  max-height: 350px;
  padding: 0;
}

.notification-tooltip__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: var(--text-secondary);
  font-size: 14px;
}

.notification-tooltip__error {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: var(--text-error);
  font-size: 14px;
}

.notification-tooltip__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}

.notification-tooltip__empty-icon {
  font-size: 32px;
  opacity: 0.5;
}

.notification-tooltip__empty p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.notification-tooltip__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notification-tooltip__item--unread {
  background: rgba(255, 0, 127, 0.1);
}

.notification-tooltip__item--unread:hover {
  background: rgba(255, 0, 127, 0.1);
}

.notification-tooltip__item--read {
  opacity: 0.7;
}

.notification-tooltip__item--read:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.05);
}

.notification-tooltip__item-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.notification-tooltip__icon-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 0, 127, 0.1);
  border-radius: 8px;
  color: var(--accent-primary);
}

.notification-tooltip__item--read .notification-tooltip__icon-bg {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.notification-tooltip__item-content {
  flex: 1;
  min-width: 0;
}

.notification-tooltip__item-title {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.notification-tooltip__item--read .notification-tooltip__item-title {
  color: var(--text-secondary);
}

.notification-tooltip__item-text {
  margin: 0 0 6px 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
  display: block;
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: all 0.3s ease;
}

.notification-tooltip__item:hover .notification-tooltip__item-text {
  display: block;
  overflow: visible;
  white-space: normal;
}

.notification-promo-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0 2px;
  padding: 8px 8px 8px 10px;
  border: 1px solid rgba(255, 0, 127, 0.28);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.16), rgba(20, 20, 28, 0.78));
}

.notification-promo-code__value {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  word-break: break-all;
}

.notification-promo-code__copy {
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  padding: 6px 9px;
  background: var(--accent-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}

.notification-promo-code__copy:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.notification-tooltip__item-time {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.notification-tooltip__footer {
  padding: 0;
  background: transparent;
}

.notification-tooltip__archive-btn {
  width: 100%;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notification-tooltip__archive-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.notification-tooltip__body::-webkit-scrollbar {
  width: 4px;
}

.notification-tooltip__body::-webkit-scrollbar-track {
  background: transparent;
}

.notification-tooltip__body::-webkit-scrollbar-thumb {
  background: var(--border-default);
  border-radius: 2px;
}

.notification-tooltip__body::-webkit-scrollbar-thumb:hover {
  background: var(--border-strong);
}

@media (max-width: 900px) {
  .notification-tooltip {
    position: fixed;
    right: 8px;
    left: 8px;
    top: calc(var(--header-height-mobile) + 8px);
    width: auto;
  }
  
  .notification-tooltip__body {
    max-height: 60vh;
  }
}

@media (max-width: 480px) {
  .notification-tooltip__header,
  .notification-tooltip__item,
  .notification-tooltip__footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .notification-tooltip__content {
    padding: 16px;
    gap: 16px;
  }
}

/* ===== MOBILE BOTTOM MENU ===== */
.mobile-bottom-menu {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 54px;
    background: linear-gradient(180deg, #1f0e15, #510d28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    padding: 0;
}

@media(max-width: 900px) {
    .mobile-bottom-menu {
        display: block;
    }
    
    body {
        padding-bottom: 54px;
    }
}

.mobile-bottom-menu__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 16px;
    max-width: 100%;
}

.mobile-bottom-menu__socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-bottom-menu__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: hsla(0,0%,100%,.06);
    border-radius: 12px;
    color: hsla(0,0%,100%,.44);
    text-decoration: none;
    transition: all .3s;
}

.mobile-bottom-menu__social:hover {
    background: hsla(0,0%,100%,.1);
    color: #fff;
}

.mobile-bottom-menu__social svg {
    width: 20px;
    height: 20px;
}

.mobile-bottom-menu__sound {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: hsla(0,0%,100%,.06);
    border-radius: 12px;
    color: hsla(0,0%,100%,.44);
    border: none;
    cursor: pointer;
    transition: all .3s;
}

.mobile-bottom-menu__sound:hover {
    background: hsla(0,0%,100%,.1);
    color: #fff;
}

.mobile-bottom-menu__burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(255,0,84,0.2), rgba(233,30,99,0.15));
    border: 1px solid rgba(255,0,84,0.3);
    border-radius: 14px;
    color: #fff;
    cursor: pointer;
    transition: all .3s;
}

.mobile-bottom-menu__burger:hover {
    background: linear-gradient(135deg, rgba(255,0,84,0.3), rgba(233,30,99,0.25));
}

/* ===== MOBILE DRAWER ===== */
.mobile-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
}

@media(max-width: 900px) {
    .mobile-drawer { display: block; pointer-events: none; }
    .mobile-drawer--open { pointer-events: auto; }
}

.mobile-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8,10,16,0.7);
    
    opacity: 0;
    transition: opacity .3s;
}

.mobile-drawer--open .mobile-drawer__backdrop {
    opacity: 1;
}

.mobile-drawer__panel {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #1f0e15 0%, #2a0e1e 100%);
    border-radius: 20px 20px 0 0;
    padding: 0;
    max-height: 70vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(.22,1,.36,1);
}

.mobile-drawer--open .mobile-drawer__panel {
    transform: translateY(0);
}

.mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mobile-drawer__title {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
}

.mobile-drawer__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.08);
    border: none;
    border-radius: 10px;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all .2s;
}

.mobile-drawer__close:hover {
    background: rgba(255,0,84,0.15);
    color: #fff;
}

.mobile-drawer__body {
    padding: 8px 12px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-drawer__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 12px;
    border-radius: 12px;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all .2s;
}

.mobile-drawer__link > span:not(.mobile-drawer__link-icon):not(.header_auction-badge) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-drawer__auction-badge {
    margin-left: auto;
    flex: 0 0 auto;
}

.mobile-drawer__link:hover,
.mobile-drawer__link:active {
    background: rgba(255,255,255,0.06);
    color: #fff;
}

.mobile-drawer__link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.mobile-drawer__link-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}


/* Unified header popovers + VC icon normalizer */
.vc-inline-icon {
  width: 1.12em;
  height: 1.12em;
  display: inline-block;
  vertical-align: -0.18em;
  margin-left: 0.22em;
  object-fit: contain;
}

body.header-modal-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9997;
  background: rgba(7, 8, 12, .72);
  
  opacity: 1;
  pointer-events: none;
}

.header_notificationsRow::before {
  display: none !important;
}

.notification-tooltip,
.sound-tooltip {
  position: fixed !important;
  top: calc(var(--header-height, 92px) + 12px) !important;
  right: max(var(--site-edge, 22px), 22px) !important;
  background: linear-gradient(135deg, rgba(20, 24, 33, .98), rgba(31, 22, 30, .98)) !important;
  border: 1px solid rgba(255, 255, 255, .07) !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .46) !important;
  z-index: 9998 !important;
  overflow: hidden;
}

.sound-tooltip {
  width: 390px !important;
  padding: 22px !important;
}

.notification-tooltip__content,
.sound-tooltip__content {
  border-radius: 18px !important;
}

.sound-tooltip__title,
.notification-tooltip__title {
  color: #fff !important;
}

.sound-tooltip__volumeRange,
.sound-tooltip__volumeTrack {
  background-color: rgba(255, 255, 255, .11) !important;
}

.sound-tooltip__volumeTrack:first-child {
  background: #ff0054 !important;
}

@media(max-width: 900px) {
  body.header-modal-open::before {
    display: none;
  }
  .notification-tooltip,
  .sound-tooltip {
    top: calc(var(--header-height-mobile, 60px) + 8px) !important;
    right: 10px !important;
    left: 10px !important;
    width: auto !important;
  }
}


/* Header popover backdrop below modals */
body.header-modal-open::before { display: none !important; }
.header-popover-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(7, 8, 12, .58);
  backdrop-filter: blur(6px);
  pointer-events: none;
  display: none;
}
.header-popover-backdrop.is-open { display: block; }
.notification-tooltip,
.sound-tooltip { z-index: 10000 !important; }
@media(max-width: 900px) { .header-popover-backdrop { display: none !important; } }

body.header-modal-open .header { z-index: 10001 !important; }
