/* ===== Background ===== */
body {
  background: url("../images/guest/bg/bg-0.jpg?v=3") center center no-repeat fixed !important;
  background-size: cover !important;
  background-color: transparent !important;
}
html {
  position: relative;
  min-height: 100%;
}
#bg div[class^="bg-"] {
  display: none;
}

/* ===== Nav bar ===== */
#nav {
  position: relative;
  z-index: 1;
  width: 100%;
  background-color: rgba(24, 23, 23, 0.75);
  backdrop-filter: blur(4px);
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

/* Centered links */
#nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}
#nav-links a {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
#nav-links a:hover {
  color: #fffdd9;
}

/* Right social block */
#nav-social {
  position: absolute;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #ccc;
}
#nav-social span {
  white-space: nowrap;
  letter-spacing: 0.5px;
}
#nav-social .vk {
  background: url("../images/icon/vk.png") no-repeat center;
  background-size: contain;
  width: 30px;
  height: 30px;
  display: inline-block;
  opacity: 0.75;
  flex-shrink: 0;
}
#nav-social .vk:hover {
  opacity: 1;
}

/* ===== Wrapper ===== */
#wrapper {
  min-height: 100%;
  padding-bottom: 90px;
}

/* ===== Footer ===== */
#footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  background-color: rgba(24, 23, 23, 0.55);
  backdrop-filter: blur(4px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
#footer-content {
  width: 100%;
  padding: 0 24px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Copyright block */
.copyright {
  display: flex;
  align-items: center;
  gap: 10px;
}
.copyright .inst-game {
  background: url("../images/icon/inst-game.png") no-repeat center;
  background-size: contain;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  opacity: 0.6;
}
.copyright .inst-game:hover {
  opacity: 1;
}
.copyright .text {
  color: #aaa;
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
}

/* ===== Tablet ===== */
@media (max-width: 768px) {
  #nav {
    height: auto;
    padding: 10px 15px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
  }
  #nav-links {
    gap: 20px;
  }
  #nav-social {
    position: static;
  }
  #footer {
    position: relative;
    height: auto;
    padding: 10px 0;
  }
  #wrapper {
    padding-bottom: 20px;
  }
  #footer-content {
    justify-content: center;
  }
  .copyright {
    flex-wrap: wrap;
    justify-content: center;
  }
  .copyright .text {
    text-align: center;
  }
}

/* ===== Mobile ===== */
@media (max-width: 480px) {
  #nav-links {
    gap: 14px;
    font-size: 13px;
  }
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}
