.nft-hero {
    padding: 60px 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-title .highlight {
    color: var(--accent-color);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-card {
    background: linear-gradient(145deg, 
        rgba(123, 65, 177, 0.15), 
        rgba(123, 65, 177, 0.05));
    border-radius: 16px;
    padding: 20px 25px;
    border: 1px solid rgba(123, 65, 177, 0.3);
    backdrop-filter: blur(10px);
    min-width: 120px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(123, 65, 177, 0.3);
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}


.hero-animation {
    position: relative;
    height: 650px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    overflow: visible !important;
}

.collection-drum {
    width: 400px !important;
    height: 400px !important;
    position: relative;
    transform-style: preserve-3d;
    animation: gentleRotation 80s infinite linear;
}

.drum-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
    width: 170px !important;
    height: 170px !important;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(123, 65, 177, 0.6));
}

.drum-item:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translate(0, -280px) rotate(0deg); }
.drum-item:nth-child(2) { transform: translate(-50%, -50%) rotate(51.43deg) translate(0, -280px) rotate(-51.43deg); }
.drum-item:nth-child(3) { transform: translate(-50%, -50%) rotate(102.86deg) translate(0, -280px) rotate(-102.86deg); }
.drum-item:nth-child(4) { transform: translate(-50%, -50%) rotate(154.29deg) translate(0, -280px) rotate(-154.29deg); }
.drum-item:nth-child(5) { transform: translate(-50%, -50%) rotate(205.72deg) translate(0, -280px) rotate(-205.72deg); }
.drum-item:nth-child(6) { transform: translate(-50%, -50%) rotate(257.15deg) translate(0, -280px) rotate(-257.15deg); }
.drum-item:nth-child(7) { transform: translate(-50%, -50%) rotate(308.58deg) translate(0, -280px) rotate(-308.58deg); }

.drum-img-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drum-img {
    width: 150px !important;
    height: 150px !important;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 0 40px rgba(123, 65, 177, 0.8),
        inset 0 0 30px rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, 
        rgba(123, 65, 177, 0.4), 
        rgba(255, 59, 230, 0.4));
}

.drum-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.4s ease;
    display: block;
    position: relative;
    z-index: 3;
}

.drum-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem !important;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    color: white;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.drum-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px !important;
    height: 240px !important;
    border-radius: 50%;
    background: radial-gradient(circle at center, 
        rgba(255, 59, 230, 0.4) 0%,
        rgba(123, 65, 177, 0.3) 40%,
        transparent 70%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(10px);
}

.drum-item.active .drum-img {
    width: 240px !important;
    height: 240px !important;
    border: 6px solid var(--accent-color);
    position: relative;
    z-index: 10;
    animation: activePulseLarge 2s infinite ease-in-out;
}

.drum-item.active .drum-img::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 59, 230, 0.6) 0%,
        rgba(255, 59, 230, 0.3) 30%,
        transparent 70%
    );
    z-index: -1;
    animation: smoothGlowPulse 2s infinite ease-in-out;
}

@keyframes smoothGlowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes activePulseLarge {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 
            0 0 40px rgba(255, 59, 230, 0.8),
            inset 0 0 30px rgba(255, 255, 255, 0.3);
    }
    50% { 
        transform: scale(1.08);
        box-shadow: 
            0 0 60px rgba(255, 59, 230, 0.9),
            inset 0 0 40px rgba(255, 255, 255, 0.4);
    }
}

.drum-item.active .drum-glow {
    opacity: 1;
    width: 280px !important;
    height: 280px !important;
    background: radial-gradient(
        circle at center,
        rgba(255, 59, 230, 0.4) 0%,
        rgba(255, 59, 230, 0.2) 40%,
        transparent 70%
    );
    filter: blur(20px);
    animation: glowPulseLarge 2s infinite ease-in-out;
}

@keyframes glowPulseLarge {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.25);
        opacity: 0.9;
    }
}

.drum-item.active .drum-img img {
    transform: scale(1.15);
}

@media (max-width: 768px) {
    .drum-item.active .drum-img::before {
        display: none;
    }
    
    @keyframes activePulseLarge {
        0%, 100% { 
            transform: scale(1);
            box-shadow: 
                0 0 30px rgba(255, 59, 230, 0.7),
                inset 0 0 20px rgba(255, 255, 255, 0.2);
        }
        50% { 
            transform: scale(1.05);
            box-shadow: 
                0 0 40px rgba(255, 59, 230, 0.8),
                inset 0 0 25px rgba(255, 255, 255, 0.3);
        }
    }
    
    .drum-item.active .drum-glow {
        filter: blur(15px);
    }
}

.drum-item:hover:not(.active) .drum-img {
    border: 5px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 0 60px rgba(123, 65, 177, 1),
        inset 0 0 35px rgba(255, 255, 255, 0.25);
    transform: scale(1.08);
}

.drum-item:hover:not(.active) .drum-img img {
    transform: scale(1.12);
}

.drum-item:hover:not(.active) .drum-glow {
    opacity: 0.7;
    width: 230px;
    height: 230px;
}

.drum-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px !important;
    height: 140px !important;
    background: linear-gradient(135deg, 
        rgba(123, 65, 177, 0.95), 
        rgba(255, 59, 230, 0.95));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 6px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 0 80px rgba(123, 65, 177, 1),
        inset 0 0 40px rgba(255, 255, 255, 0.4);
    z-index: 1;
    animation: centerRotation 25s infinite linear, centerPulseLarge 3s infinite ease-in-out;
}

@keyframes centerPulseLarge {
    0%, 100% { 
        box-shadow: 
            0 0 80px rgba(123, 65, 177, 1),
            inset 0 0 40px rgba(255, 255, 255, 0.4);
    }
    50% { 
        box-shadow: 
            0 0 100px rgba(123, 65, 177, 1.2),
            inset 0 0 50px rgba(255, 255, 255, 0.5);
    }
}

.drum-center i {
    font-size: 5rem !important;
    color: white;
    text-shadow: 0 0 30px rgba(255, 59, 230, 1);
    animation: starTwinkleLarge 2s infinite ease-in-out;
}

@keyframes starTwinkleLarge {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        text-shadow: 0 0 30px rgba(255, 59, 230, 1);
    }
    50% { 
        transform: scale(1.15) rotate(180deg);
        text-shadow: 0 0 40px rgba(255, 59, 230, 1.2),
                     0 0 70px rgba(255, 59, 230, 0.8);
    }
}

.center-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px !important;
    height: 200px !important;
    border-radius: 50%;
    background: radial-gradient(circle at center, 
        rgba(255, 59, 230, 0.5) 0%,
        rgba(123, 65, 177, 0.4) 30%,
        transparent 60%);
    z-index: -1;
    animation: centerGlowPulseLarge 3s infinite ease-in-out;
    filter: blur(15px);
}

@keyframes centerGlowPulseLarge {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 1;
    }
}

@media (max-width: 1200px) {
    .hero-animation {
        height: 600px !important;
    }
    
    .collection-drum {
        width: 600px !important;
        height: 600px !important;
    }
    
    .drum-item {
        width: 190px !important;
        height: 190px !important;
    }
    
    .drum-img {
        width: 190px !important;
        height: 190px !important;
    }
    
    .drum-item.active .drum-img {
        width: 220px !important;
        height: 220px !important;
    }

    .drum-item:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translate(0, -240px) rotate(0deg); }
    .drum-item:nth-child(2) { transform: translate(-50%, -50%) rotate(51.43deg) translate(0, -240px) rotate(-51.43deg); }
    .drum-item:nth-child(3) { transform: translate(-50%, -50%) rotate(102.86deg) translate(0, -240px) rotate(-102.86deg); }
    .drum-item:nth-child(4) { transform: translate(-50%, -50%) rotate(154.29deg) translate(0, -240px) rotate(-154.29deg); }
    .drum-item:nth-child(5) { transform: translate(-50%, -50%) rotate(205.72deg) translate(0, -240px) rotate(-205.72deg); }
    .drum-item:nth-child(6) { transform: translate(-50%, -50%) rotate(257.15deg) translate(0, -240px) rotate(-257.15deg); }
    .drum-item:nth-child(7) { transform: translate(-50%, -50%) rotate(308.58deg) translate(0, -240px) rotate(-308.58deg); }
}

@media (max-width: 992px) {
    .hero-animation {
        height: 500px !important;
    }
    
    .collection-drum {
        width: 500px !important;
        height: 500px !important;
    }
    
    .drum-item {
        width: 160px !important;
        height: 160px !important;
    }
    
    .drum-img {
        width: 160px !important;
        height: 160px !important;
    }
    
    .drum-item.active .drum-img {
        width: 190px !important;
        height: 190px !important;
    }
    
    .drum-center {
        width: 120px !important;
        height: 120px !important;
    }
    
    .drum-center i {
        font-size: 4rem !important;
    }

    .drum-item:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translate(0, -200px) rotate(0deg); }
}

@media (max-width: 768px) {
    .hero-animation {
        height: 450px !important;
    }
    
    .collection-drum {
        width: 450px !important;
        height: 450px !important;
    }
    
    .drum-item {
        width: 140px !important;
        height: 140px !important;
    }
    
    .drum-img {
        width: 140px !important;
        height: 140px !important;
    }
    
    .drum-item.active .drum-img {
        width: 170px !important;
        height: 170px !important;
    }
    
    .drum-center {
        width: 100px !important;
        height: 100px !important;
    }
    
    .drum-center i {
        font-size: 4rem !important;
    }

    .drum-item:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translate(0, -170px) rotate(0deg); }
}

@media (max-width: 576px) {
    .hero-animation {
        height: 380px !important;
    }
    
    .collection-drum {
        width: 380px !important;
        height: 380px !important;
    }
    
    .drum-item {
        width: 120px !important;
        height: 120px !important;
    }
    
    .drum-img {
        width: 110px !important;
        height: 110px !important;
    }
    
    .drum-item.active .drum-img {
        width: 140px !important;
        height: 140px !important;
    }
    
    .drum-fallback {
        font-size: 4rem !important;
    }
    
    .drum-center {
        width: 80px !important;
        height: 80px !important;
    }
    
    .drum-center i {
        font-size: 2.8rem !important;
    }

    .drum-item:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translate(0, -140px) rotate(0deg); }
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    filter: blur(1px);
    animation: floatDown 8s infinite linear;
}

@keyframes floatDown {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(500px) rotate(360deg);
        opacity: 0;
    }
}

.nft-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.nft-img.fallback {
    object-fit: contain;
    padding: 20px;
    background: linear-gradient(135deg, rgba(123, 65, 177, 0.2), rgba(255, 59, 230, 0.2));
}

.nft-preview {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fallback-emoji {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    z-index: 1;
    opacity: 0.7;
}

.nft-modal-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    position: relative;
    z-index: 2;
}

.nft-modal-img.fallback {
    object-fit: contain;
    padding: 40px;
    background: linear-gradient(135deg, rgba(123, 65, 177, 0.1), rgba(255, 59, 230, 0.1));
}

@media (max-width: 768px) {
    .drum-item .drum-img {
        width: 40px;
        height: 40px;
    }
    
    .drum-label {
        font-size: 0.7rem;
    }
}

.drum-item {
    width: 70px;
    height: 70px;
}

.drum-item .drum-img {
    width: 50px;
    height: 50px;
}

.drum-label {
    font-size: 0.75rem;
    max-width: 65px;
}

.nft-filters {
    padding: 0 5%;
    margin-bottom: 40px;
}

.filters-container {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    border: 1px solid rgba(123, 65, 177, 0.2);
    backdrop-filter: blur(10px);
}

.search-box {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-size: 1.1rem;
}

.search-box input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    background: rgba(123, 65, 177, 0.1);
    border: 1px solid rgba(123, 65, 177, 0.3);
    border-radius: 15px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(123, 65, 177, 0.3);
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(123, 65, 177, 0.1);
    border: 1px solid rgba(123, 65, 177, 0.3);
    border-radius: 25px;
    padding: 12px 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.filter-btn:hover {
    background: rgba(123, 65, 177, 0.2);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: transparent;
    box-shadow: 0 0 15px rgba(123, 65, 177, 0.5);
}

.nft-grid-section {
    padding: 0 5%;
    margin-bottom: 60px;
}

.collection-selector {
    margin-bottom: 40px;
}

.selector-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
}

.collections-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 5px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.collections-carousel::-webkit-scrollbar {
    height: 6px;
}

.collections-carousel::-webkit-scrollbar-track {
    background: rgba(123, 65, 177, 0.1);
    border-radius: 3px;
}

.collections-carousel::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.collection-card {
    min-width: 200px;
    background: linear-gradient(145deg, 
        rgba(123, 65, 177, 0.2), 
        rgba(123, 65, 177, 0.1));
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(123, 65, 177, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.collection-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 25px rgba(123, 65, 177, 0.3);
    background: linear-gradient(145deg, 
        rgba(123, 65, 177, 0.25), 
        rgba(123, 65, 177, 0.15));
}

.collection-card.active {
    border-color: var(--accent-color);
    background: linear-gradient(145deg, 
        rgba(123, 65, 177, 0.3), 
        rgba(123, 65, 177, 0.2));
    box-shadow: 0 0 25px rgba(123, 65, 177, 0.4);
}

.collection-icon {
    display: none;
}

.collection-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.collection-name {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: white;
    text-align: center;
}

.collection-count {
    font-size: 0.9rem;
    opacity: 0.8;
    background: rgba(123, 65, 177, 0.2);
    padding: 4px 12px;
    border-radius: 12px;
    color: var(--accent-color);
    font-weight: 600;
}

.nft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}


.nft-card {
    position: relative;
    background: linear-gradient(145deg, 
        rgba(30, 20, 45, 0.95), 
        rgba(40, 25, 60, 0.9));
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    backdrop-filter: blur(10px);
    isolation: isolate;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 2px solid transparent;
}

.nft-card:hover {
    transform: translateY(-8px);
}


.nft-card[data-rarity="common"] {
    border-color: rgba(52, 152, 219, 0.3);
}

.nft-card[data-rarity="common"]:hover {
    border-color: rgba(52, 152, 219, 0.6);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(52, 152, 219, 0.2);
}


.nft-card[data-rarity="rare"] {
    border-color: rgba(155, 89, 182, 0.4);
}

.nft-card[data-rarity="rare"]:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(155, 89, 182, 0.7);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.7),
        0 0 60px rgba(155, 89, 182, 0.25);
}


.nft-card[data-rarity="epic"] {
    border-color: rgba(231, 76, 60, 0.5);
    border-width: 3px;
    position: relative;
}

.nft-card[data-rarity="epic"]::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 28px;
    background: linear-gradient(
        45deg,
        rgba(231, 76, 60, 0.8),
        rgba(230, 126, 34, 0.8),
        rgba(231, 76, 60, 0.8)
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nft-card[data-rarity="epic"]:hover::before {
    opacity: 1;
}

.nft-card[data-rarity="epic"]::after {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 40px;
    background: radial-gradient(
        circle at center,
        rgba(231, 76, 60, 0.3) 0%,
        rgba(230, 126, 34, 0.2) 30%,
        transparent 70%
    );
    z-index: -2;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(20px);
}

.nft-card[data-rarity="epic"]:hover::after {
    opacity: 1;
}

.nft-card[data-rarity="epic"]:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: rgba(231, 76, 60, 0.9);
    box-shadow: 
        0 30px 60px rgba(231, 76, 60, 0.3),
        inset 0 0 40px rgba(231, 76, 60, 0.1);
    animation: epicHoverPulse 3s infinite ease-in-out;
}

@keyframes epicHoverPulse {
    0%, 100% { 
        box-shadow: 
            0 30px 60px rgba(231, 76, 60, 0.3),
            inset 0 0 40px rgba(231, 76, 60, 0.1);
    }
    50% { 
        box-shadow: 
            0 40px 80px rgba(231, 76, 60, 0.4),
            inset 0 0 50px rgba(231, 76, 60, 0.15);
    }
}


.nft-card[data-rarity="legendary"] {
    border-color: rgba(241, 196, 15, 0.5);
    border-width: 3px;
    position: relative;
}

.nft-card[data-rarity="legendary"]::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 28px;
    background: linear-gradient(
        45deg,
        #f1c40f,
        #ff9ff3,
        #54a0ff,
        #00d2d3,
        #f1c40f
    );
    background-size: 400% 400%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: legendaryBorderFlow 8s linear infinite;
}

@keyframes legendaryBorderFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 400% 50%;
    }
}

.nft-card[data-rarity="legendary"]::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 45px;
    background: radial-gradient(
        ellipse at center,
        rgba(241, 196, 15, 0.2) 0%,
        rgba(255, 159, 243, 0.15) 20%,
        rgba(84, 160, 255, 0.1) 40%,
        transparent 70%
    );
    z-index: -2;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(25px);
}

.nft-card[data-rarity="legendary"]:hover::before,
.nft-card[data-rarity="legendary"]:hover::after {
    opacity: 1;
}

.nft-card[data-rarity="legendary"]:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: rgba(241, 196, 15, 0.8);
    box-shadow: 
        0 40px 80px rgba(241, 196, 15, 0.2),
        inset 0 0 50px rgba(255, 255, 255, 0.05);
}

.nft-card[data-rarity="legendary"] .legendary-diamond {
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9), 
        rgba(255, 255, 255, 0.6));
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.nft-card[data-rarity="legendary"]:hover .legendary-diamond {
    opacity: 0.8;
}

.nft-card[data-rarity="legendary"] .legendary-diamond.top-left {
    top: 10px;
    left: 10px;
}

.nft-card[data-rarity="legendary"] .legendary-diamond.top-right {
    top: 10px;
    right: 10px;
}

.nft-card[data-rarity="legendary"] .legendary-diamond.bottom-left {
    bottom: 10px;
    left: 10px;
}

.nft-card[data-rarity="legendary"] .legendary-diamond.bottom-right {
    bottom: 10px;
    right: 10px;
}


.rarity-badge-corner {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    border: 2px solid;
    text-shadow: 0 0 5px currentColor;
    transition: all 0.3s ease;
}

.nft-card[data-rarity="common"] .rarity-badge-corner {
    border-color: #3498db;
    color: #3498db;
}

.nft-card[data-rarity="rare"] .rarity-badge-corner {
    border-color: #9b59b6;
    color: #9b59b6;
}

.nft-card[data-rarity="epic"] .rarity-badge-corner {
    border-color: #e74c3c;
    color: #e74c3c;
}

.nft-card[data-rarity="legendary"] .rarity-badge-corner {
    border-color: #f1c40f;
    color: #f1c40f;
}

.nft-card:hover .rarity-badge-corner {
    transform: scale(1.1);
}

.nft-card[data-rarity="epic"]:hover .rarity-badge-corner {
    animation: epicBadgePulse 2s infinite ease-in-out;
}

.nft-card[data-rarity="legendary"]:hover .rarity-badge-corner {
    animation: legendaryBadgePulse 3s infinite ease-in-out;
}

@keyframes epicBadgePulse {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(231, 76, 60, 0.6);
    }
    50% { 
        box-shadow: 0 0 20px rgba(231, 76, 60, 0.9);
    }
}

@keyframes legendaryBadgePulse {
    0%, 100% { 
        box-shadow: 0 0 15px rgba(241, 196, 15, 0.6);
        transform: scale(1.1) rotate(0deg);
    }
    50% { 
        box-shadow: 0 0 25px rgba(241, 196, 15, 0.9);
        transform: scale(1.2) rotate(180deg);
    }
}


.nft-card .nft-image::before,
.nft-card .nft-image::after,
.nft-card .color-overlay {
    animation: none !important;
}

.nft-card:hover .nft-img:not(.fallback) {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.bonus-icon.purple {
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #7b41b1, #9a5fd8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(123, 65, 177, 0.4);
}

.bonus-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: rgba(123, 65, 177, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(123, 65, 177, 0.2);
    transition: all 0.3s ease;
}

.bonus-item:hover {
    transform: translateX(10px);
    border-color: var(--accent-color);
    background: rgba(123, 65, 177, 0.15);
}

.bonus-text {
    font-weight: 500;
    color: white;
}


@media (max-width: 768px) {
    .nft-card {
        transform: none !important;
    }
    
    .nft-card:hover {
        transform: translateY(-5px) !important;
    }

    .nft-card[data-rarity="epic"]::before,
    .nft-card[data-rarity="epic"]::after,
    .nft-card[data-rarity="legendary"]::before,
    .nft-card[data-rarity="legendary"]::after,
    .nft-card .legendary-diamond {
        display: none;
    }
    
    .nft-card[data-rarity="epic"]:hover,
    .nft-card[data-rarity="legendary"]:hover {
        animation: none !important;
    }
    
    .rarity-badge-corner {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        top: 8px;
        right: 8px;
        animation: none !important;
    }
}

.color-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.color-overlay.purple { background: linear-gradient(135deg, #7b41b1, #9a5fd8); }
.color-overlay.blue { background: linear-gradient(135deg, #3498db, #2980b9); }
.color-overlay.green { background: linear-gradient(135deg, #2ecc71, #27ae60); }
.color-overlay.red { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.color-overlay.orange { background: linear-gradient(135deg, #e67e22, #d35400); }
.color-overlay.pink { background: linear-gradient(135deg, #ff3be6, #e84393); }
.color-overlay.cyan { background: linear-gradient(135deg, #00cec9, #0984e3); }
.color-overlay.yellow { background: linear-gradient(135deg, #f1c40f, #f39c12); }

.nft-card:hover .color-overlay {
    opacity: 0.5;
}

.nft-emoji {
    font-size: 4rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: floatEmoji 3s infinite ease-in-out;
}

@keyframes floatEmoji {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.nft-info {
    padding: 20px;
}

.nft-name {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nft-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.price-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-color);
}

.price-currency {
    background: rgba(123, 65, 177, 0.2);
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.nft-buy-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nft-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 65, 177, 0.5);
}

.nft-buy-btn.owned {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.nft-buy-btn.sold {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    cursor: not-allowed;
}

.my-collection-section {
    padding: 40px 5%;
    background: linear-gradient(145deg, 
        rgba(123, 65, 177, 0.05), 
        transparent);
    margin: 60px 0;
    border-radius: 30px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--accent-color);
}

.my-nft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    min-height: 200px;
}

.empty-collection {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: rgba(123, 65, 177, 0.05);
    border-radius: 20px;
    border: 2px dashed rgba(123, 65, 177, 0.3);
}

.empty-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-text {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.empty-subtext {
    opacity: 0.7;
}

.nft-info-section {
    padding: 0 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.info-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(123, 65, 177, 0.2);
    backdrop-filter: blur(10px);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.info-header i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.info-header h3 {
    font-size: 1.6rem;
    color: white;
}

.info-content p {
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.info-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-point {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-point i {
    color: var(--accent-color);
}

.bonus-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bonus-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: rgba(123, 65, 177, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(123, 65, 177, 0.2);
    transition: all 0.3s ease;
}

.bonus-item:hover {
    transform: translateX(10px);
    border-color: var(--accent-color);
}

.bonus-icon {
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bonus-text {
    font-weight: 500;
}


.nft-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.nft-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 1;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    background: linear-gradient(145deg, 
        rgba(30, 15, 45, 0.95), 
        rgba(40, 20, 55, 0.9));
    border-radius: 25px;
    border: 1px solid rgba(123, 65, 177, 0.3);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(123, 65, 177, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 2;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.nft-modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(123, 65, 177, 0.15);
    border: 2px solid rgba(123, 65, 177, 0.4);
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(123, 65, 177, 0.25);
    border-color: var(--accent-color);
    transform: rotate(90deg);
    box-shadow: 0 0 20px rgba(123, 65, 177, 0.4);
}

.modal-close i {
    transition: transform 0.3s ease;
}

.modal-close:hover i {
    transform: scale(1.1);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    height: 100%;
    overflow-y: auto;
}


.modal-image {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.nft-large-image {
    width: 100%;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 3px solid rgba(123, 65, 177, 0.3);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(123, 65, 177, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(123, 65, 177, 0.2), 
        rgba(255, 59, 230, 0.1));
}

.nft-large-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.nft-large-image img.fallback {
    object-fit: contain;
    padding: 40px;
    background: transparent;
}

.nft-large-image .color-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

.color-selector {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.color-option {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.color-option:hover {
    transform: scale(1.15);
    box-shadow: 0 0 15px currentColor;
}

.color-option.active {
    border-color: white;
    box-shadow: 
        0 0 20px currentColor,
        inset 0 0 10px rgba(255, 255, 255, 0.3);
    transform: scale(1.2);
}

.color-option.active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}


.modal-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 59, 230, 0.3);
}

.modal-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat {
    background: rgba(123, 65, 177, 0.1);
    border-radius: 15px;
    padding: 15px;
    border: 1px solid rgba(123, 65, 177, 0.2);
    transition: all 0.3s ease;
}

.stat:hover {
    background: rgba(123, 65, 177, 0.15);
    border-color: rgba(123, 65, 177, 0.3);
    transform: translateY(-2px);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.stat-value.rarity.common {
    color: #3498db;
    font-weight: 700;
}

.stat-value.rarity.rare {
    color: #9b59b6;
    font-weight: 700;
}

.stat-value.rarity.epic {
    color: #e74c3c;
    font-weight: 700;
}

.stat-value.rarity.legendary {
    color: #f1c40f;
    font-weight: 700;
}

.stat-value.price {
    color: var(--accent-color);
    font-size: 1.3rem;
    font-weight: 800;
}

.stat-value.owned-yes {
    color: #2ecc71 !important;
    font-weight: 700;
}

.stat-value.owned-no {
    color: #e74c3c !important;
    font-weight: 700;
}


.modal-quantity-info {
    margin: 20px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(123, 65, 177, 0.2);
}

.quantity-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.quantity-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.quantity-stat .stat-label {
    font-size: 0.8rem;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.6);
}

.quantity-stat .stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

.quantity-stat .total-count {
    color: #3498db;
}

.quantity-stat .sold-count {
    color: #e74c3c;
}

.quantity-stat .available-count {
    color: #2ecc71;
}

.quantity-stat .available-count.sold-out {
    color: #e74c3c;
}

.quantity-progress-container {
    width: 100%;
}

.progress-label {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.progress-label strong {
    color: var(--accent-color);
}

.quantity-progress {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.quantity-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #9b59b6, #e74c3c);
    transition: width 0.5s ease;
    position: relative;
}

.quantity-progress .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}


.modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.modal-actions button {
    padding: 16px 20px;
    border: none;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.modal-actions button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-actions button:hover::before {
    opacity: 1;
}

.modal-actions button:hover {
    transform: translateY(-3px);
}

.modal-actions button:active {
    transform: translateY(-1px);
}

.buy-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 8px 25px rgba(123, 65, 177, 0.4);
    grid-column: span 2;
}

.buy-btn:hover {
    box-shadow: 0 12px 35px rgba(123, 65, 177, 0.6);
}

.buy-btn:disabled,
.buy-btn.sold-out,
.buy-btn.owned {
    opacity: 0.7;
    cursor: not-allowed;
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    box-shadow: none;
}

.buy-btn:disabled:hover,
.buy-btn.sold-out:hover,
.buy-btn.owned:hover {
    transform: none;
    box-shadow: none;
}

.buy-btn.owned {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.buy-btn.login-required {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.swap-btn {
    background: linear-gradient(135deg, 
        rgba(46, 204, 113, 0.1), 
        rgba(39, 174, 96, 0.05));
    color: rgba(46, 204, 113, 0.8);
    border: 2px solid rgba(46, 204, 113, 0.3);
}

.swap-btn:enabled:hover {
    background: linear-gradient(135deg, 
        rgba(46, 204, 113, 0.2), 
        rgba(39, 174, 96, 0.1));
    border-color: #2ecc71;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.swap-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.share-btn {
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.1), 
        rgba(41, 128, 185, 0.05));
    color: rgba(52, 152, 219, 0.8);
    border: 2px solid rgba(52, 152, 219, 0.3);
}

.share-btn:hover {
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.2), 
        rgba(41, 128, 185, 0.1));
    border-color: #3498db;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    color: #3498db;
}


.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(123, 65, 177, 0.1);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}


@media (max-width: 992px) {
    .modal-content {
        max-width: 95%;
        max-height: 90vh;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .nft-large-image {
        height: 280px;
    }
    
    .modal-title {
        font-size: 1.8rem;
    }
    
    .modal-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .modal-body {
        padding: 25px;
        gap: 25px;
    }
    
    .nft-large-image {
        height: 250px;
    }
    
    .modal-title {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .modal-stats {
        gap: 12px;
    }
    
    .stat {
        padding: 12px;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .stat-value.price {
        font-size: 1.2rem;
    }
    
    .quantity-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .quantity-stat .stat-value {
        font-size: 1.1rem;
    }
    
    .modal-actions {
        grid-template-columns: 1fr;
    }
    
    .buy-btn {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .nft-modal {
        padding: 15px;
    }
    
    .modal-content {
        max-height: 95vh;
        border-radius: 20px;
    }
    
    .modal-body {
        padding: 20px;
        gap: 20px;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .nft-large-image {
        height: 220px;
    }
    
    .modal-title {
        font-size: 1.4rem;
    }
    
    .modal-stats {
        grid-template-columns: 1fr;
    }
    
    .quantity-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .quantity-stat .stat-value {
        font-size: 1rem;
    }
    
    .modal-actions button {
        padding: 14px 18px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .modal-body {
        padding: 18px;
        gap: 18px;
    }
    
    .nft-large-image {
        height: 200px;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .quantity-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .quantity-stat {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 10px;
        background: rgba(0, 0, 0, 0.1);
        border-radius: 10px;
    }
    
    .quantity-stat .stat-label {
        margin-bottom: 0;
        font-size: 0.9rem;
    }
    
    .quantity-stat .stat-value {
        font-size: 1.1rem;
    }
    
    .modal-actions button {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .nft-modal {
        padding: 10px;
    }
    
    .modal-body {
        padding: 15px;
        gap: 15px;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .nft-large-image {
        height: 180px;
    }
    
    .modal-title {
        font-size: 1.2rem;
    }
    
    .stat {
        padding: 10px;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .stat-value {
        font-size: 0.95rem;
    }
    
    .modal-actions button {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
}


.modal-content::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.modal-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.modal-content::-webkit-scrollbar-track {
    display: none;
}

.modal-content::-webkit-scrollbar-thumb {
    display: none;
}

.modal-body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.modal-body::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: linear-gradient(145deg, 
        rgba(25, 15, 40, 0.98), 
        rgba(35, 20, 55, 0.95));
    border-radius: 30px;
    border: 1px solid rgba(123, 65, 177, 0.3);
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: transform 0.3s ease;
}

.nft-modal.active .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(123, 65, 177, 0.2);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(123, 65, 177, 0.4);
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-image {
    position: relative;
}

.nft-large-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, 
        rgba(123, 65, 177, 0.3), 
        rgba(255, 59, 230, 0.3));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 40px rgba(123, 65, 177, 0.5);
}

.nft-large-image .nft-emoji {
    font-size: 8rem;
}

.color-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.active {
    border-color: white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.modal-info {
    display: flex;
    flex-direction: column;
}

.modal-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.modal-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.stat {
    background: rgba(123, 65, 177, 0.1);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(123, 65, 177, 0.2);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.stat-value {
    font-weight: 600;
    color: white;
}

.stat-value.rarity.common { color: #3498db; }
.stat-value.rarity.rare { color: #9b59b6; }
.stat-value.rarity.epic { color: #e74c3c; }
.stat-value.rarity.legendary { color: #f1c40f; }

.stat-value.price {
    color: var(--accent-color);
    font-size: 1.4rem;
    font-weight: 700;
}

.modal-description {
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;
    flex: 1;
}

.modal-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.modal-actions button {
    flex: 1;
    min-width: 140px;
    padding: 15px 20px;
    border: none;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.buy-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(123, 65, 177, 0.4);
}

.swap-btn {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

.swap-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.share-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(52, 152, 219, 0.4);
}

.loading-indicator {
    text-align: center;
    padding: 40px;
}

.loading-indicator .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(123, 65, 177, 0.3);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


@media (max-width: 1200px) {
    .nft-hero {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        justify-content: center;
    }

    .hero-animation {
        height: 550px !important;
    }
    
    .collection-drum {
        width: 500px !important;
        height: 500px !important;
    }
    
    .drum-item {
        width: 140px !important;
        height: 140px !important;
    }
    
    .drum-img {
        width: 120px !important;
        height: 120px !important;
    }
    
    .drum-item.active .drum-img {
        width: 160px !important;
        height: 160px !important;
    }
    
    .drum-item.active .drum-img::before {
        top: -15px;
        left: -15px;
        right: -15px;
        bottom: -15px;
    }

    .drum-item:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translate(0, -220px) rotate(0deg); }
    .drum-item:nth-child(2) { transform: translate(-50%, -50%) rotate(51.43deg) translate(0, -220px) rotate(-51.43deg); }
    .drum-item:nth-child(3) { transform: translate(-50%, -50%) rotate(102.86deg) translate(0, -220px) rotate(-102.86deg); }
    .drum-item:nth-child(4) { transform: translate(-50%, -50%) rotate(154.29deg) translate(0, -220px) rotate(-154.29deg); }
    .drum-item:nth-child(5) { transform: translate(-50%, -50%) rotate(205.72deg) translate(0, -220px) rotate(-205.72deg); }
    .drum-item:nth-child(6) { transform: translate(-50%, -50%) rotate(257.15deg) translate(0, -220px) rotate(-257.15deg); }
    .drum-item:nth-child(7) { transform: translate(-50%, -50%) rotate(308.58deg) translate(0, -220px) rotate(-308.58deg); }

    .drum-center {
        width: 120px !important;
        height: 120px !important;
    }
    
    .drum-center i {
        font-size: 4rem !important;
    }
    
    .center-glow {
        width: 180px !important;
        height: 180px !important;
    }

    .nft-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 18px;
    }

    .collection-card {
        min-width: 180px;
        padding: 18px;
    }

    .modal-content {
        width: 85%;
    }
    
    .modal-body {
        padding: 35px;
        gap: 35px;
    }
    
    .nft-large-image {
        height: 280px;
    }
}


@media (max-width: 992px) {
    .nft-hero {
        padding: 50px 4%;
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .stat-card {
        padding: 18px 22px;
        min-width: 110px;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }

    .hero-animation {
        height: 480px !important;
        margin: 30px 0;
    }
    
    .collection-drum {
        width: 420px !important;
        height: 420px !important;
    }
    
    .drum-item {
        width: 120px !important;
        height: 120px !important;
    }
    
    .drum-img {
        width: 100px !important;
        height: 100px !important;
        border-width: 4px;
    }
    
    .drum-item.active .drum-img {
        width: 130px !important;
        height: 130px !important;
        border-width: 5px;
    }
    
    .drum-item.active .drum-img::before {
        display: none;
    }
    
    .drum-fallback {
        font-size: 3.5rem !important;
    }

    .drum-item:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translate(0, -190px) rotate(0deg); }
    .drum-item:nth-child(2) { transform: translate(-50%, -50%) rotate(51.43deg) translate(0, -190px) rotate(-51.43deg); }
    .drum-item:nth-child(3) { transform: translate(-50%, -50%) rotate(102.86deg) translate(0, -190px) rotate(-102.86deg); }
    .drum-item:nth-child(4) { transform: translate(-50%, -50%) rotate(154.29deg) translate(0, -190px) rotate(-154.29deg); }
    .drum-item:nth-child(5) { transform: translate(-50%, -50%) rotate(205.72deg) translate(0, -190px) rotate(-205.72deg); }
    .drum-item:nth-child(6) { transform: translate(-50%, -50%) rotate(257.15deg) translate(0, -190px) rotate(-257.15deg); }
    .drum-item:nth-child(7) { transform: translate(-50%, -50%) rotate(308.58deg) translate(0, -190px) rotate(-308.58deg); }

    .drum-center {
        width: 100px !important;
        height: 100px !important;
    }
    
    .drum-center i {
        font-size: 3.5rem !important;
    }
    
    .center-glow {
        width: 150px !important;
        height: 150px !important;
    }

    .nft-grid-section {
        padding: 0 4%;
    }
    
    .selector-title {
        font-size: 1.6rem;
    }
    
    .collection-card {
        min-width: 160px;
        padding: 16px;
    }
    
    .collection-name {
        font-size: 1rem;
    }

    .nft-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }

    .my-collection-section {
        padding: 35px 4%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .my-nft-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }

    .nft-info-section {
        padding: 0 4%;
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .info-card {
        padding: 25px;
    }

    .modal-content {
        width: 90%;
        max-height: 85vh;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .modal-title {
        font-size: 1.8rem;
    }
    
    .nft-large-image {
        height: 250px;
    }
    
    .nft-large-image .nft-emoji {
        font-size: 6rem;
    }
}


@media (max-width: 768px) {
    .nft-hero {
        padding: 40px 3%;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 15px;
        line-height: 1.5;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-card {
        padding: 15px 20px;
        min-width: 100px;
    }
    
    .stat-value {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }

    .hero-animation {
        height: 400px !important;
        margin: 25px 0;
    }
    
    .collection-drum {
        width: 350px !important;
        height: 350px !important;
        animation: gentleRotation 100s infinite linear;
    }
    
    .drum-item {
        width: 100px !important;
        height: 100px !important;
    }
    
    .drum-img {
        width: 85px !important;
        height: 85px !important;
        border-width: 3px;
    }
    
    .drum-item.active .drum-img {
        width: 110px !important;
        height: 110px !important;
        border-width: 4px;
        animation: activePulseMobile 2s infinite ease-in-out;
    }
    
    @keyframes activePulseMobile {
        0%, 100% { 
            transform: scale(1);
            box-shadow: 
                0 0 25px rgba(255, 59, 230, 0.7),
                inset 0 0 15px rgba(255, 255, 255, 0.2);
        }
        50% { 
            transform: scale(1.05);
            box-shadow: 
                0 0 35px rgba(255, 59, 230, 0.8),
                inset 0 0 20px rgba(255, 255, 255, 0.25);
        }
    }
    
    .drum-fallback {
        font-size: 3rem !important;
    }

    .drum-item:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translate(0, -160px) rotate(0deg); }
    .drum-item:nth-child(2) { transform: translate(-50%, -50%) rotate(51.43deg) translate(0, -160px) rotate(-51.43deg); }
    .drum-item:nth-child(3) { transform: translate(-50%, -50%) rotate(102.86deg) translate(0, -160px) rotate(-102.86deg); }
    .drum-item:nth-child(4) { transform: translate(-50%, -50%) rotate(154.29deg) translate(0, -160px) rotate(-154.29deg); }
    .drum-item:nth-child(5) { transform: translate(-50%, -50%) rotate(205.72deg) translate(0, -160px) rotate(-205.72deg); }
    .drum-item:nth-child(6) { transform: translate(-50%, -50%) rotate(257.15deg) translate(0, -160px) rotate(-257.15deg); }
    .drum-item:nth-child(7) { transform: translate(-50%, -50%) rotate(308.58deg) translate(0, -160px) rotate(-308.58deg); }

    .drum-center {
        width: 80px !important;
        height: 80px !important;
        border-width: 5px;
    }
    
    .drum-center i {
        font-size: 2.8rem !important;
    }
    
    .center-glow {
        width: 120px !important;
        height: 120px !important;
        filter: blur(12px);
    }

    .drum-item.active .drum-glow {
        animation: none;
        filter: blur(12px);
    }
    
    .drum-item.active .drum-img img {
        transform: scale(1.08);
    }
    
    .drum-item:hover:not(.active) .drum-img {
        transform: scale(1.03);
    }

    .nft-grid-section {
        padding: 0 3%;
        margin-bottom: 50px;
    }
    
    .collection-selector {
        margin-bottom: 30px;
    }
    
    .selector-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .collections-carousel {
        gap: 12px;
        padding: 8px 3px;
    }
    
    .collection-card {
        min-width: 140px;
        padding: 15px 12px;
    }
    
    .collection-name {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .collection-count {
        font-size: 0.85rem;
        padding: 3px 10px;
    }

    .nft-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .nft-card {
        border-radius: 20px;
    }
    
    .nft-info {
        padding: 15px;
    }
    
    .nft-name {
        font-size: 1rem;
    }
    
    .price-amount {
        font-size: 1.2rem;
    }

    .my-collection-section {
        padding: 30px 3%;
        margin: 50px 0;
        border-radius: 25px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .my-nft-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .nft-info-section {
        padding: 0 3%;
        gap: 20px;
        margin-bottom: 60px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .info-header h3 {
        font-size: 1.4rem;
    }
    
    .bonus-icon.purple {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .bonus-item {
        padding: 10px 12px;
        gap: 12px;
    }

    .modal-content {
        width: 95%;
        max-height: 90vh;
        border-radius: 25px;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
        gap: 25px;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .modal-image {
        width: 100%;
        max-height: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .modal-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .modal-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat {
        padding: 12px;
    }
    
    .nft-large-image {
        width: 100%;
        height: 250px;
        margin-bottom: 20px;
    }
    
    .nft-large-image .nft-emoji {
        font-size: 5rem;
    }

    .modal-info {
        width: 100%;
        padding-top: 0;
    }
    
    .modal-title {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .modal-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .modal-actions button {
        min-width: 100%;
        padding: 14px 20px;
    }

    .nft-card[data-rarity="epic"]::before,
    .nft-card[data-rarity="epic"]::after,
    .nft-card[data-rarity="legendary"]::before,
    .nft-card[data-rarity="legendary"]::after,
    .nft-card .legendary-diamond {
        display: none;
    }
    
    .nft-card[data-rarity="epic"]:hover,
    .nft-card[data-rarity="legendary"]:hover {
        animation: none !important;
    }
    
    .nft-card:hover {
        transform: translateY(-5px) !important;
    }
    
    .rarity-badge-corner {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        top: 10px;
        right: 10px;
    }
}


@media (max-width: 576px) {
    .nft-hero {
        padding: 30px 15px;
        gap: 25px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0;
        margin-bottom: 25px;
    }
    
    .hero-stats {
        justify-content: space-around;
        width: 100%;
    }
    
    .stat-card {
        flex: 1;
        min-width: auto;
        padding: 15px 10px;
        margin: 0 5px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }

    .hero-animation {
        height: 350px !important;
        margin: 20px 0;
    }
    
    .collection-drum {
        width: 300px !important;
        height: 300px !important;
    }
    
    .drum-item {
        width: 85px !important;
        height: 85px !important;
    }
    
    .drum-img {
        width: 70px !important;
        height: 70px !important;
        border-width: 3px;
    }
    
    .drum-item.active .drum-img {
        width: 90px !important;
        height: 90px !important;
        border-width: 4px;
    }
    
    .drum-fallback {
        font-size: 2.5rem !important;
    }

    .drum-item:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translate(0, -135px) rotate(0deg); }
    .drum-item:nth-child(2) { transform: translate(-50%, -50%) rotate(51.43deg) translate(0, -135px) rotate(-51.43deg); }
    .drum-item:nth-child(3) { transform: translate(-50%, -50%) rotate(102.86deg) translate(0, -135px) rotate(-102.86deg); }
    .drum-item:nth-child(4) { transform: translate(-50%, -50%) rotate(154.29deg) translate(0, -135px) rotate(-154.29deg); }
    .drum-item:nth-child(5) { transform: translate(-50%, -50%) rotate(205.72deg) translate(0, -135px) rotate(-205.72deg); }
    .drum-item:nth-child(6) { transform: translate(-50%, -50%) rotate(257.15deg) translate(0, -135px) rotate(-257.15deg); }
    .drum-item:nth-child(7) { transform: translate(-50%, -50%) rotate(308.58deg) translate(0, -135px) rotate(-308.58deg); }

    .drum-center {
        width: 70px !important;
        height: 70px !important;
        border-width: 4px;
    }
    
    .drum-center i {
        font-size: 2.5rem !important;
    }
    
    .center-glow {
        width: 100px !important;
        height: 100px !important;
        filter: blur(10px);
    }

    .nft-grid-section {
        padding: 0 15px;
        margin-bottom: 40px;
    }
    
    .selector-title {
        font-size: 1.3rem;
        justify-content: center;
    }
    
    .collections-carousel {
        gap: 10px;
    }
    
    .collection-card {
        min-width: 130px;
        padding: 14px 10px;
    }
    
    .collection-name {
        font-size: 0.9rem;
        line-height: 1.2;
    }

    .nft-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .nft-card {
        border-radius: 18px;
    }
    
    .nft-info {
        padding: 12px;
    }
    
    .nft-name {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .nft-collection small {
        font-size: 0.8rem;
    }
    
    .nft-price {
        margin-bottom: 10px;
    }
    
    .price-amount {
        font-size: 1.1rem;
    }
    
    .nft-buy-btn {
        padding: 10px;
        font-size: 0.9rem;
    }

    .my-collection-section {
        padding: 25px 15px;
        margin: 40px 0;
        border-radius: 20px;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
        justify-content: center;
    }
    
    .my-nft-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .empty-collection {
        padding: 40px 15px;
    }
    
    .empty-icon {
        font-size: 3rem;
    }
    
    .empty-text {
        font-size: 1.2rem;
    }

    .nft-info-section {
        padding: 0 15px;
        gap: 15px;
        margin-bottom: 50px;
    }
    
    .info-card {
        padding: 18px;
    }
    
    .info-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .info-header h3 {
        font-size: 1.3rem;
    }
    
    .info-content p {
        font-size: 0.95rem;
        text-align: center;
    }
    
    .info-points {
        gap: 10px;
    }
    
    .bonus-list {
        gap: 10px;
    }
    
    .bonus-icon.purple {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .bonus-text {
        font-size: 0.95rem;
    }

    .modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-body {
        padding: 20px;
        gap: 20px;
    }
    
    .nft-large-image {
        height: 220px;
    }
    
    .nft-large-image .nft-emoji {
        font-size: 4rem;
    }
    
    .modal-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat {
        padding: 12px;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .modal-actions button {
        min-width: 100%;
        padding: 14px;
    }
    
    .modal-title {
        font-size: 1.4rem;
        text-align: center;
    }
}


@media (max-width: 480px) {
    .nft-hero {
        padding: 25px 12px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .stat-card {
        min-width: calc(50% - 10px);
        margin: 5px;
    }
    
    .stat-value {
        font-size: 1.4rem;
    }

    .hero-animation {
        height: 320px !important;
    }
    
    .collection-drum {
        width: 280px !important;
        height: 280px !important;
    }
    
    .drum-item {
        width: 75px !important;
        height: 75px !important;
    }
    
    .drum-img {
        width: 60px !important;
        height: 60px !important;
        border-width: 2px;
    }
    
    .drum-item.active .drum-img {
        width: 75px !important;
        height: 75px !important;
        border-width: 3px;
        animation: none;
    }
    
    .drum-fallback {
        font-size: 2rem !important;
    }

    .collection-drum {
        animation: gentleRotation 120s infinite linear;
    }
    
    .drum-center {
        animation: centerRotation 30s infinite linear, centerPulseSmall 3s infinite ease-in-out;
    }
    
    @keyframes centerPulseSmall {
        0%, 100% { 
            box-shadow: 
                0 0 40px rgba(123, 65, 177, 0.8),
                inset 0 0 20px rgba(255, 255, 255, 0.3);
        }
        50% { 
            box-shadow: 
                0 0 50px rgba(123, 65, 177, 0.9),
                inset 0 0 25px rgba(255, 255, 255, 0.35);
        }
    }

    .drum-item:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translate(0, -120px) rotate(0deg); }
    .drum-item:nth-child(2) { transform: translate(-50%, -50%) rotate(51.43deg) translate(0, -120px) rotate(-51.43deg); }
    .drum-item:nth-child(3) { transform: translate(-50%, -50%) rotate(102.86deg) translate(0, -120px) rotate(-102.86deg); }
    .drum-item:nth-child(4) { transform: translate(-50%, -50%) rotate(154.29deg) translate(0, -120px) rotate(-154.29deg); }
    .drum-item:nth-child(5) { transform: translate(-50%, -50%) rotate(205.72deg) translate(0, -120px) rotate(-205.72deg); }
    .drum-item:nth-child(6) { transform: translate(-50%, -50%) rotate(257.15deg) translate(0, -120px) rotate(-257.15deg); }
    .drum-item:nth-child(7) { transform: translate(-50%, -50%) rotate(308.58deg) translate(0, -120px) rotate(-308.58deg); }

    .drum-center {
        width: 60px !important;
        height: 60px !important;
        border-width: 3px;
    }
    
    .drum-center i {
        font-size: 2rem !important;
    }
    
    .center-glow {
        width: 90px !important;
        height: 90px !important;
        filter: blur(8px);
    }

    .collections-carousel {
        padding: 5px 2px;
    }
    
    .collection-card {
        min-width: 120px;
        padding: 12px 8px;
    }
    
    .collection-name {
        font-size: 0.85rem;
    }
    
    .collection-count {
        font-size: 0.8rem;
        padding: 3px 8px;
    }

    .nft-grid {
        gap: 10px;
    }
    
    .nft-info {
        padding: 10px;
    }
    
    .nft-name {
        font-size: 0.9rem;
    }
    
    .price-amount {
        font-size: 1rem;
    }
    
    .price-currency {
        font-size: 0.8rem;
        padding: 3px 8px;
    }
    
    .nft-buy-btn {
        padding: 8px;
        font-size: 0.85rem;
    }

    .my-collection-section {
        padding: 20px 12px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .my-nft-grid {
        gap: 10px;
    }
    
    .empty-icon {
        font-size: 2.5rem;
    }
    
    .empty-text {
        font-size: 1.1rem;
    }
    
    .empty-subtext {
        font-size: 0.9rem;
    }

    .nft-info-section {
        padding: 0 12px;
    }
    
    .info-card {
        padding: 15px;
    }
    
    .info-header h3 {
        font-size: 1.2rem;
    }
    
    .bonus-item {
        padding: 8px 10px;
        gap: 10px;
    }
    
    .bonus-icon.purple {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .bonus-text {
        font-size: 0.9rem;
    }

    .modal-body {
        padding: 18px;
        gap: 18px;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .modal-stats {
        gap: 10px;
    }
    
    .stat {
        padding: 10px;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .stat-value {
        font-size: 0.95rem;
    }
    
    .stat-value.price {
        font-size: 1.1rem;
    }
    
    .nft-large-image {
        height: 200px;
    }
    
    .nft-large-image .nft-emoji {
        font-size: 3.5rem;
    }
    
    .modal-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}


@media (max-width: 360px) {
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .stat-card {
        min-width: calc(50% - 8px);
        padding: 12px 8px;
    }
    
    .stat-value {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }

    .hero-animation {
        height: 280px !important;
    }
    
    .collection-drum {
        width: 240px !important;
        height: 240px !important;
    }
    
    .drum-item {
        width: 65px !important;
        height: 65px !important;
    }
    
    .drum-img {
        width: 50px !important;
        height: 50px !important;
    }
    
    .drum-item.active .drum-img {
        width: 65px !important;
        height: 65px !important;
    }
    
    .drum-fallback {
        font-size: 1.8rem !important;
    }

    .drum-item:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translate(0, -105px) rotate(0deg); }
    .drum-item:nth-child(2) { transform: translate(-50%, -50%) rotate(51.43deg) translate(0, -105px) rotate(-51.43deg); }
    .drum-item:nth-child(3) { transform: translate(-50%, -50%) rotate(102.86deg) translate(0, -105px) rotate(-102.86deg); }
    .drum-item:nth-child(4) { transform: translate(-50%, -50%) rotate(154.29deg) translate(0, -105px) rotate(-154.29deg); }
    .drum-item:nth-child(5) { transform: translate(-50%, -50%) rotate(205.72deg) translate(0, -105px) rotate(-205.72deg); }
    .drum-item:nth-child(6) { transform: translate(-50%, -50%) rotate(257.15deg) translate(0, -105px) rotate(-257.15deg); }
    .drum-item:nth-child(7) { transform: translate(-50%, -50%) rotate(308.58deg) translate(0, -105px) rotate(-308.58deg); }

    .drum-center {
        width: 50px !important;
        height: 50px !important;
    }
    
    .drum-center i {
        font-size: 1.8rem !important;
    }
    
    .center-glow {
        width: 75px !important;
        height: 75px !important;
        filter: blur(6px);
    }

    .collection-card {
        min-width: 110px;
        padding: 10px 6px;
    }
    
    .collection-name {
        font-size: 0.8rem;
    }

    .nft-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .my-nft-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}