@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
    --bg: #030303;
    --card: #0a0a0a;
    --accent: #7000ff;
    --accent-hover: #8a33ff;
    --border: #1a1a1a;
    --text: #ffffff;
    --text-dim: #888888;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- Nawigacja --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    border-bottom: 1px solid var(--border);
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 50px; /* Odstęp od logo do menu */
}

.logo { 
    font-size: 1.6rem; 
    font-weight: 800; 
    letter-spacing: -1px; 
    cursor: default;
}
.logo span { color: var(--accent); }

.main-menu {
    display: flex;
    gap: 25px;
}

.main-menu a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.main-menu a:hover {
    opacity: 1;
    color: var(--accent);
}

.main-menu .disabled-link {
    opacity: 0.2;
    cursor: not-allowed;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a { 
    color: var(--text); 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 0.85rem; 
}

.btn-register { 
    background: var(--accent); 
    padding: 10px 22px; 
    border-radius: 6px; 
    transition: 0.3s; 
}
.btn-register:hover { 
    box-shadow: 0 0 20px rgba(112, 0, 255, 0.5); 
    background: var(--accent-hover);
}

.btn-small {
    background: var(--border);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
}

/* --- Hero & Dashboard --- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    padding: 0 10%;
    text-align: center;
}

.page-title { 
    font-size: 3rem; 
    font-weight: 800; 
    margin-bottom: 10px; 
    letter-spacing: -1px;
}

.subtitle { 
    color: var(--text-dim); 
    font-size: 1.1rem;
    max-width: 500px;
}

/* --- Animacje --- */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.animate-pulse {
    display: inline-block;
    animation: pulse 4s ease-in-out infinite;
}

.lock-screen h1 { font-size: 5rem; font-weight: 800; letter-spacing: -3px; }
.lock-screen p { color: var(--text-dim); font-size: 1.3rem; margin-top: 10px; }

/* --- Formularze (Logowanie/Rejestracja) --- */
.auth-page { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    height: 100vh; 
}

.auth-container { 
    background: var(--card); 
    border: 1px solid var(--border); 
    padding: 40px; 
    border-radius: 20px; 
    width: 100%; 
    max-width: 400px;
    text-align: center;
}

.auth-container h2 { margin-bottom: 25px; font-size: 2rem; font-weight: 800; }

.auth-container input { 
    width: 100%; 
    padding: 15px; 
    margin-bottom: 15px; 
    background: #000; 
    border: 1px solid var(--border); 
    border-radius: 8px; 
    color: #fff;
    font-family: inherit;
}

.auth-container input:focus {
    outline: none;
    border-color: var(--accent);
}

.btn-main {
    width: 100%;
    background: var(--accent); 
    color: white; 
    border: none;
    padding: 15px; 
    border-radius: 8px; 
    font-size: 1rem; 
    font-weight: 800;
    cursor: pointer; 
    transition: 0.3s;
}

.btn-main:hover { background: var(--accent-hover); transform: translateY(-2px); }

.error { color: #ff4444; background: rgba(255,68,68,0.1); padding: 10px; border-radius: 5px; margin-bottom: 15px; font-size: 0.85rem; }
.success { color: #00ff88; background: rgba(0,255,136,0.1); padding: 10px; border-radius: 5px; margin-bottom: 15px; font-size: 0.85rem; }
.back-link { color: var(--text-dim); text-decoration: none; display: block; margin-bottom: 20px; font-size: 0.8rem; }

.t-row:hover {
    border-color: var(--accent) !important;
    transform: translateX(5px);
    background: #0f0f0f !important;
}