* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    text-align: center;
    padding: 60px 0 40px;
    position: relative;
}

.title {
    font-family: 'Creepster', cursive;
    font-size: 4rem;
    color: #ff6b6b;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
    margin-bottom: 10px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 107, 107, 0.8), 0 0 40px rgba(255, 107, 107, 0.3);
    }
}

.story-section {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 30px;
    background: rgba(255, 107, 107, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 107, 0.2);
    backdrop-filter: blur(10px);
}

.story-text {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
    font-style: italic;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.story-text:nth-child(2) {
    animation-delay: 0.3s;
}

.story-text:nth-child(3) {
    animation-delay: 0.6s;
    margin-bottom: 0;
}

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



.gallery {
    padding: 40px 0;
}

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

.nft-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.nft-card:hover {
    transform: translateY(-8px) scale(1.03) rotate(1deg);
    box-shadow: 0 20px 50px rgba(255, 107, 107, 0.4);
    border-color: rgba(255, 107, 107, 0.6);
    filter: brightness(1.1) contrast(1.05);
}

.nft-card:hover::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b6b, #00ffff, #ff00ff, #ff6b6b);
    border-radius: 22px;
    z-index: -1;
    animation: borderGlow 2s linear infinite;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.nft-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.nft-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.1), transparent);
    transition: left 0.5s;
}

.nft-card:hover::before {
    left: 100%;
}

.nft-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.nft-card:hover .nft-image {
    transform: scale(1.08) rotate(1deg);
    filter: brightness(1.1) contrast(1.1);
}

.nft-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ff6b6b;
    margin-bottom: 10px;
}

.nft-description {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.nft-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.attribute {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.footer {
    text-align: center;
    padding: 40px 0;
    color: #666666;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Loading animation */
.loading {
    text-align: center;
    padding: 60px 0;
    color: #cccccc;
}

.spinner {
    border: 3px solid rgba(255, 107, 107, 0.3);
    border-top: 3px solid #ff6b6b;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating particles effect */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 107, 107, 0.3);
    border-radius: 50%;
    animation: float 6s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Glitch effect for title */
.title {
    font-family: 'Creepster', cursive;
    font-size: 4rem;
    color: #ff6b6b;
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
    margin-bottom: 10px;
    animation: glow 2s ease-in-out infinite alternate;
    position: relative;
}

.title::before,
.title::after {
    content: 'LilBubu';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.title::before {
    animation: glitch 3s infinite;
    color: #00ffff;
    z-index: -1;
}

.title::after {
    animation: glitch 2s infinite reverse;
    color: #ff00ff;
    z-index: -2;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

/* Responsive design */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
} 