/* IMPORT FONTÓW */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Orbitron:wght@600;700;800&display=swap');

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

/* GLOBAL FONT (NAPRAWIONE - BLOKUJE NADPISYWANIE) */
body,
body * ,
input,
button,
textarea,
select,
option {
    font-family: 'Rajdhani', sans-serif !important;
}

/* LOGO FONT - WYJĄTEK */
.logo,
.logo span {
    font-family: 'Orbitron', sans-serif !important;
}

/* BODY */
body {
    background: #050505;
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* BACKGROUND */

.bg-grid {
    position: fixed;
    inset: 0;

    background:
        linear-gradient(rgba(0, 255, 100, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 100, 0.06) 1px, transparent 1px);

    background-size: 60px 60px;

    opacity: 0.15;

    z-index: -3;
}

.overlay {
    position: fixed;
    inset: 0;

    background:
        radial-gradient(circle at center,
            rgba(0, 255, 100, 0.08),
            transparent 60%);

    z-index: -2;
}

/* NAVBAR */

.navbar {

    width: 100%;

    padding: 30px 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid rgba(0, 255, 100, 0.15);

    position: fixed;

    top: 0;
    left: 0;

    background: rgba(5, 5, 5, 0.95);

    backdrop-filter: blur(10px);

    z-index: 1000;

}

/* LOGO */

.logo-box {

    display: flex;
    align-items: center;

    gap: 14px;

}

.logo-img {

    width: 48px;
    height: 48px;

    object-fit: contain;

    filter: drop-shadow(0 0 10px rgba(0, 255, 100, 0.7));

}

.logo {

    font-size: 32px;

    font-weight: 800;

    font-family: 'Orbitron', sans-serif !important;

    color: #00ff66;

}

.logo span {

    color: white;

}

/* NAV */

nav {

    display: flex;

    gap: 40px;

}

nav a {

    text-decoration: none;

    color: #b5b5b5;

    font-size: 14px;

    letter-spacing: 2px;

    transition: 0.3s;

    font-weight: 600;

}

nav a:hover {

    color: #00ff66;

}

/* LOGIN BUTTON */

.login-btn {

    background: transparent;

    border: 1px solid #00ff66;

    color: #00ff66;

    padding: 10px 30px;

    border-radius: 6px;

    cursor: pointer;

    font-weight: 600;

    transition: 0.3s;

}

.login-btn:hover {

    background: #00ff66;

    color: black;

    box-shadow: 0 0 20px #00ff66;

}

.no-underline {

    text-decoration: none;

    color: inherit;

}

/* HAMBURGER */

.hamburger {

    display: none;

    flex-direction: column;

    gap: 6px;

    cursor: pointer;

}

.hamburger span {

    width: 30px;
    height: 3px;

    background: #00ff66;

    border-radius: 10px;

}

/* AUTH */

.auth {

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 100vh;

    padding: 140px 50px 50px;

}

/* AUTH BOX */

.auth-box {

    width: 420px;

    border: 1px solid rgba(0, 255, 100, 0.2);

    background: rgba(255, 255, 255, 0.02);

    padding: 35px;

    box-shadow: 0 0 40px rgba(0, 255, 100, 0.08);

}

/* TABS */

.tabs {

    display: flex;

    justify-content: space-between;

    margin-bottom: 25px;

    gap: 10px;

}

.tab {

    flex: 1;

    padding: 12px;

    background: transparent;

    border: 1px solid rgba(0, 255, 100, 0.2);

    color: #aaa;

    cursor: pointer;

    transition: 0.3s;

    font-weight: 600;

}

.tab.active {

    background: #00ff66;

    color: black;

}

/* FORM */

.form {

    display: none;

    flex-direction: column;

    gap: 15px;

}

.form.active {

    display: flex;

}

input {

    padding: 14px;

    background: #0c0c0c;

    border: 1px solid rgba(0, 255, 100, 0.15);

    color: white;

    outline: none;

    transition: 0.3s;

}

input:focus {

    border-color: #00ff66;

    box-shadow: 0 0 15px rgba(0, 255, 100, 0.15);

}

/* FORM BUTTONS */

.form button {

    padding: 14px;

    background: #00ff66;

    border: none;

    color: black;

    font-weight: 700;

    cursor: pointer;

    transition: 0.3s;

}

.form button:hover {

    transform: translateY(-2px);

    box-shadow: 0 0 25px rgba(0, 255, 100, 0.4);

}

/* SWITCH */

.switch {

    text-align: center;

    font-size: 13px;

    color: #aaa;

}

.switch span {

    color: #00ff66;

    cursor: pointer;

}

/* RESPONSIVE */

@media(max-width:900px) {

    .hamburger {

        display: flex;

    }

    nav {

        position: absolute;

        top: 100%;

        left: 50%;

        transform:
            translateX(-50%)
            translateY(-20px);

        width: 240px;

        background: rgba(5, 5, 5, 0.98);

        border: 1px solid rgba(0, 255, 100, 0.2);

        backdrop-filter: blur(10px);

        display: flex;

        flex-direction: column;

        padding: 25px;

        gap: 20px;

        opacity: 0;

        pointer-events: none;

        transition: 0.3s;

        z-index: 1500;

    }

    nav.active {

        opacity: 1;

        pointer-events: auto;

        transform:
            translateX(-50%)
            translateY(0);

    }

    .navbar {

        padding: 25px;

    }

    .auth {

        padding: 140px 25px 25px;

    }

    .auth-box {

        width: 100%;

    }

    .login-btn {

        display: none;

    }

}

@media(min-width:901px) {

    nav {

        display: flex !important;

        opacity: 1 !important;

        pointer-events: auto !important;

        transform: none !important;

        position: static;

    }

}