/**
 * PixelMine Marketplace - Custom Styles
 */

body {
    font-family: 'Inter', sans-serif;
    background-color: #050505;
    background-image:
        radial-gradient(at 20% 30%, rgba(235, 53, 100, 0.15) 0px, transparent 60%),
        radial-gradient(at 80% 20%, rgba(93, 243, 225, 0.08) 0px, transparent 60%),
        radial-gradient(at 50% 80%, rgba(255, 193, 0, 0.05) 0px, transparent 60%),
        radial-gradient(at 10% 90%, rgba(11, 180, 148, 0.08) 0px, transparent 60%);
}

.mesh-gradient-bg {
    background-color: #050505;
    background-image:
        radial-gradient(at 20% 30%, rgba(235, 53, 100, 0.3) 0px, transparent 60%),
        radial-gradient(at 80% 20%, rgba(93, 243, 225, 0.15) 0px, transparent 60%),
        radial-gradient(at 50% 80%, rgba(255, 193, 0, 0.1) 0px, transparent 60%),
        radial-gradient(at 10% 90%, rgba(11, 180, 148, 0.15) 0px, transparent 60%);
}

.glass-card {
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.glass-nav {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Alert Messages */
.alert {
    padding: 0.875rem 1.25rem;
    margin: 0.75rem 0;
    border-radius: 2px;
    font-weight: 600;
    font-size: 0.875rem;
}

.alert-success {
    background: rgba(11, 180, 148, 0.15);
    border: 1px solid rgba(11, 180, 148, 0.4);
    color: #5DF3E1;
}

.alert-error {
    background: rgba(235, 53, 100, 0.15);
    border: 1px solid rgba(235, 53, 100, 0.4);
    color: #EB3564;
}

/* Line clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Thumbnail gallery */
.thumbnail-item {
    transition: all 0.3s ease;
    cursor: pointer;
}
.thumbnail-item:hover { transform: scale(1.05); }
.thumbnail-item.active {
    border-color: #5DF3E1 !important;
    box-shadow: 0 0 15px rgba(93, 243, 225, 0.5);
}

/* Review card hover */
.review-card { transition: all 0.3s ease; }
.review-card:hover { transform: translateX(4px); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: rgba(5,5,5,0.5); }
::-webkit-scrollbar-thumb { background: rgba(93,243,225,0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(93,243,225,0.45); }

/* Shimmer animation */
@keyframes shimmer { 100% { transform: translateX(100%); } }

/* Neon glow */
.neon-svg-glow {
    filter: drop-shadow(0 0 8px rgba(93,243,225,0.6)) drop-shadow(0 0 20px rgba(93,243,225,0.3));
}

/* Placeholder */
::placeholder { color: #A09B9E; opacity: 0.7; }
input:focus, textarea:focus, select:focus { outline: none; }

.home-carousel-track {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.home-carousel-track::-webkit-scrollbar {
    display: none;
}

.home-carousel-btn {
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    background: rgba(5, 5, 5, 0.75);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.25s ease;
}

.home-carousel-btn:hover {
    border-color: rgba(93, 243, 225, 0.45);
    color: #5DF3E1;
    transform: translateY(-1px);
}

.home-category-card {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(5, 5, 5, 0.55);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.38), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.home-category-card:hover {
    border-color: rgba(93, 243, 225, 0.28);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(93, 243, 225, 0.08);
}

.pulse-stat-card {
    padding: 1.5rem;
    border-width: 1px;
    border-style: solid;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.04);
}

.pulse-stat-label {
    color: #A09B9E;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 0.7rem;
}

.pulse-stat-value {
    color: #ffffff;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.pulse-stat-note {
    color: #C9C2C6;
    font-size: 0.88rem;
    line-height: 1.5;
}

/* ── Info tooltip (CSS-only, hover/focus) ────────────────────────────────── */
.pm-tooltip {
    position: relative;
    vertical-align: middle;
}
.pm-tooltip .pm-tooltip-text {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    max-width: 80vw;
    background: #050505;
    color: #E2DDE0;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 4px;
    padding: 0.7rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 400;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: normal;
    text-align: left;
    z-index: 60;
    transition: opacity 0.18s ease, visibility 0.18s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    pointer-events: none;
}
.pm-tooltip .pm-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(255,255,255,0.18);
}
.pm-tooltip:hover .pm-tooltip-text,
.pm-tooltip:focus .pm-tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* ── Seller panel sidebar ────────────────────────────────────────────────── */
.seller-shell {
    display: flex;
    min-height: 100vh;
}
.seller-sidebar {
    width: 16rem;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: 100vh;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(2,55,46,0.55), rgba(5,5,5,0.92));
    border-right: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    z-index: 40;
    display: flex;
    flex-direction: column;
}
.seller-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    margin: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #A09B9E;
    transition: all 0.2s ease;
}
.seller-nav-link:hover {
    color: #FFFFFF;
    background: rgba(255,255,255,0.05);
}
.seller-nav-link.active {
    color: #050505;
    background: linear-gradient(90deg, #5DF3E1, #0BB494);
    box-shadow: 0 0 18px rgba(93,243,225,0.25);
}
.seller-nav-link i {
    width: 1.25rem;
    text-align: center;
}
.seller-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.seller-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(5,5,5,0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.seller-sidebar-toggle {
    display: none;
}
@media (max-width: 1023px) {
    .seller-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        z-index: 55;
    }
    .seller-sidebar.open {
        transform: translateX(0);
    }
    .seller-sidebar-toggle {
        display: inline-flex;
    }
    .seller-sidebar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        z-index: 50;
    }
    .seller-sidebar-backdrop.open {
        display: block;
    }
}
