/* Definicja lokalnej czcionki */
@font-face {
    font-family: 'Outfit';
    src: url('fonts/outfit/Outfit-Bold.ttf') format('truetype');
         
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-dark: #050505;
    --accent-purple: #8a2be2;
    --accent-blue: #00d4ff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-white: #ffffff;
    --text-dim: #b0b0b0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Animowany gradient w tle */
/* Animowany gradient w tle (powolny ruch lewo-prawo) */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Elegancki poziomy gradient */
    background: linear-gradient(90deg, #050505, #1a0b2e, #0f172a, #1a0b2e, #050505);
    background-size: 400% 100%; /* Bardzo szerokie tło, żeby było co przesuwać */
    animation: panRight 40s ease-in-out infinite; /* 40 sekund na pełen cykl zapewnia mega płynność */
}

/* Animacja przesuwająca tło */
@keyframes panRight {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Kontener Glassmorphism */
.container {
    position: relative;
    padding: 3.5rem;
    max-width: 600px;
    width: 90%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    letter-spacing: -1.5px;
    background: linear-gradient(to bottom right, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    font-size: 1.1rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Przyciski */
.actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 12px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn.primary {
    background: var(--text-white);
    color: var(--bg-dark);
}

.btn.secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid var(--glass-border);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn.primary:hover {
    background: #e0e0e0;
}

.btn.secondary:hover {
    background: var(--glass-bg);
    border-color: rgba(255,255,255,0.2);
}

/* Klasy do animacji przez JS */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}