/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00ffff;
    --primary-dark: #008b8b;
    --background: #000000;
    --text: #ffffff;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.min-h-screen {
    min-height: 100vh;
    position: relative;
    background: #000;
}

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

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bg-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.2;
}

.neon-grid {
    position: fixed;
    inset: 0;
    background: 
        linear-gradient(90deg, rgba(0,255,255,0.03) 1px, transparent 1px),
        linear-gradient(0deg, rgba(0,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center top;
    animation: grid-move 20s linear infinite;
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    width: 100%;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* Main Content */
main {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

/* Logo Container */
.logo-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 3rem;
    padding: 0 20px;
}

.logo-container img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0,255,255,0.5));
    animation: neon-pulse 2s ease-in-out infinite;
}

/* Hero Content */
.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* NFT Grid */
.nft-showcase {
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.nft-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 20px;
}

.nft-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
}

.nft-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nft-item:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(0,255,255,0.5));
}

/* Cyberpunk Text Effects */
.cyberpunk-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: rgb(191, 219, 254);
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

.cyber-glitch {
    animation: glitch 2s infinite;
    text-shadow: 
        0 0 5px rgba(0, 255, 255, 0.8),
        2px 2px 2px rgba(0, 0, 0, 0.5);
}

.cyber-glitch-text {
    position: relative;
    animation: glitch 2s infinite;
    text-shadow: 
        0 0 10px rgba(0, 255, 255, 0.8),
        2px 2px 2px rgba(0, 0, 0, 0.5);
}

.neon-text {
    text-shadow: 
        0 0 10px rgba(0, 255, 255, 0.8),
        0 0 20px rgba(0, 255, 255, 0.8),
        0 0 30px rgba(0, 255, 255, 0.6),
        0 0 40px rgba(0, 255, 255, 0.4);
    color: #fff;
}

.neon-text-pulse {
    animation: neon-pulse 2s infinite;
}

/* Info Card */
.info-card {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 255, 255, 0.1),
        transparent
    );
    animation: cyber-card-shine 3s infinite;
}

.contract-info {
    font-family: monospace;
    color: rgb(147, 197, 253);
    font-size: 0.875rem;
}

.contract-address {
    display: inline-block;
    background: rgba(30, 58, 138, 0.5);
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    word-break: break-all;
}

/* Footer */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
    padding: 2rem 0;
    text-align: center;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes glitch {
    0% { 
        transform: translate(0);
        text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    }
    20% { 
        transform: translate(-2px, 2px);
        text-shadow: 2px -2px 10px rgba(255, 0, 255, 0.8);
    }
    40% { 
        transform: translate(-2px, -2px);
        text-shadow: -2px 2px 10px rgba(0, 255, 255, 0.8);
    }
    60% { 
        transform: translate(2px, 2px);
        text-shadow: 2px 2px 10px rgba(255, 0, 255, 0.8);
    }
    80% { 
        transform: translate(2px, -2px);
        text-shadow: -2px -2px 10px rgba(0, 255, 255, 0.8);
    }
    100% { 
        transform: translate(0);
        text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    }
}

@keyframes neon-pulse {
    0%, 100% { 
        text-shadow: 
            0 0 10px rgba(0, 255, 255, 0.8),
            0 0 20px rgba(0, 255, 255, 0.8),
            0 0 30px rgba(0, 255, 255, 0.6);
    }
    50% { 
        text-shadow: 
            0 0 20px rgba(0, 255, 255, 1),
            0 0 40px rgba(0, 255, 255, 1),
            0 0 60px rgba(0, 255, 255, 0.8);
    }
}

@keyframes cyber-card-shine {
    0% { transform: translateX(-100%) translateY(-100%); }
    100% { transform: translateX(100%) translateY(100%); }
}

@keyframes grid-move {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

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

.fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nft-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nft-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .nft-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}