﻿:root {
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --panel: #ffffff;
  --panel-soft: #f7f7f7;
  --text: #1d1d1d;
  --muted: #5f5f5f;
  --gold: #b98229;
  --gold-soft: #e1bf83;
  --border: rgba(0, 0, 0, 0.13);
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  --shadow-soft: 0 10px 24px rgba(25, 16, 4, 0.12);
  --radius: 14px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

html {
  background: #080d15;
  -ms-overflow-style: none;
  scrollbar-width: none;
  margin-top: 0 !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  margin-top: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  line-height: 1.2;
  font-family: 'Cinzel', serif;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover,
a:focus {
  color: #8d641f;
}

img,
video,
canvas,
svg,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.site-main,
.site-main section {
  max-width: 100%;
  overflow-x: hidden;
}

#wpadminbar,
header,
main,
footer {
  width: 100%;
  max-width: 100%;
}

#wpadminbar {
  width: 100% !important;
  max-width: 100% !important;
}

body.admin-bar {
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: linear-gradient(180deg, rgba(10, 12, 17, 0.97), rgba(8, 10, 14, 0.98));
  border-bottom: 1px solid rgba(229, 236, 245, 0.09);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

.site-header__inner {
  min-height: 82px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__left {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex: 1;
  min-width: 0;
}

.site-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-weight: 700;
  color: #f2f5fc;
}

.site-brand a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  line-height: 0;
}

.site-brand a:hover,
.site-brand a:focus-visible {
  transform: none;
  border: 0;
  box-shadow: none;
}

.site-brand__logo,
.site-brand img {
  width: auto;
}

.site-brand__logo {
  width: clamp(54px, 5.6vw, 74px);
  height: clamp(66px, 7.2vw, 92px);
  object-fit: contain;
  object-position: center 46%;
  transform: none;
}

.site-brand img:not(.site-brand__logo) {
  max-height: 56px;
}

.site-brand__text {
  color: #f2f5fc;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav__list a {
  color: var(--text);
  font-weight: 600;
}

.footer-nav__list a:hover {
  color: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  min-width: 0;
}

.main-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.2rem;
}

.main-nav__list > li {
  margin: 0;
}

.main-nav__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border-radius: 12px;
  border: 1px solid transparent;
  color: #f2f5fc;
  font-weight: 700;
  font-size: 0.93rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.main-nav__list a:hover,
.main-nav__list a:focus-visible {
  color: #ffffff;
  background: rgba(36, 41, 53, 0.85);
  border-color: rgba(147, 161, 183, 0.34);
}

.main-nav__list .current-menu-item > a,
.main-nav__list .current_page_item > a,
.main-nav__list .current-menu-parent > a,
.main-nav__list .current-menu-ancestor > a {
  color: #ffffff;
  background: rgba(35, 40, 52, 0.92);
  border-color: rgba(160, 176, 198, 0.45);
}

.main-nav__list a[href*='contact'],
.main-nav__list a[href*='kontakt'] {
  color: #f4e6cb;
  background: linear-gradient(120deg, #3a2817, #2a1b0e);
  border-color: rgba(200, 153, 89, 0.35);
}

.main-nav__list a[href*='contact']:hover,
.main-nav__list a[href*='contact']:focus-visible,
.main-nav__list a[href*='kontakt']:hover,
.main-nav__list a[href*='kontakt']:focus-visible {
  color: #f6e9d1;
  background: linear-gradient(120deg, #412b18, #321f0f);
}

.site-header__tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.lang-control {
  position: relative;
  flex-shrink: 0;
  z-index: 1300;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(144, 161, 186, 0.36);
  background: rgba(20, 26, 35, 0.95);
  color: #f2f5fc;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.lang-trigger:hover,
.lang-trigger:focus-visible,
.lang-trigger[aria-expanded='true'] {
  border-color: rgba(187, 201, 223, 0.54);
  background: rgba(32, 41, 56, 0.96);
  box-shadow: 0 10px 20px rgba(2, 5, 12, 0.34);
}

.lang-trigger__icon {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.lang-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  width: min(300px, 90vw);
  max-height: none;
  overflow: visible;
  overflow-y: hidden !important;
  padding: 0.52rem;
  border-radius: 4px;
  border: 1px solid rgba(65, 71, 84, 0.25);
  background: #eff1f4;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 1400;
}

.lang-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-menu::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 16px;
  width: 14px;
  height: 14px;
  background: #eff1f4;
  border-left: 1px solid rgba(65, 71, 84, 0.25);
  border-top: 1px solid rgba(65, 71, 84, 0.25);
  transform: rotate(45deg);
}

.lang-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.12rem;
}

.lang-menu__item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.48rem 0.7rem;
  border-radius: 6px;
  border: 1px solid transparent;
  color: #7f8896;
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
  text-decoration: none;
}

.lang-menu__item:hover,
.lang-menu__item:focus-visible {
  color: #4f5968;
  background: rgba(210, 216, 226, 0.48);
  border-color: rgba(130, 139, 153, 0.3);
}

.lang-menu__name {
  color: inherit;
}

.lang-menu__tag {
  color: #8b94a2;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.lang-menu__check {
  width: 12px;
  height: 12px;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  transform: rotate(45deg);
}

.lang-menu__item.is-active {
  color: #bf1d24;
}

.lang-menu__item.is-active .lang-menu__name,
.lang-menu__item.is-active .lang-menu__tag {
  color: #bf1d24;
}

.lang-menu__item.is-active .lang-menu__check {
  border-color: #bf1d24;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 42px;
  background: rgba(26, 31, 40, 0.95);
  border: 1px solid rgba(148, 164, 189, 0.32);
  border-radius: 12px;
  padding: 0.42rem 0.5rem;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle__line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  border-radius: 999px;
  background: #f2f5fc;
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: rgba(185, 199, 218, 0.52);
  box-shadow: 0 10px 18px rgba(2, 3, 7, 0.32);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__line:nth-last-child(3) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__line:nth-last-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__line:nth-last-child(1) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.home-hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.home-hero__media {
  position: relative;
  min-height: clamp(460px, 78vh, 860px);
  display: grid;
  align-items: end;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.home-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 8, 5, 0.22) 0%, rgba(10, 8, 5, 0.58) 50%, rgba(10, 8, 5, 0.85) 100%),
    linear-gradient(130deg, rgba(185, 130, 41, 0.2), rgba(0, 0, 0, 0.12) 55%, rgba(185, 130, 41, 0.1));
}

.home-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: clamp(2rem, 7vw, 5rem);
}

.home-hero__coming {
  margin: 0;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 3.4vw, 2.6rem);
  color: #f3ddb2;
  text-shadow: 0 0 20px rgba(185, 130, 41, 0.45);
}

.home-hero__tagline {
  margin: 0.65rem auto 1.2rem;
  max-width: 60ch;
  color: #e2d6c4;
}

/* Shared */
.section {
  padding: clamp(2.2rem, 5vw, 4.2rem) 0;
}

.section__head {
  text-align: center;
  margin-bottom: 1.25rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn--primary {
  color: #25190a;
  background: linear-gradient(120deg, #f4dfb5, #d0a255 55%, #aa7426);
}

.btn--primary:hover,
.btn--primary:focus {
  color: #25190a;
  filter: brightness(1.08);
}

/* Overview */
.game-overview__card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--panel), var(--panel-soft));
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2.2vw, 2rem);
}

.game-overview__grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}

.game-overview__text h2 {
  margin-bottom: 0.75rem;
}

.game-overview__text p {
  color: var(--muted);
}

.game-overview__image-wrap {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.game-overview__image-wrap img {
  width: 100%;
}

/* Trailer */
.feature-video__media {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: clamp(360px, 62vh, 780px);
  overflow: hidden;
  background: #0f0f0f;
}

.feature-video__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0f0f0f;
}

/* Social */
.social-hub__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.social-hub__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
}

.social-hub__link:hover,
.social-hub__link:focus {
  border-color: rgba(185, 130, 41, 0.5);
}

.social-hub__icon {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, #f4dfb5, #d0a255);
  color: #2a1d0d;
}

.social-hub__icon svg {
  width: 8px;
  height: 8px;
  fill: currentColor;
}

/* Generic pages */
.content-article__title {
  margin-bottom: 0.75rem;
}

.team-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-card h3 {
  margin: 0.1rem 0 0.45rem;
}

.team-card p {
  margin: 0;
}

.team-card__avatar {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 0.75rem;
  border: 0;
}

.team-card__avatar--novak {
  object-position: center top;
}

.team-card__avatar--lazar {
  object-position: center top;
}

.team-card__avatar--tasic {
  object-position: center top;
}

.team-card__avatar--branks {
  object-position: center top;
}

.contact-page__form,
.contact__form-placeholder {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form__row {
  display: grid;
  gap: 0.45rem;
}

.contact-form__row label {
  font-weight: 600;
  color: var(--text);
}

.contact-form input[type='email'],
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form input[type='email']:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(185, 130, 41, 0.35);
  outline-offset: 0;
  border-color: rgba(185, 130, 41, 0.45);
}

.contact-form__submit {
  justify-self: start;
}

.contact-form__notice {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-weight: 600;
}

.contact-form__notice--success {
  color: #0a5b2a;
  background: #edf8f1;
  border-color: #b9e2c8;
}

.contact-form__notice--error {
  color: #7a1f1f;
  background: #fff1f1;
  border-color: #efc6c6;
}

.contact-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-page__social {
  margin-top: 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.social-links {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.4rem 0.7rem;
  background: #fff;
  color: var(--text);
  font-weight: 600;
}

.social-links a:hover,
.social-links a:focus {
  border-color: rgba(185, 130, 41, 0.5);
}

/* Powered by */
.powered-by__card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2.2vw, 1.8rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.powered-by__logo {
  width: min(100%, 280px);
  height: auto;
  object-fit: contain;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  background: #fff;
}

.site-footer__inner {
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer__copy {
  margin: 0;
  color: var(--muted);
}

/* Accessibility */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

.goog-te-banner-frame.skiptranslate {
  display: none !important;
}

body.skiptranslate {
  top: 0 !important;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1024px) {
  .main-nav__list a {
    min-height: 40px;
    padding-inline: 0.72rem;
    font-size: 0.84rem;
  }

  .lang-trigger {
    min-width: 44px;
    min-height: 44px;
    border-radius: 14px;
  }

  .lang-menu__item {
    font-size: 0.95rem;
    min-height: 40px;
  }

  .lang-menu__tag {
    font-size: 0.68rem;
  }

  .social-hub__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .game-overview__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header__inner {
    min-height: 76px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    left: 0.5rem;
    right: 0.5rem;
    top: 84px;
    width: auto;
    max-height: calc(100vh - 84px - 0.6rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.65rem;
    border-radius: 16px;
    background: rgba(13, 17, 23, 0.98);
    border: 1px solid rgba(150, 166, 191, 0.26);
    box-shadow: 0 18px 34px rgba(2, 4, 9, 0.42);
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
    z-index: 2200;
  }

  body.admin-bar .main-nav {
    top: 130px;
    max-height: calc(100vh - 130px - 0.6rem);
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav__list {
    padding: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.38rem;
    flex-wrap: nowrap;
  }

  .main-nav__list a {
    width: 100%;
    justify-content: flex-start;
    min-height: 42px;
    padding-inline: 0.9rem;
    border-radius: 12px;
    letter-spacing: 0.03em;
    text-transform: none;
  }

  .main-nav__list a[href*='contact'],
  .main-nav__list a[href*='kontakt'] {
    justify-content: center;
  }

  .site-header__tools {
    gap: 0.45rem;
  }

  .lang-menu {
    width: min(300px, calc(100vw - 1rem));
  }

  .lang-menu__item {
    min-height: 40px;
    font-size: 0.88rem;
    padding-inline: 0.62rem;
  }

  .lang-menu__tag {
    font-size: 0.64rem;
  }

  .home-hero__media {
    min-height: 72vh;
  }

  .social-hub__list {
    grid-template-columns: 1fr;
  }

  .social-hub__link,
  .social-links a {
    justify-content: center;
    text-align: center;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1rem, var(--container));
  }

  .site-header__left {
    gap: 0.75rem;
  }

  .site-brand__logo {
    width: 52px;
    height: 64px;
  }

  .lang-trigger {
    min-width: 42px;
    min-height: 42px;
    border-radius: 12px;
  }

  .lang-trigger__icon {
    width: 20px;
    height: 20px;
  }

  .lang-menu {
    width: min(280px, calc(100vw - 0.5rem));
  }

  .lang-menu__item {
    font-size: 0.84rem;
  }

  .home-hero__coming {
    letter-spacing: 0.11em;
  }

  .feature-video__player {
    object-position: center;
  }

  .feature-video__media {
    min-height: 52vh;
  }

  .team-card__avatar {
    width: 140px;
    height: 140px;
  }
}
