@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* Конфигурация для Purple Black Theme */
:root[data-theme=red_black] {
    --accent-color-800: #8b5cf6;
    --accent-color-900: #7c3aed;

    --font-color-700: #fff;
    --font-color-800: rgba(255, 255, 255, .7);
    --font-color-900: #7b7b7b;

    --bg-color-800: #202020;
    --bg-color-700: #121212;
    --bg-color-900: #1d1b1a;

    --background-color: #070707;
    --product-items-trans-bg-color: rgba(0, 0, 0, .4);
}

:root {
    --safe-padding: 10px;
    --default-border-radius: 10px;
    --default-font-size: 16px;
    --default-font-family: "Montserrat", sans-serif;

    --title-font-size: 24px;
    --title-font-weight: 600;

    --price-font-size: 18px;
}

/* ========== ПОТРЯСАЮЩИЕ АНИМАЦИИ И ЭФФЕКТЫ ========== */

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes glowPulse {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
    }
    50% { 
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.6), 0 0 50px rgba(139, 92, 246, 0.3);
    }
}

@keyframes floatUp {
    0% { 
        transform: translateY(0px);
        opacity: 0;
    }
    50% { 
        opacity: 1;
    }
    100% { 
        transform: translateY(-20px);
        opacity: 0;
    }
}

@keyframes shimmer {
    0% { 
        background-position: -1000px 0;
    }
    100% { 
        background-position: 1000px 0;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes rainbowBorder {
    0% { border-color: #8b5cf6; }
    25% { border-color: #a78bfa; }
    50% { border-color: #c4b5fd; }
    75% { border-color: #a78bfa; }
    100% { border-color: #8b5cf6; }
}

@keyframes neonGlow {
    0% {
        text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(139, 92, 246, 0.8), 0 0 30px rgba(139, 92, 246, 0.5);
    }
    100% {
        text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
    }
}

/* Стилизация */
body {
    background-color: var(--background-color);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.Header-module__wrapper,
.MonitoringWidget-module__body.boxBody,
.Search-module__iconWrapper,
.Categories-module__category,
.MonitoringServer-module__progressBarWrapper,
.Search-module__wrapper,
.Product-module__wrapper,
.Servers-module__server,
.MonitoringServer-module__wrapper,
.PlayerMenu-module__profileLink, 
.PlayerMenu-module__loginLink,
.PlayerBalance-module__btn,
.Shop-module__wrapper .boxFooter,
.LangSwitcher-module__btn,
.LangSwitcher-module__list,
.Product-module__discount,
.Widgets-module__customWidgetWrapper .boxBody,
.Widgets-module__customPrefixWidgetWrapper .boxBody,
.Button-module__btn,
.PlayerBalanceModal-module__currency,
.PlayerBalanceModal-module__inputWrapper,
.ProfileContent-module__body.boxBody,
.ProfileNav-module__img,
.ProfileNav-module__navItem,
.ProfileContent-module__box,
.Selector-module__dropDownCurrentItem,
.Selector-module__dropDownList,
.ProfileContent-module__input,
.BasketContent-module__wrapper .boxBody,
.BasketTable-module__tableLine, 
.BasketTable-module__tableHeader,
.HistoryTable-module__tableHeader,
.HistoryTable-module__tableLine,
.ProductItemSelector-module__item,
.TotalSum-module__currency,
.TotalSum-module__inputWrapper,
.CountSelector-module__inputWrapper,
.PlayerMenuMobile-module__profileLink,
.dropDownCurrentItem {
    border-radius: var(--default-border-radius);
}

.ProductItemSelector-module__item.ProductItemSelector-module__active, 
.ProductItemSelector-module__item:hover, 
.ProductItemSelector-module__item:focus {
    border: 1px solid var(--accent-color-800);
    background: var(--accent-color-800);
}

.productModalFormRowItem .Selector-module__dropDownCurrentItem {
    background: var(--bg-color-700) !important;
}

.Selector-module__dropDownList {
    background: var(--bg-color-700);
}

.CountSelector-module__changeCountBtn {
    background: var(--accent-color-900);
}

.CountSelector-module__changeCountBtn:hover, .CountSelector-module__changeCountBtn:focus {
    background: var(--accent-color-800);
}

.SelectContent-module__footer.boxFooter {
    gap: var(--safe-padding);
}

.ProductModal-module__command, 
.ProductModal-module__bp, 
.ProductModal-module__item, 
.ProductModal-module__dropdown {
    width: 500px;
}

.ProductItemSelector-module__item {
    border: 1px solid var(--bg-color-700);
    background: var(--bg-color-800);
}

.Selector-module__dropDownCurrentItem {
    background: var(--bg-color-800);
}

.Shop-module__wrapper .boxFooter {
    margin-top: var(--safe-padding);
    background: var(--bg-color-700);
}

.BasketContent-module__wrapper .boxBody,
.HistoryContent-module__wrapper .boxBody {
    background: var(--bg-color-700);
}

.BasketTable-module__tableHeader,
.HistoryTable-module__tableHeader {
    background: var(--bg-color-800);
}

.ProfileContent-module__usePromoBtn {
    margin-left: var(--safe-padding);
}

.MonitoringWidget-module__header,
.Shop-module__header,
.Widgets-module__widgetWrapper .boxFooter,
.Product-module__oldPrice,
.PlayerBalanceModal-module__label,
.ProfileContent-module__header.boxHeader,
.BasketSearch-module__wrapper,
.BasketContent-module__header.boxHeader,
.HistoryContent-module__header.boxHeader,
.HistoryFilters-module__wrapper {
    display: none;
}

.BasketFilters-module__serverSelector {
    margin-left: 0px;
}

.ProfileContent-module__usePromoBtn {
    width: auto !important;
}

.ProfileContent-module__input {
    background: var(--bg-color-900);
}

.Selector-module__dropDownList {
    background: var(--bg-color-900);
}

.container {
    width: 1300px;
}

.Header-module__wrapper {
    min-height: 70px;
}

.Header-module__logo {
    font-size: var(--title-font-size);
    text-transform: uppercase;
    font-weight: var(--title-font-weight);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.MonitoringWidget-module__body.boxBody {
    background-color: transparent;
    padding: 0px;
}

.MonitoringServer-module__progressBarWrapper {
    background-color: var(--bg-color-800);
    height: 15px;
}

.Shop-module__wrapper .boxBody {
    padding: 0;
    background: transparent;
}

.Categories-module__categories {
    display: flex;
    width: 101%;
}

.Categories-module__category {
    flex: 1;
    text-align: center;
}

.MonitoringServer-module__progressBarAnim {
    background: var(--accent-color-800);
}

.Header-module__wrapper {
    margin-bottom: var(--safe-padding);
}

.Widgets-module__wrapper {
    margin-right: var(--safe-padding);
}

.Search-module__wrapper {
    margin-top: var(--safe-padding);
}

.Products-module__wrapper {
    margin-top: var(--safe-padding);
    gap: var(--safe-padding);
}

.Product-module__price {
    top: 10px;
    left: 10px;
    background-color: transparent;
    font-size: var(--price-font-size);
}

.Product-module__wrapper {
    transition: all 0.2s;
}

.Product-module__wrapper:hover,
.Product-module__wrapper:focus {
    transform: scale(0.97);
}

.DesktopCopyright-module__wrapper {
    background-color: transparent !important;
    font-size: 14px;
}

.DesktopCopyright-module__link {
    color: var(--font-color-700);
}

.Servers-module__server.Servers-module__active, 
.Servers-module__server:hover, 
.Servers-module__server:focus {
    background-color: var(--accent-color-800);
    color: var(--font-color-700);
}

.Servers-module__servers {
    display: flex;
    flex-wrap: wrap;
    margin: -5px -5px calc(var(--safe-padding) / 2);
    justify-content: center;
}

.Servers-module__server {
    max-width: unset;
}

.MonitoringServer-module__wrapper {
    background: var(--bg-color-700);
    padding: var(--safe-padding);
}

.MonitoringServer-module__wrapper+.MonitoringServer-module__wrapper {
    margin-top: var(--safe-padding);
}

.Product-module__name {
    text-align: center;
}

.ShopFooter-module__ipInfo {
    text-align: center;
    font-size: 12px;
    color: var(--font-color-700);
    margin: var(--safe-padding) 0;
}

.LangSwitcher-module__list {
    background: var(--bg-color-800);
}

.Product-module__discount {
    top: 10px;
    right: 10px;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.swiper-slide-active img,
.swiper-slide-prev img,
.swiper-slide-next img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--default-border-radius);
}

.mySwiper {
    height: 250px;
}

.container.swiperContainer {
    margin-top: var(--safe-padding);
    margin-bottom: var(--safe-padding);
}

.Widgets-module__customWidgetWrapper .boxBody {
    flex-direction: row;
    align-content: center;
    justify-content: flex-start;
    gap: 15px;
    max-height: 84px;
}

.Widgets-module__customWidgetWrapper .boxBody,
.Widgets-module__customPrefixWidgetWrapper .boxBody {
    background: var(--bg-color-700);
    display: flex;
    transition: all 0.2s;
}

.Widgets-module__customPrefixWidgetWrapper .boxBody {
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.Widgets-module__customWidgetWrapper .boxBody:hover,
.Widgets-module__customPrefixWidgetWrapper .boxBody:hover {
    transform: scale(0.97);
    cursor: pointer;
}

.Widgets-module__widgetTitle {
    font-weight: 600;
}

.Widgets-module__widgetDescription {
    font-size: 12px;
}

.Widgets-module__widgetText {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.Widgets-module__widgetWrapper+.Widgets-module__widgetWrapper {
    margin-top: var(--safe-padding);
}

.Widgets-module__widgetPrefix {
    padding: var(--safe-padding);
    background: var(--accent-color-800);
    border-radius: var(--default-border-radius);
    font-weight: 600;
}

.Widgets-module__widgetPrefixDescription {
    font-size: 12px;
    margin-top: var(--safe-padding);
}

.ModalLayout-module__positionWrapper {
    align-items: center;
    justify-content: center;
    background: #000000e8;
}

.boxHeader,
.boxFooter {
    background: var(--bg-color-900);
}

.boxHeader {
    border-radius: var(--default-border-radius) var(--default-border-radius) 0 0;
}

.boxFooter {
    border-radius: 0 0 var(--default-border-radius) var(--default-border-radius);
}

.Button-module__btn.Button-module__accent {
    width: 100%;
}

.PlayerBalanceModal-module__footer {
    gap: var(--safe-padding);
}

.Button-module__btn.Button-module__gray:hover, .Button-module__btn.Button-module__gray:focus {
    background-color: var(--product-items-trans-bg-color);
}

.boxHeader {
    align-items: center;
    justify-content: center;
}

.PlayerBalanceModal-module__bonusSection {
    margin-top: var(--safe-padding);
}

.PlayerBalanceModal-module__bonusContainer {
    background-color: var(--bg-color-700) !important;
    padding: var(--safe-padding);
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-radius: 0 0 var(--default-border-radius) var(--default-border-radius) !important;
}

.PlayerBalanceModal-module__bonusItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: var(--bg-color-800);
    border-radius: var(--default-border-radius);
}

.PlayerBalanceModal-module__bonusPercent {
    font-weight: var(--title-font-weight);
    font-size: 18px;
    color: var(--font-color-700);
}

.PlayerBalanceModal-module__bonusAmount {
    color: var(--font-color-800);
    font-size: 16px;
}

.PlayerBalanceModal-module__bonusEmpty {
    text-align: center;
    padding: var(--safe-padding);
    color: var(--font-color-900);
}

.boxFooter.PlayerBalanceModal-module__footer .Button-module__btn.Button-module__gray {
    display: none;
}

.ProfileNav-module__header.boxHeader,
.ProfileNav-module__body.boxBody,
.ProfileNav-module__wrapper .boxFooter,
.ProfileContent-module__body.boxBody {
    background: var(--bg-color-700);
}

.ProfileNav-module__wrapper {
    margin-right: var(--safe-padding);
}

.ProfileNav-module__navItem {
    background: var(--bg-color-900);
}

.ProfileNav-module__body {
    gap: var(--safe-padding);
}

.ProfileContent-module__title {
    font-size: 12px;
    color: var(--font-color-900);
}

.ProfileContent-module__box {
    background-color: var(--bg-color-800);
}

.ProductItemSelector-module__items {
    grid-template-columns: repeat(4, minmax(50px, 1fr));
}

.productModalDescription {
    padding: 0px;
}

.productModalDescription {
    list-style: inside;
    text-align: left;
    padding: 0px;
    margin-bottom: var(--safe-padding);
    background-color: transparent;
}

.privilege-title {
    font-size: var(--default-font-size);
    margin-bottom: var(--safe-padding);
    text-align: center;
}

.privilege-item {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: var(--default-border-radius);
    padding: 15px;
    margin-bottom: var(--safe-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.privilege-value {
    font-weight: var(--title-font-weight);
    color: var(--font-color-700);
    background: var(--accent-color-800);
    padding: 5px 10px;
    border-radius: var(--default-border-radius);
}

.resources-container {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: var(--default-border-radius);
    padding: 15px;
    margin-bottom: var(--safe-padding);
}

.resources-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--safe-padding);
}

.resources-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--safe-padding);
}

.resources-title {
    font-weight: var(--title-font-weight);
    font-size: var(--default-font-size);
}

.resources-reload {
    color: var(--font-color-900);
    font-size: var(--default-font-size);
}

.reload-icon {
    display: inline-block;
    margin-right: 5px;
}

.resource-item {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: var(--default-border-radius);
    padding: var(--safe-padding);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: 0.2s;
}

.resource-amount {
    color: var(--font-color-700);
    font-size: var(--default-font-size);
}

.resource-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 5px;
}

.resource-item:hover {
    transform: scale(0.97);
}

.privilege-name {
    font-weight: var(--title-font-weight);
    font-size: var(--default-font-size);
    margin-bottom: 5px;
}

.privilege-description {
    color: var(--font-color-900);
    font-size: var(--default-font-size);
}

.ItemContent-module__footer.boxFooter {
    gap: var(--safe-padding);
}

.PlayerMenuMobile-module__menuWrapper {
    background-color: #000000e8;
}

.MobileCopyright-module__link {
    white-space: nowrap;
    margin-left: 5px;
    color: var(--font-color-700);
}

.MobileCopyright-module__wrapper {
    background-color: transparent !important;
    display: flex;
    justify-content: center;
}

.CountSelector-module__changeCountBtn.CountSelector-module__left,
.CountSelector-module__changeCountBtn.CountSelector-module__right {
    border-radius: var(--default-border-radius);
}

@media (max-width: 1310px) {
    .container {
        width: auto;
    }
}

@media (max-width: 980px) {
    .container.swiperContainer {
        display: none;
    }

    .ProfileNav-module__body.boxBody {
        border-radius: var(--default-border-radius);
    }

    .resources-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========== УЛУЧШЕННЫЕ СТИЛИ ВИЗУАЛА ========== */

/* Виджеты социальных сетей */
.Widgets-module__customWidgetWrapper {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    display: block;
    animation: slideInLeft 0.6s ease-out forwards;
}

.Widgets-module__customWidgetWrapper:nth-child(2) {
    animation-delay: 0.1s;
}

.Widgets-module__customWidgetWrapper:nth-child(3) {
    animation-delay: 0.2s;
}

.Widgets-module__customWidgetWrapper:hover {
    transform: translateY(-8px) scale(1.02);
}

.Widgets-module__customWidgetWrapper .boxBody {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(124, 58, 237, 0.08) 100%);
    border: 2px solid rgba(139, 92, 246, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.Widgets-module__customWidgetWrapper .boxBody::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.Widgets-module__customWidgetWrapper:hover .boxBody {
    border-color: rgba(139, 92, 246, 0.7);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(124, 58, 237, 0.15) 100%);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4), inset 0 0 20px rgba(139, 92, 246, 0.1);
}

.Widgets-module__customWidgetWrapper:hover .boxBody::before {
    left: 100%;
}

.Widgets-module__customWidgetWrapper img {
    width: 50px;
    height: 50px;
    filter: brightness(1.3) drop-shadow(0 0 8px rgba(139, 92, 246, 0.4));
    transition: all 0.4s ease;
    animation: pulse 2s ease-in-out infinite;
}

.Widgets-module__customWidgetWrapper:hover img {
    filter: brightness(1.6) drop-shadow(0 0 20px rgba(139, 92, 246, 0.8));
    transform: scale(1.15) rotate(5deg);
    animation: none;
}

.Widgets-module__widgetTitle {
    font-weight: 700;
    color: var(--font-color-700);
    margin: 0;
    font-size: 16px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.Widgets-module__widgetDescription {
    color: var(--font-color-800);
    font-size: 12px;
    margin: 5px 0 0 0;
    transition: all 0.3s ease;
}

.Widgets-module__customWidgetWrapper:hover .Widgets-module__widgetDescription {
    color: var(--font-color-700);
}

/* Префикс виджет */
.Widgets-module__customPrefixWidgetWrapper {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: slideInRight 0.6s ease-out;
}

.Widgets-module__customPrefixWidgetWrapper .boxBody {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(124, 58, 237, 0.12) 100%);
    border: 3px solid var(--accent-color-800);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    animation: glowPulse 2s ease-in-out infinite;
}

.Widgets-module__customPrefixWidgetWrapper .boxBody::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.Widgets-module__customPrefixWidgetWrapper:hover .boxBody {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(124, 58, 237, 0.2) 100%);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.5), inset 0 0 30px rgba(139, 92, 246, 0.2);
    transform: scale(1.05);
}

.Widgets-module__widgetPrefix {
    font-size: 32px;
    font-weight: 900;
    color: var(--accent-color-800);
    margin: 0;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.6), 0 0 40px rgba(139, 92, 246, 0.3);
    animation: neonGlow 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
    letter-spacing: 2px;
}

.Widgets-module__widgetPrefixDescription {
    color: var(--font-color-800);
    font-size: 13px;
    margin-top: 12px;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.Widgets-module__customPrefixWidgetWrapper:hover .Widgets-module__widgetPrefixDescription {
    color: var(--font-color-700);
}

/* Кнопки */
.Button-module__btn {
    background: linear-gradient(135deg, var(--accent-color-800) 0%, var(--accent-color-900) 100%);
    border: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-weight: 700;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
}

.Button-module__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.Button-module__btn:hover {
    background: linear-gradient(135deg, var(--accent-color-900) 0%, var(--accent-color-800) 100%);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6), 0 0 60px rgba(139, 92, 246, 0.3);
    transform: translateY(-4px) scale(1.05);
}

.Button-module__btn:hover::before {
    left: 100%;
}

.Button-module__btn:active {
    transform: translateY(0) scale(0.98);
}

/* Карточки товаров */
.Product-module__wrapper {
    background: linear-gradient(135deg, rgba(32, 32, 32, 0.9) 0%, rgba(18, 18, 18, 0.9) 100%);
    border: 1px solid rgba(139, 92, 246, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    animation: bounceIn 0.6s ease-out;
}

.Product-module__wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.Product-module__wrapper:hover {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.25), inset 0 0 20px rgba(139, 92, 246, 0.05);
    transform: translateY(-6px);
}

.Product-module__wrapper:hover::before {
    opacity: 1;
}

/* Привилегии */
.privilege-container {
    background: linear-gradient(135deg, rgba(32, 32, 32, 0.6) 0%, rgba(18, 18, 18, 0.6) 100%);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.privilege-title {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-color-800), var(--accent-color-900));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-shadow: none;
    letter-spacing: 1px;
}

.privilege-item {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(124, 58, 237, 0.03) 100%);
    border-left: 4px solid var(--accent-color-800);
    padding: 15px 18px;
    margin-bottom: 12px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.privilege-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent);
    border-radius: 50%;
    transform: translateY(-50%);
    transition: width 0.4s, height 0.4s;
}

.privilege-item:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(124, 58, 237, 0.08) 100%);
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
}

.privilege-item:hover::after {
    width: 200px;
    height: 200px;
}

.privilege-name {
    font-weight: 700;
    color: var(--font-color-700);
    font-size: 15px;
}

.privilege-value {
    color: var(--accent-color-800);
    font-weight: 800;
    font-size: 15px;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

/* Ресурсы */
.resources-container {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(124, 58, 237, 0.04) 100%);
    border: 2px solid rgba(139, 92, 246, 0.25);
    border-radius: 15px;
    padding: 18px;
    margin-bottom: 18px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.resources-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1), transparent);
    animation: pulse 3s ease-in-out infinite;
}

.resources-container:hover {
    border-color: rgba(139, 92, 246, 0.6);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(124, 58, 237, 0.08) 100%);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3), inset 0 0 20px rgba(139, 92, 246, 0.05);
    transform: translateY(-4px);
}

.resources-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.resources-title {
    font-weight: 800;
    color: var(--accent-color-800);
    font-size: 15px;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
    letter-spacing: 0.5px;
}

.resources-reload {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--font-color-800);
    font-size: 12px;
    font-weight: 600;
}

.reload-icon {
    display: inline-block;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 12px;
    position: relative;
    z-index: 1;
}

.resource-item {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.resource-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.resource-item:hover {
    border-color: rgba(139, 92, 246, 0.8);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(124, 58, 237, 0.08) 100%);
    transform: scale(1.12) translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

.resource-item:hover::before {
    opacity: 1;
}

.resource-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 6px;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.3));
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.resource-item:hover img {
    filter: drop-shadow(0 0 16px rgba(139, 92, 246, 0.6));
    transform: scale(1.2);
}

.resource-amount {
    font-size: 13px;
    font-weight: 800;
    color: var(--accent-color-800);
    text-shadow: 0 0 8px rgba(139, 92, 246, 0.4);
    position: relative;
    z-index: 1;
}

/* Input поля */
.ProfileContent-module__input,
.TotalSum-module__inputWrapper input,
.CountSelector-module__inputWrapper input {
    background: linear-gradient(135deg, var(--bg-color-700) 0%, rgba(18, 18, 18, 0.8) 100%);
    border: 2px solid rgba(139, 92, 246, 0.2);
    color: var(--font-color-700);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-weight: 500;
}

.ProfileContent-module__input:focus,
.TotalSum-module__inputWrapper input:focus,
.CountSelector-module__inputWrapper input:focus {
    border-color: var(--accent-color-800);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4), inset 0 0 10px rgba(139, 92, 246, 0.05);
    background: linear-gradient(135deg, rgba(34, 34, 34, 0.9) 0%, rgba(24, 24, 24, 0.9) 100%);
}

/* Таблицы */
.BasketTable-module__tableHeader,
.HistoryTable-module__tableHeader {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(124, 58, 237, 0.08) 100%);
    border-bottom: 3px solid var(--accent-color-800);
    font-weight: 700;
}

.BasketTable-module__tableLine:hover,
.HistoryTable-module__tableLine:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%);
    transform: scale(1.01);
}

.ProductItemSelector-module__item {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ProductItemSelector-module__item:hover {
    transform: scale(1.08);
}

@media (max-width: 680px) {
    .privilege-value {
        min-width: 70px;
    }

    .resources-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .privilege-description, .resources-reload, .privilege-value {
        font-size: 12px;
    }
}