/* Skins Page Specific Styles */

/* Breadcrumb */
.breadcrumb {
    background-color: #1a1a20;
    padding: 12px 0;
    border-bottom: 1px solid #2d3141;
}

.breadcrumb nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumb a {
    color: #799dc8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #5b69e0;
}

.breadcrumb span {
    color: #6c6a6c;
}

/* Page Header */
.page-header {
    padding: 64px 0;
    background: linear-gradient(135deg, #19191f 0%, #262f6c 100%);
    text-align: center;
}

.page-title {
    font-size: 56px;
    font-weight: 700;
    color: #5b69e0;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.page-description {
    font-size: 18px;
    color: #d4d5d4;
    max-width: 800px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.skin-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-top: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #5b69e0;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #799dc8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Filters Section */
.filters-section {
    padding: 48px 0;
    background-color: #1a1a20;
    border-bottom: 1px solid #2d3141;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.filters-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: #d4d5d4;
    margin: 0;
}

.results-info {
    color: #799dc8;
    font-size: 14px;
}

.filters-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 500;
    color: #d4d5d4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select {
    background-color: #2d3141;
    border: 1px solid #425a6c;
    color: #d4d5d4;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #5b69e0;
}

.filter-select option {
    background-color: #2d3141;
    color: #d4d5d4;
}

.filter-actions {
    display: flex;
    gap: 12px;
    grid-column: 1 / -1;
    justify-content: flex-end;
    margin-top: 16px;
}

.btn-secondary {
    background-color: transparent;
    color: #799dc8;
    border: 1px solid #425a6c;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: #2d3141;
    border-color: #5b69e0;
    color: #5b69e0;
}

/* How to Obtain Section */
.how-to-obtain {
    padding: 80px 0;
    background-color: #19191f;
}

.section-description {
    font-size: 18px;
    color: #799dc8;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
    line-height: 1.6;
}

.obtain-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.method-card {
    background-color: #2d3141;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #425a6c;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.method-card:hover {
    transform: translateY(-4px);
    border-color: #5b69e0;
}

.method-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.method-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #d4d5d4;
    margin-bottom: 16px;
}

.method-card p {
    color: #799dc8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.method-info {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.info-tag {
    background-color: #5b69e0;
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Skins Showcase */
.skins-showcase {
    padding: 80px 0;
    background-color: #1a1a20;
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.showcase-header h2 {
    font-size: 32px;
    font-weight: 600;
    color: #d4d5d4;
    margin: 0;
}

.view-options {
    display: flex;
    gap: 8px;
}

.view-btn {
    background-color: transparent;
    border: 1px solid #425a6c;
    color: #799dc8;
    padding: 8px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-btn:hover,
.view-btn.active {
    background-color: #5b69e0;
    border-color: #5b69e0;
    color: white;
}

.skins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.skins-grid.list-view {
    grid-template-columns: 1fr;
}

.skins-grid.list-view .item-card {
    display: flex;
    align-items: center;
    padding: 20px;
    text-align: left;
}

.skins-grid.list-view .item-image {
    width: 120px;
    height: 80px;
    margin-right: 20px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.skins-grid.list-view .item-content {
    flex: 1;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 20px;
    align-items: center;
}

/* Enhanced Item Cards */
.item-card {
    background-color: #2d3141;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #425a6c;
    cursor: pointer;
    position: relative;
}

.item-card:hover {
    transform: translateY(-4px);
    border-color: #5b69e0;
    box-shadow: 0 12px 32px rgba(91, 105, 224, 0.15);
}

.item-image {
    height: 160px;
    background: linear-gradient(45deg, #2d3141, #425a6c);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.item-content {
    padding: 20px;
    text-align: center;
}

.item-name {
    font-size: 16px;
    font-weight: 600;
    color: #d4d5d4;
    margin-bottom: 8px;
    line-height: 1.3;
}

.item-weapon {
    font-size: 12px;
    color: #799dc8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.item-price {
    font-size: 14px;
    color: #5b69e0;
    font-weight: 600;
    margin-bottom: 12px;
}

.item-rarity {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.item-float {
    font-size: 12px;
    color: #6c6a6c;
    margin-top: 8px;
}

.favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: #799dc8;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
}

.item-card:hover .favorite-btn {
    opacity: 1;
}

.favorite-btn:hover,
.favorite-btn.active {
    color: #5b69e0;
    background-color: rgba(91, 105, 224, 0.2);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    background-color: transparent;
    border: 1px solid #425a6c;
    color: #799dc8;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 40px;
}

.pagination-btn:hover,
.pagination-btn.active {
    background-color: #5b69e0;
    border-color: #5b69e0;
    color: white;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Rarity Guide */
.skin-rarity-guide {
    padding: 80px 0;
    background-color: #19191f;
}

.rarity-table {
    background-color: #2d3141;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #425a6c;
    max-width: 800px;
    margin: 0 auto;
}

.table-header {
    background-color: #1a1a20;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr 1fr;
    gap: 20px;
    padding: 20px;
    font-weight: 600;
    color: #d4d5d4;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr 1fr;
    gap: 20px;
    padding: 16px 20px;
    border-top: 1px solid #425a6c;
    transition: background-color 0.2s ease;
}

.table-row:hover {
    background-color: #425a6c;
}

.table-row .col {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d4d5d4;
    font-size: 14px;
}

.color-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #425a6c;
}

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #2d3141;
    border: 1px solid #425a6c;
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    pointer-events: none;
}

.search-dropdown.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.search-section {
    padding: 16px;
    border-bottom: 1px solid #425a6c;
}

.search-section:last-child {
    border-bottom: none;
}

.search-section h4 {
    font-size: 12px;
    text-transform: uppercase;
    color: #799dc8;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-item:hover {
    background-color: #425a6c;
}

.search-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.search-item div {
    flex: 1;
}

.search-item strong {
    display: block;
    color: #d4d5d4;
    font-size: 14px;
    margin-bottom: 2px;
}

.search-item span {
    color: #799dc8;
    font-size: 12px;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: #6c6a6c;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #2d3141;
    color: #d4d5d4;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid #425a6c;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-color: #5b69e0;
    background-color: rgba(91, 105, 224, 0.1);
}

.notification-info {
    border-color: #799dc8;
    background-color: rgba(121, 157, 200, 0.1);
}

/* Tooltip */
.tooltip {
    position: absolute;
    background-color: #1a1a20;
    color: #d4d5d4;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    border: 1px solid #425a6c;
    z-index: 1000;
    pointer-events: none;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .skin-stats {
        gap: 32px;
    }

    .filters-container {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 16px;
    }

    .obtain-methods {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }

    .table-header,
    .table-row {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .table-header .col:nth-child(2),
    .table-row .col:nth-child(2) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 42px;
    }

    .page-description {
        font-size: 16px;
    }

    .skin-stats {
        flex-direction: column;
        gap: 20px;
    }

    .filters-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .filters-container {
        grid-template-columns: 1fr;
    }

    .filter-actions {
        justify-content: center;
    }

    .showcase-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .skins-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 16px;
    }

    .obtain-methods {
        grid-template-columns: 1fr;
    }

    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .table-header .col,
    .table-row .col {
        grid-column: 1;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 40px 0;
    }

    .page-title {
        font-size: 32px;
    }

    .skins-showcase,
    .how-to-obtain,
    .skin-rarity-guide {
        padding: 48px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .skins-grid {
        grid-template-columns: 1fr;
    }

    .search-dropdown {
        position: fixed;
        top: 80px;
        left: 16px;
        right: 16px;
        border-radius: 8px;
    }
}
