/* Gloves Page Specific Styles */

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

.gloves-stats .stat {
    text-align: center;
}

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

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

/* Glove Types Section */
.glove-types {
    padding: 80px 0;
    background-color: #1a1a20;
}

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

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

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

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

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

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

.type-content {
    padding: 24px;
}

.type-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #d4d5d4;
    margin-bottom: 12px;
}

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

.type-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.type-stats .stat {
    background-color: #425a6c;
    color: #d4d5d4;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

/* Gloves Filters */
.gloves-filters {
    padding: 48px 0;
    background-color: #19191f;
    border-bottom: 1px solid #2d3141;
}

/* Premium Gloves Section */
.premium-gloves {
    padding: 80px 0;
    background-color: #19191f;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.premium-glove-card {
    background-color: #2d3141;
    border-radius: 12px;
    padding: 24px;
    border: 2px solid #5b69e0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.premium-glove-card::before {
    content: "PREMIUM";
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #5b69e0;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

.premium-glove-image {
    height: 150px;
    margin-bottom: 16px;
    background: linear-gradient(45deg, #2d3141, #425a6c);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-glove-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.premium-glove-name {
    font-size: 16px;
    font-weight: 600;
    color: #d4d5d4;
    margin-bottom: 8px;
}

.premium-glove-price {
    font-size: 18px;
    font-weight: 700;
    color: #5b69e0;
    margin-bottom: 12px;
}

.premium-glove-type {
    background-color: #425a6c;
    color: #d4d5d4;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* All Gloves Section */
.all-gloves {
    padding: 80px 0;
    background-color: #1a1a20;
}

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

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

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

.glove-card {
    background-color: #2d3141;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #425a6c;
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

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

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

.glove-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

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

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

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

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

.glove-float {
    font-size: 12px;
    color: #6c6a6c;
    margin-bottom: 12px;
}

.glove-rarity {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    background-color: #ffd700;
    color: #1a1a20;
}

/* Glove Guide Section */
.glove-guide {
    padding: 80px 0;
    background-color: #19191f;
}

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

.guide-card {
    background-color: #2d3141;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #425a6c;
}

.guide-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #5b69e0;
    margin-bottom: 16px;
}

.guide-card p {
    color: #d4d5d4;
    margin-bottom: 16px;
    line-height: 1.6;
}

.guide-card ul {
    list-style: none;
    padding: 0;
}

.guide-card li {
    color: #799dc8;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.guide-card li::before {
    content: "•";
    color: #5b69e0;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* List view for gloves */
.gloves-grid.list-view {
    grid-template-columns: 1fr;
}

.gloves-grid.list-view .glove-card {
    display: flex;
    height: 150px;
}

.gloves-grid.list-view .glove-image {
    width: 200px;
    height: 100%;
}

.gloves-grid.list-view .glove-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

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

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

    .premium-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

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

@media (max-width: 768px) {
    .gloves-stats {
        flex-direction: column;
        gap: 20px;
    }

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

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

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

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

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

    .type-stats {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .glove-types,
    .premium-gloves,
    .all-gloves,
    .glove-guide {
        padding: 48px 0;
    }

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

    .gloves-grid.list-view .glove-card {
        flex-direction: column;
        height: auto;
    }

    .gloves-grid.list-view .glove-image {
        width: 100%;
        height: 150px;
    }

    .gloves-grid.list-view .glove-content {
        flex-direction: column;
        text-align: center;
    }
}
