/* 
Theme Name: PI
*/
* {
  margin: 0;
  padding: 0;
}


html {
  scroll-padding-top: var(--nav-height); /* 滚动锚点偏移 */
}

body {
  font-size: 16px;
  font-family: Gill Sans, Gill Sans MT, Calibri, Trebuchet MS, sans-serif !important;
}
img {
  height: 100%;
}

header {
  width: 100vw;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99999;
  padding: 1rem;
}
.navbar-brand {
  height: 40px;
  margin: 0 !important;
  padding: 0 !important;
}
main > div {
  width: 100%;
  height: 100vh;
  position: relative;
}

.s1 {
  background: #1e112b;
  padding-top: 150px; /* 根据导航栏实际高度调整 */
  position: relative;
  z-index: 1;
}
.s1 > img {
  opacity: 0.03;
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: -80px; /* 抵消padding-top的影响 */
  padding-top: 150px;
}


/* 响应式调整 */
@media (max-width: 768px) {
  .s1 {
	 background: #1e112b;
    padding-top: 150px; /* 移动端导航栏通常较矮 */
	  position: relative;
  		z-index: 999;
  }
}

/* 如果需要全屏背景图 */
.s1 > img {
  margin-top: -80px; /* 抵消padding-top的影响 */
  padding-top: 80px;
}

.nav-link {
position: relative;
  right: 50px; 
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  transition: all 0.3;
  line-height: 30px;
  float: right;
}

.nav-link:hover {
  color: rgb(161, 98, 7);
}

.custom-container {
  max-width: 1300px;
  margin: 0 auto;
}

.s1-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  color: #fff;
  position: relative;
  z-index: 2;
}
.s1-content .l h2 {
  font-size: 45px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.s1-content .l p {
  color: rgb(253, 224, 71);
  font-size: 24px;
  line-height: 32px;
}
.vbtn,
.ubtn {
  font-weight: 600;
  width: 306px;
  height: 64px;
  line-height: 64px;
  background: transparent;
  border-radius: 6px;

  outline: none;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  font-size: 24px;
}
.vbtn {
  background: rgb(197, 150, 15);
  color: #fff;
  margin-right: 10px;
}

.ubtn {
  color: rgb(234, 179, 8);
  border-color: rgb(234, 179, 8);
}
.vbtn:hover,
.ubtn:hover {
  background: #d1af32;
  color: #fff;
}
.s1-content .r {
  width: 500px;
  height: 500px;
  margin-left: 100px;
  border-radius: 50%;
  overflow: hidden;
}

.s1-content .r img {
  width: 100%;
  height: 100%;
  transform: scale(1.3);
}

.s1-content .custom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.s2 {
  display: flex;
  flex-direction: column;
  height: auto !important;
}
.s2-info {
  flex: 0 0 240px;
  background: rgba(120, 58, 140, 0.8);
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  line-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.s2-opter {
  position: relative;
  flex: 0 0 20vh;
  background-color: #fff;
  transform: rotate(180deg);
}
.s2-opter::before {
  content: "";
  width: 100%;
  height: 60px;
  position: absolute;
  bottom: -0.3%;
  left: 0;
  background-size: auto;
  background-repeat: repeat no-repeat;
  background-position: 88vw bottom;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1200 84' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M0 61L50 58C100 54 200 46 300 31C400 16 500 -7 600 1C700 9 800 46 900 61C1000 77 1100 69 1150 65L1200 61V84H1150C1100 84 1000 84 900 84C800 84 700 84 600 84C500 84 400 84 300 84C200 84 100 84 50 84H0V61Z' fill='%239562a6'/></svg>");
}

.s2-content .custom-container {
  display: flex;
  align-items: center;
  gap: 90px;
  justify-content: center;
  padding: 0 96px;
}
.s2-content button {
  width: 225px;
}

.s2-content .l h2 {
  color: rgb(202, 138, 4);
  font-size: 30px;
  font-weight: 600;
  line-height: 36px;
}

.s2-content .l p {
  line-height: 28px;
  color: rgb(55, 65, 81);
  font-size: 20px;
  margin-top: 8px;
}

.s2-content .r {
  width: 400px;
}
.s2-content .r img {
  width: 100%;
}
.s2-f-wrap {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.s2-footer {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s2-item {
  max-width: 250px;
  padding: 48px 16px;
  box-sizing: border-box;
  text-align: center;
}
.s2-item img {
  width: 60px;
  height: 60px;
}
.s2-item h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: rgb(55, 65, 81);
}
.s2-item p {
  font-size: 16px;
  color: rgb(107, 114, 128);
  line-height: 24px;
}

.copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(31, 41, 55);
  padding: 16px 0;
}
.copyright img {
  width: 150px;
}

.copyright p {
  color: rgb(156, 163, 175);
  font-size: 20px;
  margin-left: 13px;
  margin-bottom: 0;
}

.ft {
  width: 100%;
  background: linear-gradient(
    to right,
    rgb(136, 52, 142),
    rgb(68, 63, 136) 80%
  );
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 96px 0;
  gap: 96px;
}

.ft .l {
  width: 400px;
}
.ft .l img {
  width: 100%;
}

.ft .r {
  width: 450px;
}

.ft .r h2 {
  color: rgb(234, 179, 8);
  font-weight: 600;
  font-size: 36px;
}

.ft .r p {
  color: #fff;
  font-size: 20px;
  margin-top: 16px;
  line-height: 28px;
}

.ft .r button {
  margin-top: 40px;
  width: 200px;
}

/* 自定义 Modal 样式 */
.custom-modal {
  text-align: center;
}

.ant-modal-content {
  border-radius: 8px;
}

.ant-modal-confirm-content {
  margin: 0 !important;
  padding: 0 !important;
}

.ant-modal-body {
  padding: 20px 24px;
}

.ant-modal-confirm-body .anticon {
  display: none;
}

.ant-modal-confirm-btns {
  display: none;
}
.text-3xl {
  color: rgba(0, 0, 0, 0.88);
  font-size: 30px;
  font-weight: 600;
  line-height: 36px;
  margin-bottom: 0;
}
.ext-lg {
  color: rgba(0, 0, 0, 0.88);
  font-size: 14px;
  line-height: 22px;
  margin-bottom: 8px;
}

.tips {
  padding-top: 8px;
  text-align: center;
  font-size: 14px;
  line-height: 22px;
  color: rgba(0, 0, 0, 0.88);
}

textarea {
  width: 100%;
  border: 1px solid rgb(255, 77, 79);
  border-radius: 6px;
  padding: 4px 11px;
}
.btns {
  display: flex;
  gap: 8px;
}
.btns button {
  flex: 0 0 50%;
  font-size: 14px;
  height: 48px;
  line-height: 48px;
}

@media (max-width: 1280px) {
     header{
      background: rgb(38 19 58 / 0%);
    }
  .custom-container {
    width: 95%;
    display: block !important;
  }
  .s1-content .r {
    margin: 50px auto;
  }
  .s2-content .custom-container {
    display: flex !important;
    flex-direction: column;
  }
  .s2-content img{
      width:100%;
  }
  .s2 {
    height: auto;
  }
  .s2-f-wrap {
    flex-direction: column;
  }
  .s2-item {
    max-width: 520px;
    box-shadow: 2px 10px 10px rgba(0, 0, 0, 0.3);
    margin: 20px 0;
    border-radius: 6px;
  }
  .ft {
    flex-direction: column;
  }
}

@media (min-width: 992px) {
  .s1 {
    padding-top: 150px;
  }
}


/* 手机端 */
@media (max-width: 767px) {
  .s1 {
    padding-top: 150px;
  }
@media (max-width: 780px) {
    .s1{
        padding-top: 150px !important; /* 需要同步调整 */
    }
    header{
          background: rgb(66 36 99 / 0%);
    }
    main{
        width:100vw;
        overflow: auto;
    }
  .custom-container {
    width: 95%;
    display: block !important;
  }
  .s1-content .r {
    margin: 50px auto;
  }
  .s2-content .custom-container {
    display: flex !important;
    flex-direction: column;
  }
  .s2 {
    height: auto;
  }
  .s2-f-wrap {
    flex-direction: column;
  }
  .s2-item {
    max-width: 520px;
    box-shadow: 2px 10px 10px rgba(0, 0, 0, 0.3);
    margin: 20px 0;
    border-radius: 6px;
  }
  .ft {
    flex-direction: column;
  }
  .vbtn{
      margin-bottom:20px;
  }
  .s1-content .r{
     width: 300px; 
     height: 300px;
  }
  .s2-info{
      font-size: 24px;
  }
  .s2-content .custom-container{
      padding: 0;
  }
  .s2-content .l h2{
      font-size: 24px;
  }
  .s2-content .l p{
      font-size: 20px;
  }
  .s2-content .l>div {
      text-align: center;
  }
   .s2-content .l>div .vbtn{
       margin-right: 0;
   }
   .s2-content .l button{
       width: 306px;
   }
   .ft{
       gap:0px;
   }
   .ft .r{
       width:90%;
   }
   .ft .r>div{
       text-align: center;
   }
   .ft .r button{
       width: 306px;
       margin-top:20px;
       margin-right: 0;
   }
   .copyright{
       display: block;
       text-align: center;
   }
   .btns{
       display: block;
   }
   .btns button{
       width: 100%;
   }
}

.bg {
  background: rgb(38, 19, 58);
}
.navbar-toggler {
  position: relative;
  padding: 0;
  width: 48px;
  height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}
.navbar-toggler-icon {
  width: 32px;
  height: 3px;
  background: #fff;
  border-radius:10px;
}
footer{
    width: 100vw;
    overflow: hidden;
}