/*-------------------------------------------Background Image---------------------------------------------*/
#bg {
    width: 100%;
    height: auto;
}

.dropdown-class{

      top: 20px;
      right: 20px;
      z-index: 1050;
    }



    

/*-------------------------------------------Title Animation---------------------------------------------*/
/* Comment if using Slide keyframe */
/* .add-animation-zoom {
    animation: zoomBounce 0.3s ease;
    animation: zoomOut 0.3s ease;
} */

/* Comment all if using Zoomout keyframe */
.add-animation {
    /* animation: frmslideLeft 0.3s ease; */
    animation: frmslideRight 0.8s ease;
}

/* Comment all if using Zoomout keyframe */
.exit-animation {
    /* animation: toslideRight 0.3s ease; */
    animation: toslideLeft 0.8s ease;
}

.text {
    top: 14%;
}

.text img {
    width:90%;
}

.btn1 {
    top: 58%;
}

.btn1 img {
    width:55%;
    animation: pulse 0.8s infinite;
     animation-timing-function: linear;

}




.container-form{
    width: 77%;
    height: 68vh;
    left: 13%;
    top: 30%;
}


.form-control {
  background-color: #f9f9f9 !important;   /* 输入框背景变浅 */
  color: #333 !important;                 /* 文字颜色 */
  border: 1px solid #ddd !important;      /* 边框变淡 */
}

.form-control::placeholder {
  color: #aaa !important;                 /* placeholder 文字更浅 */
}
/*-------------------------------------------Redirect Button---------------------------------------------*/
.campaign-1{
    top: 16%;
}

.campaign-1 img {
    width:85%;

}
.campaign-2{
    top: 30%;
}

.campaign-2 img {
    width:85%;

}

.prize{
    top: 44%;
}

.prize img {
    width:85%;
}


.time{
    top:48.4%;
    width:40%
}


.timer {
   
    color: white;
    font-weight: bold;
    font-size: 8vw;
    /* margin-top: 105vw; */
}

.date-container {
    top: 63%;
    width: 93%;
    left: 4%;
    height: 9%;
    border-radius: 30px;
    background: #f9ece9;
    display: flex;
    align-items: center;
}

/* 外层 */
.date-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 14px 15px;
}

/* 日期横向滚动 */
.date-scroll {
  display: flex;
  gap: 28px; /* 调整间距更像 screenshot */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-width: 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE */
}

.date-scroll::-webkit-scrollbar {
  display: none; /* Chrome 隐藏滚动条 */
}

/* 日期项样式 */
.date-item {
  text-align: center;
  cursor: pointer;
  padding: 10px 12px;
  border-radius: 12px;
  transition: 0.25s;
  color: #000;
  opacity: 0.7;
}

.date-item .day {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.6;
  margin-bottom: 3px;
}

.date-item .num {
  font-size: 20px;
  font-weight: 700;
}

/* Active 日期（像 screenshot 的红色按钮） */
.date-item.active {
  background: #b63320;
  color: #fff;
  opacity: 1;
  padding: 10px 14px;
  border-radius: 14px;
}

/* 右边 month/year 固定显示 */
.date-box {
  text-align: left;
  padding-left: 15px;
  border-left: 2px solid #e4c7c3;
  flex-shrink: 0;
}

.date-box .month {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.date-box .year {
  display: block;
  font-size: 12px;
  opacity: 0.5;
}


.stream-section {
  width: 96%;        /* 图片宽度占满卡片宽度 */
  height: 150px;      /* 固定高度 */
  object-fit: cover;  /* 保持比例并裁切多余部分 */
  border-radius: 8px; /* 圆角 */
  margin-bottom: 10px;

  left:2%;
  top: 76%;
}


.stream-btn-container{
  width: 100%;
    height: 44px;   
top:89%
  
}


.items img{
width: 47%;
}

.stream-button1 { 
   left: 6%;
}

.stream-button1 img{ 
    width: 65%;
}

.stream-button2 {

    right: 6%;

}

.stream-button2 img{ 
    width: 65%;
}

.stream-button3 { 
    left: 0%;
}


.stream-button3 img{ 
    width: 35%;
}

.bg{
    width: 90%;
}

.bg1{
    width: 48%;
}


/* .sticky-icon {
        top: 88%;
     left: 87%;
      z-index: 1050;
      width: 50px;
      height: 50px;
    
    
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 20px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

.sticky-icon img {
    width:65%;
    animation: pulse 0.9s  infinite linear;
} */

/*-------------------------------------------Keyframe Animation---------------------------------------------*/
@keyframes pulse {
    0% {
        transform: scale(0.9);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(0.9);
    }
}

@keyframes zoomOut {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    35% {
        transform: scale(0.9);
        opacity: 0.5;
    }

    65% {
        transform: scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes zoomBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    35% {
        transform: scale(0.7);
        opacity: 0.5;
    }

    55% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    65% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    85% {
        transform: scale(1.2);
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes frmslideLeft {
    0% {
        transform: translateX(-50%);
        opacity: 0;
    }

    50% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toslideRight {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    50% {
        transform: translateX(50%);
        opacity: 0;
    }
}

@keyframes frmslideRight {
    0% {
        transform: translateX(10%);
        opacity: 0;
    }

    50% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toslideLeft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-10%);
        opacity: 0;
    }
}


@media(max-width:320px){
    .time {
    top: 48%;
    width: 40%;
}
}


@media(min-width:768px){
    .date-container {
    top: 63%;
    width: 93%;
    left: 4%;
    height: 5%;
    border-radius: 30px;
    background: #f9ece9;
}

.stream-section {

    left: 2%;
    top: 71%;
}


.stream-button img {
    width: 35%;
}
}

/*-------------------------------------------Multi Device Screen Size---------------------------------------------*/
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
   

    .sticky-icon {
        top: 88%;
     left: 60%;
      z-index: 1050;
      width: 50px;
      height: 50px;
     
      justify-content: center;
      align-items: center;
      font-size: 20px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .container-campaign{
        width:97%;
        height:100vh;
        top: 25%;
        left: 2%;
        
    }
    .prize {
    top: 37%;
    }
    .prize img {
    width: 73%;
    }
    .time {
    top: 41.4%;
    width: 40%;
    }

    .timer{
         font-size: 7vw;
    }

    .btn1 {
       top: 54%;
    }
    .btn1 img{
        width: 26%;
    }

    .date-container {
        top: 62%;
        width: 60%;
        left: 18%;
        height: 3%;
    }
    .date-item .day {
    font-size: 23px;
    opacity: 4.6;
}
    .date-item .num {
    font-size: 23px;
    opacity: 4.6;
}
.stream-section {
    width: 62%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    left: 16%;
        top: 68%;
}

.date-box .month {
    display: block;
    font-size: 23px;
    font-weight: bold;
}

.h3{
    font-size: 20px !important;
}
.stream-button1 {
    left: 20%;
}
.stream-button2 {

    right: 22%;

}

.stream-button3 img{

        width: 23%;

}

.stream-button1 img {
    width: 38%;
}
.stream-button2 img {
    width: 38%;
}


.bg{
    width: 58%;
}

.bg1{
    width: 28%;
}



}


@media (min-width: 1200px) {
    .h3, h3 {
        font-size: 4.75rem;
    }
}
/* @media (min-width: 1920px) {


    .sticky-icon {
        top: 88%;
     left: 57%;
      z-index: 1050;
      width: 50px;
      height: 50px;
   
 
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 20px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
} */


