.top-bar {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-family: Roboto, Roboto;
  font-weight: 700;
  font-size: 28px;
  color: #333333;
  line-height: 36px;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #ad2626 0%, #ff6b6b 100%);
  -webkit-background-clip: text;
  /* -webkit-text-fill-color: transparent; */
  background-clip: text;
}

.logo a {
  transition: all 0.3s ease;
}

.logo a:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

@media (max-width: 760px) {
  .top-bar {
    padding: 12px 16px;
    background: #ad2626;
  }

  .logo {
    font-size: 24px;
    line-height: 32px;
    color: white;
    background: none;
    -webkit-text-fill-color: white;
  }

  .logo a:hover {
    color: white;
    filter: brightness(1.1);
  }

  .search-box {
    display: none;
  }
}

.search-box {
  display: flex;
  align-items: center;
  border-radius: 24px;
  border: 1px solid #e0e0e0;
  padding: 8px 24px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.search-box input {
  border: none;
  font-size: 14px;
  width: 400px;
  outline: none;
}

.search-box button {
  background: #ad2626;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
}

.nav-bar {
  background: #ad2626;
  padding: 12px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  top: 70px;
  z-index: 99;
}

.nav-bar ul {
  display: flex;
  list-style: none;
  gap: 40px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.nav-bar ul li a {
  font-family: Roboto, Roboto;
  font-weight: 600;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 24px;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-bar ul li a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.nav-bar ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: white;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-bar ul li a:hover::after {
  width: 80%;
}

@media (max-width: 760px) {
  .nav-bar {
    padding: 10px 16px;
  }

  .nav-bar ul {
    gap: 8px;
  }

  .nav-bar ul li a {
    font-size: 14px;
    padding: 6px 12px;
  }
}

.uin {
  display: none;
  gap: 16px;
}

.kaiheadddder {
  font-size: 24px;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 50%;
  background: rgba(173, 38, 38, 0.05);
}

.kaiheadddder:hover {
  color: #ad2626;
  background: rgba(173, 38, 38, 0.1);
  transform: scale(1.1) rotate(5deg);
}

@media (max-width: 760px) {
  .uin {
    display: flex;
    align-items: center;
  }

  .kaiheadddder {
    color: white;
    font-size: 22px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
  }

  .kaiheadddder:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(5deg);
  }
}

/* 閬僵 */

.box {
  position: relative;
  overflow: hidden;
}

.overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 999;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.drawer.open {
  right: 0;
}

@media (max-width: 760px) {
  .drawer {
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .overlay {
    background: rgba(0, 0, 0, 0.6);
  }
}

/* 寮圭獥鏍峰紡 */
.adven {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.adventure {
  width: 49%;
}

.shohui {
  display: flex;
  padding-top: 30px;
  padding-right: 30px;
  justify-content: flex-end;
}

.icon-close-0605:before {
  font-size: 34px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.shohui:hover .icon-close-0605:before {
  transform: rotate(90deg);
  color: #ad2626;
}

@media (max-width: 760px) {
  .shohui {
    padding-top: 20px;
    padding-right: 20px;
  }

  .icon-close-0605:before {
    font-size: 28px;
  }
}

.usho {
  display: flex;
  font-family: Nunito, Nunito;
  flex-wrap: wrap;
  margin-top: 12px;
  gap: 20px;
  font-weight: 600;
  font-size: 16px;
  color: #333333;
  line-height: 20px;
  flex-direction: column;
  align-content: center;
  align-items: center;
}

.usho li a {
  font-family: Montserrat, Montserrat;
  font-weight: 600;
  font-size: 16px;
  color: #333333;
  line-height: 20px;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.usho li a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(173, 38, 38, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.usho li a:hover {
  background: rgba(173, 38, 38, 0.05);
  color: #ad2626;
  transform: translateX(5px);
}

.usho li a:hover::before {
  left: 100%;
}

@media (max-width: 760px) {
  .usho {
    gap: 8px;
    margin-top: 8px;
  }

  .usho li a {
    font-size: 15px;
    padding: 10px 20px;
    width: 100%;
    text-align: center;
  }

  .usho li a:hover {
    transform: translateX(0);
  }
}

.chassgames {
  width: 100%;
  text-align: center;
  margin-top: 12px;
}

.chassgames span {
  font-family: Montserrat, Montserrat;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  line-height: 20px;
}

.fenlei {
  width: 100%;
}

.adventure {
  display: flex;
  margin-top: 24px;

  flex-wrap: wrap;
  justify-content: space-between;
}

.adventure dl {
  width: 48%;
  height: 220px;
}

.adventure dl dt {
  width: 100%;
  height: 100%;

  background: #d9d9d9;
  overflow: hidden;
  border-radius: 12px 12px 12px 12px;
}

.adventure dl dt a {
  height: 100%;
  width: 100%;
  display: inline-block;
}

.adventure dl dt img {
  width: 100%;
  height: 100%;
}

.fenlei {
  height: 40px;
  margin-bottom: 24px;
  line-height: 40px;
  font-weight: 600;
  font-size: 16px;
  color: #eb5757;
  text-align: center;
  background: #388e3c;
  border-radius: 8px 8px 8px 8px;
}

.usho li {
  width: 60%;
  padding: 8px 0;
  text-align: center;
  border-radius: 4px 4px 4px 4px;
}

.sdftg .icon-search:before {
  border-radius: 4px 4px 4px 4px;

  padding: 0;
}

.nav-bar ul .active a {
  color: #ffffff;
}

@media (max-width: 769px) {
  .usho {
    gap: 8px;
  }

  .mainsan .chassgames {
    margin-top: 24px;
  }
}

@media (max-width: 760px) {
  .uin {
    display: block;
  }

  .sea,
  .nav-bar {
    display: none;
  }

  .uin {
    display: flex;
    gap: 30px;
  }

  .logo {
    font-size: 24px;
    line-height: 32px;
  }

  .logo a {
    color: #ffffff;
  }

  .uin .icon-search:before,
  .icon-home3:before,
  .icon-category2:before {
    font-size: 20px;
    margin-left: 0px;
    color: rgba(255, 255, 255, 0.6);
  }
}
