/* NFTs Page Specific Styles */
.nfts-hero {
    padding: 6rem 2rem 4rem;
    background: linear-gradient(135deg, #f6f7ff 0%, #f0f2ff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.nfts-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.nfts-hero p {
    font-size: 1.25rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.hero-stats .stat {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-width: 180px;
}

.hero-stats .label {
    display: block;
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.hero-stats .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Filters Section */
.nfts-filters {
    padding: 2rem;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filters-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.search-bar {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    flex: 1;
    max-width: 400px;
}

.search-bar i {
    color: var(--light-text);
    margin-right: 0.5rem;
}

.search-bar input {
    border: none;
    background: transparent;
    padding: 0.5rem 0;
    width: 100%;
    font-size: 1rem;
    outline: none;
}

.filter-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-options select {
    padding: 0.5rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: white;
    font-size: 0.9rem;
    color: var(--text-color);
    cursor: pointer;
}

/* NFTs Grid */
.nfts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.nft-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.nft-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nft-image {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
}

.nft-info {
    padding: 1.5rem;
}

.nft-info h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

.nft-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.nft-details .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.rarity {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.rarity.common {
    background: #f1f2f6;
    color: #57606f;
}

.rarity.uncommon {
    background: #e3f9e5;
    color: #2ecc71;
}

.rarity.rare {
    background: #e0f2fe;
    color: #0ea5e9;
}

.rarity.epic {
    background: #f3e8ff;
    color: #8b5cf6;
}

.rarity.legendary {
    background: #ffedd5;
    color: #f97316;
}

.rarity.mythic {
    background: linear-gradient(135deg, #f9c74f, #f94144);
    color: white;
}

.nft-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Collection Stats */
.collection-stats {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.collection-stats h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Rarity Checker */
.rarity-checker {
    padding: 4rem 2rem;
    background: white;
    text-align: center;
}

.rarity-checker h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.checker-container {
    max-width: 600px;
    margin: 0 auto 2rem;
    display: flex;
    gap: 1rem;
}

.checker-container input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
}

.rarity-result {
    max-width: 400px;
    margin: 0 auto;
}

.rarity-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    text-align: left;
}

.rarity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.rarity-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.rarity-details {
    margin: 1.5rem 0;
}

.rarity-details p {
    margin: 0.5rem 0;
}

.rarity-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .nfts-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .filters-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-bar {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nfts-hero h1 {
        font-size: 2.5rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .checker-container {
        flex-direction: column;
    }
    
    .checker-container button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .nfts-hero h1 {
        font-size: 2rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .nfts-grid {
        grid-template-columns: 1fr;
    }
}
