.s2 {
  position: relative;
  height: 60px;
  background-color: rgb(0, 0, 0);
  margin-top: -1%;
}

.s2bgtrees {
  position: absolute;
  width: 80%;
  margin-top: -30%;
  z-index: 8;
  will-change: transform;
  transition: transform 0.1s ease-out;
  left: 9%;
  display: none;
}

.s2left {
  position: absolute;
  margin-top: -34%;
  left: 0%;
  width: 15%;
  z-index: 11;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.s2right {
  position: absolute;
  margin-top: -34%;
  right: 0%;
  width: 15%;
  z-index: 11;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.s2lefttree {
  position: absolute;
  margin-top: -20%;
  left: 0%;
  width: 20%;
  z-index: 11;
  will-change: transform;
  transition: transform 0.1s ease-out;
  display: none;
}

.s2righttree {
  position: absolute;
  margin-top: -20%;
  right: 0%;
  width: 20%;
  z-index: 11;
  will-change: transform;
  transition: transform 0.1s ease-out;
  display: none;
}

.s2frontbg {
  position: absolute;
  z-index: 8;
  width: 100%;
  margin-top: -15%;
  height:800px;
  /* display: none; */
}
@media (min-width: 1024px){
.s2center{
  display:none;
}}

.bg1tree{
  left:30%;
  width:125%;
  margin-top: -35%;
  z-index: 11;
  display: none;
}

.s2dailyrewards{
  width: 70%;
}
.s2dailyrewardsbanner {
  position: absolute;
  z-index: 12;
  width: 23%;
  left: 50%;
  transform: translateX(-155%);
  margin-top: -10%;
}

/* ── DESKTOP: two-column split ── */
.s23-split {
  position: absolute;
  z-index: 13;
  width: 100%;
  top: 0;
  /* padding-top: 2%; */
  margin-top: -3%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  box-sizing: border-box;
}

.s23-left {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 3%;
  box-sizing: border-box;
}

.s23-right {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 3%;
  box-sizing: border-box;
}

/* Override section3.css absolute positioning for elements used inside split */
.s23-left .s2dailyrewards,
.s23-slide .s2dailyrewards {
  position: relative !important;
  margin-top: -10% !important;
  max-width: 88% !important;
  left: auto !important;
  /* transform: none !important; */
  animation: float 4.5s ease-in-out infinite;
  animation-delay: -1.2s;
  will-change: transform;
}

.s23-right .s3counter,
.s23-slide .s3counter {
  position: relative !important;
  margin-top: -23% !important;
  width: auto !important;
  max-width: 95% !important;
  left: auto !important;
  transform: none !important;
  align-self: center !important;
}

.s23-right .s3treetext,
.s23-slide .s3treetext {
  position: relative !important;
  margin-top: 8% !important;
  width: 55% !important;
  left: auto !important;
  transform: none !important;
}

.s23-desc-text {
  font-family: "Bebas Neue", sans-serif;
  color: #ffffff;
  text-align: center;
  font-size: clamp(0.75rem, 1.4vw, 1.4rem);
  line-height: 1.5;
  margin-top: 7%;
  padding: 0 5%;
  opacity: 0.9;
}

.follow-text {
  font-family: "Bebas Neue", sans-serif;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
  font-size: clamp(0.85rem, 2vw, 1.3rem);
  margin-top: -10px;
  width: 100%;
}

.follow-btn-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.follow-btn-inner {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.follow-btn-inner svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.modal-follow-btn {
  margin-top: 10px;
}

/* ── MOBILE slider — hidden on desktop ── */
.s23-mobile {
  display: none;
}

/* ── Desktop split always visible ── */
.s23-split {
  display: flex;
}

/* ── Float animation ── */
@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

/* ── Old classes kept for backward compat (hidden by new layout) ── */
.s2flex { display: none; }

.s23-mobile-banner { display: none; }

/* ─────────────────────────────────────
   MOBILE  ≤768px
───────────────────────────────────── */
@media only screen and (max-width: 768px) {
/* for hiding mobile slider */
.s23-right .s3counter,
.s23-slide .s3counter{
  width: auto !important;
  max-width: 95% !important;
  align-self: center !important;
}

  .s2{
    margin-top: -33%;
  }

  /* Hide desktop split, show mobile slider */
  .s23-split  { display: none !important; }
  .s23-mobile { display: block !important; }

  .bg1tree{
    width:153%;
    left:25%;
  }

  /* BG image tweaks */
  .s2frontbg   { margin-top: -1px; height: 570px; }
  .s2bgtrees   { margin-top: -16%; z-index: 10; }
  .s2lefttree  { margin-top: -10%; width: 25%; display: none;}
  .s2righttree { margin-top: -10%; width: 25%; display:none;}
  .s2left      { margin-top: -14%;  width: 25%; }
  .s2right     { margin-top: -14%;  width: 25%; }
  .s2dailyrewardsbanner { margin-top: -3%; width: 40%;
     left: 92%;
     display: none;
    }

    .s23-left .s2dailyrewards{
      margin-top: 11% !important;
    }

    .s2center2 {
      margin-top: -3%; width: 40%;
     display: none; 
     left: 92%;
    }

  /* ── Mobile slider wrapper ── */
  .s23-mobile {
    position: absolute;
    z-index: 13;
    width: 100%;
    top: 0;
    margin-top: -10%;
    overflow: visible;
  }

  .s23-slide{
    padding-top: 23%;
  }

  /* Track holds 2 slides side by side (total = 200vw) */
  .s23-track {
    display: flex;
    width: 200%;
    transition: transform 0.9s ease-in-out;
    will-change: transform;
  }

  /* Each slide = exactly half of track = 100vw */
  .s23-slide {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    padding-bottom: 30px;
    margin-top: -12%;
  }

  /* Daily Rewards title banner — mobile slide 1 */
  .s23-mobile-banner {
    display: block;
    width: 38%;
    max-width: 160px;
    margin-top: -28%;
    margin-bottom: 4px;
    position: relative;
    z-index: 15;
  }

  /* Override absolute positions for mobile slide items */
  .s23-slide .s2dailyrewards {
    max-width: 80% !important;
    padding-top: 20%;
  }

  .s23-slide .s3counter {
    width: auto !important;
    max-width: 90% !important;
    margin-top: -30% !important;
    align-self: center !important;
  }

  .s23-slide .s3treetext {
    width: 50% !important;
    margin-top: 8% !important;
  }

  .s23-slide .follow-text {
    font-size: clamp(0.9rem, 4vw, 1.2rem);
    /* padding: 0 10%; */
    margin-top: 14px;
  }

  .s23-slide .s23-desc-text {
    font-size: clamp(0.7rem, 3vw, 0.9rem);
    padding: 0 8%;
    margin-top: 32px;
    width: 60%;
  }

  .s23-slide .modal-follow-btn {
    margin-top: 14px;
  }

  /* Dot indicators */
  .s23-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 14;
    display: none;
  }

  .s23-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
  }

  .s23-dot.active {
    background: #ffffff;
    transform: scale(1.3);
  }
}

/* for desktop */
@media (min-width: 1025px) {
  .follow-text{
    margin-left: 115%;
    margin-top: -8%;
  }
  .follow-btn-wrap{
    margin-left: 114%;
  }
}