/* style.css */
:root {
    --bg-color: #050505;
    --text-main: #000000;
    --text-muted: rgba(255, 255, 255, 0.6);
    --accent-color: #3ff1cd;
    --font-mono: monospace;
    --glass-bg: rgba(0, 0, 0, 0.304);
    --glass-border: rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-mono);
    overflow: hidden; 
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: auto;
}

.intro-overlay {
    position: fixed;
    z-index: 10;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    pointer-events: none;
}

.intro-content {
    align-items: center;
    pointer-events: auto;
    max-width: 50vw;
    background: var(--glass-bg);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(0px);
    border: 6px solid var(--glass-border);
    padding: 24px;
    border-radius: 3px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards 0.5s;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Typografia i Elementy */
header {
    margin: auto;
    max-width: 100%;
    overflow: hidden;
}

header img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

.badge {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 4px 8px;
    margin-bottom: 16px;
}

h1 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -2px;
    line-height: 1;
}

.description p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Przycisk */
.actions {
    margin-bottom: 4px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    gap: 6px;
    font-size: 11px;
    color: #ffffff;
    background-color: var(--text-main);
    padding: 2px 4px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(2px);
    box-shadow: 0 0 6px rgba(128, 255, 230, 0.3);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

.intro-content footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 16px;
}

.tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsywność */
@media (max-width: 768px) {
    .intro-overlay {
        padding: 16px;
        align-items: center;
    }

    .intro-content {
        max-width: 90vw;
        padding: 20px 16px;
        margin-bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        border: 4px solid var(--glass-border);
        max-height: 85vh;
    }

    header {
        margin-bottom: 12px;
    }

    header img {
        max-width: 200px;
        margin: 0 auto;
    }

    h1 {
        font-size: 1.8rem;
    }
    
    .btn-primary {
        font-size: 11px;
        padding: 2px 4px;
    }
    
    .actions {
        margin-bottom: 4px;
    }
}

@media (max-width: 480px) {
    .intro-overlay {
        padding: 12px;
    }

    .intro-content {
        max-width: 95vw;
        padding: 16px 12px;
        border: 3px solid var(--glass-border);
        max-height: 88vh;
    }
    
    header {
        margin-bottom: 10px;
    }

    header img {
        max-width: 150px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .btn-primary {
        font-size: 10px;
        padding: 2px 4px;
        gap: 4px;
    }
    
    .badge {
        font-size: 0.65rem;
        padding: 3px 6px;
    }
    
    .description p {
        font-size: 0.75rem;
    }
    
    .tagline {
        font-size: 0.65rem;
    }
    
    .actions {
        margin-bottom: 3px;
    }
}

@media (max-width: 360px) {
    .intro-content {
        max-width: 96vw;
        padding: 14px 10px;
    }
    
    header img {
        max-width: 120px;
    }
    
    .btn-primary {
        font-size: 9px;
        padding: 2px 3px;
    }
}