/* ==========================================================================
   skins.css - Стили для страницы скинов в стиле huli
   Полностью переработано под классы trumpamole__skins-*
   ========================================================================== */

/* ===== FULL TOP HERO ===== */
.trumpamole__skins-hero {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: rgba(0, 0, 0, .18);
}

.trumpamole__skins-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../../assets/skins/bg_page.webp') center/cover no-repeat;
    filter: blur(1.2px) saturate(1.05) contrast(1.05);
    transform: scale(1.08);
    opacity: .95;
}

.trumpamole__skins-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, .10) 0%,
        rgba(36, 26, 26, .35) 40%,
        rgba(36, 26, 26, .86) 100%);
    pointer-events: none;
}

.trumpamole__skins-hero-inner {
    position: relative;
    z-index: 2;
    padding: calc(12px + var(--safe-top)) 14px 12px 14px;
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 10px;
    align-items: center;
    min-height: 104px;
    width: min(440px, 100%);
    margin: 0 auto;
}

.trumpamole__skins-hero .trumpamole__title-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.trumpamole__skins-hero .trumpamole__page-title {
    font-family: var(--font-heading, "Unbounded", "Manrope", system-ui);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: rgba(255, 248, 230, .96);
    margin: 0;
}

.trumpamole__skins-hero .trumpamole__page-sub {
    font-size: 12px;
    line-height: 1.25;
    color: rgba(255, 246, 230, .80);
    font-weight: 800;
    text-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

.trumpamole__skins-stats-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
    flex-wrap: nowrap;
}

.trumpamole__skins-chip {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 12px;
    background: rgba(0, 0, 0, .28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 18px rgba(0, 0, 0, .22);
    border: 1px solid rgba(255, 232, 170, .10);
    min-width: 0;
}

.trumpamole__skins-chip-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.trumpamole__skins-chip-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .30));
    opacity: .95;
    flex: 0 0 auto;
}

.trumpamole__skins-chip-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.trumpamole__skins-chip-label {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .25px;
    color: rgba(255, 246, 230, .72);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trumpamole__skins-chip-value {
    font-size: 13px;
    font-weight: 900;
    color: rgba(255, 248, 230, .98);
    letter-spacing: .2px;
    white-space: nowrap;
}

.trumpamole__skins-hero-icon {
    width: 212px;
    height: 176px;
    display: grid;
    place-items: center;
    overflow: visible;
}

.trumpamole__skins-hero-icon img {
    width: 100%;
    height: 100%;
    margin-right: 90px;
    object-fit: contain;
    filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .40));
    transform: translateY(2px);
}

/* ===== FULL WIDTH ACTIVE SKIN ===== */
.trumpamole__skins-active-full {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    box-shadow: var(--shadow);
    border-top: 1px solid rgba(255, 232, 170, .10);
    border-bottom: 1px solid rgba(255, 232, 170, .10);
    background: rgba(0, 0, 0, .18);
}

.trumpamole__skins-active-full::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../../assets/skins/bg_garderob.webp') center/cover no-repeat;
    filter: blur(1.2px) saturate(1.05) contrast(1.05);
    transform: scale(1.08);
    opacity: .95;
}

.trumpamole__skins-active-full::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, .10) 0%,
        rgba(36, 26, 26, .35) 40%,
        rgba(36, 26, 26, .86) 100%);
    pointer-events: none;
}

.trumpamole__skins-active-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 136px 1fr;
    gap: 16px;
    align-items: center;
    width: min(440px, 100%);
    margin: 0 auto;
    padding: 12px 14px;
    min-height: 104px;
}

.trumpamole__skins-active-preview {
    width: 144px;
    height: 144px;
    display: grid;
    place-items: center;
    transform: scaleX(-1);
    overflow: hidden;
}

.trumpamole__skins-active-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .35));
}

.trumpamole__skins-active-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trumpamole__skins-active-name {
    font-weight: 900;
    font-size: 15px;
    color: rgba(255, 248, 230, .98);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trumpamole__skins-active-desc {
    font-size: 12px;
    line-height: 1.25;
    color: rgba(255, 246, 230, .78);
    font-weight: 800;
}

.trumpamole__skins-active-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.trumpamole__skins-mini-btn {
    border: 1px solid rgba(255, 246, 230, .12);
    background: rgba(0, 0, 0, .18);
    color: rgba(255, 246, 230, .92);
    border-radius: 12px;
    padding: 10px 10px;
    font-weight: 900;
    letter-spacing: .25px;
    text-transform: uppercase;
    font-size: 11px;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 12px 22px rgba(0, 0, 0, .22);
    -webkit-tap-highlight-color: transparent;
    transition: transform .12s ease, opacity .18s ease;
    flex: 1 1 0;
    min-width: 120px;
    text-align: center;
    white-space: nowrap;
}

.trumpamole__skins-mini-btn:active {
    transform: translateY(1px) scale(.99);
}

.trumpamole__skins-mini-btn.gold {
    color: rgba(18, 14, 8, .92);
    border-color: rgba(255, 255, 255, .14);
    background: radial-gradient(60% 55% at 50% 18%,
        #FCF9A0 0%,
        #F5D65A 40%,
        #EEB048 72%,
        #C37939 100%),
        linear-gradient(180deg, rgba(245, 214, 90, .9) 0%, rgba(195, 121, 57, .9) 100%);
    box-shadow: 0 14px 26px rgba(0, 0, 0, .28);
}

.trumpamole__skins-mini-btn[disabled] {
    opacity: .52;
    cursor: default;
}

/* ===== MAIN PANEL ===== */
.trumpamole__skins-main-panel {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 16px;
    padding-bottom: calc(18px + var(--safe-bottom));
    border-top: 1px solid rgba(255, 232, 170, .10);
    overflow: hidden;
    box-shadow: 0px -9px 13px -2px rgb(31 22 22);
}

.trumpamole__skins-main-panel::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    width: 54px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 246, 230, .22);
    opacity: .55;
    z-index: 1;
    pointer-events: none;
}

.trumpamole__skins-main-inner {
    position: relative;
    z-index: 2;
    width: min(440px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ===== SECTION HEADER ===== */
.trumpamole__skins-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 2px 2px 6px;
    margin: 0;
}

.trumpamole__skins-section-header h2 {
    margin: 0;
    font-family: var(--font-heading, "Unbounded", "Manrope", system-ui);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: rgba(255, 248, 230, .96);
}

.trumpamole__skins-section-header .trumpamole__hint {
    font-size: 12px;
    color: rgba(255, 246, 230, .72);
    font-weight: 800;
}

/* ===== TABS ===== */
.trumpamole__skins-tabs {
    display: flex;
    gap: 8px;
    padding: 10px 12px 12px;
}

.trumpamole__skins-tab-btn {
    flex: 1 1 0;
    border: 1px solid rgba(255, 232, 170, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 246, 230, 0.90);
    border-radius: 8px;
    padding: 10px;
    font-size: 13px;
    font-weight: 800;
    user-select: none;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    letter-spacing: .25px;
    cursor: pointer;
    transition: transform .12s ease, background .18s ease, border-color .18s ease;
    -webkit-tap-highlight-color: transparent;
}

.trumpamole__skins-tab-btn:active {
    transform: translateY(1px) scale(.99);
}

.trumpamole__skins-tab-btn.active {
    border-color: rgba(245, 214, 90, 0.75) !important;
    background: radial-gradient(60% 55% at 50% 18%,
        #FCF9A0 0%,
        #F5D65A 40%,
        #EEB048 72%,
        #C37939 100%),
        linear-gradient(180deg, rgba(245, 214, 90, .9) 0%, rgba(195, 121, 57, .9) 100%) !important;
    color: #2F1B0C !important;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ===== SHOP GRID ===== */
.trumpamole__skins-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
}

.trumpamole__skins-card {
    position: relative;
    border-radius: var(--radiusCard, 12px);
    overflow: visible;
    box-shadow: 0 14px 26px rgba(0, 0, 0, .28);
    border: 1px solid rgba(255, 232, 170, .08);
    background:
        radial-gradient(60% 55% at 50% 18%,
            rgba(245, 214, 90, .10) 0%,
            rgba(164, 214, 178, .14) 22%,
            rgba(94, 111, 134, .58) 68%,
            rgba(26, 34, 48, 1) 100%),
        linear-gradient(180deg, rgba(184, 199, 218, .45) 0%, rgba(26, 34, 48, 1) 100%);
    min-height: 206px;
    margin-bottom: 18px;
}

.trumpamole__skins-media {
    position: absolute;
    inset: 0;
    background: center/cover no-repeat;
    opacity: .92;
    filter: saturate(1.05) contrast(1.05);
    transform: scale(1.03);
    border-radius: var(--radiusCard, 12px);
}

.trumpamole__skins-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .06) 0%, rgba(0, 0, 0, .08) 40%, rgb(76 53 52) 100%);
    pointer-events: none;
    border-radius: var(--radiusCard, 12px);
}

.trumpamole__skins-big-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    z-index: 5;
    pointer-events: none;
    object-fit: contain;
    filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.5));
}

.trumpamole__skins-info-btn {
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 5;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 12px;
    background: rgba(0, 0, 0, .22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 10px 22px rgba(0, 0, 0, .25);
    color: rgba(255, 246, 230, .92);
    font-weight: 900;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform .12s ease, background .18s ease;
    font-family: var(--font-heading, "Unbounded", "Manrope", ui-sans-serif, system-ui);
}

.trumpamole__skins-info-btn:active {
    transform: translateY(1px) scale(.98);
    background: rgba(0, 0, 0, .28);
}

.trumpamole__skins-card-inner {
    position: relative;
    z-index: 5;
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 52px;
}

.trumpamole__skins-title-box {
    margin-top: 2px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding-right: 40px;
}

.trumpamole__skins-name {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .2px;
    color: rgba(255, 248, 230, .98);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

.trumpamole__skins-desc {
    font-size: 11px;
    color: rgba(255, 246, 230, .78);
    font-weight: 800;
    text-shadow: 0 10px 24px rgba(0, 0, 0, .35);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trumpamole__skins-price-row {
    margin-top: 8px;
    border-radius: 12px;
    padding: 9px 10px;
    background: rgba(0, 0, 0, .22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 12px 22px rgba(0, 0, 0, .22);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.trumpamole__skins-price-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .25px;
    color: rgba(255, 246, 230, .72);
    flex: 0 0 auto;
}

.trumpamole__skins-price-value {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    font-weight: 900;
    color: rgba(255, 248, 230, .98);
    letter-spacing: .2px;
    font-size: 12px;
}

.trumpamole__skins-price-value img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .30));
    opacity: .95;
}

.trumpamole__skins-card-actions {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: -22px;
    z-index: 10;
}

/* ===== BUTTON PAR (PremiumButton) ===== */
.trumpamole__btn-par {
    position: relative;
    width: 100%;
    height: 56px;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.trumpamole__btn-par__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.trumpamole__btn-par__text {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: .35px;
    text-transform: uppercase;
    color: rgba(18, 14, 8, 0.92);
    font: 800 15px/1 var(--font-heading, "Unbounded", "Manrope", ui-sans-serif, system-ui);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.32);
    padding: 0 14px;
    text-align: center;
}

.trumpamole__btn-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
}

.trumpamole__btn-price-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .25));
    opacity: .95;
}

.trumpamole__btn-price-value {
    font-weight: 900;
    letter-spacing: .25px;
}

.trumpamole__btn-par.fire {
    filter: drop-shadow(0 26px 80px rgba(0, 0, 0, .72)) drop-shadow(0 0 26px var(--glow, rgba(245, 214, 90, .18)));
    transition: transform .12s ease, filter .16s ease;
}

.trumpamole__btn-par.fire:active {
    transform: translateY(1px);
    filter: drop-shadow(0 18px 55px rgba(0, 0, 0, .62)) drop-shadow(0 0 18px var(--glow, rgba(245, 214, 90, .14)));
}

.trumpamole__btn-par.is-dark .trumpamole__btn-par__text {
    color: rgba(255, 246, 230, .92);
    text-shadow: 0 2px 10px rgba(0, 0, 0, .40);
}

/* ===== CAROUSEL FOR OWNED SKINS ===== */
.trumpamole__skins-carousel {
    position: relative;
    margin-top: 6px;
    padding: 2px 0 2px;
}

.trumpamole__skins-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 10px 12px 14px;
}

.trumpamole__skins-track::-webkit-scrollbar {
    display: none;
}

.trumpamole__skins-fade-left,
.trumpamole__skins-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 44px;
    pointer-events: none;
    z-index: 5;
}

.trumpamole__skins-fade-left {
    left: 0;
    background: linear-gradient(90deg, rgba(36, 26, 26, 1) 0%, rgba(36, 26, 26, 0) 100%);
    border-radius: 14px 0 0 14px;
}

.trumpamole__skins-fade-right {
    right: 0;
    background: linear-gradient(270deg, rgba(36, 26, 26, 1) 0%, rgba(36, 26, 26, 0) 100%);
    border-radius: 0 14px 14px 0;
}

.trumpamole__skins-owned-mini {
    scroll-snap-align: center;
    flex: 0 0 168px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 14px 26px rgba(0, 0, 0, .28);
    border: 1px solid rgba(255, 232, 170, .08);
    background: rgba(0, 0, 0, .22);
    min-height: 152px;
}

.trumpamole__skins-owned-mini::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--bg) center/cover no-repeat;
    transform: scale(1.05);
    opacity: .96;
    filter: saturate(1.05) contrast(1.05);
}

.trumpamole__skins-owned-mini::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, .04) 0%,
        rgba(0, 0, 0, .10) 40%,
        rgba(36, 26, 26, .90) 100%);
    pointer-events: none;
}

.trumpamole__skins-owned-mini-inner {
    position: relative;
    z-index: 2;
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
}

.trumpamole__skins-owned-mini-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.trumpamole__skins-owned-mini-name {
    font-weight: 900;
    letter-spacing: .2px;
    font-size: 12px;
    color: rgba(255, 248, 230, .98);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}

.trumpamole__skins-owned-mini-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .35));
    opacity: .95;
    margin-top: -4px;
    flex: 0 0 auto;
}

.trumpamole__skins-owned-mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-family: var(--font-heading, "Unbounded", "Manrope", system-ui);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .25px;
    text-transform: uppercase;
    color: rgba(255, 246, 230, .86);
    opacity: .9;
}

.trumpamole__skins-dot-gold {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(245, 214, 90, .95);
    box-shadow: 0 10px 20px rgba(245, 214, 90, .18);
}

.trumpamole__skins-owned-mini-actions {
    display: flex;
    gap: 8px;
}

.trumpamole__skins-owned-mini-btn {
    flex: 1 1 0;
    border: 1px solid rgba(255, 246, 230, .12);
    background: rgba(0, 0, 0, .18);
    color: rgba(255, 246, 230, .92);
    border-radius: 12px;
    padding: 10px 8px;
    font-family: var(--font-heading, "Unbounded", "Manrope", system-ui);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .25px;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 12px 22px rgba(0, 0, 0, .22);
    -webkit-tap-highlight-color: transparent;
    transition: transform .12s ease, opacity .18s ease;
    white-space: nowrap;
}

.trumpamole__skins-owned-mini-btn:active {
    transform: translateY(1px) scale(.99);
}

.trumpamole__skins-owned-mini-btn.gold {
    color: rgba(18, 14, 8, .92);
    border-color: rgba(255, 255, 255, .14);
    background: radial-gradient(60% 55% at 50% 18%,
        #FCF9A0 0%,
        #F5D65A 40%,
        #EEB048 72%,
        #C37939 100%),
        linear-gradient(180deg, rgba(245, 214, 90, .9) 0%, rgba(195, 121, 57, .9) 100%);
    box-shadow: 0 14px 26px rgba(0, 0, 0, .28);
}

.trumpamole__skins-owned-mini-btn[disabled] {
    opacity: .52;
    cursor: default;
}

.trumpamole__skins-empty {
    padding: 12px;
    color: rgba(255, 246, 230, .78);
    font-weight: 800;
    font-size: 12px;
    line-height: 1.3;
}

/* Адаптация для маленьких экранов */
@media (max-width: 360px) {
    .trumpamole__skins-hero-inner {
        grid-template-columns: 1fr 108px;
    }

    .trumpamole__skins-hero-icon img {
        margin-right: 70px;
    }
}