@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #141e30, #243b55);
    color: #f5f5f5;
    overflow-x: hidden;
}
html, body {
    height: 100%;
    overflow-y: auto;
}

.login-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 1000;
}


.login-modal.hidden {
    display: none;
}

.login-box {
    background: rgba(44,44,44,0.9);
    backdrop-filter: blur(12px);
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    width: 100%;
    max-width: 380px;
    text-align: center;
    animation: slide-up 0.4s ease;

    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
}

.login-box h2 {
    margin: 0 0 10px 0;
    font-weight: 600;
}

.login-box form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.login-box label {
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    color: #ddd;
}

.login-box input {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    border-radius: 8px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
    outline: none;
    transition: background 0.3s;
    margin-bottom: 12px;
}

.login-box input:focus {
    background: rgba(255,255,255,0.2);
}

.login-box button {
    padding: 12px;
    background: linear-gradient(135deg,#4c8bf5,#3a6fc4);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.login-box button:hover {
    transform: scale(1.05);
}

.close-btn {
    position: absolute;
    top: 15px; right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100dvh;
  padding: 40px 20px;
  box-sizing: border-box;
}

.content-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.section {
    background: rgba(44,44,44,0.7);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.5);
    max-width: 320px;
    flex-grow: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.6);
}

.section h2 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
}

.section ul {
    list-style: none;
    padding: 0; margin: 0;
}

.section ul li {
    margin: 10px 0;
}

.section ul li a {
    display: block;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-weight: 500;
    text-align: center;
    transition: background 0.3s, transform 0.2s;
}

.section ul li a:hover {
    background: linear-gradient(135deg,#4c8bf5,#3a6fc4);
    transform: scale(1.03);
}

.login-btn {
    position: absolute;
    top: 20px; right: 20px;
    padding: 10px 22px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg,#4c8bf5,#3a6fc4);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.login-btn:hover {
    transform: scale(1.05);
}

.wroc-btn {
    position: absolute;
    top: 20px; right: 144px;
    padding: 10px 22px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg,#f54c4c,#c43a3a);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.wroc-btn:hover {
    transform: scale(1.05);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
