/* Rivalové — herní UI mobile/responsive (dark premium) */
@import url("game-ui.css");

body.game-body {
  --bg: #0b1210;
  --bg-deep: #121a16;
  --surface: #18241e;
  --surface-2: #1e2e26;
  --ink: #eef5f0;
  --muted: #9aafa3;
  --accent: #2f9e5f;
  --accent-hover: #3bb872;
  --accent-soft: #8fd4a8;
  --danger: #e85d4c;
  --forest: #1b4a35;
  --font: "Archivo Black", "Arial Black", "Segoe UI", sans-serif;
  --font-ui: "DM Sans", "Avenir Next", "Segoe UI", sans-serif;
  color-scheme: dark;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  font-family: var(--font-ui);
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(47, 158, 95, 0.16), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%) !important;
  color: var(--ink);
}

body.game-body #page,
body.game-body .clean,
body.game-body .clean2,
body.game-body #header,
body.game-body #menu ul,
body.game-body #menu2,
body.game-body #topline,
body.game-body #bottomline,
body.game-body #content,
body.game-body #footer {
  width: 100% !important;
  max-width: 1040px;
  box-sizing: border-box;
}

body.game-body #page {
  margin: 0 auto;
  padding: 0 0.75rem 2rem;
}

body.game-body #header {
  background: transparent !important;
  background-image: none !important;
  min-height: auto;
  height: auto !important;
  padding: 1rem 0 0.35rem;
}

body.game-body #header .game-header-ad,
body.game-body .game-header-ad {
  display: none !important;
}

body.game-body #motto a {
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.35rem;
  color: #fff;
  text-decoration: none;
}

body.game-body #menu {
  background: rgba(8, 14, 12, 0.92) !important;
  background-image: none !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  height: auto !important;
  padding: 0.55rem 0.85rem !important;
  text-align: left !important;
  position: sticky;
  top: 0;
  z-index: 40;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(5, 10, 7, 0.35);
}

body.game-body #menu ul {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.5rem 0 0.75rem !important;
  width: 100% !important;
  margin: 0 !important;
  list-style: none;
}

body.game-body #menu ul.is-open {
  display: flex;
}

body.game-body #menu ul li {
  display: block;
  position: static !important;
  top: auto !important;
  margin: 0 !important;
}

body.game-body #menu ul li a {
  display: block;
  color: #eaf5ee !important;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  font-size: 0.98rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

body.game-body #menu ul li a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
}

body.game-body #menu #li_right {
  float: none;
  margin-top: 0.35rem;
}

body.game-body #menu #li_right a {
  display: inline-block;
  color: var(--accent-soft, #8fd4a8) !important;
  background: none !important;
  padding: 0.5rem 0.75rem !important;
  position: static !important;
  top: auto !important;
  left: auto !important;
}

.game-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.game-nav-brand {
  color: #fff;
  font-family: var(--font, "Archivo Black", sans-serif);
  font-weight: 400;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.game-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

@media (min-width: 960px) {
  .game-nav-toggle {
    display: none;
  }

  body.game-body #menu ul {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 0.25rem;
    padding: 0.35rem 0 !important;
  }

  body.game-body #menu ul li {
    display: inline-block;
  }

  body.game-body #menu ul li a {
    padding: 0.4rem 0.6rem;
    font-size: 0.92rem !important;
  }

  body.game-body #menu #li_right {
    margin-left: auto;
  }

  .game-nav-bar {
    display: none;
  }
}

body.game-body #menu2 {
  height: auto !important;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0.85rem 0;
}

body.game-body #menu2 #lmenu,
body.game-body #menu2 #rmenu {
  float: none !important;
  width: 100%;
  height: auto !important;
  padding: 0.65rem 0.8rem !important;
  border-radius: 12px;
  box-sizing: border-box;
  background: var(--surface, #18241e) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 20px rgba(5, 10, 7, 0.25);
}

body.game-body #lmenu ul,
body.game-body #rmenu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  align-items: center;
}

body.game-body #lmenu ul li,
body.game-body #rmenu ul li {
  display: inline-flex;
  align-items: center;
  margin: 0 !important;
  font-size: 0.92rem;
}

body.game-body #lmenu ul li a {
  color: var(--accent-soft, #8fd4a8) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

@media (min-width: 960px) {
  body.game-body #menu2 {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
  }

  body.game-body #menu2 #lmenu,
  body.game-body #menu2 #rmenu {
    width: auto;
  }
}

body.game-body #content {
  background: var(--surface) !important;
  background-image: none !important;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 1rem;
  overflow-x: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

body.game-body #topline,
body.game-body #bottomline {
  display: none;
}

body.game-body #container,
body.game-body #left,
body.game-body #right {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.game-body table {
  max-width: 100%;
  color: var(--ink);
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, 0.12);
}

body.game-body table td,
body.game-body table th {
  color: inherit;
  border-color: rgba(255, 255, 255, 0.12);
}

body.game-body a {
  color: var(--accent-soft);
}

body.game-body #content a {
  color: var(--accent-soft);
}

body.game-body input[type="text"],
body.game-body input[type="password"],
body.game-body input[type="email"],
body.game-body select,
body.game-body textarea {
  background: var(--surface-2);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}

body.game-body img {
  max-width: 100%;
  height: auto;
}

body.game-body iframe {
  max-width: 100%;
}

body.game-body #footer {
  background: var(--surface) !important;
  background-image: none !important;
  text-align: center;
  color: var(--ink);
  padding: 1rem 0;
  margin: 0 auto !important;
  float: none !important;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.pozemek-stage {
  width: min(100%, 540px);
  margin: 0 auto 1rem;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(5, 10, 7, 0.45);
}

.pozemek-stage-inner {
  width: 540px;
  height: 400px;
  position: relative;
  transform-origin: top left;
}

body.game-body .pozemek-stage img {
  max-width: none;
}

.game-tip {
  background: var(--surface, #18241e);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.95rem 1.1rem;
  margin: 0 0 1rem;
  color: var(--ink, #eef5f0);
  box-shadow: 0 6px 20px rgba(5, 10, 7, 0.25);
}

.game-tip strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font, "Archivo Black", sans-serif);
  font-weight: 400;
  font-size: 1.05rem;
}

.game-tip ol {
  margin: 0.35rem 0 0.75rem 1.1rem;
  padding: 0;
}

.game-tip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.game-tip-actions a,
.game-tip-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: none;
  background: var(--forest, #1b4a35);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.game-tip-actions button[data-dismiss-tip] {
  background: transparent;
  color: var(--accent-soft, #8fd4a8);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.game-tip--boost {
  background: var(--surface-2, #1e2e26);
  border-color: var(--accent, #2f9e5f);
}

.game-daily {
  background: var(--surface, #18241e);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.95rem 1.1rem;
  margin: 0 0 1rem;
  color: var(--ink, #eef5f0);
  box-shadow: 0 6px 20px rgba(5, 10, 7, 0.25);
}

.game-daily strong {
  font-family: var(--font, "Archivo Black", sans-serif);
  font-weight: 400;
}

.game-daily__list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.game-daily__item {
  padding: 0.55rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.game-daily__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--surface-2, #1e2e26);
  color: var(--ink, #eef5f0);
  margin-right: 0.35rem;
}

.game-daily__item--done .game-daily__badge {
  background: var(--accent, #2f9e5f);
  color: #fff;
}

.game-daily__item--claimed .game-daily__badge {
  background: var(--forest, #1b4a35);
  color: #fff;
}

.game-daily__hint {
  font-size: 0.9rem;
  color: var(--muted, #9aafa3);
  margin-top: 0.2rem;
}

.game-daily__claim {
  display: inline-flex;
  margin-left: 0.5rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--accent, #2f9e5f);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
}

.reg_people {
  display: none !important;
}

@media (min-width: 960px) {
  .reg_people {
    display: block !important;
  }
}
