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

body {
    font-family: 'Courier New', monospace;
    min-height: 100vh;
    background: #0a0e27;
    color: #00ff88;
    overflow-x: hidden;
    position: relative;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 255, 136, 0.02) 51%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 999;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Logo z orbitami */
.logo-container {
    position: relative;
    margin-bottom: 2rem;
    width: 200px;
    height: 200px;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 180px;
    height: 180px;
    animation: rotate 15s linear infinite;
}

.orbit-2 {
    width: 140px;
    height: 140px;
    animation: rotate 10s linear infinite reverse;
}

.orbit-3 {
    width: 100px;
    height: 100px;
    animation: rotate 8s linear infinite;
}

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

.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #0a4d3c, #1a1a2e);
    border: 3px solid #00ff88;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: 
        0 0 30px rgba(0, 255, 136, 0.6),
        inset 0 0 20px rgba(0, 255, 136, 0.2);
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { box-shadow: 0 0 30px rgba(0, 255, 136, 0.6), inset 0 0 20px rgba(0, 255, 136, 0.2); }
    50% { box-shadow: 0 0 50px rgba(0, 255, 136, 0.9), inset 0 0 30px rgba(0, 255, 136, 0.4); }
}

.ai-chip {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 2rem;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px #00ff88);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: bold;
    letter-spacing: 0.1em;
    margin: 1rem 0;
    text-shadow: 
        0 0 10px #00ff88,
        0 0 20px #00ff88,
        0 0 30px #00ff88,
        0 0 40px #00ff88;
    position: relative;
    animation: text-glow 2s ease-in-out infinite;
}

@keyframes text-glow {
    0%, 100% { text-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88; }
    50% { text-shadow: 0 0 20px #00ff88, 0 0 40px #00ff88, 0 0 60px #00ff88; }
}

.glitch {
    animation: glitch 5s infinite;
}

@keyframes glitch {
    0%, 90%, 100% { transform: translate(0); }
    92% { transform: translate(-3px, 3px); clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%); }
    94% { transform: translate(3px, -3px); clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%); }
    96% { transform: translate(-3px, -3px); }
    98% { transform: translate(3px, 3px); }
}

.subtitle {
    font-size: 1.5rem;
    color: #66ffa3;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    height: 2rem;
}

.typing-text {
    border-right: none;
}

.cursor {
    animation: blink 1s infinite;
    color: #00ff88;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.status-bar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(0, 20, 20, 0.8);
    border: 2px solid #00ff88;
    border-radius: 15px;
    margin-bottom: 3rem;
    min-width: 300px;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.status-bar > div:first-child {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pulse {
    width: 10px;
    height: 10px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 5px #00ff88; }
    50% { opacity: 0.3; box-shadow: 0 0 15px #00ff88; }
}

.status-text {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: #66ffa3;
    flex: 1;
}

.status-online {
    color: #00ff88;
    font-weight: bold;
    animation: pulse-text 2s ease-in-out infinite;
}

@keyframes pulse-text {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(0, 255, 136, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #66ffa3);
    border-radius: 2px;
    animation: progress 3s ease-in-out infinite;
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
    margin-bottom: 3rem;
}

.info-card {
    position: relative;
    background: rgba(0, 20, 20, 0.8);
    border: 2px solid #00ff88;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    overflow: hidden;
    cursor: pointer;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.info-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.5);
    border-color: #66ffa3;
}

.info-card:hover .card-glow {
    opacity: 1;
    animation: glow-rotate 3s linear infinite;
}

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

.card-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px #00ff88);
    animation: float 3s ease-in-out infinite;
}

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

.info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    color: #00ff88;
}

.info-card p {
    color: #66ffa3;
    opacity: 0.9;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.card-stats {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 255, 136, 0.3);
}

.stat {
    font-size: 0.85rem;
    color: #00ff88;
    opacity: 0.7;
    font-family: monospace;
}

.terminal {
    width: 100%;
    max-width: 600px;
    background: rgba(0, 10, 10, 0.95);
    border: 2px solid #00ff88;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
    margin-bottom: 3rem;
}

.terminal-header {
    background: rgba(0, 255, 136, 0.1);
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0, 255, 136, 0.3);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-title {
    margin-left: auto;
    font-size: 0.85rem;
    color: #66ffa3;
    opacity: 0.7;
}

.terminal-body {
    padding: 1.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.terminal-line {
    color: #66ffa3;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: terminal-fade-in 0.3s forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.3s; }
.terminal-line:nth-child(2) { animation-delay: 0.8s; }
.terminal-line:nth-child(3) { animation-delay: 1.3s; }
.terminal-line:nth-child(4) { animation-delay: 1.8s; }

@keyframes terminal-fade-in {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.terminal-line.success {
    color: #00ff88;
}

footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 136, 0.3);
    text-align: center;
    width: 100%;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-link {
    color: #00ff88;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: #66ffa3;
    text-shadow: 0 0 10px #00ff88;
}

.separator {
    color: rgba(0, 255, 136, 0.5);
}

footer p {
    color: #66ffa3;
    opacity: 0.6;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .terminal {
        font-size: 0.8rem;
    }
}
