.indexPage {
  background: url(/static/image/zh-tw/site/activity.jpg) top center no-repeat;
  background-size: cover;
  width: 100%;
  height:22.6rem;
  position: relative;
}
.main {
  width: 13rem;
  margin:3.5rem auto 0;
}
.back{
  display: flex;
  justify-content: center;
}
.back a{
  display: inline-block;
   background: url(/static/image/zh-tw/site/back.png) no-repeat;
  background-size: cover;
  width: 2.71rem;
  height:0.89rem;
}
.activity-content{
  margin-top: 0.8rem;
}

/* ========== 活动标签栏 ========== */
.activity-tabs {
  display: flex;
  border-bottom: 0.01rem solid #536853;
  margin-bottom: 0.35rem;
}
.activity-box{
  width: 10.7rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.activity-tab {
  background: none;
  border: none;
  padding: 0.18rem 0.45rem;
  font-size: 0.32rem;
  color: #fff;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  letter-spacing: 0.01rem;
}

.activity-tab::after {
  content: '';
  position: absolute;
  bottom: -0.01rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0.06rem;
  background: #97d797;
  transition: width 0.3s ease;
}

.activity-tab:hover {
  color: #97d797;
}

.activity-tab.active {
  color: #97d797;
}

.activity-tab.active::after {
  width: 80%;
}

/* ========== 活动卡片网格 ========== */
.activity-grid {
display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.25rem;
    min-height: 11.5rem;
    height: 11.5rem;
    overflow: hidden;
}

/* 单个活动卡片 */
.activity-card {
  height: 3.675rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
    background: #536853;
}


/* 卡片图片区 */
.card-img {

  position: relative;

}

.card-img img {
    width: 4.2rem;
    height: 2.03rem;
  object-fit: cover;
}




/* 装饰性图标 - 十字/魔法阵 */
.card-img .card-deco-icon {
  position: absolute;
  bottom: 0.12rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.36rem;
  height: 0.36rem;
  opacity: 0.35;
}

/* 卡片信息区 */
.card-info {
  flex: 1;
  padding: 0.15rem 0.2rem 0.3rem;
  display: flex;
  flex-direction: column;
}

/* 活动标签 */

/* 活动名称 */
.card-name {
  font-size: 0.23rem;
  color: #fff;
  font-weight: bold;
  margin-bottom: 0.08rem;
  line-height: 1.35;
  letter-spacing: 0.01rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 活动时间 */
.card-time {
  font-size: 0.16rem;
 color: #ffed59;
padding-bottom: 0.13rem;
  letter-spacing: 0.01rem;
  border-bottom: 0.01rem solid #86a486;
}

/* 活动简介 */
.card-desc {
  padding-top: 0.1rem;
  font-size: 0.16rem;
  color: #cfcfcf;
  line-height: 1.6;
  letter-spacing: 0.01rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* ========== 分页器 ========== */
.activity-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.7rem;
}

.page-btn {
  background: none;
  border: none;
  border-bottom: 1px solid #e1e1e1;
  
  color: #e1e1e1;
  font-size: 0.16rem;
  cursor: pointer;
  padding: 0.05rem 0.1rem;
  transition: all 0.3s ease;
  letter-spacing: 0.03rem;
}

.page-btn:hover:not(.disabled) {
  color: #59ef83;
  border-bottom: 1px solid #59ef83;
}

.page-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border: none;
}

.page-info {
  font-size: 0.25rem;
  color: #e1e1e1;
  letter-spacing: 0.03rem;
}

.page-jump {
  display: flex;
  align-items: center;
  gap: 0.08rem;
  font-size: 0.16rem;
color: #e1e1e1;
  margin-left: 0.15rem;
}

.jump-input {
    width: 0.65rem;
    height: 0.36rem;
    background: #fff;
    border: 1px solid #59ef83;
    color: #000;
    font-size: 0.16rem;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
}
#currentPage{
  color: #ffe400;
}

.jump-input:focus {
  border-color: #59ef83;
  box-shadow: 0 0 8px rgba(89, 239, 131, 0.2);
}

.go-btn {
    background: transparent;
    border: none;
    color: #ffe400;
    font-size: 0.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}


