/* RESET I BAZOWE USTAWIENIA */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #05010a;
    font-family: 'Rajdhani', sans-serif;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

/* ANIMOWANE TŁO */
.bg-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(80px);
}

.orb {
    position: absolute;
    border-radius: 50%;
    animation: float 10s infinite alternate ease-in-out;
}

.orb-1 { width: 400px; height: 400px; background: rgba(128, 0, 255, 0.3); top: -10%; left: -10%; }
.orb-2 { width: 500px; height: 500px; background: rgba(212, 0, 255, 0.2); bottom: -20%; right: -10%; animation-delay: -3s; }
.orb-3 { width: 300px; height: 300px; background: rgba(89, 0, 255, 0.25); top: 40%; left: 50%; animation-delay: -6s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 100px) scale(1.2); }
}

/* GŁÓWNY PANEL */
.register-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    z-index: 10;
}

.glass-panel {
    background: rgba(15, 5, 25, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 0 30px rgba(128, 0, 255, 0.15), inset 0 0 20px rgba(138, 43, 226, 0.1);
}

/* NEONOWY TYTUŁ OXAVIA */
.neon-title {
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 4px;
    margin-bottom: 5px;
    text-shadow: 0 0 5px #a200ff, 0 0 10px #a200ff, 0 0 20px #a200ff, 0 0 40px #d400ff, 0 0 80px #d400ff;
    animation: pulsate 2.5s infinite alternate;
}

.subtitle {
    text-align: center;
    color: #b59bd4;
    font-size: 16px;
    margin-bottom: 35px;
    letter-spacing: 1px;
}

@keyframes pulsate {
    100% { text-shadow: 0 0 4px #a200ff, 0 0 11px #a200ff, 0 0 19px #a200ff, 0 0 40px #d400ff, 0 0 70px #d400ff; }
    0% { text-shadow: 0 0 2px #a200ff, 0 0 4px #a200ff, 0 0 6px #a200ff, 0 0 10px #d400ff, 0 0 20px #d400ff; }
}

/* POLA FORMULARZA */
.input-box {
    position: relative;
    margin-bottom: 30px;
}

.input-box input {
    width: 100%;
    padding: 10px 0;
    font-size: 18px;
    color: #fff;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
}

.input-box label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #7b59a6;
    font-size: 18px;
    pointer-events: none;
    transition: 0.3s ease all;
}

.input-box input:focus ~ label,
.input-box input:valid ~ label {
    top: -18px;
    font-size: 14px;
    color: #d400ff;
    text-shadow: 0 0 5px rgba(212, 0, 255, 0.5);
}

.input-box .neon-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(138, 43, 226, 0.3);
}

.input-box .neon-line::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #d400ff;
    box-shadow: 0 0 10px #d400ff, 0 0 20px #a200ff;
    transition: 0.4s ease all;
}

.input-box input:focus ~ .neon-line::before,
.input-box input:valid ~ .neon-line::before {
    width: 100%;
}

/* BAZOWY PRZYCISK NEONOWY */
.neon-btn {
    position: relative;
    display: block; 
    text-align: center; 
    text-decoration: none; 
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    background: transparent;
    border: 1px solid #a200ff;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    overflow: hidden;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 1;
}

.neon-btn:hover {
    background: #a200ff;
    color: #fff;
    box-shadow: 0 0 15px #a200ff, 0 0 40px #d400ff;
}

/* PRZYCISK POBIERANIA KLIENTA */
.btn-download {
    margin-top: 15px;
    border-color: #d400ff;
}

.btn-download:hover {
    background: #d400ff;
    box-shadow: 0 0 15px #d400ff, 0 0 40px rgba(212, 0, 255, 0.8);
}

/* NOWY PRZYCISK PANEL */
.btn-panel {
    margin-top: 15px;
    border-color: #8a2be2;
}

.btn-panel:hover {
    background: #8a2be2;
    box-shadow: 0 0 15px #8a2be2, 0 0 40px rgba(138, 43, 226, 0.8);
}

/* Wewnętrzny blask przycisku (animacja najechania) */
.btn-glow {
    position: absolute;
    top: -50px;
    left: -100px;
    width: 50px;
    height: 200px;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(35deg);
    transition: 0.6s all ease;
    z-index: -1;
}

.neon-btn:hover .btn-glow {
    left: 120%;
}