/*
* 777BIGWINGAME - Red/Pink/White Theme
*/

html,
body,
div,
h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
  padding: 0;
}

body {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f5e8e8;
  font-family: 'Poppins', 'Arial', sans-serif;
}

@media (min-width: 500px) {
  body {
    width: 500px;
    margin: 0 auto;
    background: #d0b0b0;
  }
}

#container {
  width: 100%;
  background-color: #fde8e8;
  padding-bottom: 0.6rem;
  box-sizing: border-box;
}

/* ===== 顶部 LOGO 栏 ===== */
.header-bar {
  width: 100%;
  background-color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0.18rem 0.3rem;
  box-sizing: border-box;
  box-shadow: 0 0.02rem 0.1rem rgba(0,0,0,0.08);
}

.logo-img {
  height: 0.72rem;
  width: auto;
  object-fit: contain;
}

.download-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.1rem;
  background: #fff;
  color: #555;
  border: 1px solid #ddd;
  border-radius: 0.4rem;
  padding: 0.1rem 0.28rem;
  font-size: 0.22rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 0.02rem 0.08rem rgba(0,0,0,0.1);
}

.download-btn svg {
  width: 0.28rem;
  height: 0.28rem;
  flex-shrink: 0;
}

/* ===== 客服悬浮按钮 ===== */
.service {
  position: fixed;
  right: 0.4rem;
  bottom: 1rem;
  width: 0.88rem;
  height: 0.88rem;
  z-index: 10;
}

/* ===== 搜索框 ===== */
.search {
  width: calc(100% - 0.48rem);
  height: 0.76rem;
  border-radius: 0.5rem;
  background: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0.28rem 0.24rem 0.28rem;
  box-shadow: 0 0.04rem 0.16rem rgba(220, 50, 50, 0.18);
  box-sizing: border-box;
  border: 1px solid #f8d0d0;
}

.search .serach_input {
  width: 68%;
  height: 100%;
  line-height: 0.76rem;
  padding-left: 0.3rem;
  background: transparent;
  color: #555;
  font-size: 0.26rem;
  border: none;
  outline: none;
}

.search .serach_input::placeholder {
  color: #bbb;
}

.search .btn {
  width: 32%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #f55050 0%, #c82020 100%);
  border-radius: 0.5rem;
  box-shadow: 0px -0.04rem 0.1rem 0px rgba(255,200,200,0.5) inset;
  color: #fff;
  cursor: pointer;
  gap: 0.06rem;
}

.search .btn img {
  width: 0.36rem;
  height: 0.36rem;
  filter: brightness(10);
}

.search .btn span {
  color: #fff;
  font-size: 0.26rem;
  font-style: normal;
  font-weight: 600;
}

/* ===== 链接列表卡片 ===== */
.link-card {
  width: calc(100% - 0.48rem);
  margin: 0 0.24rem 0.3rem;
  border-radius: 0.2rem;
  overflow: hidden;
  box-shadow: 0 0.04rem 0.2rem rgba(200, 30, 30, 0.15);
}

.link-card-header {
  background: linear-gradient(135deg, #c0181c 0%, #e03030 100%);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0.2rem 0.28rem;
}

.link-card-header-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.14rem;
  flex: 1;
}

.link-card-header-left .header-icon {
  width: 0.4rem;
  height: 0.4rem;
  object-fit: contain;
  filter: brightness(10);
  flex-shrink: 0;
}

.link-card-header-left span {
  color: #fff;
  font-size: 0.22rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02rem;
}

.shield-icon {
  width: 0.44rem;
  height: 0.44rem;
  stroke: rgba(255,255,255,0.85);
  flex-shrink: 0;
  margin-left: 0.1rem;
}

/* 轮播 */
#list {
  background-color: #fff;
  padding: 0.2rem 0.2rem 0.1rem;
  width: 100%;
  box-sizing: border-box;
}

.carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.item_c {
  width: 100%;
  flex: 0 0 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.item {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #fff8f8;
  border-radius: 0.4rem;
  height: 0.72rem;
  margin-bottom: 0.14rem;
  justify-content: space-between;
  width: 100%;
  border: 1px solid #fce8e8;
}

.item .index {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  font-size: 0.28rem;
  background: linear-gradient(145deg, #ffb347 0%, #e06010 100%);
  text-align: center;
  margin-left: 0.12rem;
  line-height: 0.58rem;
  color: #fff;
  position: relative;
  z-index: 3;
  margin-right: 0.3rem;
  flex-shrink: 0;
  font-weight: 700;
  box-shadow: 0 0.04rem 0.1rem rgba(220,100,20,0.4);
}

.item .index span {
  position: relative;
  z-index: 4;
}

.item .index:after {
  content: "";
  display: block;
  position: absolute;
  top: 0.05rem;
  left: 0.05rem;
  background: linear-gradient(145deg, #ffca6a 0%, #f08020 100%);
  border-radius: 50%;
  width: 0.48rem;
  height: 0.48rem;
  z-index: 1;
}

.item .href {
  flex: 1;
  color: #4a3a3a;
  font-size: 0.26rem;
  font-style: normal;
  font-weight: 500;
  line-height: 0.36rem;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item .btn {
  width: 1.8rem;
  height: 0.56rem;
  margin-right: 0.12rem;
  text-align: center;
  background: linear-gradient(160deg, #f55050 0%, #c51515 100%);
  color: #fff;
  font-family: Poppins, Arial, sans-serif;
  font-size: 0.22rem;
  font-style: normal;
  font-weight: 600;
  line-height: 0.56rem;
  border-radius: 0.4rem;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 0.03rem 0.1rem rgba(200, 20, 20, 0.35);
  white-space: nowrap;
}

/* ===== Banner 区块 ===== */
.banner-section {
  width: calc(100% - 0.48rem);
  margin: 0 0.24rem 0.3rem;
  background: linear-gradient(135deg, #fff0f0 0%, #ffe8e8 100%);
  border-radius: 0.2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.4rem;
  box-sizing: border-box;
  box-shadow: 0 0.04rem 0.16rem rgba(200, 30, 30, 0.12);
  border: 1px solid #f8d8d8;
  min-height: 1.6rem;
}

.banner-text {
  color: #e02020;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08rem;
  font-style: italic;
}

.banner-icon-circle {
  width: 0.8rem;
  height: 0.8rem;
  background: linear-gradient(145deg, #ffb347 0%, #e06010 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.04rem 0.14rem rgba(220,100,20,0.5);
  flex-shrink: 0;
}

.banner-icon-circle svg {
  margin-left: 0.04rem;
}

/* ===== 底部信息卡片 ===== */
.info-card {
  width: calc(100% - 0.48rem);
  margin: 0 0.24rem;
  background: #fff;
  border-radius: 0.2rem;
  box-shadow: 0 0.04rem 0.2rem rgba(200, 30, 30, 0.12);
  overflow: hidden;
  border: 1px solid #f8d8d8;
}

.info-card-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0.22rem 0.3rem;
  border-bottom: 1px solid #f8e8e8;
  background: #fff;
}

.info-logo-img {
  height: 0.64rem;
  width: auto;
  object-fit: contain;
}

.info-service-icon {
  width: 0.52rem;
  height: 0.52rem;
  cursor: pointer;
  object-fit: contain;
}

.text2-inner {
  padding: 0.3rem 0.3rem 0.4rem;
}

/* ===== 标题和内容 ===== */
.tit {
  color: #e02020;
  font-size: 0.28rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.12rem;
  margin-top: 0.1rem;
}

.cnt {
  color: #5a4a4a;
  font-size: 0.24rem;
  font-style: normal;
  font-weight: 400;
  line-height: 0.4rem;
  letter-spacing: 0.2px;
  margin-bottom: 0.2rem;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cnt_url {
  color: #5a4a4a;
  font-size: 0.24rem;
  font-weight: 400;
  line-height: 0.4rem;
  margin-bottom: 0.2rem;
  padding-left: 0.1rem;
}

.cnt_url a {
  display: inline-block;
  color: #e02020;
  text-decoration: underline;
}

.cnt_url:before {
  content: "·";
  display: inline-block;
  color: #e02020;
  margin-left: -0.1rem;
  margin-right: 0.05rem;
}

/* ===== 弹窗 ===== */
.mark {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mark .box {
  width: 6.22rem;
  min-height: 5rem;
  position: relative;
  background: #fff;
  border-radius: 0.26rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 21;
  padding: 0.4rem 0.3rem 0.2rem;
  box-sizing: border-box;
}

.mark .box .success {
  width: 2.8rem;
  height: 1.85rem;
  margin-bottom: 0.48rem;
  margin-top: -0.5rem;
}

.mark .box .error {
  width: 1.6rem;
  height: 1.6rem;
  margin-bottom: 0.2rem;
}

.mark .box .dialog_logo {
  width: 2.24rem;
  margin-bottom: 0.5rem;
}

.mark .box .dialog_text {
  color: #151515;
  font-size: 0.28rem;
  font-style: normal;
  font-weight: 400;
  line-height: 0.36rem;
}

.mark .box .dialog_text_url {
  color: #151515;
  font-size: 0.3rem;
  font-style: normal;
  font-weight: 500;
  line-height: 0.36rem;
}

.mark .box .dialog_text:nth-child(2) {
  color: #666;
}

.mark .close {
  position: relative;
  bottom: -0.2rem;
  margin-top: 0.3rem;
  width: 0.6rem;
  height: 0.6rem;
  cursor: pointer;
}
