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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

#web3-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.content {
    text-align: center;
    max-width: 1200px;
    width: 100%;
}

h1.glitch {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    position: relative;
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(138, 43, 226, 0.8),
        0 0 20px rgba(138, 43, 226, 0.6),
        0 0 30px rgba(138, 43, 226, 0.4);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { 
        text-shadow: 
            0 0 10px rgba(138, 43, 226, 0.8),
            0 0 20px rgba(138, 43, 226, 0.6),
            0 0 30px rgba(138, 43, 226, 0.4);
    }
    50% { 
        text-shadow: 
            0 0 20px rgba(138, 43, 226, 1),
            0 0 30px rgba(138, 43, 226, 0.8),
            0 0 40px rgba(138, 43, 226, 0.6);
    }
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s linear infinite alternate-reverse;
    color: #00ff88;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s linear infinite alternate-reverse;
    color: #ff0088;
    z-index: -2;
}

@keyframes glitch-1 {
    0% { clip-path: inset(40% 0 61% 0); transform: translate(-2px, 2px); }
    20% { clip-path: inset(92% 0 1% 0); transform: translate(2px, -2px); }
    40% { clip-path: inset(43% 0 1% 0); transform: translate(-2px, 2px); }
    60% { clip-path: inset(25% 0 58% 0); transform: translate(2px, -2px); }
    80% { clip-path: inset(54% 0 7% 0); transform: translate(-2px, 2px); }
    100% { clip-path: inset(58% 0 43% 0); transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0% { clip-path: inset(65% 0 8% 0); transform: translate(2px, -2px); }
    20% { clip-path: inset(24% 0 19% 0); transform: translate(-2px, 2px); }
    40% { clip-path: inset(97% 0 3% 0); transform: translate(2px, -2px); }
    60% { clip-path: inset(14% 0 86% 0); transform: translate(-2px, 2px); }
    80% { clip-path: inset(88% 0 13% 0); transform: translate(2px, -2px); }
    100% { clip-path: inset(34% 0 67% 0); transform: translate(-2px, 2px); }
}

.tagline {
    font-size: 1.5rem;
    color: #8a2be2;
    margin-bottom: 50px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.under-construction {
    background: rgba(138, 43, 226, 0.1);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease-out 0.7s both;
}

.construction-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.under-construction h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #8a2be2, #ff0088);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.under-construction p {
    font-size: 1.2rem;
    opacity: 0.8;
}

.projects {
    margin-top: 60px;
    animation: fadeInUp 1s ease-out 1s both;
}

.projects h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #8a2be2;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(138, 43, 226, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #8a2be2;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
}

.project-card:hover::before {
    opacity: 1;
}

.project-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.project-card h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #8a2be2;
}

.project-card p {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.6;
}

.coming-soon {
    margin-top: 40px;
    opacity: 0.6;
    font-size: 1.1rem;
    animation: fadeInUp 1s ease-out 1.2s both;
}

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

@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .under-construction {
        padding: 30px 20px;
    }
    
    h1.glitch {
        font-size: clamp(2rem, 10vw, 4rem);
    }
    
    .tagline {
        font-size: 1.2rem;
    }
}