/**
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 * 🎴 COLLECTION.CSS - Styles spécifiques à la page collection
 * ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   STATS OVERVIEW
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.stats-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 2px solid var(--iron);
    border-radius: 16px;
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--goa-shadow-cyan), inset 0 0 0 1px var(--glass-border);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(169, 181, 189, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(169, 181, 189, 0.5),
                0 0 40px rgba(240, 234, 228, 0.3);
    border-color: var(--royal-pearl);
}

.stat-icon {
    font-size: 2rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-card);
    border-radius: 50%;
    border: 2px solid var(--iron);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--royal-pearl);
    box-shadow: 0 0 20px rgba(169, 181, 189, 0.5);
}

.stat-icon-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(169, 181, 189, 0.4));
}

.stat-content {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.stat-content-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    width: 100%;
}

.stat-label {
    font-size: 16px !important;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
    background: var(--gradient-royal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
}

.stat-value {
    font-size: 17px !important;
    font-weight: 800;
    background: var(--gradient-royal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    text-shadow: 0 0 10px rgba(169, 181, 189, 0.3);
}

.stat-floor-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xs);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(100, 108, 116, 0.15);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.stat-total-values {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    width: 100%;
    order: 3;
}

.stat-total-values .stat-floor-price {
    margin-top: 0;
    font-size: 16px;
    padding: var(--spacing-sm) var(--spacing-md);
}

.floor-currency-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(169, 181, 189, 0.4));
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   COLLECTION LAYOUT
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.collection-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--spacing-xl);
    transition: grid-template-columns 0.3s ease;
}

.collection-main {
    min-width: 0;
}

/* Apply Filters Button */
.filter-actions {
    margin-top: auto;
    padding: var(--spacing-lg);
    border-top: 2px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
}

.apply-filters-btn {
    width: 100%;
    padding: 16px 24px;
    background: var(--gradient-royal) !important;
    border: 2px solid var(--royal-pearl) !important;
    border-radius: 12px;
    cursor: pointer;
    font-family: var(--font-family);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--goa-black) !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: var(--goa-shadow-cyan), 0 0 30px rgba(169, 181, 189, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.apply-filters-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.apply-filters-btn:hover::before {
    width: 300px;
    height: 300px;
}

.apply-filters-btn svg {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.apply-filters-btn span {
    position: relative;
    z-index: 1;
}

.apply-filters-btn:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: var(--steel-light) !important;
    box-shadow: 0 10px 40px rgba(169, 181, 189, 0.6), 0 0 60px rgba(240, 234, 228, 0.4) !important;
}

.apply-filters-btn:active {
    transform: translateY(0);
    box-shadow: var(--goa-shadow-cyan);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FILTERS SIDEBAR
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.filters-sidebar {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    height: fit-content;
    max-height: calc(100vh - 2 * var(--spacing-lg));
    position: sticky;
    top: var(--spacing-lg);
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: var(--goa-shadow-cyan), inset 0 0 0 1px var(--glass-border);
    scrollbar-width: thin;
    scrollbar-color: var(--steel-light) transparent;
}

/* Scrollbar personnalisée pour webkit (Chrome, Safari, Edge) */
.filters-sidebar::-webkit-scrollbar {
    width: 8px;
}

.filters-sidebar::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

.filters-sidebar::-webkit-scrollbar-thumb {
    background: var(--steel-light);
    border-radius: 4px;
    transition: background 0.3s;
}

.filters-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--royal-pearl);
}

.sidebar-close-btn {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 59, 48, 0.2);
    border: 1px solid rgba(255, 59, 48, 0.4);
    color: #ff3b30;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.sidebar-close-btn:hover {
    background: rgba(255, 59, 48, 0.3);
    border-color: #ff3b30;
    transform: rotate(90deg);
}

.sidebar-close-btn svg {
    width: 20px;
    height: 20px;
}

/* Mobile Filter Toggle Button (dans le header - extreme gauche) */
.mobile-filter-toggle {
    display: none; /* Caché par défaut sur desktop */
    background: linear-gradient(135deg, #A9B5BD 0%, #E8DDD5 50%, #C8BDB5 100%);
    color: #1A1C1F;
    border: none;
    border-radius: 8px;
    padding: 0 20px;
    height: 48px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(169, 181, 189, 0.5),
                0 0 0 0 rgba(169, 181, 189, 0.7);
    transition: all 0.3s ease;
    gap: 8px;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    margin-right: 16px;
    position: relative;
    overflow: hidden;
    animation: pulseFilters 2.5s ease-in-out infinite;
}

/* Shimmer effect */
.mobile-filter-toggle::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-150%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(150%);
        opacity: 0;
    }
}

@keyframes pulseFilters {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(169, 181, 189, 0.5),
                    0 0 0 0 rgba(169, 181, 189, 0.7);
    }
    50% {
        box-shadow: 0 4px 20px rgba(169, 181, 189, 0.7),
                    0 0 0 8px rgba(169, 181, 189, 0);
    }
}

.mobile-filter-toggle svg {
    width: 20px;
    height: 20px;
    stroke: #1A1C1F;
    stroke-width: 2.5;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.mobile-filter-toggle span {
    position: relative;
    z-index: 1;
}

.mobile-filter-toggle:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 24px rgba(169, 181, 189, 0.6);
}

.mobile-filter-toggle:active {
    transform: scale(0.98);
}

.sidebar-header {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--glass-border);
}

.sidebar-header h3 {
    font-size: 0.85rem;
    font-weight: 700;
    background: var(--gradient-royal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: 1.5px;
    text-align: center;
}

.btn-refresh {
    background: var(--gradient-card);
    border: 1px solid var(--steel-light);
    color: var(--steel-light);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
    backdrop-filter: blur(10px);
}

.btn-refresh:hover {
    background: var(--gradient-royal);
    border-color: var(--royal-pearl);
    color: var(--goa-black);
    box-shadow: 0 0 20px rgba(169, 181, 189, 0.4);
}

.btn-refresh:active {
    transform: scale(0.98);
}

.btn-refresh svg {
    transition: transform 0.5s ease;
}

.btn-refresh.loading svg {
    animation: spin 1s linear infinite;
}

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

.btn-reset {
    background: rgba(139, 0, 0, 0.15);
    border: 1px solid rgba(139, 0, 0, 0.4);
    color: var(--crimson);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
    backdrop-filter: blur(10px);
}

.btn-reset:hover {
    background: rgba(139, 0, 0, 0.25);
    border-color: var(--crimson);
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.4);
}

.btn-reset:active {
    transform: scale(0.98);
}

.filter-section {
    margin-bottom: var(--spacing-xl);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Filter Accordion Header */
.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 12px;
    margin: 0 -12px;
    cursor: pointer;
    user-select: none;
    border: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: transparent;
    font-family: inherit;
    text-align: left;
}

.filter-header:hover {
    background: rgba(255, 255, 255, 0.08);
}

.filter-header:focus {
    outline: 2px solid var(--goa-blue);
    outline-offset: 2px;
}

.filter-header:focus:not(:focus-visible) {
    outline: none;
}

.filter-header:focus-visible {
    outline: 2px solid var(--goa-blue);
    outline-offset: 2px;
}

.filter-header:hover .filter-title {
    color: var(--goa-blue);
}

.filter-header:hover .filter-chevron {
    stroke: var(--goa-blue);
    transform: translateX(2px);
}

.filter-header:active {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(0.98);
}

/* Filter Chevron Icon */
.filter-chevron {
    flex-shrink: 0;
    stroke: var(--color-text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: rotate(0deg); /* Par défaut: ouvert (chevron vers le bas) */
}

.filter-section.expanded .filter-chevron {
    transform: rotate(0deg);
}

.filter-section.collapsed .filter-chevron {
    transform: rotate(-90deg);
}

/* Filter Content (Collapsible) */
.filter-content {
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                padding 0.3s ease;
    opacity: 1;
    max-height: none; /* Par défaut: ouvert (hauteur auto) */
}

.filter-section.collapsed .filter-content {
    max-height: 0 !important;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.filter-section.expanded .filter-content {
    opacity: 1;
}

.filter-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(148, 163, 184, 1);
    margin: 0 0 var(--spacing-md) 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.filter-select {
    background-color: rgba(30, 41, 59, 0.9);
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 0.75rem;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    width: 100%;
}

.filter-select:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background-color: rgba(30, 41, 59, 1);
}

.filter-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}

/* Season Buttons */
/* NFT Type Buttons */
.nfttype-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.nfttype-btn {
    background: transparent;
    border: 1px solid var(--steel-light);
    color: var(--steel-light);
    padding: 10px 8px;
    border-radius: var(--radius-md);
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 45px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
}

.nfttype-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(169, 181, 189, 0.3) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
}

.nfttype-btn:hover {
    border-color: var(--royal-pearl);
    background: rgba(169, 181, 189, 0.1);
    color: var(--royal-pearl);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(169, 181, 189, 0.3);
}

.nfttype-btn:hover::before {
    left: 100%;
}

.nfttype-btn.active {
    background: var(--gradient-royal);
    border-color: var(--royal-pearl);
    color: var(--goa-black);
}

/* Status Buttons */
.status-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.status-btn {
    background: transparent;
    border: 1px solid var(--steel-light);
    color: var(--steel-light);
    padding: 10px 8px;
    border-radius: var(--radius-md);
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 45px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
}

.status-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(169, 181, 189, 0.3) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
}

.status-btn:hover {
    border-color: var(--royal-pearl);
    background: rgba(169, 181, 189, 0.1);
    color: var(--royal-pearl);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(169, 181, 189, 0.3);
}

.status-btn:hover::before {
    left: 100%;
}

.status-btn.active {
    background: var(--gradient-royal);
    border-color: var(--royal-pearl);
    color: var(--goa-black);
}

/* Season Buttons */
.season-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.season-btn {
    background: transparent;
    border: 1px solid var(--steel-light);
    color: var(--steel-light);
    padding: 10px 8px;
    border-radius: var(--radius-md);
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 45px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
}

.season-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(169, 181, 189, 0.3) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
}

.season-btn:hover {
    border-color: var(--royal-pearl);
    background: rgba(169, 181, 189, 0.1);
    color: var(--royal-pearl);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(169, 181, 189, 0.3);
}

.season-btn:hover::before {
    left: 100%;
}

.season-btn.active {
    background: var(--gradient-royal);
    border-color: var(--royal-pearl);
    color: var(--goa-black);
}

/* Element Icons */
.element-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.element-btn {
    background: transparent;
    border: 1px solid var(--steel-light);
    padding: 0;
    border-radius: 50%;
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--steel-light);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.element-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(169, 181, 189, 0.3) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
}

.element-btn img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    filter: brightness(0.8);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.element-btn span {
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--steel-light);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.element-btn:hover {
    border-color: var(--royal-pearl);
    background: rgba(169, 181, 189, 0.1);
    color: var(--royal-pearl);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(169, 181, 189, 0.3);
}

.element-btn:hover::before {
    left: 100%;
}

.element-btn:hover img {
    filter: brightness(1.2);
}

.element-btn:hover span {
    color: var(--royal-pearl);
}

.element-btn.active {
    border-color: var(--royal-pearl);
    background: var(--gradient-royal);
    color: var(--goa-black);
}

.element-btn.active img {
    filter: brightness(1.2) drop-shadow(0 0 4px rgba(240, 234, 228, 0.8));
}

.element-btn.active span {
    color: var(--goa-black);
}

/* Rarity Buttons */
.rarity-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.rarity-btn {
    background: transparent;
    border: 1px solid var(--steel-light);
    color: var(--steel-light);
    padding: 0;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.rarity-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(169, 181, 189, 0.3) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
}

.rarity-btn img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
    filter: brightness(0.8);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.rarity-btn span {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--steel-light);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.rarity-btn:hover {
    border-color: var(--royal-pearl);
    background: rgba(169, 181, 189, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(169, 181, 189, 0.3);
}

.rarity-btn:hover::before {
    left: 100%;
}

.rarity-btn:hover img {
    filter: brightness(1.2);
}

.rarity-btn:hover span {
    color: var(--royal-pearl);
}

.rarity-btn.active {
    border-color: var(--royal-pearl);
    background: var(--gradient-royal);
    color: var(--goa-black);
}

.rarity-btn.active img {
    filter: brightness(1.2) drop-shadow(0 0 4px rgba(240, 234, 228, 0.8));
}

.rarity-btn.active span {
    color: var(--goa-black);
}

/* Advancement Buttons */
.advancement-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.advancement-btn {
    background: transparent;
    border: 1px solid var(--steel-light);
    padding: 8px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    overflow: hidden;
    position: relative;
}

.advancement-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(169, 181, 189, 0.3) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
}

.advancement-btn img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: brightness(0.8);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.advancement-btn span {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--steel-light);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.advancement-btn:hover {
    border-color: var(--royal-pearl);
    background: rgba(169, 181, 189, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(169, 181, 189, 0.3);
}

.advancement-btn:hover::before {
    left: 100%;
}

.advancement-btn:hover img {
    filter: brightness(1.2);
}

.advancement-btn:hover span {
    color: var(--royal-pearl);
}

.advancement-btn.active {
    border-color: var(--royal-pearl);
    background: var(--gradient-royal);
}

.advancement-btn.active img {
    filter: brightness(1.1);
}

.advancement-btn.active span {
    color: var(--goa-black);
}

/* Power Slider */
.power-slider-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.power-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.power-min,
.power-max {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--goa-blue);
}

.power-separator {
    color: var(--color-text-secondary);
}

.power-slider {
    width: 100%;
    height: 6px;
    background: rgba(30, 41, 59, 0.9);
    border-radius: 3px;
    outline: none;
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.power-slider::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--goa-blue);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.power-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.power-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--goa-blue);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.power-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Faction Buttons */
.faction-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.faction-btn {
    background: transparent;
    border: 1px solid var(--steel-light);
    padding: 8px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    overflow: hidden;
    position: relative;
}

.faction-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(169, 181, 189, 0.3) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
}

.faction-btn img {
    max-width: 55%;
    max-height: 55%;
    object-fit: contain;
    filter: brightness(0.8);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.faction-btn span {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--steel-light);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.faction-btn:hover {
    border-color: var(--royal-pearl);
    background: rgba(169, 181, 189, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(169, 181, 189, 0.3);
}

.faction-btn:hover::before {
    left: 100%;
}

.faction-btn:hover img {
    filter: brightness(1.2);
}

.faction-btn:hover span {
    color: var(--royal-pearl);
}

.faction-btn.active {
    border-color: var(--royal-pearl);
    background: var(--gradient-royal);
}

.faction-btn.active img {
    filter: brightness(1.1);
}

.faction-btn.active span {
    color: var(--goa-black);
}

/* Foil Buttons */
.foil-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.foil-btn {
    background: transparent;
    border: 1px solid var(--steel-light);
    padding: 8px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    overflow: hidden;
    position: relative;
}

.foil-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(169, 181, 189, 0.3) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
}

.foil-btn img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: brightness(0.8);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.foil-btn span {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--steel-light);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.foil-btn:hover {
    border-color: var(--royal-pearl);
    background: rgba(169, 181, 189, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(169, 181, 189, 0.3);
}

.foil-btn:hover::before {
    left: 100%;
}

.foil-btn:hover img {
    filter: brightness(1.2);
}

.foil-btn:hover span {
    color: var(--royal-pearl);
}

.foil-btn.active {
    border-color: var(--royal-pearl);
    background: var(--gradient-royal);
}

.foil-btn.active img {
    filter: brightness(1.1);
}

.foil-btn.active span {
    color: var(--goa-black);
}

/* Numbering Buttons */
.numbering-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.numbering-btn {
    background: transparent;
    border: 1px solid var(--steel-light);
    color: var(--steel-light);
    padding: 10px 8px;
    border-radius: var(--radius-md);
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.numbering-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(169, 181, 189, 0.3) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
}

.numbering-btn:hover {
    border-color: var(--royal-pearl);
    background: rgba(169, 181, 189, 0.1);
    color: var(--royal-pearl);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(169, 181, 189, 0.3);
}

.numbering-btn:hover::before {
    left: 100%;
}

.numbering-btn.active {
    background: var(--gradient-royal);
    border-color: var(--royal-pearl);
    color: var(--goa-black);
}

/* Card Type Buttons */
.cardtype-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.cardtype-btn {
    background: transparent;
    border: 1px solid var(--steel-light);
    padding: 8px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    overflow: hidden;
    position: relative;
}

.cardtype-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(169, 181, 189, 0.3) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
}

.cardtype-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.8);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.cardtype-btn span {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--steel-light);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.cardtype-btn:hover {
    border-color: var(--royal-pearl);
    background: rgba(169, 181, 189, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(169, 181, 189, 0.3);
}

.cardtype-btn:hover::before {
    left: 100%;
}

.cardtype-btn:hover img {
    filter: brightness(1.2);
}

.cardtype-btn:hover span {
    color: var(--royal-pearl);
}

.cardtype-btn.active {
    border-color: var(--royal-pearl);
    background: var(--gradient-royal);
}

.cardtype-btn.active img {
    filter: brightness(1.1);
}

.cardtype-btn.active span {
    color: var(--goa-black);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CARDS GRID
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.no-cards {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-2xl);
    background-color: var(--color-bg-secondary);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text-secondary);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CARD COMPONENT
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.card {
    background-color: var(--color-bg-secondary);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card.owned {
    border-color: var(--color-primary);
}

.card.owned:hover {
    border-color: var(--color-primary-hover);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.card.missing {
    opacity: 0.7;
    filter: grayscale(100%);
    position: relative;
}

.card.missing::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.card.missing:hover {
    opacity: 0.85;
    filter: grayscale(70%);
}

/* Bordures par rareté */
.card.common { border-color: var(--color-common); }
.card.uncommon { border-color: var(--color-uncommon); }
.card.rare { border-color: var(--color-rare); }
.card.special_rare { border-color: var(--color-special_rare); }
.card.ultra_rare { border-color: #a855f7; }
.card.mythic { border-color: #f59e0b; }
.card.divine { border-color: #ef4444; }
.card.exclusive { border-color: #8b5cf6; }

.card-image-wrapper {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    background-color: transparent;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.card-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background-color: var(--color-primary);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

/* Badge FOIL pour les Souvenir Cards */
.card-badge.foil-badge {
    top: auto;
    bottom: var(--spacing-sm);
    left: var(--spacing-sm);
    right: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
    animation: none;
}

.card-badge.foil-badge .foil-icon {
    width: 32px;
    height: 32px;
    display: block;
    object-fit: contain;
}

@keyframes foilShimmer {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(255, 215, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 2px 12px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.5);
    }
}

.card-rarity-icon {
    position: absolute;
    bottom: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.card-rarity-icon-inline {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    margin-left: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.card-info {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-name {
    font-weight: 600;
    font-size: 0.875rem;
    padding-bottom: 8px;
    color: var(--color-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-meta {
    display: flex;
    gap: var(--spacing-xs);
    padding-bottom: 8px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-rarity,
.card-element {
    font-size: 0.625rem;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.element-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.currency-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 4px;
}

.card-rarity {
    background-color: rgba(148, 163, 184, 0.2);
    color: var(--color-common);
}

.card-rarity.uncommon {
    background-color: rgba(34, 197, 94, 0.2);
    color: var(--color-uncommon);
}

.card-rarity.rare {
    background-color: rgba(59, 130, 246, 0.2);
    color: var(--color-rare);
}

.card-rarity.special_rare {
    background-color: rgba(168, 85, 247, 0.2);
    color: var(--color-special_rare);
}

.card-rarity.ultra_rare {
    background-color: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.card-rarity.mythic {
    background-color: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.card-rarity.divine {
    background-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.card-rarity.exclusive {
    background-color: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.card-element {
    background-color: rgba(148, 163, 184, 0.2);
    color: var(--color-text-secondary);
}

.card-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.card-numbering {
    font-family: 'Courier New', monospace;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.numbering-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    vertical-align: middle;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.numbering-icon-modal {
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 4px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.card-power {
    font-weight: 600;
}

.card-pricing {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding-top: 8px;
    background: transparent;
    border-radius: var(--radius-sm);
}

.pricing-row {
    display: contents;
}

.pricing-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--color-text);
    font-weight: 600;
    padding: 6px 8px;
    border-radius: var(--radius-xs);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    min-height: 32px;
}

.pricing-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.pricing-item .currency-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.pricing-value {
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    min-width: 30px;
    text-align: right;
}

.pricing-item.floor-price {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-item.floor-price .currency-icon {
    width: 22px;
    height: 22px;
}

.pricing-item.floor-price:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.pricing-usdc {
    font-size: 0.7rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    margin-left: 4px;
}

/* Pricing Column Layout */
.pricing-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px;
}

/* Floor Price Label */
.floor-price-label {
    font-size: 0.65rem;
    color: var(--color-text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* USDC Container */
.pricing-usdc-container {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

/* USDC Icon */
.usdc-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

/* USDC Value Display */
.pricing-usdc-value {
    font-size: 1rem;
    color: #2ecc71;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Card Actions Container */
.card-actions {
    display: flex;
    gap: 6px;
    width: 100%;
    margin-top: 4px;
}

/* Send Button - Glassmorphism Effect */
.send-button {
    flex: 1;
    padding: 12px;
    background: rgba(52, 152, 219, 0.15);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 44px;
}

.send-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.3), transparent);
    transition: left 0.5s ease;
}

.send-button:hover {
    background: rgba(52, 152, 219, 0.25);
    border-color: rgba(52, 152, 219, 0.5);
    color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.send-button:hover::before {
    left: 100%;
}

.send-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Sell Button - Glassmorphism Effect */
.sell-button {
    flex: 1;
    padding: 12px;
    background: rgba(231, 76, 60, 0.15);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 44px;
}

.sell-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.3), transparent);
    transition: left 0.5s ease;
}

.sell-button:hover {
    background: rgba(231, 76, 60, 0.25);
    border-color: rgba(231, 76, 60, 0.5);
    color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.sell-button:hover::before {
    left: 100%;
}

.sell-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(231, 76, 60, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Button Icon */
.button-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    display: inline-block;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.send-button:hover .button-icon,
.sell-button:hover .button-icon {
    transform: scale(1.15);
}

/* Button Text */
.button-text {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 6px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PAGINATION
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl) 0;
}

.page-info {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    font-weight: 600;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Desktop Large (> 1440px) - Optimize for large screens */
@media (min-width: 1441px) {
    .collection-layout {
        grid-template-columns: 280px 1fr;
    }

    .filters-sidebar {
        max-width: 320px;
    }

    .cards-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Desktop (1025px - 1440px) - Standard desktop */
@media (min-width: 1025px) and (max-width: 1440px) {
    .collection-layout {
        grid-template-columns: 260px 1fr;
    }

    .filters-sidebar {
        max-width: 280px;
    }

    .cards-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Tablet (768px - 1024px) - Sidebar en fullscreen avec bouton toggle */
@media (min-width: 768px) and (max-width: 1024px) {
    .collection-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    /* Afficher le bouton de fermeture dans la sidebar */
    .sidebar-close-btn {
        display: flex;
    }

    /* Afficher le bouton toggle sur tablette */
    .mobile-filter-toggle {
        display: flex;
        position: fixed;
        left: 16px;
        top: 16px;
        margin-right: 0;
        height: 44px;
        padding: 0 18px;
        font-size: 0.8rem;
        z-index: 1001;
    }

    .mobile-filter-toggle svg {
        width: 18px;
        height: 18px;
    }

    /* Mode fullscreen pour les filtres en tablette */
    .filters-sidebar {
        position: fixed !important;
        inset: 0 !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        margin-bottom: 0;
        z-index: 9999 !important;
        background: var(--glass-bg) !important;
        backdrop-filter: blur(20px);
        border: none;
        border-radius: 0;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.95);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: scroll !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 0 100px rgba(169, 181, 189, 0.3);
        padding: 1.5rem;
        padding-top: 80px;
        padding-bottom: 150px;
        display: flex;
        flex-direction: column;
    }

    .filters-sidebar.open {
        opacity: 1 !important;
        visibility: visible !important;
        transform: scale(1) !important;
    }

    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-lg);
    }

    .stats-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    /* Ajuster les boutons de rareté et éléments pour tablette */
    .rarity-buttons,
    .element-icons {
        gap: 8px;
    }

    .rarity-btn,
    .element-btn {
        width: 40px;
        height: 40px;
    }

    /* S'assurer que toutes les sections de filtres sont dépliées */
    .filter-section {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow: visible !important;
        margin-bottom: var(--spacing-lg) !important;
    }

    .filter-content {
        display: block !important;
        max-height: none !important;
        opacity: 1 !important;
        padding-top: var(--spacing-md) !important;
        padding-bottom: var(--spacing-md) !important;
    }

    /* Forcer toutes les sections à être dépliées même si collapsed */
    .filter-section.collapsed .filter-content {
        display: block !important;
        max-height: none !important;
        opacity: 1 !important;
    }

    .filter-title {
        font-size: 0.75rem !important;
        color: rgba(203, 213, 225, 1) !important;
        font-weight: 700 !important;
    }

    /* Masquer les chevrons puisque tout est déplié par défaut */
    .filter-chevron {
        display: none !important;
    }

    /* Désactiver le comportement de pliage/dépliage */
    .filter-header {
        cursor: default !important;
        pointer-events: none !important;
    }

    .filter-header .filter-title {
        pointer-events: auto !important;
    }

    /* Afficher tous les groupes de boutons de filtres */
    .filter-group,
    .season-buttons,
    .rarity-buttons,
    .advancement-buttons,
    .grade-buttons,
    .foil-buttons,
    .numbering-buttons,
    .cardtype-buttons,
    .faction-buttons {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Grid layouts pour NFT Type et Status */
    .nfttype-buttons,
    .status-buttons,
    .element-icons {
        display: grid !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Cacher les select avec la classe hidden */
    .filter-select.hidden {
        display: none !important;
    }
}

/* Mobile (≤ 767px) - Mode fullscreen avec bouton fixe */
@media (max-width: 767px) {
    .collection-layout {
        grid-template-columns: 1fr;
        padding: var(--spacing-md);
    }

    /* Afficher le bouton de fermeture dans la sidebar */
    .sidebar-close-btn {
        display: flex;
    }

    /* Afficher le bouton toggle sur mobile */
    .mobile-filter-toggle {
        display: flex;
        position: fixed;
        left: 16px;
        top: 16px;
        height: 40px;
        padding: 0 16px;
        font-size: 0.75rem;
        margin-right: 0;
        z-index: 1001;
    }

    .mobile-filter-toggle svg {
        width: 16px;
        height: 16px;
    }

    /* Mode fullscreen pour les filtres en mobile */
    .filters-sidebar {
        position: fixed !important;
        inset: 0 !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        margin-bottom: 0;
        z-index: 9999 !important;
        background: var(--glass-bg) !important;
        backdrop-filter: blur(20px);
        border: none;
        border-radius: 0;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.95);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: scroll !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 0 100px rgba(169, 181, 189, 0.3);
        padding: 1rem;
        padding-top: 70px;
        padding-bottom: 150px; /* Espace pour la bottom navigation + marge */
        display: flex;
        flex-direction: column;
    }

    .filters-sidebar.open {
        opacity: 1 !important;
        visibility: visible !important;
        transform: scale(1) !important;
    }

    .stats-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .stat-card {
        padding: var(--spacing-md);
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .filters {
        flex-direction: column;
    }

    .filter-group {
        width: 100%;
    }

    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }

    /* Ajuster les boutons de rareté et éléments */
    .rarity-buttons,
    .element-icons {
        gap: 10px;
    }

    .rarity-btn,
    .element-btn {
        width: 48px;
        height: 48px;
    }

    /* S'assurer que les sections de filtres sont visibles */
    .filter-section {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow: visible !important;
        margin-bottom: var(--spacing-md) !important;
    }

    .filter-content {
        display: block !important;
        max-height: none !important;
        opacity: 1 !important;
        padding-top: var(--spacing-md) !important;
        padding-bottom: var(--spacing-md) !important;
    }

    /* Forcer toutes les sections à être dépliées */
    .filter-section.collapsed .filter-content {
        display: block !important;
        max-height: none !important;
        opacity: 1 !important;
    }

    .filter-header {
        display: flex !important;
    }

    .filter-title {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        font-size: 0.75rem !important;
        color: rgba(203, 213, 225, 1) !important;
        font-weight: 700 !important;
    }

    .filter-group,
    .season-buttons,
    .rarity-buttons,
    .advancement-buttons,
    .grade-buttons,
    .foil-buttons,
    .numbering-buttons,
    .cardtype-buttons,
    .faction-buttons {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Grid layouts pour NFT Type et Status */
    .nfttype-buttons,
    .status-buttons,
    .element-icons {
        display: grid !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Cacher les select avec la classe hidden */
    .filter-select.hidden {
        display: none !important;
    }

    .sidebar-header {
        display: flex !important;
        flex-direction: column !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .filter-actions {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Masquer les chevrons puisque tout est déplié par défaut */
    .filter-chevron {
        display: none !important;
    }

    /* Désactiver le comportement de pliage/dépliage */
    .filter-header {
        cursor: default !important;
        pointer-events: none !important;
    }

    .filter-header .filter-title {
        pointer-events: auto !important;
    }
}

/* Mobile Large (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .stats-overview {
        grid-template-columns: 1fr;
    }

}

/* Mobile Small (≤ 480px) */
@media (max-width: 480px) {
    .collection-layout {
        padding: var(--spacing-sm);
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .stats-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .stat-card {
        padding: var(--spacing-sm);
        flex-direction: column;
        text-align: center;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .stat-icon-img {
        width: 32px;
        height: 32px;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .filters-sidebar {
        padding: var(--spacing-md);
        padding-top: 70px;
        padding-bottom: 90px;
    }

    .filter-section {
        margin-bottom: var(--spacing-lg);
    }

    /* Réduire la taille des boutons sur petit mobile */
    .rarity-btn,
    .element-btn {
        width: 42px;
        height: 42px;
    }

    .rarity-buttons,
    .element-icons {
        gap: 8px;
    }

    /* Ajuster les titres de filtres */
    .filter-title {
        font-size: 0.75rem;
        color: rgba(203, 213, 225, 1) !important;
        font-weight: 700 !important;
    }

    /* Bouton appliquer plus petit */
    .apply-filters-btn {
        padding: 14px 20px;
        font-size: 1rem;
    }
}

/* Mobile Extra Small (≤ 360px) */
@media (max-width: 360px) {
    .stats-overview {
        grid-template-columns: 1fr;
    }

    .stat-card {
        flex-direction: row;
        padding: var(--spacing-xs);
        gap: var(--spacing-sm);
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .stat-icon-img {
        width: 28px;
        height: 28px;
    }

    .stat-content {
        text-align: left;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .stat-value {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .stats-overview {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .stat-card {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
        padding: var(--spacing-sm);
    }

    /* Responsive des informations de carte sur tablette */
    .card-info {
        padding: 10px;
    }

    .card-name {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    /* Modal pricing responsive */
    .pricing-details-modal {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .currency-icon-modal {
        width: 28px;
        height: 28px;
    }

    .price-item-modal .price-value {
        font-size: 1.1rem;
    }

    .card-meta {
        gap: 4px;
        margin-bottom: 6px;
    }

    .card-rarity,
    .card-element {
        font-size: 0.6rem;
        padding: 2px 5px;
    }

    .element-icon {
        width: 12px;
        height: 12px;
    }

    .card-stats {
        font-size: 0.8rem;
        margin-bottom: 6px;
        gap: 6px;
    }

    .card-pricing {
        gap: 4px;
        padding: 6px;
    }

    .pricing-item {
        font-size: 0.65rem;
        gap: 4px;
        padding: 4px 6px;
        min-height: 28px;
    }

    .pricing-item .currency-icon {
        width: 16px;
        height: 16px;
    }

    .pricing-value {
        font-size: 0.7rem;
        min-width: 25px;
    }

    .pricing-item.floor-price .currency-icon {
        width: 18px;
        height: 18px;
    }

    .pricing-usdc {
        font-size: 0.6rem;
    }

    .card-detail {
        grid-template-columns: 1fr;
        padding: var(--spacing-md);
        max-height: 90vh;
    }

    .card-detail-left {
        max-width: 280px;
        margin: 0 auto;
    }

    .card-detail-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Amélioration des boutons sur mobile */
    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        min-height: 44px; /* Touch target minimum */
    }

    .season-buttons {
        gap: 8px;
    }

    .season-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
        min-height: 44px;
    }

    /* Pagination plus accessible */
    .pagination {
        gap: var(--spacing-md);
        padding: var(--spacing-lg) 0;
    }

    .page-info {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .stats-overview {
        grid-template-columns: 1fr;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 8px;
    }

    .card {
        border-radius: 12px;
    }

    .card-image-wrapper {
        border-radius: 10px;
    }

    /* Container des informations de carte plus compact */
    .card-info {
        padding: 8px;
    }

    .card-name {
        font-size: 0.75rem;
        line-height: 1.2;
        margin-bottom: 4px;
    }

    .card-meta {
        flex-direction: column;
        gap: 3px;
        align-items: flex-start;
        margin-bottom: 4px;
    }

    .card-rarity,
    .card-element {
        font-size: 0.6rem;
        padding: 2px 5px;
        white-space: nowrap;
    }

    .element-icon {
        width: 10px;
        height: 10px;
    }

    .card-stats {
        flex-wrap: wrap;
        gap: 4px;
        font-size: 0.75rem;
        margin-bottom: 4px;
    }

    .card-numbering,
    .card-power {
        font-size: 0.6rem;
    }

    .numbering-icon {
        width: 14px;
        height: 14px;
    }

    .numbering-icon-modal {
        width: 16px;
        height: 16px;
    }

    /* Pricing plus compact sur petit mobile */
    .card-pricing {
        gap: 3px;
        padding: 4px;
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-item {
        font-size: 0.6rem;
        gap: 3px;
        padding: 3px 4px;
        min-height: 24px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .pricing-item .currency-icon {
        width: 14px;
        height: 14px;
    }

    .pricing-value {
        font-size: 0.65rem;
        min-width: auto;
        text-align: center;
        white-space: nowrap;
    }

    .pricing-item.floor-price {
        grid-column: span 2;
        flex-direction: row;
        gap: 4px;
        min-height: 26px;
        padding: 4px 6px;
    }

    .pricing-item.floor-price .currency-icon {
        width: 16px;
        height: 16px;
    }

    .pricing-item.floor-price .pricing-value {
        font-size: 0.7rem;
    }

    .pricing-usdc {
        font-size: 0.55rem;
        margin-left: 2px;
    }

    /* Modal pricing sur petit mobile */
    .pricing-details-modal {
        gap: var(--spacing-xs);
    }

    .price-item-modal {
        padding: var(--spacing-sm);
    }

    .currency-icon-modal {
        width: 24px;
        height: 24px;
    }

    .price-label {
        font-size: 0.65rem;
    }

    .price-item-modal .price-value {
        font-size: 1rem;
    }

    .pricing-usdc {
        font-size: 0.55rem;
        margin-left: 15px;
    }

    /* Rareté et élément icons plus petits */
    .card-rarity-icon {
        width: 24px;
        height: 24px;
    }

    .element-icon {
        width: 14px;
        height: 14px;
    }

    /* Boutons de saison compacts */
    .season-buttons {
        flex-wrap: wrap;
        gap: 6px;
    }

    .season-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
        flex: 1 1 calc(50% - 3px);
        min-width: 70px;
    }

    /* Boutons de grade et foil compacts */
    .grade-btn {
        width: 40px;
        height: 40px;
        font-size: 0.7rem;
    }

    .foil-btn {
        padding: 8px 10px;
        font-size: 0.65rem;
        flex: 1 1 calc(50% - 4px);
    }

    /* Modal plein écran sur mobile */
    .modal {
        padding: 0;
    }

    .modal-content {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
        height: 100%;
    }

    .card-detail {
        padding: var(--spacing-sm);
        gap: var(--spacing-sm);
        max-height: 100vh;
    }

    .card-detail-left {
        max-width: 100%;
    }

    .card-detail-image {
        padding: var(--spacing-sm);
    }

    .card-detail-title {
        font-size: 1.25rem;
    }

    .card-detail-stats {
        grid-template-columns: 1fr;
        padding: var(--spacing-sm);
    }

    .stat-value {
        font-size: 0.9rem;
    }

    /* Sidebar header compact */
    .sidebar-header h3 {
        font-size: 0.8rem;
    }

    .clear-filters-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   🎁 Souvenir Cards - Grade Buttons
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.grade-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.grade-btn {
    background: transparent;
    border: 2px solid var(--steel-light);
    color: var(--steel-light);
    padding: 0;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.grade-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(169, 181, 189, 0.3) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
}

.grade-btn:hover {
    border-color: var(--royal-pearl);
    background: rgba(169, 181, 189, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(169, 181, 189, 0.3);
}

.grade-btn:hover::before {
    left: 100%;
}

.grade-btn.active {
    border-color: var(--royal-pearl);
    background: var(--gradient-royal);
    color: var(--goa-black);
}

.grade-icon {
    font-size: 1rem;
    font-weight: 800;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   🎁 Souvenir Cards - Foil Buttons (Styles déjà définis plus haut)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* .foil-buttons styles déjà définis ligne ~538 */

/* Ajustements supplémentaires pour les foil buttons avec texte */
.foil-btn .foil-icon {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-text-secondary);
}

.foil-btn.active {
    border-color: var(--royal-pearl);
    background: var(--gradient-royal);
    color: var(--goa-black);
    box-shadow: 0 0 15px rgba(169, 181, 189, 0.5);
}

.foil-icon {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   🖼️ LAZY LOADING - Chargement différé des images (Phase 7)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Image lazy non chargée - affiche le placeholder */
img[data-src] {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    min-height: 200px;
    position: relative;
}

/* Animation de chargement (spinner/pulse) */
img.lazy-loading {
    animation: pulse 1.5s ease-in-out infinite;
    background: linear-gradient(
        135deg,
        rgba(30, 41, 59, 0.8) 0%,
        rgba(51, 65, 85, 0.8) 50%,
        rgba(30, 41, 59, 0.8) 100%
    );
    background-size: 200% 200%;
    animation: shimmer 2s linear infinite;
}

/* Animation shimmer pour le loading */
@keyframes shimmer {
    0% {
        background-position: 200% center;
    }
    100% {
        background-position: -200% center;
    }
}

/* Animation pulse alternative */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Image chargée - fade-in smooth */
img.lazy-loaded {
    animation: fadeIn 0.4s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Erreur de chargement */
img.lazy-error {
    background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
    opacity: 0.5;
}

img.lazy-error::after {
    content: '❌';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #ef4444;
}

/* Placeholder SVG inline pour petits écrans */
@media (max-width: 768px) {
    img[data-src] {
        min-height: 150px;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   🎯 PERFORMANCE - Optimisations supplémentaires
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Réduire repaints pendant le scroll */
.cards-grid {
    contain: layout style paint;
}

/* Optimiser le rendu des cartes */
.card {
    contain: content;
    will-change: auto;
}

/* Images optimisées pour le rendering */
.card-image,
.card-detail-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Réduire le coût du blur sur les missing cards */
.card.missing .card-image {
    will-change: filter;
}

/* ========================================
   INLINE STYLES MIGRATED FROM COLLECTION.HTML
   ======================================== */

/* Icône Phantom dans le bouton */
.phantom-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* ========== LANGUAGE SELECTOR ========== */
/* Les styles du language selector sont gérés par goa-theme.css */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   📊 DETAILED STATISTICS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.detailed-stats {
    margin-bottom: var(--spacing-2xl);
}

.detailed-stats-title {
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-royal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.stat-section {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 2px solid var(--glass-border);
    border-radius: 20px;
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--goa-shadow-cyan);
    transition: all 0.3s ease;
}

.stat-section:hover {
    border-color: var(--steel-light);
    box-shadow: 0 10px 40px rgba(169, 181, 189, 0.4);
}

.stat-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--steel-light);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.stat-section-icon {
    font-size: 1.5rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.stat-item {
    background: rgba(100, 108, 116, 0.1);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-item:hover {
    border-color: var(--steel-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(169, 181, 189, 0.3);
}

.stat-item-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(169, 181, 189, 0.3));
}

.stat-item-content {
    flex: 1;
}

.stat-item-label {
    font-size: 0.75rem;
    color: var(--goa-text-secondary);
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    font-weight: 600;
}

.stat-item-value {
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--gradient-royal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Special Cards styling - removed gradient border effect */
.stat-item.special-card {
    /* Keeping same background as regular stat-items */
}

/* Responsive design for detailed stats */
@media (max-width: 1200px) {
    .stat-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}

@media (max-width: 768px) {
    .stat-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: var(--spacing-sm);
    }

    .stat-section {
        padding: var(--spacing-lg);
    }

    .stat-item {
        padding: var(--spacing-sm);
    }

    .stat-item-icon {
        width: 32px;
        height: 32px;
    }

    .stat-item-label {
        font-size: 0.7rem;
    }

    .stat-item-value {
        font-size: 1rem;
    }

    .detailed-stats-title {
        font-size: 1.5rem;
    }

    .stat-section-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .stat-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    }

    .stat-item-icon {
        width: 28px;
        height: 28px;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   📱 BOTTOM NAVIGATION - Déplacé vers global.css
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Les styles de la bottom navigation sont maintenant dans global.css
   pour être disponibles sur toutes les pages du site */

/* Welcome Section - Page de connexion wallet */

.welcome-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 2rem;
}

.welcome-card {
    position: relative;
    max-width: 600px;
    width: 100%;
    background: linear-gradient(135deg, rgba(169, 181, 189, 0.1) 0%, rgba(200, 189, 181, 0.08) 100%);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 2px solid transparent;
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(169, 181, 189, 0.1), inset 0 0 60px rgba(169, 181, 189, 0.05);
    animation: fadeInUp 0.8s ease-out, pulseCard 4s ease-in-out infinite 2s;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.welcome-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(169, 181, 189, 0.6) 0%, rgba(232, 221, 213, 0.4) 50%, rgba(200, 189, 181, 0.6) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorder 8s linear infinite;
}

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

.welcome-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(169, 181, 189, 0.2), inset 0 0 80px rgba(169, 181, 189, 0.08), 0 0 100px rgba(169, 181, 189, 0.2);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseCard {
    0%, 100% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(169, 181, 189, 0.1), inset 0 0 60px rgba(169, 181, 189, 0.05); }
    50% { box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(169, 181, 189, 0.15), inset 0 0 80px rgba(169, 181, 189, 0.08), 0 0 60px rgba(169, 181, 189, 0.1); }
}

.welcome-card h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #A9B5BD 0%, #E8DDD5 30%, #C8BDB5 60%, #A9B5BD 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    animation: gradientFlow 6s ease infinite;
    filter: drop-shadow(0 0 30px rgba(169, 181, 189, 0.5)) drop-shadow(0 0 60px rgba(232, 221, 213, 0.3));
}

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

.welcome-card h2 span {
    font-size: 3rem;
    display: inline-block;
    animation: bounceIcon 3s ease-in-out infinite;
    margin-right: 0.5rem;
}

@keyframes bounceIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-5px) rotate(5deg); }
}

.welcome-card p {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.3s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.welcome-card .btn {
    position: relative;
    background: linear-gradient(135deg, #A9B5BD 0%, #E8DDD5 50%, #C8BDB5 100%);
    color: #1A1C1F;
    border: none;
    border-radius: 16px;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(169, 181, 189, 0.5), 0 0 0 0 rgba(169, 181, 189, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulseGlowButton 2.5s ease-in-out infinite, slideInButton 0.8s ease-out 0.5s backwards;
}

@keyframes slideInButton {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.welcome-card .btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.welcome-card .btn:hover::before {
    left: 100%;
}

.welcome-card .btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 48px rgba(169, 181, 189, 0.6), 0 0 80px rgba(232, 221, 213, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.welcome-card .btn:active {
    transform: translateY(-2px) scale(1.02);
}

@keyframes pulseGlowButton {
    0%, 100% { box-shadow: 0 8px 32px rgba(169, 181, 189, 0.5), 0 0 0 0 rgba(169, 181, 189, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
    50% { box-shadow: 0 8px 32px rgba(169, 181, 189, 0.7), 0 0 0 16px rgba(169, 181, 189, 0), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
}

.welcome-card .phantom-icon {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@media (max-width: 768px) {
    .welcome-card { padding: 3rem 2rem; }
    .welcome-card h2 { font-size: 2rem; }
    .welcome-card h2 span { font-size: 2.5rem; }
    .welcome-card p { font-size: 1rem; }
    .welcome-card .btn { padding: 1rem 2rem; font-size: 1rem; }
}

@media (max-width: 480px) {
    .welcome-section { padding: 2rem 1rem; }
    .welcome-card { padding: 2.5rem 1.5rem; }
    .welcome-card h2 { font-size: 1.75rem; }
    .welcome-card h2 span { font-size: 2rem; }
    .welcome-card .btn { width: 100%; justify-content: center; }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MARKETPLACE STYLES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Marketplace Price Display */
.marketplace-price {
    margin: 0.75rem 0;
    padding: 0.75rem;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: var(--radius-sm);
    text-align: center;
}

.price-label {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2ecc71;
}

/* Marketplace Seller Info */
.marketplace-seller {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.75rem;
}

.seller-label {
    opacity: 0.7;
}

.seller-address {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--royal-pearl);
}

/* Buy Button - Glassmorphism Effect */
.buy-button {
    width: 100%;
    padding: 12px;
    background: transparent;
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.buy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 204, 113, 0.3), transparent);
    transition: left 0.5s ease;
}

.buy-button:hover {
    background: rgba(46, 204, 113, 0.1);
    border-color: rgba(46, 204, 113, 0.5);
    color: #27ae60;
    transform: translateY(-2px);
}

.buy-button:hover::before {
    left: 100%;
}

.buy-button:active {
    transform: translateY(0);
}

/* Delist Button */
.delist-button {
    width: 100%;
    padding: 12px;
    background: transparent;
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.delist-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.3), transparent);
    transition: left 0.5s ease;
}

.delist-button:hover {
    background: rgba(231, 76, 60, 0.1);
    border-color: rgba(231, 76, 60, 0.5);
    color: #c0392b;
    transform: translateY(-2px);
}

.delist-button:hover::before {
    left: 100%;
}

.delist-button:active {
    transform: translateY(0);
}

.delist-button .button-icon {
    width: 16px;
    height: 16px;
}

/* Own Listing Badge */
.own-listing-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(231, 76, 60, 0.9);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.card.own-listing {
    border-color: rgba(231, 76, 60, 0.4);
}

.card.own-listing:hover {
    border-color: rgba(231, 76, 60, 0.6);
}

/* Price Range Inputs */
.price-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-input-small {
    flex: 1;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.price-input-small:focus {
    outline: none;
    border-color: var(--royal-pearl);
    background: rgba(255, 255, 255, 0.08);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MARKETPLACE LAYOUT
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.content-area {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--spacing-xl);
    transition: grid-template-columns 0.3s ease;
}

.content-main {
    min-width: 0;
}

/* Responsive pour content-area */
@media (min-width: 1441px) {
    .content-area {
        grid-template-columns: 280px 1fr;
    }
}

@media (min-width: 1025px) and (max-width: 1440px) {
    .content-area {
        grid-template-columns: 260px 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .content-area {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

@media (max-width: 767px) {
    .content-area {
        grid-template-columns: 1fr;
        padding: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .content-area {
        padding: var(--spacing-sm);
    }
}

/* Mobile filters toggle pour marketplace */
@media (max-width: 1024px) {
    #filtersSidebar.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: scale(1) !important;
    }
}

/* Ajustements marketplace - largeur sidebar */
@media (min-width: 1025px) {
    .content-area .filters-sidebar {
        position: sticky;
        top: 100px;
        align-self: start;
    }
}

/* Marketplace stats bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.stat-item {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--royal-pearl);
}

@media (max-width: 767px) {
    .stats-bar {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
        padding: var(--spacing-md);
    }

    .stat-value {
        font-size: 1.25rem;
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--spacing-2xl);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-lg);
    color: var(--color-text-secondary);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-lg);
}

.empty-state h3 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

.empty-state p {
    font-size: 1rem;
    color: var(--color-text-muted);
}

/* Loading State */
.loading-container {
    text-align: center;
    padding: var(--spacing-2xl);
    color: var(--color-text-secondary);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto var(--spacing-md);
    border: 4px solid rgba(240, 234, 228, 0.1);
    border-top: 4px solid var(--royal-pearl);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CARD DETAILS MODAL
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Modal Base Styles */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.modal.show {
    display: flex !important;
}

.modal-content-wrapper {
    background: linear-gradient(135deg, rgba(20, 22, 28, 0.98), rgba(15, 17, 23, 0.98));
    border: 2px solid rgba(169, 181, 189, 0.3);
    border-radius: var(--radius-xl);
    max-width: 1200px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Scrollbar for modal */
.modal-content-wrapper::-webkit-scrollbar {
    width: 8px;
}

.modal-content-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.modal-content-wrapper::-webkit-scrollbar-thumb {
    background: rgba(169, 181, 189, 0.3);
    border-radius: 4px;
}

.modal-content-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(169, 181, 189, 0.5);
}

/* ========== SELL/SEND MODAL (MAINTENANCE) ========== */
.sell-modal-overlay {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    animation: fadeIn 0.2s ease-out;
}

.sell-modal {
    background: linear-gradient(135deg, rgba(20, 22, 28, 0.98), rgba(15, 17, 23, 0.98));
    border: 2px solid rgba(169, 181, 189, 0.3);
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 100%;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
    animation: modalSlideIn 0.3s ease-out;
}

.sell-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(169, 181, 189, 0.2);
}

.sell-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--color-accent);
}

.sell-modal-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.sell-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
}

.sell-modal-body {
    padding: 1.5rem;
}

.sell-modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(169, 181, 189, 0.2);
}

.sell-modal-cancel {
    flex: 1;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(169, 181, 189, 0.3);
    border-radius: var(--radius-md);
    color: var(--color-text);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sell-modal-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-accent);
}

.sell-modal-confirm {
    flex: 1;
    padding: 0.75rem 1.5rem;
    background: var(--color-accent);
    border: none;
    border-radius: var(--radius-md);
    color: var(--color-bg-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sell-modal-confirm:hover {
    background: var(--royal-pearl);
    transform: translateY(-1px);
}

.sell-modal-confirm:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========== FOOTER ========== */
/* Les styles du footer sont gérés par global.css */
