@charset "UTF-8";
@font-face {
  font-family: Roboto;
  src: url("../fonts/Roboto-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: Roboto, sans-serif;
  font-size: 1em;
  letter-spacing: 1px;
  color: #3e2409;
  background-color: #fffeff;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: #d0733a;
}
a button {
  color: #3e2409;
  text-decoration: none;
}

.error-msg {
  color: red;
}

main {
  margin-top: 160px;
  flex: 1 0 auto;
}
@media (max-width: 900px) {
  main {
    margin-top: 65px;
  }
}

main.game {
  margin-top: 65px !important;
}

section,
.section-box {
  padding: 20px;
  max-width: 800px;
  margin: auto;
}

section.full-width {
  max-width: none !important;
}

h1,
h2,
h3 {
  margin: 10px 0;
  font-weight: normal;
}

p {
  line-height: 1.5em;
  margin: 10px 0;
}

ul {
  margin-left: 20px;
}
ul li {
  line-height: 1.5em;
}

.text-center {
  text-align: center;
}

.image-center {
  display: block;
  margin: auto;
}

.center {
  display: flex;
  justify-content: center;
}

.highlight {
  color: #d0733a;
}

.secret-text {
  font-size: 1.1em;
  text-align: justify;
  letter-spacing: 0.2em;
}

.img-logo {
  position: relative;
  top: 3px;
  width: 16px;
}

/* ========== Header Game ========== */
header.game {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 65px;
  background-color: #fffeff;
  padding: 15px;
  z-index: 1000;
}
header.game .menu {
  display: flex;
  justify-content: flex-start;
  box-sizing: border-box;
}
header.game .menu .menu-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
}
header.game .menu .menu-section .logo {
  height: 50px;
}
header.game .menu .menu-section .page-info {
  display: flex;
  flex-direction: column;
  align-items: start;
  margin-left: 10px;
}
header.game .menu .menu-section .page-info h1.page-name {
  margin: 0;
  font-size: 22px;
}
header.game .menu .menu-section .page-info h2.page-subheading {
  margin: 0;
  font-size: 14px;
}

/* ========== Header Nav ========== */
header.web {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background-color: #fffeff;
  padding: 15px;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #ccc;
}
header.web .menu {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
header.web .menu .menu-section {
  display: flex;
  align-items: center;
}
header.web .menu .menu-section.left, header.web .menu .menu-section.right {
  gap: 65px;
}
header.web .menu .menu-section.center {
  flex-direction: column;
  text-align: center;
  margin: 0 70px;
}
header.web .menu .menu-section.center .logo {
  height: 80px;
}
header.web .menu .menu-section.center .page-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}
header.web .menu .menu-section.center .page-info h1.page-name {
  font-size: 30px;
  margin: 0;
}
header.web .menu .menu-section.center .page-info h2.page-subheading {
  font-size: 14px;
  margin: 0;
}
header.web .menu a {
  color: #3e2409;
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 900px) {
  header.web {
    height: 65px;
  }
  header.web .menu {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: auto;
    padding: 0;
  }
  header.web .menu .menu-section {
    position: static;
    width: auto;
    margin: 0;
  }
  header.web .menu .menu-section.left {
    display: none;
  }
  header.web .menu .menu-section.center {
    flex-direction: row;
    align-items: center;
    text-align: center;
    margin: 0;
  }
  header.web .menu .menu-section.center .logo {
    height: 50px;
  }
  header.web .menu .menu-section.center .page-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 10px;
  }
  header.web .menu .menu-section.center .page-info h1.page-name {
    font-size: 22px;
  }
  header.web .menu .menu-section.center .page-info h2.page-subheading {
    font-size: 12px;
  }
  header.web .menu .menu-section.right {
    justify-content: flex-end;
  }
  header.web .menu .menu-section.right .burger {
    width: 24px;
    height: 18px;
    background-color: transparent;
    border: 1px dashed #3e2409;
  }
  header.web .menu .scroll-link {
    display: none;
  }
}
/* ========== Loader animation ========== */
.loader {
  margin: auto;
  border: 4px solid #fffeff;
  border-top: 4px solid #d0733a;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* ========== language switcher ========== */
.language-switcher ul {
  list-style-type: none;
  margin: 0;
}
.language-switcher li {
  line-height: 2em;
}
.language-switcher li a {
  color: #3e2409;
  text-decoration: none;
  font-weight: 500;
}
.language-switcher li a:hover {
  color: #d0733a;
}
.language-switcher li span {
  color: #d0733a;
  font-weight: bold;
}

/* ========== IN GAME ========== */
.in-game #show-hint {
  margin-bottom: 10px;
}
.in-game img {
  max-width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
}

#time-up-desc {
  display: none;
}

/* ========== MENU ========== */
.menu-btn {
  z-index: 1002;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-btn__burger {
  width: 100%;
  height: 3px;
  background-color: #3e2409;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
  position: relative;
}

.menu-btn__burger::before,
.menu-btn__burger::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #3e2409;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.menu-btn__burger::before {
  transform: translateY(-10px);
}

.menu-btn__burger::after {
  transform: translateY(10px);
}

.menu-btn.open .menu-btn__burger::before {
  transform: rotate(45deg) translate(35px, -35px);
}

.menu-btn.open .menu-btn__burger::after {
  transform: rotate(-45deg) translate(35px, 35px);
}

#nav {
  position: fixed;
  top: 0;
  left: 0;
  padding: 20px;
  height: 120px;
  width: 100%;
  background-color: #fffeff;
  transform: translateY(-120px);
  transition: transform 0.3s ease-in-out;
  text-align: center;
  z-index: 1001;
  border-bottom: 1px solid #ccc;
}

section.align-center {
  text-align: center;
}

.menu-toggle {
  display: none;
}

.menu-toggle:checked + .menu-btn .menu-btn__burger {
  transform: translateX(-50px);
  background: transparent;
}

.menu-toggle:checked + .menu-btn .menu-btn__burger::before {
  transform: rotate(45deg) translate(35px, -35px);
}

.menu-toggle:checked + .menu-btn .menu-btn__burger::after {
  transform: rotate(-45deg) translate(35px, 35px);
}

.menu-toggle:checked ~ #nav {
  transform: translateY(0);
}

/* Mobile menu items */
.mobile-menu-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}
.mobile-menu-items a {
  color: #3e2409;
  text-decoration: none;
  font-weight: 500;
  padding: 5px 0;
}
.mobile-menu-items a:hover {
  color: #d0733a;
}

/* Responsive menu behavior */
@media (min-width: 901px) {
  /* Desktop: hide mobile menu items, show only language switcher in hamburger */
  .mobile-menu-items {
    display: none;
  }
  #nav {
    height: 120px;
    transform: translateY(-120px);
  }
}
@media (max-width: 900px) {
  /* Mobile: hide left and right menu sections, show all items in hamburger */
  header.web .menu .menu-section.left,
  header.web .menu .menu-section.right {
    display: none;
  }
  #nav {
    height: auto;
    min-height: 250px;
    transform: translateY(-100%);
    padding: 30px 20px;
  }
  .menu-toggle:checked ~ #nav {
    transform: translateY(0);
  }
}
/* ========== INTRO ========== */
.special-offer {
  position: absolute;
  top: 30px;
  width: 200px;
  left: 0;
  right: 0;
  margin: auto;
  background-color: #d0733a;
  cursor: pointer;
  text-align: center;
  font-weight: bold;
  color: #000;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  animation: floatIn 1s ease-out;
  opacity: 0.9;
}
.special-offer:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 0.9;
    transform: translateY(0);
  }
}
.games-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  margin-bottom: 50px;
}

.game-item {
  position: relative;
  width: calc(50% - 10px);
  height: 500px;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.game-item-button {
  position: absolute;
  bottom: 20px;
  width: 100%;
}

.game-item-label {
  position: absolute;
  bottom: -40px;
  width: 100%;
  height: 50px;
  text-align: center;
  padding: 0.6em;
  font-size: 1.2em;
  background-color: black;
}
.game-item-label a {
  color: white;
  text-decoration: none;
}

#game-item-golem {
  background-image: linear-gradient(to top, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 20%), url("../images/golem-banner.webp");
}

#game-item-jezdec {
  background-image: linear-gradient(to top, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 20%), url("../images/jezdec-banner.webp");
}

.results .game-item {
  height: 300px;
}

@media (max-width: 650px) {
  .game-item {
    height: 300px;
    width: 100%;
    margin-bottom: 20px;
  }
}
@media (min-width: 651px) and (max-width: 800px) {
  .game-item {
    height: 400px;
    width: 100%;
    margin-bottom: 20px;
  }
}
@media (max-width: 800px) {
  .games-list {
    padding: 0;
  }
  #results-box {
    padding: 0;
    margin: 0;
  }
  #results-box p {
    padding-left: 20px;
  }
  .results .game-item {
    margin-bottom: 0px;
  }
  #game-item-golem {
    background-image: linear-gradient(to top, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 20%), url("../images/golem-banner-small.webp");
  }
  #game-item-jezdec {
    background-image: linear-gradient(to top, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 20%), url("../images/jezdec-banner-small.webp");
  }
}
@media (max-width: 900px) {
  .game-item-label {
    font-size: 1em;
    padding-top: 0.9em;
  }
}
/* ========== START GAME ========== */
#start-game {
  height: 250px;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5)), url("../images/map.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
}
#start-game h2 {
  margin-top: 0;
}

@media (max-width: 900px) {
  #start-game {
    background-image: linear-gradient(rgba(255, 255, 255, 0.5)), url("../images/map-small.webp");
  }
}
section.vertical-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

img#img-us {
  width: 200px;
  float: right;
  margin-left: 10px;
  margin-top: 60px;
  margin-bottom: 10px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  filter: grayscale(100%);
}

img#img-cellphone {
  float: left;
  height: 250px;
  margin-top: 20px;
  margin-right: 20px;
}

@media (max-width: 900px) {
  img#img-us {
    width: 150px;
  }
  img#img-cellphone {
    height: 200px;
  }
}
/* ========== FOOTER ========== */
.grecaptcha-badge {
  z-index: 1;
}

footer {
  background-color: #3e2409;
  color: #d0733a;
  padding: 20px;
  position: relative;
  bottom: 0;
  width: 100%;
  flex-shrink: 0;
}
footer a {
  color: #d0733a;
  text-decoration: none;
}
footer > div {
  flex-direction: column;
  flex: 1;
}
footer ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
footer ul li {
  margin-top: 5px;
}
@media (min-width: 901px) {
  footer > div {
    flex-direction: row;
  }
}

#footer {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}
#footer > div {
  margin-top: 30px;
}
#footer > div:first-child {
  margin-top: 0;
}
@media (min-width: 901px) {
  #footer > div {
    margin-top: 0;
  }
}

/* ========== RESULTS ========== */
table.results {
  width: 100%;
  border-collapse: collapse;
}
table.results th {
  padding: 10px 5px;
  font-weight: normal;
  background-color: #d0733a;
}
table.results td {
  padding: 10px 5px;
  text-align: center;
}
table.results tbody tr:nth-child(even) {
  background-color: #f3f3f3;
}
table.results tbody tr:nth-child(odd) {
  background-color: #fffeff;
}

.pagination {
  margin-top: 10px;
  height: 20px;
}
.pagination a {
  text-decoration: none;
}
.pagination ul li {
  display: inline;
  margin-right: 10px;
}

#results-languages {
  align-items: center;
  gap: 15px;
}
#results-languages a {
  text-decoration: underline;
}

/* ========== FORMS ========== */
.form-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.form-row label {
  flex: 1 0 100%;
  margin-bottom: 5px;
}
.form-row textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.form-row input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.form-row select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: white;
  font-family: inherit;
  font-size: 1rem;
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2210%22%20height%3D%227%22%20viewBox%3D%220%200%2010%207%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0%200l5%207%205-7z%22%20fill%3D%22%23666%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 7px;
}
.form-row #voucher {
  margin-right: 15px;
  max-width: 20em;
}
.form-row input.invalid {
  border-color: red;
}
.form-row select.invalid {
  border-color: red;
}

.company-block .company-field {
  display: none;
}
.company-block:has(#has-company:checked) .company-field {
  display: flex;
}

input[type=checkbox] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 10px;
  position: relative;
}

input[type=checkbox]:checked::before {
  content: "✔";
  color: #333;
  font-size: 16px;
  position: absolute;
  left: 2px;
  top: 0;
}

input[type=checkbox].invalid {
  border: 1px solid red;
}

.invalid-label {
  color: red;
}

.summary-part {
  margin: 20px 0;
}

button {
  font-size: 1.05em;
  letter-spacing: 1px;
  padding: 10px 20px;
  color: #3e2409;
  background-color: #d0733a;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
button:disabled {
  background-color: #b8a078 !important;
  cursor: not-allowed;
}
button.default-color {
  background-color: #3e2409;
  color: #fffeff;
}
button.default-color:hover {
  background-color: #3e2409;
  color: #fffeff;
}

.summary {
  text-align: right;
}

@media (max-width: 900px) {
  .form-row #voucher {
    margin-right: 0;
    margin-bottom: 10px;
    max-width: 100%;
  }
}
/* ========== PARTNERS BOX ========== */
.partners {
  display: flex;
  gap: 20px;
  justify-content: left;
  align-items: center;
  flex-wrap: wrap;
}
.partners .partners-box a {
  text-decoration: none;
  color: #3e2409;
}

/* ========== ADMIN ========== */
.admin {
  margin: 20px;
}
.admin .menu {
  display: flex;
  justify-content: flex-end;
}
.admin .alert {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 30px;
  border-radius: 5px;
  font-family: Arial, sans-serif;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
}
.admin .alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.admin .alert-fail {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.admin .alert button.close-btn {
  background: transparent;
  border: none;
  color: #333;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

/*# sourceMappingURL=app.css.map */
