:root {
    --primary: #8b5cf6;
    --primary-dark: #6d28d9;
    --secondary: #10b981;
    --bg-dark: #0f0f13;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --font-main: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* Animowane tło: kolorowe plamy dryfują i zmieniają barwę */
body::before {
    content: '';
    position: fixed;
    inset: -20%;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(40% 40% at 20% 25%, rgba(139, 92, 246, 0.35), transparent 70%),
        radial-gradient(35% 35% at 80% 20%, rgba(16, 185, 129, 0.28), transparent 70%),
        radial-gradient(45% 45% at 70% 80%, rgba(59, 130, 246, 0.28), transparent 70%),
        radial-gradient(30% 30% at 25% 85%, rgba(236, 72, 153, 0.22), transparent 70%);
    animation: bg-drift 30s ease-in-out infinite alternate, bg-hue 60s linear infinite;
}

@keyframes bg-drift {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(6%, -4%) scale(1.15); }
}

@keyframes bg-hue {
    to { filter: hue-rotate(360deg); }
}

a:focus-visible, button:focus-visible, .ip-box:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    body::before { animation: none; }
    .reveal { transition: none; }
}
