:root {
    --primary: #e41c3d;
    --primary-dark: #c01633;
    --accent: #00ff88;
    --accent-dark: #00cc6a;
    --bg: #0a0a12;
    --surface: #151520;
    --surface-light: #1e1e2d;
    --border: #2a2a3a;
    --text: #ffffff;
    --text-secondary: #b8b8c8;
    --text-disabled: rgba(184, 184, 200, 0.5);
    
    /* Rarity Colors */
    --rarity-orange: #e17055;
    --rarity-orange-plus: #d63031;
    --rarity-purple: #6c5ce7;
    --rarity-purple-plus: #5d4aea;
    --rarity-red: #ff7675;
    --rarity-blue: #74b9ff;
    --rarity-green: #55efc4;
    --rarity-white: #dfe6e9;
    
    --border-radius: 10px;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    margin: 0;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
    font-weight: 500;
    padding-top: 70px;
}

/* Premium Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a12 0%, #1a1a2e 50%, #0a0a12 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.logo-container {
    position: relative;
    margin-bottom: 30px;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(228, 28, 61, 0.5));
}

.logo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary);
    animation: ringRotate 3s linear infinite;
    z-index: 1;
}

.logo-ring::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary);
}

.loading-title {
    font-family: 'Orbitron', monospace;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;
    text-shadow: 0 2px 10px rgba(228, 28, 61, 0.3);
}

.loading-subtitle {
    font-family: 'Orbitron', monospace;
    font-size: 16px;
    color: var(--text-secondary);
    letter-spacing: 3px;
    text-align: center;
    font-weight: 600;
}

.progress-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.progress-percent {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(21, 21, 32, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(228, 28, 61, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.progress-percent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.progress-stages {
    display: flex;
    gap: 60px;
    position: relative;
}

.stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    opacity: 0.5;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stage-node {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(21, 21, 32, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.stage-node::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stage-node i {
    font-size: 20px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.stage.active {
    opacity: 1;
}

.stage.active .stage-node {
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(228, 28, 61, 0.3);
}

.stage.active .stage-node::before {
    opacity: 1;
}

.stage.active .stage-node i {
    color: var(--primary);
    filter: drop-shadow(0 0 8px rgba(228, 28, 61, 0.5));
}

.stage-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.stage.active .stage-label {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(228, 28, 61, 0.3);
}

.loading-status {
    text-align: center;
    margin-top: 30px;
}

.status-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 600;
    min-height: 24px;
}

.status-dots {
    display: inline-block;
    width: 20px;
    text-align: left;
}

.status-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

/* Animations */
@keyframes ringRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

@keyframes stageActivate {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1.1); }
}

/* Completion Animation */
.loading-screen.complete .logo img {
    animation: logoComplete 1s ease forwards;
}

.loading-screen.complete .progress-percent {
    animation: percentComplete 1s ease forwards;
}

@keyframes logoComplete {
    0% { filter: drop-shadow(0 0 20px rgba(228, 28, 61, 0.5)); }
    50% { filter: drop-shadow(0 0 40px rgba(228, 28, 61, 0.8)); }
    100% { filter: drop-shadow(0 0 20px rgba(228, 28, 61, 0.5)); }
}

@keyframes percentComplete {
    0% { 
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% { 
        box-shadow: 
            0 0 40px rgba(228, 28, 61, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    100% { 
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
}

/* App Container */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.app-container.loaded {
    opacity: 1;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(21, 21, 32, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    height: 70px;
}

.header.hidden {
    transform: translateY(-100%);
}

.logo-container-small {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 25px;
}

.logo-small {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--surface-light);
    border: 1px solid var(--border);
}

.logo-small img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.title-container {
    text-align: center;
}

.app-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
}

.app-subtitle {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 1.5px;
    font-family: 'Orbitron', monospace;
}

/* Main Content */
.main-content {
    padding: 20px;
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Search Section */
.search-section {
    margin-bottom: 20px;
    position: relative;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    outline: none;
    background: var(--surface);
    color: var(--text);
    transition: var(--transition);
    font-weight: 500;
    font-family: 'Rajdhani', sans-serif;
}

.search-input::placeholder {
    color: var(--text-disabled);
}

.search-input:focus {
    background: var(--surface-light);
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(228, 28, 61, 0.2);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 15px;
}

/* Filters */
.filters-section {
    margin-bottom: 20px;
}

.filters-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.filters-left, .filters-right {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 150px;
}

.filter-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Orbitron', monospace;
}

.custom-select {
    position: relative;
    width: 100%;
}

.select-selected {
    padding: 10px 14px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 42px;
    font-family: 'Rajdhani', sans-serif;
}

.select-selected:hover {
    border-color: var(--primary);
    background: var(--surface-light);
}

.select-selected:after {
    content: "▾";
    font-size: 12px;
    transition: var(--transition);
    margin-left: 8px;
    color: var(--text-secondary);
}

.select-selected.select-arrow-active:after {
    transform: rotate(180deg);
    color: var(--primary);
}

.select-items {
    position: absolute;
    background: var(--surface);
    border-radius: var(--border-radius);
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    box-shadow: var(--card-shadow);
    margin-top: 5px;
    overflow: hidden;
    max-height: 250px;
    overflow-y: auto;
    display: none;
    border: 1px solid var(--border);
}

.select-items.active {
    display: block;
}

.select-items div {
    padding: 10px 14px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
}

.select-items div:last-child {
    border-bottom: none;
}

.select-items div:hover {
    background: var(--primary);
    color: var(--bg);
}

.select-items div.same-as-selected {
    background: var(--accent);
    color: var(--bg);
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 12px 20px;
    background: var(--surface);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stats-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stats-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Orbitron', monospace;
}

.stats-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Grid Layout - 3 ITEMS PER ROW */
.grid-container {
    position: relative;
    min-height: 500px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 25px;
}

.item {
    height: 200px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    background: var(--surface-light);
    border: 1px solid var(--border);
}

.item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(228, 28, 61, 0.15);
}

.item-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    z-index: 1;
    transform: scale(1.2);
}

.item-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.item-image-container {
    height: 120px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    position: relative;
}

/* REDUCED ZOOM FOR PNG ICONS */
.item-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    transform: scale(0.9); /* Reduced zoom for icons */
}

.item-info {
    width: 100%;
    padding: 12px;
    background: rgba(21, 21, 32, 0.9);
    text-align: center;
    border-top: 1px solid var(--border);
}

.item-name {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
}

.item-type {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 3px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Image Not Available */
.image-not-available {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-align: center;
    height: 100%;
    padding: 15px;
}

.image-not-available i {
    font-size: 24px;
    margin-bottom: 6px;
    opacity: 0.4;
    color: var(--text-secondary);
}

.image-not-available span {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-secondary);
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
}

.pagination-btn {
    padding: 10px 18px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    cursor: pointer;
    background: var(--surface);
    color: var(--text);
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-family: 'Rajdhani', sans-serif;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.page-info {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0 15px;
    font-family: 'Orbitron', monospace;
}

/* Loading Animation */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    flex-direction: column;
    gap: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    font-family: 'Rajdhani', sans-serif;
}

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

/* Error States */
.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 30px;
    color: var(--accent);
    background: rgba(0, 255, 136, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.error-message i {
    font-size: 40px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.error-message h3 {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 800;
    font-family: 'Orbitron', monospace;
}

.error-message p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    font-family: 'Rajdhani', sans-serif;
}

.retry-btn {
    padding: 10px 20px;
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-family: 'Rajdhani', sans-serif;
}

.retry-btn:hover {
    background: var(--accent-dark);
}

/* Popup Modal */
.popup-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 18, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease forwards;
    padding: 15px;
}

.popup {
    width: 500px;
    max-width: 95%;
    max-height: 90vh;
    background: var(--surface);
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    border: 1px solid var(--border);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.popup-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text);
    font-family: 'Orbitron', monospace;
}

.popup-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
}

.close-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-light);
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.close-btn:hover {
    background: var(--primary);
    transform: rotate(90deg);
    color: var(--bg);
}

.popup-image-container {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--surface-light);
    border-radius: var(--border-radius);
    padding: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}

.popup-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    transform: scale(1.3);
}

/* REDUCED ZOOM FOR POPUP PNG ICONS */
.popup img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
    transform: scale(0.95); /* Reduced zoom for popup icons */
}

.popup-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.info-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Orbitron', monospace;
}

.info-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
}

.popup-description {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.description-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Orbitron', monospace;
}

.description-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
}

.data-update-note {
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(228, 28, 61, 0.1);
    border: 1px solid rgba(228, 28, 61, 0.3);
    border-radius: 6px;
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    text-align: center;
}

/* Footer */
.footer {
    padding: 20px;
    text-align: center;
    background: var(--surface);
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
}

.powered-by {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 5px;
    font-weight: 500;
    font-family: 'Orbitron', monospace;
    letter-spacing: 1px;
}

/* NEW: Page Transition Animations */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.page-transition.active {
    opacity: 1;
}

.grid-container {
    transition: opacity 0.3s ease;
}

.grid-container.fade-out {
    opacity: 0;
}

/* Default background for items without rarity */
.rarity-default .item-background {
    background: linear-gradient(135deg, var(--surface-light) 0%, var(--border) 100%);
}

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

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

/* RESPONSIVE DESIGN */

/* Tablet */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filters-container {
        gap: 15px;
    }
    
    .filters-left, .filters-right {
        gap: 15px;
    }
    
    .progress-stages {
        gap: 40px;
    }
}

/* Small Tablet */
@media (max-width: 768px) {
    .filters-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .filters-left, .filters-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .filter-group {
        min-width: calc(50% - 10px);
    }
    
    .progress-stages {
        gap: 30px;
    }
    
    .stage-node {
        width: 40px;
        height: 40px;
    }
    
    .stage-node i {
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .filters-left, .filters-right {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .progress-stages {
        gap: 20px;
    }
    
    .stage-node {
        width: 35px;
        height: 35px;
    }
    
    .stage-node i {
        font-size: 14px;
    }
    
    .stage-label {
        font-size: 10px;
    }
    
    .loading-title {
        font-size: 24px;
    }
    
    .loading-subtitle {
        font-size: 14px;
    }

    .rarity-none .item-background {
    background: none !important;
    }

    .rarity-NONE .item-background {
    background: none !important;
    }
}