/* .wp-title {
  padding: 5rem 1rem 0;
} */

.wp-ct-main-rewards {
  position: relative;
  background: url('https://yulgangidle.playpark.com/theme/sea/Main-Content.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  color: #3e2d1b;
  font-size: 1.5rem;
}

.wp-num-milestone {
  margin: 0 !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
}

.wp-num-api {
  font-size: 2.25rem;
  color: #3e1b1b;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 991px) {
  .wp-num-api {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .wp-num-api {
    font-size: 1.4rem;
  }

  .wp-num-milestone {
    display: flex;
    width: 65%;
    justify-content: center;
  }

  .wp-total {
    line-height: 14px !important;
  }

  .wp-char-gif img {
    transform: scale(2);
  }
}

.wp-char-left {
  width: 14.394%;
  position: absolute;
  margin: 0 !important;
  top: 15%;
  left: 9%;
  max-height: 100%;
  object-fit: contain;
  z-index: 3;
  flex-shrink: 0;
}

.wp-char-right {
  position: absolute;
  width: 16.981%;
  top: 17%;
  left: 76%;
  object-fit: cover;
  z-index: 4;
}

.wp-main-ct {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  position: relative;
  /* isolation: isolate; */
  gap: 2.187rem;
  /* max-width: 62.5rem; */
  /* z-index: 1; */

}

.wp-milestone-sub {
  align-self: stretch;
  position: relative;
  font-size: 1rem;
  font-weight: 600;
  color: #3e1b1b;
  text-align: center;
  /* text-shadow: 1px 0 0 #000, 0 1px 0 #000, -1px 0 0 #000, 0 -1px 0 #000; */
}

.wp-bar-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.wp-ct-milestone-celebration-image {
  width: 59.594rem;
  position: absolute;
  margin: 0 !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  /* z-index: 0; */
  flex-shrink: 0;

}

.wp-btn-register {
  transition: filter 0.25s ease;
}

.wp-btn-register:hover {
  filter: brightness(1.15);
}

.wp-news {
  /* align-self: stretch; */
  /* overflow: hidden; */
  /* padding: 4rem 1rem; */
  /* background-size: cover; */
  /* background-repeat: no-repeat; */
  /* background-position: top; */
  /* z-index: 3; */
  /* font-size: 1.25rem; */
  /* background: url(https://yulgangidle.playpark.com/wp-content/uploads/2026/03/Footer.jpg) lightgray 50% / cover no-repeat; */
}

.wp-bg-news {
  padding: 3rem;
  position: relative;
  gap: 1.812rem;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  z-index: 1;
  background: url(https://yulgangidle.playpark.com/theme/sea/Footer-Link.png) lightgray 50% / cover repeat;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 24px solid transparent;
  padding: 4px;
  border-image: url(https://yulgangidle.playpark.com/theme/sea/new-border.png) 30 round;
}

.wp-bg-news-list {
  align-self: stretch;
  flex: 0.8929;
  box-shadow: 0 0 0 5px #463324 inset, 0 0 0 7px #be9270 inset, 0 4px 4px rgba(0, 0, 0, 0.25);
  background-color: #463324;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem;
  gap: 0.312rem;
  z-index: 1;
  flex-shrink: 0;
  height: 100%;
}

.wp-news-tab {
  align-self: stretch;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  gap: 1.5rem;
}

.wp-news-tab-icon {
  position: absolute;
  width: auto;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  z-index: 6;
  pointer-events: none;
  animation: gelatine 0.5s infinite;
}

@keyframes gelatine {

  from,
  to {
    transform: translateY(-50%) scale(1, 1);
  }

  25% {
    transform: translateY(-50%) scale(0.9, 1.1);
  }

  50% {
    transform: translateY(-50%) scale(1.1, 0.9);
  }

  75% {
    transform: translateY(-50%) scale(0.95, 1.05);
  }
}

.wp-news-tab a {
  color: #e7d8b5;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 5px;
  white-space: nowrap;
}

.wp-news-tab a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #be9270;
  transition: width 0.3s ease;
}

.wp-news-tab a:hover {
  color: #fff;
}

.wp-news-tab a:hover::after,
.wp-news-tab a.active::after {
  width: 100%;
}

@media (max-width: 991px) {
  .wp-bg-news {
    padding: 1.5rem;
    border-width: 12px;
  }

  .wp-bg-news-list {
    padding: 1.5rem 1rem;
    flex: 1;
  }

  .wp-news-tab {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
  }

  .wp-news-tab-icon {
    display: none;
  }
}

@media (max-width: 576px) {
  .wp-news-tab {
    gap: 0.5rem 1rem;
  }

  .wp-news-tab a {
    font-size: 0.9rem;
  }

  .wp-news-item {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .wp-news-date {
    width: 100%;
    text-align: left;
    padding-left: 0;
    opacity: 0.7;
  }
}

.wp-news-list {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.wp-news-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(190, 146, 112, 0.2);
  gap: 1.25rem;
  transition: background 0.3s ease;
}

.wp-news-item:last-child {
  border-bottom: none;
}

.wp-news-tag {
  width: 20%;
}

.wp-news-tag a {
  display: inline-block;
  padding: 0.2rem 1rem;
  background: #be9270;
  color: #463324;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  min-width: 100%;
  text-align: center;
}

@media (max-width: 576px) {
  .wp-news-tag {
    display: none;
  }
}

.wp-news-link {
  flex: 1;
  overflow: hidden;
}

.wp-news-link a {
  color: #faf1d3;
  text-decoration: none;
  /* font-size: 1rem; */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  transition: color 0.3s ease;
}

.wp-news-link a:hover {
  color: #fff;
}

/* Banner Slider Dots */
#wp-news-banner-carousel .owl-dots {
  position: absolute;
  bottom: 10px;
  right: 15px;
  text-align: right;
}

#wp-news-banner-carousel .owl-dots .owl-dot span {
  background: rgba(255, 255, 255, 0.5);
  width: 8px;
  height: 8px;
  margin: 5px;
  transition: all 0.3s ease;
}

#wp-news-banner-carousel .owl-dots .owl-dot.active span,
#wp-news-banner-carousel .owl-dots .owl-dot:hover span {
  background: #be9270;
  width: 20px;
}

/* Banner Slider Arrows */
#wp-news-banner-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  pointer-events: none;
  z-index: 10;
}

#wp-news-banner-carousel .owl-nav button {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.4) !important;
  color: #fff !important;
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(190, 146, 112, 0.5) !important;
}

#wp-news-banner-carousel .owl-nav button:hover {
  background: #be9270 !important;
  color: #463324 !important;
  border-color: #be9270 !important;
}

#wp-news-banner-carousel .owl-nav button span {
  display: none;
}

.wp-news-date {
  color: #be9270;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.wp-main-char {
  position: relative;
  overflow: hidden;
  background: url(https://yulgangidle.playpark.com/wp-content/uploads/2026/03/bg-char.png);
  background-position: center;
}

.wp-char-bg {
  height: 100%;
  flex: 1;
  align-items: center;
  padding: 8rem 0 0 0;
  box-sizing: border-box;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  z-index: 0;
  background: url(https://yulgangidle.playpark.com/theme/sea/Footer-Image.jpg) lightgray 50% / cover no-repeat;
  /* padding: 8rem 0 0; */
}

.wp-ct-footer-icon6 {
  position: absolute;
  margin: 0 !important;
  top: 0;
  bottom: 0;
  left: -6.5rem;
  height: 100vh;
  /* object-fit: cover; */
  z-index: 0;
  flex-shrink: 0;
  top: 50%;
  transform: translateY(-50%);
}

.wp-char-title {
  padding: 0;
  margin-bottom: 1rem;
}

.wp-char-gif {
  width: 40%;
  position: relative;
  max-height: 100%;
  object-fit: cover;
}

.wp-char-gif img {transform: scale(1.5);}

.wp-char-tab {
  align-self: stretch;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  gap: 1.5rem;

}

.wp-char-tab a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 5px;
  white-space: nowrap;
}

.wp-char-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  width: 100%;
  z-index: 99;
  position: relative;
}

.wp-char-tab {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.wp-char-tab a {
  /* width: 60px;
  height: 60px;
  border-radius: 50%; */
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  transition: transform 0.3s ease, border-color 0.3s ease;
  filter: grayscale(1);
}

.wp-char-tab a:hover,
.wp-char-tab a.active {
  transform: scale(1.1);
  /* border-color: #be9270; */
  filter: grayscale(0);
}

.wp-char-desc {
  max-width: 550px;
  text-align: justify;
  /* margin-top: 1.5rem; */
  color: #000;
  font-size: 18px;
  line-height: 1.6;
  /* text-shadow: 1px 1px 2px rgba(0,0,0,0.8); */
}

.wp-icon-left,
.wp-icon-right {
  width: 40px;
  transition: transform 0.3s ease;
}

.wp-icon-left:hover,
.wp-icon-right:hover {
  transform: scale(1.1);
}

@media (max-width: 991px) {
  .wp-main-char {
    /* padding-top: 5rem !important; */
    padding-bottom: 3rem !important;
    /* background: url(https://yulgangidle.playpark.com/theme/sea/Footer-Image.jpg) center / cover no-repeat; */
  }

  /* .wp-char-bg {
    background: none;
    padding: 0;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
  } */

  .wp-char-bg img {
    max-height: 400px;
    object-fit: contain;
  }

  .wp-ct-footer-icon6 {
    display: none;
  }

  .wp-char-content {
    padding: 0 1rem;
  }

  .wp-char-gif {
    width: 12rem;
    margin: 1rem 0;
  }

  .wp-char-icon {
    margin-top: 2rem;
    padding: 0 1rem;
  }

  .wp-char-tab {
    gap: 0.5rem;
  }

  .wp-char-tab a {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 576px) {
  .wp-char-icon {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .wp-char-tab {
    order: 1;
    width: 100%;
  }

  .wp-icon-left,
  .wp-icon-right {
    order: 2;
    display: block !important;
    /* Force show arrows if hidden previously */
    width: 45px;
  }

  .wp-char-gif {
    width: 10rem;
  }

  .wp-char-desc p {
    font-size: 0.9rem;
  }
}