@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Electrolize:wght@400&display=swap');

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

html,
body {
    font-size: 1rem;
    font-family: 'Rajdhani', sans-serif;
    color: rgba(255, 255, 255, 0.9);
    overflow-x: hidden;
    background: #000;
}

body {
    background: radial-gradient(ellipse at center, #1a0033 0%, #000000 70%);
    position: relative;
    min-height: 100vh;
}

/* Animated starfield */
.stars, .stars2, .stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.stars {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="20" r="0.5" fill="white" opacity="0.8"/><circle cx="80" cy="40" r="0.3" fill="white" opacity="0.6"/><circle cx="30" cy="70" r="0.4" fill="white" opacity="0.7"/><circle cx="90" cy="10" r="0.2" fill="white" opacity="0.5"/><circle cx="50" cy="90" r="0.6" fill="white" opacity="0.9"/></svg>') repeat;
    animation: move-stars 200s linear infinite;
}

.stars2 {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="30" r="0.3" fill="purple" opacity="0.6"/><circle cx="70" cy="80" r="0.4" fill="purple" opacity="0.4"/><circle cx="40" cy="50" r="0.2" fill="purple" opacity="0.8"/></svg>') repeat;
    animation: move-stars 300s linear infinite;
}

.stars3 {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="60" cy="10" r="0.4" fill="cyan" opacity="0.3"/><circle cx="15" cy="60" r="0.2" fill="cyan" opacity="0.5"/><circle cx="85" cy="75" r="0.3" fill="cyan" opacity="0.4"/></svg>') repeat;
    animation: move-stars 100s linear infinite;
}

@keyframes move-stars {
    from { transform: translateY(0px); }
    to { transform: translateY(-2000px); }
}

/* Custom cursor */
#cursor {
    position: fixed;
    width: 2em;
    height: 2em;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
    transition: all 0.1s ease;
    filter: drop-shadow(0 0 10px #8b5cf6);
}

/* Floating navigation */
.floating-nav {
    position: fixed;
    top: 2em;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2em;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    padding: 1em 2em;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
}

#logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    color: #8b5cf6;
    text-shadow: 0 0 20px #8b5cf6;
    letter-spacing: 2px;
}

/* Glitch effect */
.glitch {
    position: relative;
    animation: glitch 2s infinite;
}

.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 infinite;
    color: #ff0040;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #00ffff;
    z-index: -2;
}

@keyframes glitch {
    0%, 74%, 76%, 100% { transform: translate(0); }
    75% { transform: translate(-2px, 2px); }
}

@keyframes glitch-1 {
    0%, 74%, 76%, 100% { transform: translate(0); }
    75% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 74%, 76%, 100% { transform: translate(0); }
    75% { transform: translate(-2px, -2px); }
}

#navigations ul {
    display: flex;
    list-style: none;
    gap: 1em;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3em;
    height: 3em;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-link:hover {
    background: rgba(139, 92, 246, 0.3);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    transform: scale(1.1);
}

.nav-icon img {
    width: 1.2em;
    height: 1.2em;
    filter: brightness(0) invert(1);
}

.nav-tooltip {
    position: absolute;
    bottom: -2.5em;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5em 1em;
    border-radius: 20px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.nav-item:hover .nav-tooltip {
    opacity: 1;
}

/* Pulse button */
.pulse-btn {
    background: linear-gradient(45deg, #8b5cf6, #3b82f6);
    border: none;
    padding: 1em 2em;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(139, 92, 246, 0.8); }
    100% { box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4); }
}

.pulse-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

/* Main content */
main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 8em 2em 4em;
    z-index: 10;
    position: relative;
}

#content {
    text-align: center;
    max-width: 1000px;
}

.fade-in {
    animation: fadeInUp 1s ease-out;
}

/* Header section */
.header-section {
    margin-bottom: 2em;
    position: relative;
}

.header-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 10px 30px rgba(139, 92, 246, 0.3));
    transition: all 0.3s ease;
    animation: header-glow 3s ease-in-out infinite alternate;
}

.header-image:hover {
    transform: scale(1.02);
    filter: drop-shadow(0 15px 40px rgba(139, 92, 246, 0.5));
}

@keyframes header-glow {
    from {
        filter: drop-shadow(0 10px 30px rgba(139, 92, 246, 0.3));
    }
    to {
        filter: drop-shadow(0 10px 30px rgba(139, 92, 246, 0.6));
    }
}

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

/* VOID mascot container */
.void-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2em;
}

.void-mascot {
    width: 18em;
    height: 18em;
    object-fit: contain;
    border-radius: 20px;
    filter: drop-shadow(0 0 30px #8b5cf6);
    z-index: 2;
    position: relative;
    border: 2px solid rgba(139, 92, 246, 0.3);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

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

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

.void-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25em;
    height: 25em;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    animation: aura-pulse 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes aura-pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.1;
    }
}

/* Title with typewriter effect */
#title {
    font-family: 'Orbitron', monospace;
    font-size: 6rem;
    font-weight: 900;
    margin: 1em 0;
    letter-spacing: 5px;
}

.void-text {
    background: linear-gradient(45deg, #8b5cf6, #3b82f6, #06b6d4);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: void-gradient 3s ease-in-out infinite;
    text-shadow: 0 0 30px #8b5cf6;
}

@keyframes void-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Tagline with glow */
.tagline {
    font-family: 'Electrolize', sans-serif;
    font-size: 1.5rem;
    margin: 2em 0;
    letter-spacing: 3px;
}

.glow-text {
    color: #06b6d4;
    text-shadow: 0 0 10px #06b6d4, 0 0 20px #06b6d4, 0 0 30px #06b6d4;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px #06b6d4, 0 0 20px #06b6d4, 0 0 30px #06b6d4; }
    to { text-shadow: 0 0 5px #06b6d4, 0 0 10px #06b6d4, 0 0 15px #06b6d4; }
}

.typing-effect {
    border-right: 2px solid #06b6d4;
    animation: blink-caret 1s step-end infinite;
}

@keyframes blink-caret {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: #06b6d4; }
}

/* Contract section */
.contract-section {
    margin: 3em 0;
}

.contract-card {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 2em;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.contract-card:hover {
    border-color: rgba(139, 92, 246, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.contract-card:hover .card-glow {
    opacity: 1;
    animation: card-shine 2s ease-in-out;
}

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

.contract-link {
    display: flex;
    align-items: center;
    gap: 1em;
    text-decoration: none;
    color: white;
}

.contract-icon img {
    width: 3em;
    height: 3em;
}

.contract-info {
    flex: 1;
    text-align: left;
}

.contract-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contract-address {
    font-family: 'Rajdhani', monospace;
    font-size: 1.1rem;
    color: #8b5cf6;
    font-weight: 600;
    margin-top: 0.5em;
    word-break: break-all;
}

.contract-action img {
    width: 1.5em;
    height: 1.5em;
    filter: brightness(0) invert(1);
}

/* Sections */
.void-section {
    padding: 6em 2em;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    z-index: 10;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    color: #8b5cf6;
    margin-bottom: 2em;
    text-shadow: 0 0 20px #8b5cf6;
}

.void-description {
    font-family: 'Electrolize', sans-serif;
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto 4em;
    letter-spacing: 0.5px;
}

.void-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    margin-top: 4em;
}

.feature-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 2em;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.feature-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1em;
    filter: drop-shadow(0 0 10px #8b5cf6);
}

.feature-card h3 {
    font-family: 'Orbitron', monospace;
    color: #06b6d4;
    margin-bottom: 1em;
    font-size: 1.3rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Stats section */
.stats-section {
    padding: 4em 2em;
    background: rgba(139, 92, 246, 0.1);
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.stat-card {
    text-align: center;
    padding: 2em;
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    color: #8b5cf6;
    text-shadow: 0 0 20px #8b5cf6;
    animation: number-glow 2s ease-in-out infinite alternate;
}

@keyframes number-glow {
    from { text-shadow: 0 0 20px #8b5cf6; }
    to { text-shadow: 0 0 30px #8b5cf6, 0 0 40px #8b5cf6; }
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1em;
    letter-spacing: 1px;
}

/* Footer */
.void-footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 3em 2em;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 2em;
}

.footer-link {
    color: #8b5cf6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #06b6d4;
    text-shadow: 0 0 10px #06b6d4;
}

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

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #8b5cf6;
    border-radius: 50%;
    box-shadow: 0 0 10px #8b5cf6;
    animation: float-particle 10s infinite linear;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.particle:nth-child(3) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 15s;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 6s;
    animation-duration: 10s;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 8s;
    animation-duration: 14s;
}

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

/* Responsive design */
@media (max-width: 768px) {
    #cursor {
        display: none;
    }

    .floating-nav {
        position: fixed;
        top: 1em;
        left: 1em;
        right: 1em;
        transform: none;
        flex-direction: column;
        gap: 1em;
        padding: 1em;
    }

    #title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .void-description {
        font-size: 1.1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2em;
        text-align: center;
    }

    .void-features {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5em;
    }

    .header-image {
        max-width: 100%;
        border-radius: 15px;
    }

    .void-mascot {
        width: 15em;
        height: 15em;
        border-radius: 15px;
    }

    .void-container {
        margin-bottom: 1.5em;
    }

    .void-aura {
        width: 20em;
        height: 20em;
    }
}
