/* ==========================================================================
   SHB Star 2026 – Trang chủ
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero "LEVEL UP"
   -------------------------------------------------------------------------- */
.star-hero {
  position: relative;
  height: 746px;
  background-color: var(--star-cream);
  background-image: url("../images/hero-bg.jpg");
  background-repeat: no-repeat;
  background-position: center -54px;
  background-size: 100% auto;
}

.star-hero__inner {
  padding-top: 142px;
}

.star-hero__title {
  display: block;
  width: 624px;
  max-width: 100%;
  height: auto;
  margin: 0;
}

.star-hero__desc {
  width: 624px;
  max-width: 100%;
  margin: 22px 0 0;
  font-size: var(--body-size);
  line-height: var(--body-line);
  color: var(--raw-navy-2);
}

@media (max-width: 1279.98px) {
  .star-hero {
    height: 560px;
    background-position: center;
    background-size: cover;
  }

  .star-hero__inner {
    padding-top: 96px;
  }
}

@media (max-width: 767.98px) {
  .star-hero {
    height: 420px;
  }

  .star-hero__inner {
    padding-top: 56px;
  }

  .star-hero__desc {
    margin-top: 16px;
  }
}

/* --------------------------------------------------------------------------
   Tin tức
   -------------------------------------------------------------------------- */
.star-news {
  padding: 128px 0 80px;
}

.star-news__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.star-news__grid {
  position: relative;
  width: 100%;
}

.star-news__swiper {
  width: 100%;
  overflow: hidden;
}

.star-news__swiper .swiper-slide {
  height: auto;
}

.star-news__card {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 24px;
}

.star-news__thumb {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--star-radius);
}

.star-news__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
}

.star-news__tag {
  margin: 0;
  font-family: var(--star-font-body);
  font-weight: 700;
  font-size: 14px;
  line-height: 16px;
  color: var(--pr-100);
  text-transform: uppercase;
}

.star-news__title {
  margin: 0;
  font-family: var(--star-font-heading);
  font-weight: var(--font-semibold);
  font-size: 18px;
  line-height: 24px;
  color: var(--se-100);
}

.star-news__arrow {
  position: absolute;
  z-index: 2;
  top: 124px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.star-news__arrow--prev {
  left: -15.5px;
}

.star-news__arrow--prev img {
  transform: rotate(180deg) scaleY(-1);
}

.star-news__arrow--next {
  right: -15.5px;
}

.star-news__arrow--next img {
  transform: scaleY(-1);
}

.star-news__arrow.swiper-button-disabled {
  opacity: 0.4;
  cursor: default;
}

.star-news__arrow.swiper-button-lock,
.star-news__dots.swiper-pagination-lock {
  display: none;
}

/* --- Dots ------------------------------------------------------------------ */
.star-news__dots {
  position: static;
  display: flex;
  justify-content: center;
  gap: 8px;
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.star-news__dots .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  border-radius: 50%;
  background: var(--pr-40);
  opacity: 1;
}

.star-news__dots .swiper-pagination-bullet-active {
  background: var(--pr-100);
}

@media (max-width: 1279.98px) {
  .star-news {
    padding: 64px 0 48px;
  }

  .star-news__arrow {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .star-news {
    padding: 40px 0 32px;
  }

  .star-news__inner {
    gap: 32px;
  }

  .star-news__thumb {
    height: 200px;
  }
}

/* --------------------------------------------------------------------------
   Về SHB Star
   -------------------------------------------------------------------------- */
.star-about {
  position: relative;
  height: 900px;
  overflow: hidden;
  background: var(--pr-100);
  color: var(--star-white);
}

.star-about__rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.star-about__ring {
  position: absolute;
  top: 447px;
  left: calc(50% - 4px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.star-about__ring--1 {
  width: 1500px;
  height: 1500px;
  background: var(--raw-orange-mid);
}

.star-about__ring--2 {
  width: 1168px;
  height: 1168px;
  background: var(--pr-70);
}

.star-about__ring--3 {
  width: 844px;
  height: 844px;
  background: var(--pr-40);
}

.star-about__photo {
  width: 630px;
  height: 630px;
  object-fit: cover;
}

.star-about__content {
  position: relative;
  z-index: 1;
  height: 100%;
}

.star-about__title {
  position: absolute;
  top: 130px;
  left: 0;
  margin: 0;
  font-size: var(--h3-size);
  line-height: var(--h3-line);
  color: var(--se-5);
}

.star-about__title em {
  font-style: normal;
  color: var(--star-white);
}

.star-about__text {
  position: absolute;
  margin: 0;
  width: 296px;
  font-size: var(--body-size);
  line-height: var(--body-line);
  color: var(--star-white);
}

.star-about__text--left {
  top: 208px;
  left: 0;
}

.star-about__text--right {
  top: 604px;
  right: 0;
  width: 297px;
}

@media (max-width: 1279.98px) {
  .star-about {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    height: auto;
    padding: 64px 0;
  }

  .star-about__ring--1,
  .star-about__ring--2,
  .star-about__ring--3 {
    display: none;
  }

  .star-about__rings {
    display: none;
  }

  .star-about__content {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
  }

  .star-about__photo {
    order: 2;
    position: static;
    transform: none;
  }

  .star-about__title,
  .star-about__text,
  .star-about__text--left,
  .star-about__text--right {
    position: static;
    width: 100%;
    max-width: 520px;
  }

  .star-about__photo {
    width: 360px;
    height: 360px;
    max-width: 80vw;
    border-radius: 50%;
    border: 12px solid var(--pr-40);
  }
}

@media (max-width: 767.98px) {
  .star-about {
    padding: 40px 0;
  }

  .star-about__title {
    font-size: 28px;
    line-height: 34px;
  }

  .star-about__photo {
    width: 260px;
    height: 260px;
    border-width: 8px;
  }
}

/* --------------------------------------------------------------------------
   Giải thưởng
   -------------------------------------------------------------------------- */
.star-awards {
  position: relative;
  overflow: hidden;
  padding: 128px 0;
  background: var(--grad-navy);
  color: var(--star-white);
}

.star-awards__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.star-awards__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.star-awards__col-left {
  flex: 1 1 auto;
  min-width: 0;
}

.star-awards__title {
  margin: 10px 0 0;
  font-size: var(--h2-size);
  line-height: var(--h2-line);
  color: var(--star-white);
}

.star-awards__prize {
  display: block;
  width: 459px;
  max-width: 100%;
  height: auto;
  margin-top: 37px;
}

.star-awards__col-right {
  flex: 1 1 733px;
  min-width: 0;
  max-width: 733px;
}

/* --- Tab bar --------------------------------------------------------------- */
.star-awards__tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 16px 24px;
  margin: 0 0 15px;
  border-radius: 40px;
  background: var(--pr-11);
  list-style: none;
  --star-tab-pill: var(--raw-orange-bright);
}

.star-awards__tab {
  flex: 1 0 0;
  min-width: 0;
  padding: 10px 24px;
  border: 0;
  border-radius: 32px;
  background: none;
  font-family: var(--star-font-heading);
  font-weight: var(--font-semibold);
  font-size: var(--h6-size);
  line-height: var(--h6-line);
  color: var(--raw-orange-dark);
  text-align: center;
  cursor: pointer;
  transition: color 0.25s ease;
}

.star-awards__tab:focus,
.star-awards__tab:focus-visible {
  outline: none;
  box-shadow: none;
}

.star-awards__tab.active {
  color: var(--star-white);
}

/* --- Panel ----------------------------------------------------------------- */

.star-awards__panel {
  min-height: 376px;
  overflow-y: auto;
  padding: 32px 40px 32px 72px;
  border-radius: 24px;
  background: var(--raw-orange-bright);
  color: var(--star-white);
}

.star-awards__panel[hidden] {
  display: none;
}

.star-awards__group + .star-awards__group {
  margin-top: 24px;
}

.star-awards__group-title {
  margin: 0;
  font-family: var(--star-font-body);
  font-weight: 700;
  font-size: var(--body-size);
  line-height: var(--body-line);
}

.star-awards__list {
  margin: 0;
  padding-left: 24px;
  list-style: disc;
  font-size: var(--body-size);
  line-height: var(--body-line);
}

@media (max-width: 1279.98px) {
  .star-awards {
    padding: 64px 0;
  }

  .star-awards__inner {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .star-awards__col-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .star-awards__title {
    align-self: flex-start;
    width: 100%;
  }

  .star-awards__col-right {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }

  .star-awards__prize {
    display: block;
    width: min(459px, 85%);
    max-width: 100%;
    height: auto;
    margin: 24px auto 0;
  }

  .star-awards__panel {
    min-height: 0;
    padding: 32px;
  }
}

@media (max-width: 767.98px) {
  .star-awards {
    padding: 40px 0;
  }

  .star-awards__title {
    font-size: 28px;
    line-height: 34px;
  }

  .star-awards__tabs {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 24px;
  }

  .star-awards__tab {
    width: 100%;
    font-size: 16px;
    line-height: 24px;
  }

  .star-awards__panel {
    padding: 24px 20px;
  }
}

/* --------------------------------------------------------------------------
   Đặc quyền dành riêng
   -------------------------------------------------------------------------- */
.star-perks {
  position: relative;
  overflow: hidden;
  padding: 128px 0;
  background: var(--pr-100);
}

.star-perks__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  mix-blend-mode: multiply;
  transform: rotate(180deg);
  pointer-events: none;
}

.star-perks__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.star-perks__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  color: var(--star-white);
}

.star-perks__title {
  margin: 0;
  font-size: var(--h2-size);
  line-height: 44px;
}

.star-perks__subtitle {
  margin: 0;
  font-size: var(--body-size);
  line-height: var(--body-line);
}

.star-perks__grid {
  display: flex;
  gap: 32px;
  align-items: stretch;
  width: 100%;
}

.star-perks__card {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  flex-direction: column;
  gap: 21px;
  padding: 32px;
  border-radius: var(--star-radius);
  background: var(--star-white);
}

.star-perks__icon {
  display: flex;
  align-items: flex-end;
  height: 49px;
}

.star-perks__icon img {
  display: block;
  max-height: 100%;
  width: auto;
}

.star-perks__card-title {
  margin: 0 0 16px;
  font-family: var(--star-font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  color: var(--se-100);
}

.star-perks__card-desc {
  margin: 0;
  font-size: var(--body-size);
  line-height: var(--body-line);
  color: var(--se-70);
}

@media (max-width: 1279.98px) {
  .star-perks {
    padding: 64px 0;
  }

  .star-perks__grid {
    flex-wrap: wrap;
  }

  .star-perks__card {
    flex: 0 1 calc(50% - 16px);
  }
}

@media (max-width: 767.98px) {
  .star-perks {
    padding: 40px 0;
  }

  .star-perks__title {
    font-size: 28px;
    line-height: 34px;
  }

  .star-perks__card {
    flex: 0 1 100%;
    padding: 24px;
  }
}

/* --------------------------------------------------------------------------
   Timeline chương trình
   -------------------------------------------------------------------------- */

.star-timeline {
  --star-timeline-overlap: 26.06vw;
  position: relative;
  z-index: 2;
  overflow: visible;
  min-height: 85.81vw;
  padding: 128px 0;
  margin-bottom: calc(-1 * var(--star-timeline-overlap));
  background: url("../images/bgsectiontimeline.png") no-repeat center bottom /
    cover;
  color: var(--star-white);
}

.star-timeline__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.star-timeline__title {
  margin: 0;
  font-size: var(--h2-size);
  line-height: 44px;
  color: var(--star-white);
  text-align: center;
}

.star-timeline__list {
  display: flex;
  gap: clamp(24px, 6vw, 87px);
  align-items: stretch;
  justify-content: center;
  max-width: 1062px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.star-timeline__item {
  position: relative;
  display: flex;
  flex: 1 1 0;
  max-width: 296px;
  flex-direction: column;
  min-height: 438px;
  min-width: 0;
  border: 1px solid var(--star-white);
  border-radius: var(--star-radius);

  background: radial-gradient(
      146% 118% at 50% -15.5%,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0) 100%
    ),
    linear-gradient(180deg, rgba(46, 51, 90, 0) 0%, rgba(28, 27, 51, 0.1) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05), 0 15px 30px rgba(0, 0, 0, 0.05),
    0 30px 60px rgba(0, 0, 0, 0.2);
}

.star-timeline__item + .star-timeline__item::before {
  content: "";
  position: absolute;
  top: 191px;
  left: -65px;
  width: 42px;
  height: 44px;
  background: url("../images/timeline-arrow.png") no-repeat center / contain;
  transform: rotate(90deg);
}

.star-timeline__head {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 32px;
  border-radius: 15px 15px 0 0;
  background: linear-gradient(180deg, #f69154 0%, var(--pr-100) 100%);
}

.star-timeline__stage {
  margin: 0;
  font-family: var(--star-font-heading);
  font-weight: var(--font-semibold);
  font-size: 24px;
  line-height: 1.2;
  color: var(--pr-5);
  text-transform: uppercase;
}

.star-timeline__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 24px;
  padding: 28px;
}

.star-timeline__blocks {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 24px;
}

.star-timeline__label {
  margin: 0 0 8px;
  font-family: var(--star-font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: normal;
}

.star-timeline__text {
  margin: 0;
  font-size: var(--body-size);
  line-height: normal;
}

.star-timeline__date {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: 700;
  font-size: var(--body-size);
}

.star-timeline__date img {
  width: 16px;
  height: 16px;
}

@media (max-width: 1279.98px) {
  .star-timeline {
    --star-timeline-overlap: 12vw;
    padding: 64px 0;
  }

  .star-timeline__list {
    flex-wrap: wrap;
    gap: 24px;
  }

  .star-timeline__item {
    flex: 0 1 calc(50% - 12px);
    max-width: none;

    background: linear-gradient(180deg, #394a8e 0%, #32327f 100%);
  }

  .star-timeline__item + .star-timeline__item::before {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .star-timeline {
    padding: 40px 0;
  }

  .star-timeline__title {
    font-size: 28px;
    line-height: 34px;
  }

  .star-timeline__item {
    flex: 0 1 100%;
    min-height: 0;
  }

  .star-timeline__body {
    padding: 24px;
  }
}

/* --------------------------------------------------------------------------
   Wall of Inspiration
   -------------------------------------------------------------------------- */

.star-wall {
  position: relative;
  padding: calc(17.06vw + 48px) 0 0;
}

.star-wall__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

/* --- Tiêu đề --------------------------------------------------------------- */

.star-wall__title {
  position: relative;
  align-self: flex-end;
  margin: 0 0 8px;
  font-family: var(--star-font-body);
  font-weight: 700;
  font-size: 48px;
  line-height: 52px;
  color: var(--se-100);
  text-transform: uppercase;
  white-space: nowrap;
}

.star-wall__of {
  display: inline-block;
  width: 60px;
  height: 80px;
  margin: 0 4px -18px;
  background: url("../images/wall-of.svg") no-repeat center / contain;
  text-indent: -9999px;
  overflow: hidden;
}

/* --- Carousel -------------------------------------------------------------- */
.star-wall__grid {
  position: relative;
  width: 100%;
}

.star-wall__swiper {
  width: 100%;
  overflow: hidden;
  padding-bottom: 4px;
}

.star-wall__swiper .swiper-slide {
  height: auto;
}

/* --- Card ------------------------------------------------------------------ */
.star-wall__card {
  position: relative;
  width: 100%;
  aspect-ratio: 405 / 499;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(
      180deg,
      rgba(255, 139, 55, 0.7) 0%,
      rgba(227, 119, 43, 0.21) 51.9%,
      rgba(243, 112, 33, 0.7) 103.8%
    ),
    linear-gradient(
      180deg,
      rgba(255, 139, 55, 0.21) 0%,
      rgba(227, 119, 43, 0.08) 24.8%,
      rgba(243, 112, 33, 0.7) 103.8%
    );
  color: var(--star-white);
}

.star-wall__deco,
.star-wall__union {
  position: absolute;
  pointer-events: none;
}

.star-wall__deco {
  inset: 0;
  width: 100%;
  height: 100%;
}

.star-wall__union {
  top: 7.41%;
  right: 5.93%;
  bottom: 5.41%;
  left: 6.66%;
  width: auto;
  height: auto;
}

.star-wall__avatar {
  position: absolute;
  top: 24px;
  left: 1.98%;
  width: 46.66%;
  aspect-ratio: 400 / 380;
  z-index: 1;
}

.star-wall__avatar-img {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  clip-path: polygon(
    50% 6.58%,
    62.75% 31.05%,
    84.5% 37.89%,
    76.75% 58.95%,
    76.5% 88.68%,
    50% 80.53%,
    23.75% 87.89%,
    23.25% 58.95%,
    15.5% 38.16%,
    37% 31.05%
  );
}

.star-wall__avatar-frame {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.star-wall__person {
  position: absolute;
  z-index: 2;
  top: 25.65%;
  left: 43.7%;
  right: 12.59%;
  margin: 0;
}

.star-wall__name {
  display: block;
  font-weight: 700;
  font-size: 18px;
  line-height: 20px;
}

.star-wall__role {
  display: block;
  font-size: var(--body-size);
  line-height: 20px;
}

.star-wall__quote {
  position: absolute;
  top: 44.29%;
  right: 10.73%;
  bottom: 19.03%;
  left: 11.6%;
  margin: 0;
  font-size: var(--body-size);
  line-height: 22px;
  overflow: hidden;
}

/* --- Mũi tên + dots -------------------------------------------------------- */
.star-wall__arrow {
  position: absolute;
  z-index: 2;
  top: 244px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.star-wall__arrow--prev {
  left: -14px;
}

.star-wall__arrow--prev img {
  transform: rotate(180deg) scaleY(-1);
}

.star-wall__arrow--next {
  right: -14px;
}

.star-wall__arrow--next img {
  transform: scaleY(-1);
}

.star-wall__arrow.swiper-button-disabled {
  opacity: 0.4;
  cursor: default;
}

.star-wall__arrow.swiper-button-lock,
.star-wall__dots.swiper-pagination-lock {
  display: none;
}

.star-wall__dots {
  position: static;
  display: flex;
  justify-content: center;
  gap: 8px;
  width: auto;
  margin: 0;
}

.star-wall__dots .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  border-radius: 50%;
  background: var(--pr-40);
  opacity: 1;
}

.star-wall__dots .swiper-pagination-bullet-active {
  background: var(--pr-100);
}

@media (max-width: 1279.98px) {
  .star-wall {
    padding: calc(12vw + 32px) 0 64px;
  }

  .star-wall__arrow {
    display: none;
  }

  .star-wall__title {
    align-self: center;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .star-wall {
    padding: calc(12vw + 24px) 0 40px;
  }

  .star-wall__title {
    font-size: 28px;
    line-height: 32px;
  }

  .star-wall__of {
    width: 36px;
    height: 48px;
    margin-bottom: -10px;
  }

  .star-wall__quote {
    font-size: 14px;
    line-height: 19px;
  }
}

