/* Globalne ustawienia */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1e3c72, #2a5298); /* Dynamiczne tło */
    color: #fff;
}

h1, h2 {
    text-align: center;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Kontener gry */
.game-container, .scoreboard-container, #loginForm, #registerForm {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15); /* Przezroczysty biały */
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    backdrop-filter: blur(10px);
}

/* Formularze i przyciski */
input, button {
    padding: 10px;
    margin: 10px 0;
    width: calc(100% - 20px);
    border: 1px solid #fff;
    border-radius: 8px;
    font-size: 16px;
    color: #000;
    background: #fff;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

button {
    background: linear-gradient(135deg, #ff7a18, #ff4e00);
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 78, 0, 0.6);
}

/* Tabele */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    color: #fff;
}

th, td {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

th {
    background: rgba(255, 255, 255, 0.2);
    font-weight: bold;
}

tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.1);
}

/* Komunikaty */
#message {
    margin: 10px 0;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
	color: black;
}
tr:hover {
    background-color: #e6e6e6;
}
/* Zegar */
#countdown {
    background: linear-gradient(135deg, #ff7a18, #ff4e00);
    color: #fff;
    padding: 15px 25px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    border-radius: 12px;
    margin: 20px auto;
    width: fit-content;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#countdown p {
    margin: 0;
}

/* Sekcja nagród */
.prizes {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.prizes h2 {
    color: #ffd700;
    font-size: 24px;
    font-weight: bold;
}

.prizes ul {
    list-style: none;
    padding: 0;
}

.prizes ul li {
    font-size: 18px;
    color: #fff;
    margin: 10px 0;
}

.prizes ul li:first-child {
    font-weight: bold;
    color: #ff4500;
}

.prizes img {
    margin: 10px 0;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Responsive design */
@media (max-width: 600px) {
    .game-container, .scoreboard-container {
        padding: 15px;
    }

    input, button {
        width: 100%;
    }
}

.comments {
    margin-top: 30px;
    padding: 20px;
    background: #254988;
    border-radius: 10px;
	color: #c7ff00;
}

.comments h2 {
    text-align: center;
}

#comment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.captcha {

    align-items: center;
    gap: 10px;
}

ul#comments-list {
    list-style: none;
    padding: 0;
}

ul#comments-list li {
    background: #284e92;
    padding: 10px;
    border-radius: 5px;
    margin: 5px 0;
}


footer {
    background-color: rgba(56, 86, 117, 0.7);
    color: #20fd00;;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    width: 100%;
    position: relative;
    bottom: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-links li {
    margin: 5px 15px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.footer-links a:hover {
    text-decoration: underline;
}
header {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 0;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffef00;
}