@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    display: flex;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    background-image: url('../img/background.png');
    background-size: cover;
    backdrop-filter: blur(10px) invert(0.05);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FFD700;
}

.user-name {
    font-weight: 600;
    font-size: 15px;
    color: #fff;
}

.logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e74c3c; /* czerwony */
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.logout-btn:hover {
    background: #c0392b; /* ciemniejszy czerwony */
}



.container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 auto;
    height: 100vh;
    width: 80%;
}

.header {
    background-color: rgba(0, 0, 0, 0.321);
    display: flex;
    margin: 0 auto;
    height: 10vh;
    width: 100%;
    padding: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.header-logo {
    display: flex;
    height: inherit;
}

.header-buttons {
    display: flex;
    gap: 10px;
    margin: auto;
}

.header-button {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgb(110, 110, 110);
    background-color: rgba(255, 255, 255, 0);
    color: white;
    text-decoration: none;
}

.header-button:hover {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid white;
    background-color: rgba(255, 217, 0, 0.407);
}

.header-login {
    display: flex;
    gap: 10px;
    margin: auto 0;
}

.button-login {
    display: flex;
    height: 10%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgb(110, 110, 110);
    background-color: rgba(255, 255, 255, 0);
    color: white;
    text-decoration: none;
}

.main {
    /* background-color: rgba(0, 0, 0, 0.321); */
    display: flex;
    height: inherit;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    gap: 20px;
}

.left-container {
    display: flex;
    flex-direction: column;
    height: initial;
    width: 60%;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease;
}

.box-header {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.left-container #OnlinePlayers {
    background: rgba(0, 255, 4, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 600;
    align-self: center;
    width: fit-content;
}

.left-container p {
    font-size: 1rem;
    line-height: 1.6;
    color: #e0e0e0;
    background: rgba(0,0,0,0.3);
    padding: 15px;
    border-radius: 15px;
    margin-top: 0;
    margin-bottom: 20px;

}

.PlayButton {
    width: fit-content;
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(90deg, #FF8C00, #FFD700);
    color: #000;
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.PlayButton:hover {
    background: linear-gradient(90deg, #FFD700, #FF8C00);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 165, 0, 0.7);
}

.button-play {
    text-decoration: none;
    color: inherit;
}


.right-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    width: 40%;
    align-items: center;
}

.box-function {
    position: relative;       
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 20%;
    border-radius: 20px;
    cursor: pointer;
    justify-content: center;
    border: 2px solid rgb(240, 173, 3);
    overflow: hidden;   
    text-decoration: none; 
}

text {
    position: relative;    
    z-index: 1;
    color: #fff;
    margin: 0 15px;
}

text h2 {
    margin: 0;
}

text p {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.5px;
    color: #828282;
    font-style: italic;
}


#box-podania::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../img/Podania.png') center/cover no-repeat;
    filter: blur(2px);
    transform: scale(1.1); 
    z-index: 0;
}

#box-statistic::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../img/Regulamin.png') center/cover no-repeat;
    filter: blur(2px);
    transform: scale(1.1); 
    z-index: 0;
}

#box-shop::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../img/shop.png') center/cover no-repeat;
    filter: blur(2px);
    transform: scale(1.1); 
    z-index: 0;
}

#box-discord::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../img/Discord.png') center/cover no-repeat;
    filter: blur(2px);
    transform: scale(1.1); 
    z-index: 0;
}

.footer {
    background-color: rgba(0, 0, 0, 0.321);
    display: flex;
    margin: 0 auto;
    height: 10vh;
    width: 100%;
    padding: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    justify-content: center;
    align-items: center;
}