/* NFT Gallery Styles */

/* NFT Gallery Section */
.nft-gallery-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(6, 208, 231, 0.1));
    min-height: 100vh;
}

.nft-gallery-header {
    text-align: center;
    margin-bottom: 6rem;
}

.nft-gallery-title {
    font-size: 4.8rem;
    font-weight: var(--fontWeights-bold);
    color: var(--colors-base);
    margin: 0 0 2rem 0;
    background: linear-gradient(135deg, var(--colors-azure), var(--colors-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nft-gallery-subtitle {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 4rem 0;
}

/* Gallery Stats */
.nft-gallery-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    background: linear-gradient(135deg, rgba(6, 208, 231, 0.15), rgba(6, 208, 231, 0.05));
    border: 1px solid rgba(6, 208, 231, 0.3);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 208, 231, 0.5);
    box-shadow: 0 10px 30px rgba(6, 208, 231, 0.2);
}

.stat-number {
    display: block;
    font-size: 3.6rem;
    font-weight: var(--fontWeights-bold);
    color: var(--colors-azure);
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

/* Gallery Controls */
.nft-gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.nft-filter-tabs {
    display: flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 0.5rem;
}

.filter-tab {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 1.2rem 2.4rem;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: var(--fontWeights-medium);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    background: rgba(6, 208, 231, 0.2);
    color: var(--colors-azure);
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--colors-azure), var(--colors-yellow));
    color: var(--colors-darkblue);
    font-weight: var(--fontWeights-bold);
}

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

.nft-refresh-btn {
    background: linear-gradient(135deg, rgba(0, 227, 124, 0.2), rgba(0, 227, 124, 0.1));
    border: 1px solid var(--colors-green);
    color: var(--colors-green);
    padding: 1.2rem 2.4rem;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: var(--fontWeights-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nft-refresh-btn:hover {
    background: linear-gradient(135deg, rgba(0, 227, 124, 0.3), rgba(0, 227, 124, 0.2));
    transform: translateY(-2px);
}

.nft-refresh-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.refresh-icon.spinning {
    animation: spin 1s linear infinite;
}

/* NFT Grid */
.nft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
    padding: 2rem;
}

/* NFT Cards */
.nft-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.nft-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(6, 208, 231, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(6, 208, 231, 0.2);
}

/* NFT Card Image */
.nft-card-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.nft-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.nft-card:hover .nft-card-image img {
    transform: scale(1.1);
}

/* Badges */
.universe-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--colors-azure), var(--colors-yellow));
    color: var(--colors-darkblue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: var(--fontWeights-bold);
    z-index: 2;
}

.rarity-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: var(--fontWeights-bold);
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    z-index: 2;
}

.rarity-legendary {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.rarity-epic {
    background: linear-gradient(135deg, #9D4EDD, #7209B7);
    color: #fff;
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.5);
}

.rarity-rare {
    background: linear-gradient(135deg, #0EA5E9, #0284C7);
    color: #fff;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
}

.rarity-common {
    background: linear-gradient(135deg, #6B7280, #4B5563);
    color: #fff;
}

/* NFT Card Content */
.nft-card-content {
    padding: 2rem;
}

.nft-card-header {
    margin-bottom: 1.5rem;
}

.nft-name {
    font-size: 1.8rem;
    font-weight: var(--fontWeights-bold);
    color: var(--colors-base);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.nft-collection {
    font-size: 1.2rem;
    color: var(--colors-azure);
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.nft-card-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.nft-token-id {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

.nft-value {
    font-size: 1.3rem;
    font-weight: var(--fontWeights-bold);
    color: var(--colors-green);
}

/* NFT Attributes */
.nft-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.attribute-tag {
    background: rgba(6, 208, 231, 0.2);
    color: var(--colors-azure);
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 1rem;
    white-space: nowrap;
}

.attribute-more {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 1rem;
    font-style: italic;
}

/* NFT Card Actions */
.nft-card-actions {
    display: flex;
    gap: 1rem;
}

.btn-view-details,
.btn-view-benefits {
    flex: 1;
    background: linear-gradient(135deg, rgba(6, 208, 231, 0.2), rgba(6, 208, 231, 0.1));
    border: 1px solid var(--colors-azure);
    color: var(--colors-azure);
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: var(--fontWeights-medium);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-details:hover,
.btn-view-benefits:hover {
    background: linear-gradient(135deg, rgba(6, 208, 231, 0.3), rgba(6, 208, 231, 0.2));
    transform: translateY(-2px);
}

.btn-view-benefits {
    background: linear-gradient(135deg, rgba(0, 227, 124, 0.2), rgba(0, 227, 124, 0.1));
    border-color: var(--colors-green);
    color: var(--colors-green);
}

.btn-view-benefits:hover {
    background: linear-gradient(135deg, rgba(0, 227, 124, 0.3), rgba(0, 227, 124, 0.2));
}

/* Loading States */
.nft-loading,
.nft-empty-state,
.nft-error-state {
    text-align: center;
    padding: 8rem 2rem;
}

.loading-content,
.empty-content,
.error-content {
    max-width: 500px;
    margin: 0 auto;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(6, 208, 231, 0.2);
    border-top: 4px solid var(--colors-azure);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 3rem;
}

.empty-icon,
.error-icon {
    font-size: 8rem;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.loading-content h3,
.empty-content h3,
.error-content h3 {
    font-size: 3rem;
    color: var(--colors-base);
    margin: 0 0 1.5rem 0;
}

.loading-content p,
.empty-content p,
.error-content p {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 3rem 0;
}

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

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

.nft-card {
    animation: fadeInUp 0.6s ease forwards;
}

.nft-card:nth-child(1) { animation-delay: 0.1s; }
.nft-card:nth-child(2) { animation-delay: 0.2s; }
.nft-card:nth-child(3) { animation-delay: 0.3s; }
.nft-card:nth-child(4) { animation-delay: 0.4s; }
.nft-card:nth-child(5) { animation-delay: 0.5s; }
.nft-card:nth-child(6) { animation-delay: 0.6s; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .nft-gallery-section {
        padding: 4rem 0;
    }

    .nft-gallery-title {
        font-size: 3.2rem;
    }

    .nft-gallery-subtitle {
        font-size: 1.6rem;
    }

    .nft-gallery-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-item {
        padding: 2rem 1.5rem;
    }

    .stat-number {
        font-size: 2.8rem;
    }

    .nft-gallery-controls {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }

    .nft-filter-tabs {
        justify-content: center;
        flex-wrap: wrap;
    }

    .filter-tab {
        padding: 1rem 1.5rem;
        font-size: 1.2rem;
    }

    .nft-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
        padding: 1rem;
    }

    .nft-card-content {
        padding: 1.5rem;
    }

    .nft-name {
        font-size: 1.6rem;
    }

    .nft-card-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .nft-gallery-title {
        font-size: 2.8rem;
    }

    .nft-grid {
        grid-template-columns: 1fr;
        padding: 0.5rem;
    }

    .nft-filter-tabs {
        padding: 0.3rem;
    }

    .filter-tab {
        padding: 0.8rem 1.2rem;
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2.4rem;
    }

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