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

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(45deg, #000000, #1a1a2e);
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(45deg, #000000, #0a0a2a);
}

.stars-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transform: translateZ(0);
}

.stars {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    animation: starfly linear infinite;
}

.stars-1 {
    background-image: radial-gradient(1px 1px at 50% 50%, #fff, rgba(0,0,0,0));
    background-size: 50px 50px;
    animation-duration: 30s;
}

.stars-2 {
    background-image: radial-gradient(2px 2px at 50% 50%, #fff, rgba(0,0,0,0));
    background-size: 100px 100px;
    animation-duration: 45s;
}

.stars-3 {
    background-image: radial-gradient(3px 3px at 50% 50%, #fff, rgba(0,0,0,0));
    background-size: 150px 150px;
    animation-duration: 60s;
}

.grid {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    animation: grid-move 30s linear infinite;
}

.gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 20%, rgba(0,0,0,0.8) 100%);
}

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

@keyframes particles-float {
    0% { background-position: 0 0; }
    100% { background-position: 1000px 1000px; }
}

@keyframes move-twinkle {
    from {background-position: 0 0;}
    to {background-position: -10000px 5000px;}
}

main {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
    width: 100%;
    max-width: 90vw;
    margin: 0 auto;
}

.logo {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 
        0 0 20px rgba(255,255,255,0.3),
        0 0 40px rgba(255,255,255,0.1);
}

.logo img {
    max-width: 100%;
    height: auto;
}

.agent {
    opacity: 0.9;
}

.stack {
    opacity: 0.7;
}

.coming-soon {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    letter-spacing: 4px;
    text-transform: uppercase;
    padding: 0 20px;
    line-height: 1.4;
}

@keyframes starfly {
    from {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    to {
        transform: translateY(1000px) translateX(-1000px);
        opacity: 0;
    }
}

.github-corner:hover .octo-arm {
    animation: octocat-wave 560ms ease-in-out;
}

.github-stars {
    position: absolute;
    top: 80px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: white;
    backdrop-filter: blur(5px);
}

.star-icon {
    fill: #fff;
}

@keyframes octocat-wave {
    0%, 100% {
        transform: rotate(0);
    }
    20%, 60% {
        transform: rotate(-25deg);
    }
    40%, 80% {
        transform: rotate(10deg);
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 3rem;
    }
    
    .coming-soon {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .github-corner {
        transform: scale(0.7);
        transform-origin: top right;
    }

    .github-stars {
        top: 60px;
        right: 10px;
        padding: 4px 8px;
        font-size: 12px;
    }

    #github {
        transform: scale(0.9);
    }
}

@media (max-width: 480px) {
    main {
        max-width: 95vw;
    }

    .coming-soon {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
}

.command-container {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(5px);
}

.install-command {
    font-family: monospace;
    color: #fff;
    font-size: 14px;
    margin-right: 10px;
}

.copy-button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    color: #fff;
    transition: background-color 0.2s;
}

.copy-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.copy-button.copied {
    background: rgba(0, 255, 0, 0.2);
}

@media (max-width: 768px) {
    .command-container {
        padding: 8px;
        margin-top: 20px;
    }

    .install-command {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .command-container {
        flex-direction: column;
        gap: 10px;
    }

    .install-command {
        word-break: break-all;
    }
}