@font-face {
  font-family: "ST-Nizhegorodsky";
  src: url("./ST-Nizhegorodsky.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Tenor Sans", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu;
  line-height: 1.6;
  color: #eef3ff;
  background: linear-gradient(180deg, #0b1220, #111933);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1 {
  font-family: "ST-Nizhegorodsky", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu;
  color: #eef3ff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2, h3, h4, h5, h6 {
  font-family: "Tenor Sans", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu;
  color: rgba(238, 243, 255, 0.8);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

p, li, span, div {
  font-family: "Tenor Sans", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu;
}

p {
  color: #eef3ff;
  font-size: 1.1rem;
  line-height: 1.7;
}

a {
  font-family: "Tenor Sans", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu;
  color: rgba(238, 243, 255, 0.8);
  text-decoration: none;
}
a:hover {
  color: rgb(238, 243, 255);
  text-decoration: underline;
}

main.container {
  flex: 1 0 auto;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  isolation: isolate;
  background: rgba(11, 18, 32, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: sticky;
  top: 0;
  position: sticky;
  position: sticky;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 18, 32, 0.6);
  backdrop-filter: saturate(150%) blur(8px);
  -webkit-backdrop-filter: saturate(150%) blur(8px);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-header .brand a {
  color: #eef3ff;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
}
.site-header .logo {
  height: 100px;
  width: auto;
}
.site-header .nav a {
  color: #c4d0e8;
  margin-right: 16px;
  text-decoration: none;
}
.site-header .nav a:hover {
  color: #eef3ff;
}
.site-header .burger {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  margin-left: auto;
}
.site-header .burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #eef3ff;
}

@media (min-width: 1024px) {
  .site-header {
    margin-bottom: 20px;
  }
}
.hero {
  padding: 48px 0;
}

.fis-rules {
  margin-top: 32px;
}

.rules-list {
  padding-left: 20px;
  line-height: 1.8;
}

.rules-list li {
  margin-bottom: 12px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #121a2b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
}
.table th, .table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.table thead {
  background: rgba(255, 255, 255, 0.04);
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.news-list li {
  background: #121a2b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.vacancies-list {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.vacancy {
  background: #121a2b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px;
  border-radius: 8px;
}

.streams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.stream-box {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4d0e8;
  border-radius: 8px;
}

.contacts .map {
  width: 100%;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

main.container {
  padding-top: 8px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 24px;
  padding: 16px 0;
  color: #c4d0e8;
  text-align: center;
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn {
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #4fc3f7;
  color: #05121c;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
}

.btn.secondary {
  background: transparent;
  color: #eef3ff;
  border-color: rgba(255, 255, 255, 0.24);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(5, 12, 24, 0.96);
  display: none;
  align-items: flex-start;
  justify-content: center;
  z-index: 1000;
  overflow: auto;
  padding: 24px;
  padding-top: calc(24px + env(safe-area-inset-top));
}

.mobile-menu[aria-hidden=false], .mobile-menu.active {
  display: flex;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  width: 100%;
  max-width: 420px;
}

.mobile-menu__nav a {
  color: #eef3ff;
  font-size: 22px;
  text-decoration: none;
}

@media (min-width: 768px) {
  .site-header .burger {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
  .site-header .nav {
    margin-left: auto;
    display: block;
  }
}
@media (max-width: 767.98px) {
  .site-header .nav {
    display: none;
  }
}
.coming-soon {
  text-align: center;
  padding: 2rem 0;
}
.coming-soon h2 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.fis-rules h2 {
  text-align: center;
  margin-bottom: 2rem;
}
