/* css/new-style.css */
@font-face {
  font-family: OPlusSans3;
  src: url("../fonts/OPlusSans3-Medium.ttf");
}
@font-face {
  font-family: OPlusBold;
  src: url("../fonts/OPlusSans3-Bold.ttf");
}
@font-face {
  font-family: DelaSukoGothicOne;
  src: url("../fonts/DelaSukoGothicOne-R.ttf");
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "OPlusSans3", "PingFang SC", sans-serif, Robot, 思源黑体;
  background: #fff;
  color: #333;
  line-height: 1.5;
}
a {
  text-decoration: none;
  color: inherit;
}

/* 通用容器 */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: calc(100vh - 273px);
  padding: 0 15px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .container {
    width: 95%;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 100%;
    padding: 0 8px;
  }
}

/* 下划线悬停效果 */
.underline-on-hover {
  position: relative;
}
.underline-on-hover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: transform 0.3s ease;
}
.underline-on-hover:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* SEO 優化樣式 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}