:root {
    --primary: #4ae3ff;
    --secondary: #2b6cb0;
    --background: #0a0f2d;
    --text: #e2e8f0;
    --card-bg: #1a1a3a;
    --accent: #00ff9d;
    --robot-primary: #4ae3ff;
    --robot-secondary: #2b6cb0;
    --gradient-start: #0a0f2d;
    --gradient-end: #1a1a3a;
    --neon-glow: 0 0 20px rgba(74, 227, 255, 0.5);
    --gear-color: #4ae3ff;
}

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

body {
    font-family: 'Orbitron', 'Arial', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.clouds {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        repeating-linear-gradient(90deg, rgba(74, 227, 255, 0.05) 0px, rgba(74, 227, 255, 0.05) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(0deg, rgba(74, 227, 255, 0.05) 0px, rgba(74, 227, 255, 0.05) 1px, transparent 1px, transparent 20px),
        linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    animation: gridMove 20s linear infinite;
}

.clouds::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(74, 227, 255, 0.1) 0%, transparent 70%),
        repeating-linear-gradient(45deg, rgba(74, 227, 255, 0.05) 0px, rgba(74, 227, 255, 0.05) 1px, transparent 1px, transparent 10px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

header {
    text-align: center;
    padding: 2rem 0;
    position: relative;
    margin-bottom: 4rem;
}

.logo-container {
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
}

.logo-upload {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 15px;
    cursor: pointer;
}

.logo-input {
    display: none;
}

.logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 
        0 0 30px rgba(74, 227, 255, 0.5),
        inset 0 0 20px rgba(74, 227, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--background);
}

.robot-eye {
    animation: glowPulse 2s infinite;
}

.robot-antenna {
    animation: antennaPulse 1.5s infinite;
}

.robot-mouth {
    animation: mouthPulse 3s infinite;
}

.robot-circuit {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: circuitFlow 4s linear infinite;
}

.upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 45, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.upload-text {
    color: var(--primary);
    font-size: 0.9rem;
    text-align: center;
    padding: 0.5rem;
}

.logo-label:hover .upload-overlay {
    opacity: 1;
}

.logo-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 50%;
    animation: rotateLogo 10s linear infinite;
}

.logo-ring::before,
.logo-ring::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary);
}

.logo-ring::before {
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.logo-ring::after {
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.bounce {
    font-size: 4.5rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5em;
    text-shadow: 
        0 0 10px var(--primary),
        0 0 20px var(--primary),
        0 0 40px var(--primary);
    animation: neonPulse 2s ease-in-out infinite;
    font-family: 'Orbitron', sans-serif;
}

.subtitle {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-top: 1rem;
    letter-spacing: 0.2em;
    text-shadow: 0 0 10px var(--secondary);
    font-family: 'Orbitron', sans-serif;
}

.token-card, .feature-card, .image-card {
    background: rgba(26, 26, 58, 0.8);
    border: 2px solid var(--primary);
    box-shadow: 
        0 0 20px rgba(74, 227, 255, 0.2),
        inset 0 0 20px rgba(74, 227, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.token-card::before,
.feature-card::before,
.image-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, var(--primary), transparent);
    z-index: -1;
    animation: borderGlow 3s linear infinite;
}

.feature-icon {
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent);
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 10s linear infinite;
}

.image-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 4rem 0;
}

.image-card {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.feature-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 15, 45, 0.9), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.image-card:hover .image-overlay {
    transform: translateY(0);
}

.image-card:hover .feature-image {
    transform: scale(1.05);
}

.image-overlay h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    text-shadow: 0 0 10px var(--primary);
}

.image-overlay p {
    color: var(--text);
    font-size: 1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.social-link {
    color: var(--text);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(74, 227, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.social-link:hover {
    color: var(--primary);
    box-shadow: 0 0 20px rgba(74, 227, 255, 0.3);
}

.social-link:hover::before {
    left: 100%;
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.tokenomics-item {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid var(--primary);
    border-radius: 10px;
    background: rgba(74, 227, 255, 0.05);
    position: relative;
    overflow: hidden;
}

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

.tokenomics-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.roadmap-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    z-index: 1;
}

.roadmap-item {
    position: relative;
    padding: 2rem;
    border: 1px solid var(--primary);
    border-radius: 10px;
    background: rgba(74, 227, 255, 0.05);
    z-index: 2;
}

.roadmap-phase {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--background);
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary);
    border-radius: 20px;
    color: var(--primary);
    font-weight: bold;
}

.roadmap-item ul {
    list-style: none;
    margin-top: 1rem;
}

.roadmap-item ul li {
    margin: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.roadmap-item ul li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: var(--primary);
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 20px 20px; }
}

@keyframes neonPulse {
    0%, 100% {
        text-shadow: 
            0 0 10px var(--primary),
            0 0 20px var(--primary),
            0 0 40px var(--primary);
    }
    50% {
        text-shadow: 
            0 0 15px var(--primary),
            0 0 30px var(--primary),
            0 0 60px var(--primary);
    }
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotateLogo {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes glowPulse {
    0%, 100% { fill: var(--primary); }
    50% { fill: var(--secondary); }
}

@keyframes antennaPulse {
    0%, 100% { fill: var(--primary); transform: scale(1); }
    50% { fill: var(--accent); transform: scale(1.2); }
}

@keyframes mouthPulse {
    0%, 100% { fill: var(--primary); }
    50% { fill: var(--accent); }
}

@keyframes circuitFlow {
    0% { stroke-dashoffset: 500; }
    100% { stroke-dashoffset: 0; }
}

@keyframes shine {
    0% { transform: rotate(0) translate(-50%, -50%); }
    100% { transform: rotate(360deg) translate(-50%, -50%); }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .bounce {
        font-size: 3rem;
        letter-spacing: 0.3em;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .image-section {
        grid-template-columns: 1fr;
    }

    .logo-container::before,
    .logo-container::after {
        width: 100px;
    }

    .tokenomics-grid,
    .roadmap-timeline {
        grid-template-columns: 1fr;
    }

    .roadmap-timeline::before {
        display: none;
    }
}