/* ConclavePunk NFT Page Styles - Premium NFT Marketplace UI */

/* ========================================
   Stat Cards
   ======================================== */
.nft-stat-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(51, 65, 85, 0.3);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.nft-stat-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-2px);
}

/* ========================================
   NFT Tabs
   ======================================== */
.nft-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #64748b;
    transition: all 0.2s ease;
}

.nft-tab:hover {
    color: white;
    background: rgba(51, 65, 85, 0.5);
}

.nft-tab.active {
    background: linear-gradient(135deg, #a855f7, #9333ea);
    color: white;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

/* ========================================
   NFT Filter
   ======================================== */
.nft-filter {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(51, 65, 85, 0.4);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    color: white;
    font-size: 0.875rem;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nft-filter:hover {
    border-color: rgba(168, 85, 247, 0.3);
}

.nft-filter:focus {
    border-color: rgba(168, 85, 247, 0.5);
}

/* ========================================
   NFT Card
   ======================================== */
.nft-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(51, 65, 85, 0.4);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nft-card:hover {
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -15px rgba(168, 85, 247, 0.2);
}

.nft-card-image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #0f0a1a, #1a0a2a);
    position: relative;
    overflow: hidden;
}

.nft-card-image svg {
    width: 100%;
    height: 100%;
}

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

/* ========================================
   Rarity Badges
   ======================================== */
.rarity-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rarity-badge.common {
    background: rgba(100, 116, 139, 0.2);
    color: #94a3b8;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.rarity-badge.uncommon {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.rarity-badge.rare {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.rarity-badge.legendary {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
    animation: legendaryGlow 2s ease-in-out infinite;
}

@keyframes legendaryGlow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(168, 85, 247, 0.3);
    }

    50% {
        box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
    }
}

/* ========================================
   NFT Buttons
   ======================================== */
.nft-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #a855f7, #9333ea);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.nft-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.4);
}

.nft-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(51, 65, 85, 0.5);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.nft-btn-secondary:hover {
    background: rgba(71, 85, 105, 0.5);
    border-color: rgba(71, 85, 105, 0.5);
}

/* ========================================
   Mint Section
   ======================================== */
.mint-banner {
    position: relative;
    border-radius: 1.5rem;
    padding: 3rem;
    border: 1px solid rgba(168, 85, 247, 0.3);
    overflow: hidden;
}

.mint-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 3rem;
    border-radius: 999px;
    background: white;
    color: #581c87;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.mint-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.5);
}

/* ========================================
   Activity Item
   ======================================== */
.activity-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(51, 65, 85, 0.3);
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.activity-item:hover {
    border-color: rgba(168, 85, 247, 0.3);
}

/* ========================================
   Float Animation
   ======================================== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .nft-stat-card {
        padding: 0.75rem;
    }

    .mint-banner {
        padding: 2rem;
    }

    .nft-btn-primary,
    .nft-btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* ========================================
   Rarity Cards
   ======================================== */
.punk-rarity-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(51, 65, 85, 0.3);
    border-radius: 1.25rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.punk-rarity-card:hover {
    border-color: var(--rarity-color, rgba(168, 85, 247, 0.3));
    transform: translateY(-4px);
    box-shadow: 0 15px 30px var(--rarity-glow, rgba(168, 85, 247, 0.1));
}

.punk-legendary-card {
    border-color: rgba(168, 85, 247, 0.2);
    animation: legendaryGlow 3s ease-in-out infinite;
}

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

.punk-rarity-chance {
    font-size: 2.5rem;
    font-weight: 800;
    color: #94a3b8;
    font-family: 'Space Mono', monospace;
    line-height: 1;
}

.punk-rarity-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    margin-bottom: 1rem;
}

.punk-rarity-traits {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.punk-rarity-traits li {
    font-size: 0.8125rem;
    color: #94a3b8;
    padding: 0.375rem 0;
    border-bottom: 1px solid rgba(51, 65, 85, 0.2);
}

.punk-rarity-traits li:last-child {
    border-bottom: none;
}

.punk-rarity-floor {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(51, 65, 85, 0.3);
}

/* ========================================
   Trait Distribution Panel
   ======================================== */
.punk-trait-panel {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(51, 65, 85, 0.3);
    border-radius: 1.25rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.punk-trait-panel:hover {
    border-color: rgba(168, 85, 247, 0.2);
}

/* ========================================
   Roadmap Cards
   ======================================== */
.punk-roadmap-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(51, 65, 85, 0.3);
    border-radius: 1.25rem;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.punk-roadmap-card:hover {
    transform: translateY(-4px);
}

.punk-roadmap-card.completed {
    border-color: rgba(34, 197, 94, 0.3);
}

.punk-roadmap-card.active {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.1);
}

.punk-roadmap-phase {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.punk-roadmap-status {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

.punk-roadmap-status.completed {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.punk-roadmap-status.active {
    color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
}

.punk-roadmap-status.upcoming {
    color: #64748b;
    background: rgba(100, 116, 139, 0.1);
}

.punk-roadmap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.punk-roadmap-list li {
    font-size: 0.8125rem;
    color: #94a3b8;
    padding: 0.375rem 0;
    border-bottom: 1px solid rgba(51, 65, 85, 0.15);
}

.punk-roadmap-list li:last-child {
    border-bottom: none;
}

/* ========================================
   ConclavePunk FAQ Accordion
   ======================================== */
.punk-faq-item {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(51, 65, 85, 0.3);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.punk-faq-item:hover {
    border-color: rgba(168, 85, 247, 0.2);
}

.punk-faq-item.open {
    border-color: rgba(168, 85, 247, 0.3);
}

.punk-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem;
    background: none;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}

.punk-faq-question:hover {
    color: #a855f7;
}

.punk-faq-arrow {
    color: #64748b;
    transition: transform 0.3s ease, color 0.2s;
    flex-shrink: 0;
}

.punk-faq-item.open .punk-faq-arrow {
    transform: rotate(180deg);
    color: #a855f7;
}

.punk-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 1.25rem;
}

.punk-faq-item.open .punk-faq-answer {
    max-height: 300px;
    padding: 0 1.25rem 1.25rem;
}

.punk-faq-answer p {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.7;
}