body {
    font-family: 'Poppins', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

/* Pozadinski 3D efekat - animirane svetlosti */
body::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(72, 0, 255, 0.15), transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 255, 200, 0.1), transparent 50%);
    animation: rotateBackground 20s linear infinite;
    z-index: 0;
}

@keyframes rotateBackground {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.login-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.login-box {
    width: 420px;
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.login-box:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(72, 0, 255, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a78bfa, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    text-shadow: 0 0 40px rgba(96, 165, 250, 0.2);
}

.intro-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    margin: 8px 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.btn-ucp {
    background: linear-gradient(135deg, #059669, #10b981);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-ucp:hover {
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #10b981, #34d399);
}

.statistics {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.statistics h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

table {
    width: 100%;
    margin: 10px 0;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
}

table th, table td {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.95rem;
}

table th {
    background: rgba(124, 58, 237, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

table td {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

table td:last-child {
    font-weight: 500;
    color: #a78bfa;
}

.footer {
    margin-top: 25px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
    letter-spacing: 0.5px;
}

.footer a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Glow animacija za dugmad */
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(124, 58, 237, 0.2); }
    50% { box-shadow: 0 0 40px rgba(124, 58, 237, 0.4); }
}

.btn-ucp {
    animation: pulseGlow 3s ease-in-out infinite;
}

/* Responzivnost */
@media (max-width: 768px) {
    .login-box {
        width: 92%;
        padding: 30px 20px;
        transform: none;
    }
    
    .login-box:hover {
        transform: none;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    table th, table td {
        font-size: 0.8rem;
        padding: 8px 10px;
    }
}