/* font-family */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');
/* import files */
@import url("../css/auth.css");
@import url("../css/header_footer.css");
@import url("../css/font.css");

/* ==========================================================================
   GLOBAL BODY & MAIN CONTENT STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
}

body {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  color: #e5e0f5;
  overflow-x: hidden;
  background: #000 url('../images/body-bg.png') no-repeat top center / cover;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #c084fc;
}

.container {
  max-width: 100%;
  /* padding: 0 150px; */
  /*padding: 0 clamp(20px, 3vw, 150px);*/
  padding: 0 clamp(12px, calc(18.0556vw - 196.67px), 150px);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

body.nav-open {
  overflow: hidden;
}

/* HERO BANNER SECTION */
.hero-banner-section {
  padding: 150px 0;
  height: 564px;
  position: relative;
  width: 100%;
  background: url(../images/home/banner-bg.png)no-repeat;
  background-position: top center;
  background-size: cover;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-background {
  position: relative;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-bg-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.banner-logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65%;
  max-width: 750px;
  pointer-events: none;
}

.banner-logo-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 25px rgba(168, 85, 247, 0.6));
}

/* MAIN LAYOUT GRID */
.main-content {
  padding: 35px 0 60px;
  position: relative;
  z-index: 5;
}

.main-grid {
  display: grid;
  grid-template-columns: 210px 1fr 210px;
  gap: 24px;
  align-items: start;
  width: 100%;
  min-width: 0;
  /* Critical for CSS Grid track constraint */
}

/* SIDEBAR CARDS */
.left-sidebar,
.right-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.sidebar-card {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(22, 12, 36, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.sidebar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.45);
  border-color: rgba(168, 85, 247, 0.6);
}

.card-img-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
}

.sidebar-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Cyan accent card styling for left bottom card */


.sidebar-card.cyan-card .sidebar-img {
  border-radius: 12px;
}

/* CENTER CONTENT AREA */
.center-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
  min-width: 0;
  /* CRITICAL: prevents Owl Carousel / flex children from expanding grid column */
  width: 100%;
}

/* CHAPTER INFO BOX */
.chapter-info-box {
  background: #FFFFFF1C;
  border-radius: 15px;
  border: 1.5px solid rgba(138, 56, 245, 0.5);
  padding: 28px 30px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(64px);
  -webkit-backdrop-filter: blur(64px);
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.chapter-main-title {
  font-family: 'Base02', 'Roboto Condensed', sans-serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 2px;
  color: #ffffff;
  margin: 0 0 4px 0;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(192, 132, 252, 0.5);
}

.post-date {
  font-size: 14px;
  color: #a49bbb;
  margin: 0 0 16px 0;
}

.chapter-description {
  font-size: 14px;
  line-height: 1.65;
  color: #c9c3e0;
  margin: 0 0 14px 0;
}

.read-more-link {
  color: #c084fc;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 4px;
}

.read-more-link:hover {
  color: #e9d5ff;
  text-shadow: 0 0 8px rgba(192, 132, 252, 0.8);
}

/* SECTION DIVIDER */
.section-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 22px 0 20px;
  color: #ffffff;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.6px;
  vertical-align: middle;
  text-transform: uppercase;

}

.section-divider::before {
  content: '';
  flex: 1;
  background: url(../images/home/left-border.png)no-repeat;
  background-position: top center;
  background-size: contain;
  height: 4px;
  width: 100%;
}

.section-divider::after {
  content: '';
  flex: 1;
  background: url(../images/home/right-border.png)no-repeat;
  background-position: top center;
  background-size: contain;
  height: 4px;
  width: 100%;
}

.section-divider span {
  padding: 0 18px;
}

/* OTHER CHAPTERS OWL CAROUSEL */
.other-chapters-carousel {
  position: relative;
  width: 100% !important;
  min-width: 0;
  display: block;
}

.other-chapters-carousel .owl-stage-outer {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

/*.other-chapters-carousel .owl-stage {
  display: flex;
}*/

.other-chapters-carousel .owl-item {
  min-width: 0;
}

.other-chapters-carousel .owl-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin: 15px auto 0;
}

.other-chapters-carousel button.owl-dot {
  background: #bbbbbb73;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.other-chapters-carousel button.owl-dot.active {
  background: #AE64FF;
  width: 28px !important;
  border-radius: 90px;
}

.chapter-card {
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(30, 16, 48, 0.65);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 10px;
  transition: all 0.25s ease;
}

.chapter-card:hover {
  border-color: #c084fc;
  box-shadow: 0 6px 16px rgba(192, 132, 252, 0.3);
}

.chapter-thumb {
  width: 100%;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
}

.chapter-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chapter-badge {
  margin-top: 8px;
  font-weight: 500;
  font-size: 15px;
  text-align: center;
  color: #ffffff;
  padding: 5px 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* CHAPTER READER WRAPPER */
.chapter-reader-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  width: 100%;
}

.chapter-reader-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reader-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #AE64FF;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0;

}

.reader-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  padding: 8px 15px;
  color: #ffffff;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.action-btn:hover {
  background: rgba(192, 132, 252, 0.25);
  border-color: #c084fc;
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.4);
}

.action-btn svg {
  color: #d8b4fe;
}

.share-btn {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* READER FRAME & MAIN COMIC DISPLAY */
.reader-frame {
  position: relative;
  background: linear-gradient(156.67deg, rgba(138, 56, 245, 0.5) -4.29%, rgba(138, 56, 245, 0.2) 49.59%, rgba(138, 56, 245, 0.5) 103.46%);
  padding: 3px;
  border-radius: 15px;
  backdrop-filter: blur(74px);
  overflow: hidden;
}

.reader-image-container {
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
}

.reader-comic-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.not-subscribe {
  position: relative;
}

.not-subscribe::after {
  content: '';
  background: #00000080;
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
}

.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 1;
}

.overlay-content span {
  margin-bottom: 15px;
  display: block
}

.overlay-content p {
  font-weight: 600;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0.8px;
  text-align: center;
  text-transform: uppercase;
}

.btn-subscribe {
  background: linear-gradient(90deg, #892DFF 0%, #AE64FF 100%);
  padding: 12px 30px;
  border: 1px solid #FFFFFF4A;
  display: block;
  margin: 20px auto 0;
  box-shadow: 0px 4px 23px 0px #892DFF99;
  border-radius: 90px;
  color: #fff;
  width: fit-content;
}

.btn-subscribe:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(217, 70, 239, 0.6);
}

/* ==========================================================================
   NEWS PAGE SPECIFIC STYLES
   ========================================================================== */
.news-body {
  background: url('../images/news/news-body.png') no-repeat top center / cover;
}

.news-section {
  margin: -13em auto 0;
  z-index: 1;
  position: relative;
}

.news-banner-section {
  position: relative;
  width: 100%;
  padding: 150px 0 30px;
  height: 564px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: url('../images/news/news-bg.png') no-repeat center center / cover;
  text-align: center;
  overflow: hidden;
}

.news-banner-title {
  font-family: 'Driftline', cursive, sans-serif;
  font-size: 114px;
  font-weight: 400;
  color: #AE64FF;
  margin: 0;
  letter-spacing: 2px;
}

/* NEWS HEADER TOP BAR */
.news-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 20px;
}

.news-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.news-main-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 0 10px rgba(174, 100, 255, 0.4);
}

.news-subtitle {
  font-size: 13px;
  color: #a49bbb;
  margin: 0;
}

/* SEARCH INPUT BOX */
.news-search-box {
  position: relative;
  max-width: 432px;
  width: 100%;
}

.news-search-box::before {
  content: '';
  position: absolute;
  top: 11px;
  left: 46px;
  border-right: 1px solid #AE64FF4D;
  height: 25px;
  /* width: 10px; */
  z-index: 1;
}

.news-search-box .form-control {
  width: 100%;
  background: #FFFFFF26;
  border: 1px solid #FFFFFF33;
  backdrop-filter: blur(54px);
  border-radius: 9px;
  padding: 12px 12px 12px 55px;
  font-weight: 300;
  font-size: 16px;
  color: #F7F8FC;
  outline: none;
  transition: all 0.3s ease;
}

.news-search-box .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.news-search-box .form-control:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: #AE64FF;
  box-shadow: 0 0 12px rgba(174, 100, 255, 0.4);
}

.news-search-box .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  z-index: 1;
}

/* NEWS ARTICLES GRID */
.news-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.news-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #FFFFFF1F;
  backdrop-filter: blur(74px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(174, 100, 255, 0.4);
  border-color: #AE64FF;
}

.news-card-img-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  background: #FFFFFF1F;
}

.news-card-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.news-card-body {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(10, 4, 20, 0.95) 75%);
  padding: 20px 16px 12px;
}

.news-card-title {
  font-weight: 500;
  font-size: 18px;
  color: #fff;
  margin: 0 0 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-card-date {
  color: #BBBBBB;
  font-weight: 400;
  font-size: 14px;
  vertical-align: middle;
  margin: 0;
}

/* PAGINATION */
/* PAGINATION */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}

.news-pagination .page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-weight: 500;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  /* background blur (Figma "Effects") */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: #FFFFFF14;
  position: relative;
}

/* Before after */
.news-pagination .page-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  /* covers the full circle */
  border-radius: 50%;
  padding: 2px;
  /* controls border thickness */
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.65) 0%,
      /* bright highlight, top-left */
      rgba(255, 255, 255, 0.05) 35%,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.5) 100%
      /* dark shadow, bottom-right */
    );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.news-pagination .page-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  /* covers the full circle */
  border-radius: 50%;
  padding: 2px;
  /* controls border thickness */
  background: linear-gradient(312deg,
      rgba(255, 255, 255, 0.65) 0%,
      /* bright highlight, top-left */
      rgba(255, 255, 255, 0.05) 35%,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.5) 100%
      /* dark shadow, bottom-right */
    );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.news-pagination .page-btn:hover svg path {
  stroke: #892DFF;

}

.news-pagination .page-btn:hover::before {
  background: linear-gradient(135deg,
      rgba(138, 56, 245, 0.65) 0%,
      /* bright highlight, top-left */
      rgba(138, 56, 245, 0.05) 35%,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.5) 100%
      /* dark shadow, bottom-right */
    );
}

.news-pagination .page-btn:hover::after {
  background: linear-gradient(312deg,
      rgba(138, 56, 245, 0.65) 0%,
      /* bright highlight, top-left */
      rgba(138, 56, 245, 0.05) 35%,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.5) 100%
      /* dark shadow, bottom-right */
    );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Before after */
.news-pagination .page-btn.active {
  color: #AE64FF;
  background: linear-gradient(156.67deg, rgba(138, 56, 245, 0.3) -4.29%, rgba(138, 56, 245, 0.12) 49.59%, rgba(138, 56, 245, 0.3) 103.46%);
}

.news-pagination .page-btn.active::before {
  background: linear-gradient(135deg,
      rgba(138, 56, 245, 0.65) 0%,
      /* bright highlight, top-left */
      rgba(138, 56, 245, 0.05) 35%,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.5) 100%
      /* dark shadow, bottom-right */
    );

}

.news-pagination .page-btn.active::after {
  background: linear-gradient(312deg,
      rgba(138, 56, 245, 0.65) 0%,
      /* bright highlight, top-left */
      rgba(138, 56, 245, 0.05) 35%,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.5) 100%
      /* dark shadow, bottom-right */
    );
}

/* ==========================================================================
   COMMUNITY FORUM STYLES (community.css)
   ========================================================================== */
.community-body {
  background: url('../images/community/community-body.png') no-repeat top center / cover;
}

/* Overlapping margin to pull content over banner, matches news.html */
.community-section {
  margin: -13em auto 0;
  z-index: 1;
  position: relative;
  margin-bottom: 60px;
}

/* FORUM HEADER & TOP ACTIONS BAR */
.forum-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: relative;
  width: 100%;
}

.forum-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.forum-main-title {
  color: #AE64FF;
  font-weight: 700;
  font-size: 35px;
  margin: 0;
  text-shadow: 0 0 10px rgba(174, 100, 255, 0.4);
}

.forum-subtitle {
  font-weight: 400;
  font-size: 16px;
  color: #BBBBBB;
  margin: 0;
}

.forum-tabs-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.forum-tabs {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #FFFFFF1A;
  padding: 6px;
  border-radius: 90px;
  position: relative;
}

.forum-tabs::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;

  background: linear-gradient(156.67deg,
      rgba(138, 56, 245, 0.5) -4.29%,
      rgba(138, 56, 245, 0.2) 49.59%,
      rgba(138, 56, 245, 0.5) 103.46%);

  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;
  z-index: -1;
}

.forum-tab {
  background: #00000061;
  border: 0;
  /* border: 1.5px solid rgba(174, 100, 255, 0.3); */
  border-radius: 50px;
  padding: 10px 17px;
  color: #BBBBBB;
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Roboto Condensed', sans-serif;
  position: relative;
}

.forum-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(225, 225, 225, 0.1) 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  padding: 1px;
  border-radius: 90px;

}

.forum-tab:hover {
  background: linear-gradient(90deg, rgba(137, 45, 255, 0.35) 0%, rgba(174, 100, 255, 0.35) 100%);
  text-shadow: 0px 4px 4px #00000073;
  color: #AE64FF;
}

.forum-tab.active {
  background: linear-gradient(90deg, rgba(137, 45, 255, 0.35) 0%, rgba(174, 100, 255, 0.35) 100%);
  text-shadow: 0px 4px 4px #00000073;
  color: #AE64FF;
  position: relative;

}

.forum-tab.active::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(137, 45, 255, 0.35) 0%, rgba(174, 100, 255, 0.35) 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  padding: 1px;
  border-radius: 90px;
}

.btn-create-new {
  background: linear-gradient(90deg, #892DFF 0%, #AE64FF 100%);
  border: none;
  border-radius: 50px;
  padding: 15px 30px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(174, 100, 255, 0.4);
  font-family: 'Roboto Condensed', sans-serif;
  white-space: nowrap;
}

.btn-create-new:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(174, 100, 255, 0.6);
  color: #ffffff;
}


/* FORUM FEED POST CARDS */
.forum-posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.forum-card {
  background: #FFFFFF1F;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(74px);
  -webkit-backdrop-filter: blur(74px);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}


.forum-card:hover {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 12px 35px rgba(138, 56, 245, 0.35);
  transform: translateY(-2px);
}

.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-name {
  font-weight: 500;
  font-size: 18px;
  color: #FFFFFF;
}

.post-title {
  font-weight: 600;
  font-size: 18px;
  vertical-align: middle;
  color: #AE64FF;
  transition: color 0.3s ease;
  margin-bottom: 7px;
}

.post-title:hover {
  color: #e9d5ff;
}

.post-body-text {
  font-weight: 400;
  font-size: 15px;
  color: #BBBBBB;
  margin: 0;
  transition: all 0.3s ease;
}

.post-body-text.collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-read-more {
  color: #AE64FF;
  font-weight: 700;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
  display: inline-block;
  margin-top: 4px;
  text-align: left;
}

.post-read-more:hover {
  color: #d8b4fe;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
  padding-top: 15px;
  font-size: 13px;
  color: #a49bbb;
}

.post-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.post-actions::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 46px;
  bottom: 0;
  background: #AE64FF;
  width: 1px;
  height: 14px;
  margin: 0 auto;
  text-align: center;
}

.post-action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: #a49bbb;
  cursor: pointer;
  padding: 0;
  font-size: 13px;
  transition: all 0.2s ease;
  font-family: 'Roboto Condensed', sans-serif;
}

.post-action-btn svg {
  stroke: #a49bbb;
  fill: none;
  width: 17px;
  height: 17px;
  transition: all 0.2s ease;
}

.post-action-btn:hover {
  color: #c084fc;
}

.post-action-btn:hover svg {
  stroke: #c084fc;
}

.post-action-btn.liked {
  color: #ff4757;
}

.post-action-btn.liked svg {
  stroke: #ff4757;
  fill: #ff4757;
}

.comment-participants {
  display: flex;
  align-items: center;
  margin-left: 5px;
}

.participant-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #160c24;
  margin-left: -6px;
  overflow: hidden;
}

.participant-avatar:first-child {
  margin-left: 0;

}

.participant-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: -2.77px 0px 2.08px 0px #00000073;

}

.post-timestamp {
  font-size: 13px;
  color: #a49bbb;
}

/* MODAL OVERLAY AND CARD STYLES */
.forum-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 4, 20, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.forum-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.forum-modal-card {
  background: rgba(22, 12, 36, 0.95);
  border: 1.5px solid rgba(138, 56, 245, 0.5);
  border-radius: 20px;
  width: 90%;
  max-width: 550px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(138, 56, 245, 0.25);
  transform: translateY(-25px);
  transition: transform 0.3s ease;
}

.forum-modal-overlay.open .forum-modal-card {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 15px;
}

.modal-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.btn-close-modal {
  background: none;
  border: none;
  color: #a49bbb;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
}

.btn-close-modal:hover {
  color: #ffffff;
}

.sub-success-modal .modal-body {
  display: flex;
  flex-direction: column;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  color: #a49bbb;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control-custom {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 10px 14px;
  color: #ffffff;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 15px;
  transition: all 0.3s ease;
  outline: none;
}

.form-control-custom:focus {
  border-color: #AE64FF;
  box-shadow: 0 0 10px rgba(174, 100, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

textarea.form-control-custom {
  min-height: 110px;
  resize: vertical;
}

.avatar-selection-row {
  display: flex;
  gap: 12px;
  margin-top: 5px;
}

.avatar-option {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-option.selected {
  border-color: #AE64FF;
  transform: scale(1.1);
  box-shadow: 0 0 8px rgba(174, 100, 255, 0.5);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 15px;
}

.btn-cancel {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 8px 22px;
  color: #ffffff;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-cancel:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-submit-post {
  background: linear-gradient(135deg, #8A38F5 0%, #AE64FF 100%);
  border: none;
  border-radius: 50px;
  padding: 8px 25px;
  color: #ffffff;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 0 10px rgba(174, 100, 255, 0.3);
}

.btn-submit-post:hover {
  box-shadow: 0 0 15px rgba(174, 100, 255, 0.5);
}

/* ==========================================================================
   COMMUNITY MODALS STYLES
   ========================================================================== */

/* General Modal Container Customization */
.community-modal .modal-content {
  position: relative;
  background: #191818;
  border: 1px solid transparent;
  /* fallback color for border-image */
  border-radius: 20px;
  color: #ffffff;
  padding: 30px;
}

.community-modal .modal-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  /* match parent's radius */
  padding: 1px;
  /* controls border thickness */
  background: linear-gradient(156.67deg,
      rgba(255, 255, 255, 0.5) -4.29%,
      rgba(255, 255, 255, 0.2) 49.59%,
      rgba(255, 255, 255, 0.5) 103.46%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.community-modal .modal-header {
  border-bottom: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}

.community-modal .modal-body {
  padding: 0 15px 15px 0;
  max-height: 80vh;
  overflow-y: auto;
}

#createTopicModal .modal-header {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #FFFFFF1A;
}

/* Scrollbar for modal content */
.community-modal .modal-body::-webkit-scrollbar {
  width: 6px;
}

.community-modal .modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}

.community-modal .modal-body::-webkit-scrollbar-thumb {
  background: rgba(174, 100, 255, 0.3);
  border-radius: 10px;
}

.community-modal .modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(174, 100, 255, 0.5);
}

.community-modal .btn-close-custom {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 20px;
  transition: color 0.2s ease;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.community-modal .btn-close-custom:hover {
  color: #ffffff;
}

/* User Profile Row in Header */
.modal-user-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-user-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.modal-user-name {
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
}

/* Post Contents inside Comments Modal */
.modal-post-title {
  font-weight: 700;
  font-size: 20px;
  color: #c084fc;
  margin: 15px 0;
}

.modal-post-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 10px;
}

.modal-post-text.collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.modal-post-readmore {
  color: #ae64ff;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 20px;
  display: inline-block;
}

.modal-post-readmore:hover {
  color: #d8b4fe;
}

/* Post Metadata Row */
.modal-post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.modal-meta-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.modal-meta-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}

.modal-meta-btn:hover {
  color: #ffffff;
}

.modal-meta-btn svg path {
  stroke: rgba(255, 255, 255, 0.6);
}

.modal-meta-btn:hover svg path {
  stroke: #ffffff;
}

.modal-participants-list {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.modal-participant-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 0.35px solid #FFFFFF2E;
  margin-left: -6px;
  object-fit: cover;
}

.modal-participant-avatar:first-child {
  margin-left: 0;
}

.modal-post-date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* Comments Section Title & Sort Dropdown */
.comments-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.comments-count-title {
  font-weight: 700;
  font-size: 22px;
  /*  color: #ffffff;*/
  color: #AE64FF;

  margin: 0;
}

.comments-sort-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.comments-sort-select {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #FFFFFF33;
  color: #ffffff;
  border-radius: 8px;
  padding: 12px 50px 12px 12px;
  font-size: 13px;
  outline: none;
  cursor: pointer;
  -moz-appearance: window;
  -webkit-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  background: url(../images/down-arrow.png) no-repeat 90% center !important;
}

.comments-sort-select option {
  color: #ffffff;
  background-color: #13082a;
}

/* Override browser blue selected highlight — linear-gradient is the only Chrome-compatible trick */
.comments-sort-select option:checked {
  background: linear-gradient(#ae64ff, #ae64ff);
  color: #ffffff;
}

/* Comment Box Editor Structure */
.comment-editor-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(174, 100, 255, 0.25);
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 25px;
}

.editor-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.editor-name-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.editor-name-input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 14px;
  width: 100%;
  outline: none;
}

.editor-name-input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.editor-textarea {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 14px;
  width: 100%;
  min-height: 70px;
  outline: none;
  resize: none;
  line-height: 1.5;
}

.editor-textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Toolbar & Button row */
.editor-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  flex-wrap: wrap;
  gap: 15px;
}

.editor-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
}

.editor-toolbar-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.editor-toolbar-btn:hover {
  color: #ae64ff;
}

.btn-comment-submit {
  background: linear-gradient(90deg, #892dff 0%, #ae64ff 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 24px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(174, 100, 255, 0.4);
  transition: transform 0.2s ease, filter 0.2s ease;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.btn-comment-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}

/* User Comments List */
.comments-list-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.comment-card {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 13px;
  padding: 20px;
  display: flex;
  gap: 15px;
}

.comment-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-content-block {
  flex: 1;
  word-wrap: anywhere;
}

.comment-user-name {
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 4px;
}

.comment-body-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Comment Action row (like, dislike, reply) */
.comment-actions-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.comment-action-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.comment-action-btn:hover {
  color: #ffffff;
}

.comment-action-btn.reply-link {
  color: #ae64ff;
  font-weight: 600;
}

.comment-action-btn.reply-link:hover {
  color: #d8b4fe;
}

/* ==========================================================================
   CREATE TOPIC MODAL STYLES
   ========================================================================== */

.create-topic-form-group {
  margin-bottom: 20px;
}

.create-topic-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.create-topic-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.create-topic-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.create-topic-input:focus {
  border-color: #ae64ff;
  box-shadow: 0 0 12px rgba(174, 100, 255, 0.25);
  background: rgba(174, 100, 255, 0.05);
}

.create-topic-textarea {
  min-height: 250px;
  resize: none;
  line-height: 1.6;
}

.create-topic-footer {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  padding-top: 15px;
}

.btn-topic-submit {
  background: linear-gradient(90deg, #892dff 0%, #ae64ff 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 45px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(174, 100, 255, 0.45);
  transition: transform 0.2s ease, filter 0.2s ease;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.btn-topic-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/*-------------Community [ END ] ------------*/

/* ==========================================================================
   SUBSCRIPTION PAGE STYLES (.subscription-section & .sub-success-modal)
   ========================================================================== */
.subscription-body {
  background: url(../images/subscription-body.png) no-repeat top center / cover;
}

.subscription-section {
  position: relative;
  z-index: 5;
  margin: -13em auto 0;
}

.subscription-card-box {
  background: url(../images/sub-bg.png)no-repeat;
  background-position: center;
  background-size: cover;
  padding: 35px 30px;
  width: 100%;
  /* height: 564px; */
  height: auto;
  /* box-shadow: 0 10px 35px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.05); */
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}

/* .subscription-card-box::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: url(../images/sub-top.png)no-repeat;
  background-position: top;
  background-size: cover;
  height: 39px;
} */
.sub-cover-wrapper {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(138, 56, 245, 0.35);
  transition: all 0.3s ease;
}

.sub-cover-wrapper:hover {
  border-color: rgba(174, 100, 255, 0.8);
  box-shadow: 0 0 35px rgba(174, 100, 255, 0.6);
}

.sub-cover-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 16px;
}

.sub-heading {
  font-weight: 700;
  font-size: 40px;
  color: #AE64FF;
  margin-bottom: 20px;
}

.sub-option-box {
  background: #FFFFFF08;
  border-radius: 13px;
  padding: 25px;
  transition: border-color 0.3s ease;
  position: relative;
}

.sub-option-box::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.3px;
  background: linear-gradient(156.67deg, rgba(138, 56, 245, 0.5) -4.29%, rgba(138, 56, 245, 0.2) 49.59%, rgba(138, 56, 245, 0.5) 103.46%);
  /* Show only border */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  border-radius: 13px;


}

.sub-option-box:hover {
  border-color: rgba(174, 100, 255, 0.3);
}

.sub-option-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
}

.sub-icon-badge {
  width: 92px;
  height: 92px;
  min-width: 92px;
  border-radius: 50%;
  background: radial-gradient(198.37% 198.37% at 50% 50%, #000000 0%, #892DFF 100%);
  border: 1px solid rgba(174, 100, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-option-title {
  font-weight: 600;
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 4px;
}

.sub-option-desc {
  color: #BBBBBB;
  margin-bottom: 0;
  font-weight: 400;
  font-size: 16px;
  vertical-align: middle;

}

.sub-input-row {
  display: flex;
  align-items: center;
  background: #191818;
  border: 1px solid #FFFFFF33;
  border-radius: 50px;
  padding: 4px 4px 4px 18px;
  transition: border-color 0.3s ease;
}

.sub-input-row:focus-within {
  border-color: rgba(174, 100, 255, 0.6);
  box-shadow: 0 0 12px rgba(174, 100, 255, 0.25);
}

.sub-email-input {
  background: transparent;
  border: none;
  color: #F7F8FC;
  font-weight: 300;
  font-size: 15px;
  width: 100%;
  outline: none;
  font-family: 'Roboto Condensed', sans-serif;
}

.sub-email-input::placeholder {
  color: rgb(247 248 252 / 40%);
}

.btn-sub-trigger {
  background: linear-gradient(90deg, #892DFF 0%, #AE64FF 100%);
  color: #ffffff;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 12px 24px;
  border-radius: 50px;
  border: none;
  letter-spacing: 0.8px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(174, 100, 255, 0.4);
}

.btn-sub-trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(174, 100, 255, 0.7);
  color: #ffffff;
}

.sub-rss-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.sub-rss-link {
  color: #c084fc;
  text-decoration: underline;
  transition: color 0.25s ease;
}

.sub-rss-link:hover {
  color: #e9d5ff;
}

/* Follow Us Section */
.sub-social-section {
  margin-top: 35px;
  text-align: center;
}

.sub-social-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin-bottom: 25px;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sub-social-divider::before {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(174, 100, 255, 0) 0%, #AE64FF 100%);
}

.sub-social-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(325deg, rgba(174, 100, 255, 0) 0%, #AE64FF 100%);
}

.sub-social-divider span {
  padding: 0 16px;
  color: #d1c4e9;
  font-weight: 700;
}

.sub-social-icons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.sub-social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #FFFFFF14;

  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  position: relative;
}

.sub-social-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  /* covers the full circle */
  border-radius: 50%;
  padding: 2px;
  /* controls border thickness */
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.65) 0%,
      /* bright highlight, top-left */
      rgba(255, 255, 255, 0.05) 35%,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.5) 100%
      /* dark shadow, bottom-right */
    );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.sub-social-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  /* covers the full circle */
  border-radius: 50%;
  padding: 2px;
  /* controls border thickness */
  background: linear-gradient(312deg,
      rgba(255, 255, 255, 0.65) 0%,
      /* bright highlight, top-left */
      rgba(255, 255, 255, 0.05) 35%,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.5) 100%
      /* dark shadow, bottom-right */
    );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.sub-social-icon:hover svg path {
  fill: #892DFF;

}

.sub-social-icon:hover::before {
  background: linear-gradient(135deg,
      rgba(138, 56, 245, 0.65) 0%,
      /* bright highlight, top-left */
      rgba(138, 56, 245, 0.05) 35%,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.5) 100%
      /* dark shadow, bottom-right */
    );
}

.sub-social-icon:hover::after {
  background: linear-gradient(312deg,
      rgba(138, 56, 245, 0.65) 0%,
      /* bright highlight, top-left */
      rgba(138, 56, 245, 0.05) 35%,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.5) 100%
      /* dark shadow, bottom-right */
    );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Modal Popup Styles */
.modal {
  background: #0000005e;
  backdrop-filter: blur(14px);
  z-index: 9999;
}

.sub-success-modal .modal-content {
  background: #191818;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  padding: 30px 20px 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(138, 56, 245, 0.2);
}

.sub-success-modal .modal-backdrop {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.success-icon-container {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.success-icon-ring-outer {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgb(82 82 82 / 40%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon-ring-inner {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgb(82 82 82 / 20%);
  box-shadow: 0px 8.37px 34.9px 0px #0000001A;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-icon-badge {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-success-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.modal-success-text {
  font-weight: 400;
  font-size: 14px;
  text-align: center;
  color: rgb(255 255 255 / 70%);
  margin-bottom: 32px;
}

.btn-modal-continue {
  background: linear-gradient(90deg, #892DFF 0%, #AE64FF 100%);
  border: 1px solid #FFFFFF4A;
  color: #ffffff;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 12px 30px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0px 4px 23px 0px #892DFF99;
  width: fit-content;
  margin: 0 auto;
  text-align: center;

}

.btn-modal-continue:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(174, 100, 255, 0.8);
}

/* -----------------------------Fandom [ START ] -------------------- */
.fandom-body {
  background: url(../images/fandom/fandom-body.png)no-repeat top center / cover;
}

.fandom-section {
  margin: -13em auto 0;
  position: relative;
  z-index: 1;
}

.fandom-data h3 {
  font-family: 'Base02';
  font-weight: 400;
  font-size: 45px;
  letter-spacing: 0.8px;
  text-shadow: 0px 4px 11px #8A38F599;
  margin-bottom: 14px;
}

.fandom-data p {
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0%;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.fandom-data p b {
  font-weight: 700;
  color: #AE64FF;
}

.fandom-bx {
  background: #FFFFFF1F;
  backdrop-filter: blur(74px);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 30px;
}

.fand-item h4 {
  color: #AE64FF;
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 14px;
}

.fand-item p {
  font-weight: 400;
  font-size: 16px;
  color: #fff;
  margin-bottom: 0;
}

/* Fandom Images Styling */
.fandom-section .subscription-card-box .sub-cover-img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 16px;
}

.fandom-section .subscription-card-box .sub-cover-wrapper {
  box-shadow: 0 0 25px 5px rgba(174, 100, 255, 0.4);
  border: 2px solid rgba(174, 100, 255, 0.6);
  border-radius: 16px;
  background: transparent;
}

.fandom-section .fandom-bx .sub-cover-img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
}

.fandom-section .fandom-bx .sub-cover-wrapper {
  box-shadow: 0 0 25px 5px rgba(174, 100, 255, 0.4);
  border: 2px solid rgba(174, 100, 255, 0.6);
  border-radius: 16px;
  background: transparent;
}

/* -----------------------------Fandom [ END ]----------------------- */

/* ==========================================================================
   SHOP SECTION SPECIFIC STYLES (shop.css)
   ========================================================================== */
.shop-body {
  background: url(../images/shop/shop-body.png)no-repeat top center / cover;
}

.shop-section {
  margin: -13em auto 0;
  z-index: 2;
  position: relative;
  margin-bottom: 60px;
}

/* Shop Filter Bar */
.shop-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 20px;
}

.shop-tabs {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  background: #FFFFFF1A;
  padding: 6px;
  border-radius: 90px;
  position: relative;
}

.shop-tabs::before {
  content: '';
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  /* Border thickness */
  border-radius: inherit;
  background: linear-gradient(156.67deg, rgba(138, 56, 245, 0.5) -4.29%, rgba(138, 56, 245, 0.2) 49.59%, rgba(138, 56, 245, 0.5) 103.46%);
  /* Show only border */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  pointer-events: none;

}

.shop-tab {
  background: #00000017;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 10px 17px;
  color: #BBBBBB;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Roboto Condensed', sans-serif;
}

/* .shop-tab:hover {
  color: #ffffff;
  border-color: rgba(174, 100, 255, 0.5);
  background: rgba(174, 100, 255, 0.1);
} */

.shop-tab.active {
  background: linear-gradient(90deg, rgba(137, 45, 255, 0.35) 0%, rgba(174, 100, 255, 0.35) 100%);
  border-color: #FFFFFF4A;
  color: #ffffff;
  text-shadow:
    0px 0px 8px #AE64FF,
    0px 4px 4px #00000073;
  color: #AE64FF;

}

/* Search and Sort */
.shop-search-sort {
  display: flex;
  align-items: center;
  gap: 15px;
}

.shop-search-box {
  position: relative;
  min-width: 320px;
  width: 100%;
}

.shop-search-box .search-icon {
  position: absolute;
  left: 15px;
  top: 52%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 1;
}

.shop-search-box::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 47px;
  border-right: 1px solid rgba(174, 100, 255, 0.3);
  height: 20px;
  z-index: 1;
}

.shop-search-box .shop-form-control {
  padding-left: 58px;
}

.shop-form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 9px;
  padding: 12px 20px;
  font-weight: 300;
  font-size: 15px;
  color: #ffffff;
  outline: none;
  transition: all 0.3s ease;
}

.shop-form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.shop-form-control:focus {
  border-color: #AE64FF;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 10px rgba(174, 100, 255, 0.3);
}

.shop-sort-box {
  position: relative;
  width: 160px;
}

.shop-sort-box select.shop-form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 35px;
  cursor: pointer;
}

.shop-sort-box select.shop-form-control option {
  background-color: #1a0f2e;
  /* Match theme's dark purple hue */
  color: #ffffff;
}

.shop-sort-box::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23AE64FF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Product Grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

/* Product Card */
.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
  text-decoration: none !important;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.4), 0 0 40px rgba(174, 100, 255, 0.1);
  transition: box-shadow 0.3s ease;
  overflow: hidden;
  border-radius: 20px;
}

.product-card:hover .product-img-box {
  box-shadow: 0px 15px 35px rgba(137, 45, 255, 0.25), 0px 5px 15px rgba(0, 0, 0, 0.3);
}

.product-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 20px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-title {
  color: #ffffff;
  margin: 0 0 3px 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.3px;
  text-align: center;
  transition: color 0.3s ease;
}

.product-card:hover .product-title {
  color: #AE64FF;
}

.product-price {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.3px;
  text-align: center;
  margin: 0;
  text-transform: uppercase;
  color: #AE64FF;
}

.shop-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  font-size: 18px;
  color: #a49bbb;
}

/* ==========================================================================
   PRODUCT DETAIL SECTION STYLES
   ========================================================================== */
.product-detail-body {
  background: url(../images/shop/product-body.png)no-repeat top center / cover;
}

.product-detail-section {
  margin: -13em auto 0;
  z-index: 2;
  position: relative;
  margin-bottom: 60px;
}

.product-detail-header-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.btn-back-shop {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-gap: 15px;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.btn-back-shop:hover {
  transform: translateX(-3px);
}

.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #FFFFFF14;
  border-radius: 50%;
  position: relative;
  border: 0;
}

.icon-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  /* covers the full circle */
  border-radius: 50%;
  padding: 2px;
  /* controls border thickness */
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.65) 0%,
      /* bright highlight, top-left */
      rgba(255, 255, 255, 0.05) 35%,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.5) 100%
      /* dark shadow, bottom-right */
    );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.icon-circle::after {
  content: "";
  position: absolute;
  inset: 0;
  /* covers the full circle */
  border-radius: 50%;
  padding: 2px;
  /* controls border thickness */
  background: linear-gradient(312deg,
      rgba(255, 255, 255, 0.65) 0%,
      /* bright highlight, top-left */
      rgba(255, 255, 255, 0.05) 35%,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.5) 100%
      /* dark shadow, bottom-right */
    );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.icon-circle:hover svg path {
  stroke: #892DFF;

}

.icon-circle:hover::before {
  background: linear-gradient(135deg,
      rgba(138, 56, 245, 0.65) 0%,
      /* bright highlight, top-left */
      rgba(138, 56, 245, 0.05) 35%,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.5) 100%
      /* dark shadow, bottom-right */
    );
}

.icon-circle:hover::after {
  background: linear-gradient(312deg,
      rgba(138, 56, 245, 0.65) 0%,
      /* bright highlight, top-left */
      rgba(138, 56, 245, 0.05) 35%,
      rgba(0, 0, 0, 0) 55%,
      rgba(0, 0, 0, 0.5) 100%
      /* dark shadow, bottom-right */
    );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}








.btn-share-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-share-icon:hover {
  background: rgba(174, 100, 255, 0.2);
  border-color: #AE64FF;
  transform: scale(1.05);
}

/* Main Detail Glass Card */
.product-detail-card {
  background: #FFFFFF1F;
  backdrop-filter: blur(74px);
  -webkit-backdrop-filter: blur(74px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  margin-bottom: 50px;
}

/* Gallery Wrapper (Thumbnails stacked left, Main Image right) */
.product-gallery-wrapper {
  display: flex;
  gap: 30px;
  align-items: stretch;
}

.product-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100px;
  flex-shrink: 0;
}

.thumb-item {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0.3;
}

.thumb-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.thumb-item.active {
  transform: scale(1.03);
  opacity: 1;
}

.product-main-img-box {
  flex-grow: 1;
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  /* min-height: 400px;
  max-height: 440px; */
  overflow: hidden;
}

.product-main-img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

/* Right Info Box */
.product-info-box {
  padding-left: 20px;
}

.product-detail-title {
  font-weight: 300;
  font-size: 38px;
  color: rgb(255 255 255 / 80%);
  margin-bottom: 3px;
  line-height: normal;
}

.product-detail-price {
  color: #AE64FF;
  font-weight: 600;
  font-size: 28px;
  margin-bottom: 15px;
}

.product-detail-desc {
  font-weight: 400;
  font-size: 16px;
  color: #BBBBBB;
  margin-bottom: 20px;
}

.product-detail-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.qty-pill-control {
  display: flex;
  align-items: center;
  background: #FFFFFF1A;
  border: 1px solid rgba(174, 100, 255, 0.5);
  border-radius: 50px;
  padding: 6px;
  gap: 15px;
}

.qty-btn {
  background: linear-gradient(90deg, #892DFF 0%, #AE64FF 100%);
  border: none;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.qty-btn:hover {
  background: #AE64FF;
  transform: scale(1.1);
}

.qty-val {
  color: #ffffff;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  min-width: 20px;
  text-align: center;
}

.btn-detail-add-cart {
  background: linear-gradient(90deg, #892DFF 0%, #AE64FF 100%);
  border: none;
  border-radius: 50px;
  padding: 14px 28px;
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0px 4px 23px 0px #892DFF99;
  transition: all 0.3s ease;
  font-family: 'Roboto Condensed', sans-serif;
  text-transform: uppercase;
  position: relative;
  border: 1px solid #FFFFFF4A
}

.btn-detail-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 25px rgba(174, 100, 255, 0.6);
  color: #ffffff;
}

/* Other Products Carousel Section */
.other-products-section {
  margin-top: 40px;
}

.other-products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.other-products-title {
  font-size: 32px;
  font-weight: 700;
  color: #AE64FF;
  margin: 0;
  text-shadow: 0 0 12px rgba(174, 100, 255, 0.4);
}

.other-products-nav {
  display: flex;
  gap: 12px;
}

.other-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(90deg, #892DFF 0%, #AE64FF 100%);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(137, 45, 255, 0.4);
  transition: all 0.3s ease;
}

.other-nav-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(174, 100, 255, 0.6);
}

/* ==========================================================================
   CART & CHECKOUT STYLES
   ========================================================================== */

/* Cart Section & General Layout */
.cart-section,
.checkout-section {
  position: relative;
  margin: -22em auto 0;
}

/* Cart Header Bar */
.cart-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.cart-title {
  font-size: 36px;
  font-weight: 700;
  color: #AE64FF;
  margin: 0;
  text-shadow: 0 0 15px rgba(174, 100, 255, 0.4);
}

.cart-remove-all {
  color: #FF4D4D;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cart-remove-all:hover {
  color: #ff6b6b;
  text-shadow: 0 0 10px rgba(255, 77, 77, 0.5);
}

/* Cart Items List */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 25px;
}

.cart-item-card {
  background: #FFFFFF1F;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.cart-item-card:hover {
  border-color: rgba(174, 100, 255, 0.4);
  box-shadow: 0 12px 35px rgba(137, 45, 255, 0.25);
}

.cart-item-img {
  width: 90px;
  height: 90px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.2);
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-title {
  font-weight: 400;
  font-size: 22px;
  color: #fff;
  margin-bottom: 4px;
}

.cart-item-subtitle {
  font-weight: 400;
  font-size: 15px;
  color: #fff;
  margin-bottom: 0;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-shrink: 0;
}

/* Qty Selector Pill */
.qty-selector {
  display: inline-flex;
  align-items: center;
  background: #FFFFFF1A;
  border-radius: 30px;
  padding: 6px;
  gap: 14px;
  position: relative;
}

.qty-selector::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  /* Border thickness */
  border-radius: inherit;
  background: linear-gradient(156.67deg, rgba(138, 56, 245, 0.5) -4.29%, rgba(138, 56, 245, 0.2) 49.59%, rgba(138, 56, 245, 0.5) 103.46%);
  /* Show only border */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.btn-qty {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(90deg, #892DFF 0%, #AE64FF 100%);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(137, 45, 255, 0.4);
}

.btn-qty:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(174, 100, 255, 0.6);
}

.qty-value {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  min-width: 20px;
  text-align: center;
}

.cart-item-price {
  font-weight: 600;
  font-size: 26px;
  min-width: 60px;
  text-align: right;
}

.btn-cart-remove {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-cart-remove:hover {
  transform: scale(1.15);
}

.btn-cart-remove svg path {
  transition: stroke 0.2s ease;
}

.btn-cart-remove:hover svg path {
  stroke: #ff2a2a;
}

/* Subtotal Bar */
.cart-flex {
  display: flex;
  align-items: center;
  grid-gap: 10px;
}

.cart-subtotal-bar {
  background: linear-gradient(156.67deg, rgba(138, 56, 245, 0.15) -4.29%, rgba(138, 56, 245, 0.06) 49.59%, rgba(138, 56, 245, 0.15) 103.46%);
  width: 100%;

  border: 1px solid rgba(174, 100, 255, 0.3);
  border-radius: 50px;
  padding: 10px 10px 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.subtotal-label-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
}

.subtotal-label {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.subtotal-amount {
  font-size: 24px;
  font-weight: 700;
  color: #AE64FF;
  text-shadow: 0 0 12px rgba(174, 100, 255, 0.4);
}

.btn-checkout {
  background: linear-gradient(90deg, #892DFF 0%, #AE64FF 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 12px 30px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(137, 45, 255, 0.6);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(174, 100, 255, 0.8);
  color: #ffffff;
}

/* Cart Promo Sidebar */
.cart-promo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.promo-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(174, 100, 255, 0.2);
  transition: transform 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-4px);
}

.promo-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}

/* ==========================================================================
   CHECKOUT WIZARD STYLES
   ========================================================================== */

/* Wizard Step Progress Header */
.checkout-wizard-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 550px;
  margin: 0 auto 40px;
  position: relative;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  gap: 10px;
}

.step-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a6899;
  font-weight: 700;
  transition: all 0.3s ease;
}

.step-circle svg path {
  stroke: #5d5274;
  transition: stroke 0.3s ease;
}

/* Active Step (e.g. Details step active: dark center + bright purple ring border) */
.step-item.active:not(.completed) .step-circle {
  background: linear-gradient(156.67deg, rgba(138, 56, 245, 0.5) -4.29%, rgba(138, 56, 245, 0.2) 49.59%, rgba(138, 56, 245, 0.5) 103.46%);
  border: 3px solid #AE64FF;
  box-shadow: 0 0 18px rgba(174, 100, 255, 0.4);
}

.step-item.active:not(.completed) .step-circle svg path {
  stroke: #a79cb8;
}

/* Completed Step (e.g. Cart step completed: solid bright purple fill) */
.step-item.completed .step-circle {
  background: linear-gradient(135deg, #892DFF 0%, #AE64FF 100%);
  border: 1px solid #AE64FF;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(174, 100, 255, 0.6);
}

.step-item.completed .step-circle svg path {
  stroke: #ffffff;
}

.step-label {
  color: #8c7ba8;
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  transition: color 0.3s ease;
}

.step-item.completed .step-label,
.step-item.active .step-label {
  color: #ffffff;
}

.step-line {
  flex-grow: 1;
  height: 9px;
  background: #FFFFFF38;
  backdrop-filter: blur(4px);
  margin-top: -24px;
  position: relative;
  z-index: 1;
  transition: background 0.3s ease;
}

.step-line.active {
  background: linear-gradient(90deg, #892DFF 0%, #AE64FF 100%);
  box-shadow: 0 0 10px rgba(174, 100, 255, 0.5);
}

/* Checkout Form Cards */
.checkout-card {
  background: #FFFFFF1F;
  backdrop-filter: blur(24px);
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 25px;
}

.checkout-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.checkout-card-title {
  font-weight: 600;
  font-size: 28px;
  vertical-align: middle;
  color: #fff;
  margin: 0;
}

.btn-card-edit {
  color: #AE64FF;
  font-size: 16px;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.btn-card-edit:hover {
  color: #d8b4fe;
  text-shadow: 0 0 8px rgba(174, 100, 255, 0.6);
}

/* Summary Read-only Content */
.checkout-summary-text {
  color: #cfc5e0;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* Form Inputs */
.checkout-form-group {
  margin-bottom: 18px;
}

.checkout-label {
  font-weight: 400;
  font-size: 14px;
  color: #FFFFFF;
  margin-bottom: 8px;
  display: block;


}

.checkout-input,
.checkout-select {
  width: 100%;
  background: #191818;
  border: 1px solid #FFFFFF33;
  border-radius: 9px;
  padding: 12px 18px;
  color: #ffffff;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}

.checkout-input:focus,
.checkout-select:focus {
  border-color: #AE64FF;
  box-shadow: 0 0 12px rgba(174, 100, 255, 0.35);
  background: rgba(26, 16, 43, 0.95);
}

.checkout-input::placeholder {
  color: #63527a;
}

.checkout-select option {
  background: #211438;
  color: #ffffff;
}

/* Intel phone */
.iti input,
.iti input[type=text],
.iti input[type=tel] {
  background: #191818;
  border: 1px solid #FFFFFF33;
  width: 100%;
  padding: 12px 18px 12px 80px !important;
  border-radius: 9px;
}

.iti__flag {
  display: none;
}

.iti--separate-dial-code .iti__selected-flag {
  background: transparent;
}

.iti {
  width: 100%;
}

.iti__arrow {
  border: 0;
  background: url(../images/down-arrow.png)no-repeat;
  background-position: center;
  background-size: cover;
  width: 11px;
  height: 6px;
}

.iti--separate-dial-code .iti__selected-flag {
  border-right: 1px solid #FFFFFF33;
}

/* Action Button Container */
.checkout-actions-row {
  display: flex;
  justify-content: center;
  margin-top: 35px;
  margin-bottom: 20px;
}

.btn-wizard-action {
  background: linear-gradient(90deg, #892DFF 0%, #AE64FF 100%);
  border: 1px solid #FFFFFF4A;
  border-radius: 90px;
  padding: 12px 70px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0px 4px 23px 0px #892DFF99;
  transition: all 0.3s ease;
  font-family: 'Roboto Condensed', sans-serif;
  color: #fff;
}

.btn-wizard-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(174, 100, 255, 0.8);
}

/* Order Summary Sidebar Card */
.order-summary-card {
  background: #FFFFFF1F;
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(74px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.order-summary-title {
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 20px;
  color: #AE64FF;
  text-shadow: 0 0 12px rgba(174, 100, 255, 0.4);
}

.summary-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  background: #FFFFFF1A;
  padding: 15px;
  border-radius: 19px;
  border: 1px solid #FFFFFF2E;
}

.summary-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #FFFFFF1A;
  padding-bottom: 10px;
}

.summary-item-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.summary-item-img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.2);
}

.summary-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary-item-info {
  flex-grow: 1;
}

.summary-item-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 2px 0;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.summary-item-subtitle {
  font-size: 12px;
  color: #a79cb8;
  margin: 0 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  /* number of lines, not a height */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.summary-item-price {
  font-size: 15px;
  font-weight: 700;
  color: #AE64FF;
}

.btn-summary-remove {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-summary-remove svg path {
  transition: stroke 0.2s ease;
}

.btn-summary-remove:hover svg path {
  stroke: #ff2a2a;
}

.summary-divider {
  height: 1px;
  border-bottom: 1px solid #FFFFFF1A;
  margin: 15px 0;
}

.summary-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 18px;
  vertical-align: middle;

}

.summary-calc-row span:first-child {
  color: #BBBBBB;
  font-weight: 400;
}

.summary-calc-row.total-row {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  padding-top: 15px;
  margin-top: 15px;
  margin-bottom: 0;
  border-top: 1px solid #AE64FF;
}

/* ==========================================================================
   MANAGE PROFILE PAGE STYLES
   ========================================================================== */
.mprofile-section,
.ohistory-section {
  position: relative;
  z-index: 1;
  margin: -21em auto 0;
}

.mprofile-card {
  background: url(../images/sub-bg.png) no-repeat;
  background-size: cover;
  background-position: top center;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
  padding: 35px 40px;
  margin-bottom: 25px;
  width: 100%;
  height: 590px;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.mprofile-card:last-child {
  margin-bottom: 0;
  margin-top: 60px;
}

.mprofile-card-title {
  font-weight: 700;
  font-size: 38px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

/* Profile Photo Section */
.mprofile-photo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  text-align: center;
}

.mprofile-avatar-circle {
  width: 93px;
  height: 93px;
  border-radius: 50%;
  position: relative;
  margin-bottom: 15px;
}

.mprofile-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.mprofile-photo-edit-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #892dff 0%, #ae64ff 100%);
  border: 2px solid #160c24;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.mprofile-photo-edit-badge:hover {
  transform: scale(1.1);
}

.mprofile-photo-text {
  font-weight: 500;
  font-size: 15px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.mprofile-upload-link {
  color: #AE64FF;
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  transition: color 0.2s ease;
  text-decoration: none;
}

.mprofile-upload-link:hover {
  color: #d8b4fe;
  text-decoration: underline;
}

/* Profile Form Controls */
.mprofile-form {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.mprofile-form-group {
  margin-bottom: 18px;
}

.mprofile-label {
  display: block;
  font-weight: 400;
  font-size: 14px;

  color: #fff;
  margin-bottom: 8px;
}

.mprofile-input-wrapper {
  position: relative;
  width: 100%;
}

.mprofile-input {
  width: 100%;
  height: auto;
  background: #191818;
  border: 1px solid #FFFFFF33;
  border-radius: 10px;
  padding: 12px 48px 12px 16px;
  color: #ffffff;
  font-weight: 300;
  font-size: 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mprofile-input::placeholder {
  color: rgb(247 248 252 / 40%);
  opacity: 1;
}

.mprofile-input:focus {
  outline: none;
  border-color: #ae64ff;
  box-shadow: 0 0 12px rgba(174, 100, 255, 0.35);
  background: #180c29;
}

.mprofile-input-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  color: #ae64ff;
  cursor: pointer;
  z-index: 2;
}

.mprofile-input-icon svg {
  display: block;
}

/* Submit Button */
.mprofile-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.mprofile-submit-btn {
  background: linear-gradient(90deg, #892dff 0%, #ae64ff 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 15px 40px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(174, 100, 255, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  text-transform: uppercase;
  border: 1px solid #FFFFFF4A;
}

.mprofile-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(174, 100, 255, 0.7);
  filter: brightness(1.1);
  color: #ffffff;
}

.mprofile-submit-btn:active {
  transform: translateY(0);
}

/* Error state for mprofile inputs */
.mprofile-input.input-error {
  border-color: rgba(255, 100, 100, 0.55) !important;
  box-shadow: 0 0 0 2px rgba(255, 80, 80, 0.12) !important;
}


/* Toast Modal Styling */
.profile-toast-modal .modal-content {
  background: #160c24;
  border: 1px solid rgba(174, 100, 255, 0.4);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);

}

/* ---------------Delete Modal --------- */
.dlog-modal .modal-content {
  background: #FFFFFF24;
  border-top: 4px solid transparent;
  /* fallback color needed for browsers without border-image support */
  border-image-slice: 1;
  /* required — without this, border-image-source won't render */
  border-image-source: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 50%,
      rgba(255, 255, 255, 0) 100%);
  box-shadow: 0px 17px 54px 0px #00000070;
  -webkit-backdrop-filter: blur(34.16px);
  /* Safari support */
  backdrop-filter: blur(34.16px);
  /* fixed: 345px was almost certainly a typo, that would blur everything to mush */
  padding: 30px;
  border-radius: 20px;
}

.dlog-modal .modal-content h4 {
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 30px;
  color: #ffffff;
}

.btn-flx {
  display: flex;
  gap: 20px;
  align-items: center;
}

.btn-no {
  background: linear-gradient(156.67deg, rgba(138, 56, 245, 0.5) -4.29%, rgba(138, 56, 245, 0.2) 49.59%, rgba(138, 56, 245, 0.5) 103.46%);
  border: 1px solid #FFFFFF4A;
  box-shadow: 0px 4px 23px 0px #892DFF99;
  padding: 12px 40px;
  border-radius: 90px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #ffffff;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-yes {
  background: linear-gradient(90deg, #892DFF 0%, #AE64FF 100%);
  border: 1px solid #FFFFFF4A;
  box-shadow: 0px 4px 23px 0px #892DFF99;
  padding: 12px 40px;
  border-radius: 90px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  width: 100%;
  color: #ffffff;
  transition: all 0.3s ease;

}

.btn-flx button:hover {
  transform: translateY(-1px);
}

/* -------------Delete Modal End------------- */
/* ==========================================================================
   ORDER HISTORY PAGE STYLES
   ========================================================================== */
.order-body {
  background: url(../images/order/order-body.png) no-repeat top center / cover;
}

.order-history-container {
  width: 100%;
}

.order-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.order-history-title {
  font-weight: 700;
  font-size: 40px;
  color: #AE64FF;
  margin: 0;
  text-shadow: 0 0 15px rgba(174, 100, 255, 0.4);
}

/* Tabs Navigation Styling */
.order-tabs-wrapper {
  position: relative;
  border: 1px solid transparent;
  /* keeps layout spacing consistent */
  background: #FFFFFF1A;
  border-radius: 50px;
  padding: 6px;
  display: flex;
  align-items: center;
  grid-gap: 8px;
  backdrop-filter: blur(74px);
  -webkit-backdrop-filter: blur(74px);
}

.order-tabs-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  /* match parent's radius */
  padding: 1px;
  /* controls border thickness */
  background: linear-gradient(156.67deg,
      rgba(138, 56, 245, 0.5) -4.29%,
      rgba(138, 56, 245, 0.2) 49.59%,
      rgba(138, 56, 245, 0.5) 103.46%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  /* so it doesn't block clicks on tabs */
}

.order-tab-btn {
  background: #00000017;
  border: none;
  color: #BBBBBB;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

/*  */
.order-tab-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%,
      /* bright highlight, top-left */
      rgba(255, 255, 255, 0.05) 35%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.5) 100%
      /* dark shadow, bottom-right */
    );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.order-tab-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(312deg, rgba(255, 255, 255, 0.65) 0%,
      /* bright highlight, top-left */
      rgba(255, 255, 255, 0.05) 35%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.5) 100%
      /* dark shadow, bottom-right */
    );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.order-tab-btn.active::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%,
      /* bright highlight, top-left */
      rgba(138, 56, 245, 0.05) 35%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.5) 100%
      /* dark shadow, bottom-right */
    );
}

.order-tab-btn.active::after {
  background: linear-gradient(320deg, rgba(255, 255, 255, 0.65) 0%,
      /* bright highlight, top-left */
      rgba(138, 56, 245, 0.05) 35%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.5) 100%
      /* dark shadow, bottom-right */
    );
}

/*  */

.order-tab-btn.active {

  background: linear-gradient(90deg, rgba(137, 45, 255, 0.35) 0%, rgba(174, 100, 255, 0.35) 100%);
  color: #AE64FF;
  text-shadow:
    0px 0px 8px #AE64FF,
    0px 4px 4px rgba(0, 0, 0, 0.45);

}

/* Order Cards List Container */
.order-list-content {
  display: none;
  background: url(../images/order/order-bg.png)no-repeat;
  background-size: cover;
  /* background-position: top center; */
  width: 100%;
  padding: 50px 30px;
}

.order-list-content.active {
  display: block;
}

/* Order Main Card styling */
.order-history-card {
  background: #FFFFFF1A;
  border-radius: 13px;
  padding: 15px;
  backdrop-filter: blur(54px);
  box-shadow: 0px 9px 24px 0px #00000040;

  margin-bottom: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.order-history-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.35);
}

/* Card Header */
.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;

}

.order-id-txt {
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.order-price-txt {
  font-weight: 700;
  font-size: 18px;
  color: #ae64ff;
}

/* Items row container */
.order-items-grid {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* Single Item Box inside Card */
.order-item-box {
  background: #0000004D;
  border-radius: 13px;
  padding: 10px 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 280px;
  max-width: 100%;
}

.order-item-thumb {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 13px;
}

.order-item-info {
  display: flex;
  flex-direction: column;
}

.order-item-title {
  font-weight: 600;
  font-size: 15px;
  color: #ffffff;
  margin: 0 0 3px 0;
}

.order-item-subtitle {
  font-weight: 400;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* Card Footer */
.order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

/* Status Badges */
.status-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  display: inline-block;
  text-transform: capitalize;
}

.status-badge.pending {
  background: linear-gradient(156.67deg, rgba(138, 56, 245, 0.5) -4.29%, rgba(138, 56, 245, 0.2) 49.59%, rgba(138, 56, 245, 0.5) 103.46%);
  color: #AE64FF;

}

.status-badge.confirmed {
  background: rgba(41, 128, 185, 0.3);
  color: #3498db;
}

.status-badge.delivered {
  background: rgba(39, 174, 96, 0.3);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.4);
}

.order-date-txt {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   ORDER DETAILS MODAL STYLES (Bootstrap 5 Customization)
   ========================================================================== */

.order-details-modal .modal-content {
  background: #191818;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
  color: #ffffff;
  padding: 10px 15px;
}

.order-details-modal .modal-header {
  border-bottom: none;
  padding: 20px 20px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-title-flex {
  display: flex;
  align-items: center;
  gap: 15px;
}

.order-details-modal .modal-title {
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.5px;
}

.order-details-modal .btn-close-custom {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 20px;
  transition: color 0.2s ease;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-details-modal .btn-close-custom:hover {
  color: #ffffff;
}

.order-details-modal .modal-body {
  padding: 10px 20px 20px 20px;
}

/* Left/Right Column Boxes */
.modal-info-card {
  background: #00000033;
  border: 1px solid #FFFFFF1F;
  backdrop-filter: blur(120px);
  border-radius: 13px;
  padding: 15px;
  margin-bottom: 20px;
}

.modal-info-card-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 15px;
  color: #ffffff;
  text-transform: none;
}

/* Order Details Table List */
.details-list,
.detail-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: #FFFFFF1A;
  border: 1px solid #FFFFFF1A;
  border-radius: 13px;
  box-shadow: 0px 8px 24px 0px #00000040;
  backdrop-filter: blur(54px);
  padding: 10px;

}

.details-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.details-row .label-col {
  font-size: 15px;
  font-weight: 400;
  color: #BEBEBE;

}

.details-row .value-col {
  color: #AE64FF;
  font-weight: 600;
  font-size: 15px;
  text-align: right;
}

.details-row .value-col.purple-text {
  color: #ae64ff;
  font-weight: 500;
}

/* Address Card styles */
.address-name-flex {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.address-name {
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
}

.address-badge {
  font-size: 10px;
  font-weight: 600;
  color: #ae64ff;
  border: 1px solid rgba(174, 100, 255, 0.4);
  padding: 2px 8px;
  border-radius: 50px;
  text-transform: uppercase;
}

.address-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 4px;
}

.address-phone {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Modal Items List */
.modal-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-item-row {
  background: #0000004D;
  border-radius: 13px;
  padding: 10px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-item-thumb {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border-radius: 6px;
}

.modal-item-info {
  flex: 1;
}

.modal-item-title {
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
  margin: 0;
}

.modal-item-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* Modal Pricing Box */
.modal-summary-box {
  background: #FFFFFF1A;
  border: 1px solid #FFFFFF1A;
  border-radius: 13px;
  box-shadow: 0px 8px 24px 0px #00000040;
  backdrop-filter: blur(54px);
  padding: 15px;
  margin: 15px 0;

}

.modal-summary-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 12px 0;
}

.total-price-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
}

.total-price-flex .total-price-val {
  color: #ae64ff;
  font-size: 18px;
}

/* Modal Footer Actions */
.modal-footer-custom {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.btn-cancel-order {
  background: transparent;
  border: none;
  color: #ef4444;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.btn-cancel-order:hover {
  color: #f87171;
  transform: scale(1.03);
}

.info-bx {
  background: #FFFFFF12;
  border: 1px solid #FFFFFF1A;
  border-radius: 13px;
  box-shadow: 0px 8px 24px 0px #00000040;
  backdrop-filter: blur(54px);
  padding: 15px;
}

/* Terms & condition */
.terms-body {
  background: url(../images/terms-body.png) no-repeat top center / cover;
}

.terms-section {
  margin: -13em auto 0;
  position: relative;
  z-index: 1;
}

.terms-bx {
  background: url(../images/terms-bg.png)no-repeat;
  background-size: cover;
  background-position: top center;
  padding: 60px 40px;
  height: auto;
}

.terms-bx p {
  font-weight: 400;
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 12px;

}

/* ---------------------------------News Detail------------- */
/* ── Article Header ─────────────────────────────────────── */
.nd-article-title {
  font-weight: 700;
  font-size: 35px;
  color: #fff;
}

.nd-post-date {
  font-weight: 400;
  font-size: 14px;
  vertical-align: middle;
  color: #BBBBBB;
  margin: 0;
}

/* ── Hero Image ─────────────────────────────────────────── */
.nd-hero-img-wrapper {
  width: 100%;
  border-radius: 23px;
  overflow: hidden;
  box-shadow: 0px 0px 14px 10px #AE64FF33;
  background: linear-gradient(156.67deg, #8A38F5 -4.29%, rgba(138, 56, 245, 0.4) 49.59%, #8A38F5 103.46%);
  padding: 2px;
}

.nd-hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 23px;
  object-fit: cover;
}

/* ── Article Body Text ──────────────────────────────────── */
.nd-article-body {
  background: #FFFFFF1C;
  border-radius: 14px;
  border: 1px solid rgba(138, 56, 245, 0.35);
  padding: 20px;
  backdrop-filter: blur(64px);
  -webkit-backdrop-filter: blur(64px);
  margin-bottom: 28px;
}

.nd-article-body p {
  font-weight: 300;
  font-size: 15px;
  line-height: 24px;
  color: #fff;
  margin: 0 0 16px 0;
}

.nd-article-body p:last-child {
  margin-bottom: 0;
}

/* ── Other Articles Section ─────────────────────────────── */
.nd-other-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.nd-other-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 0 10px rgba(174, 100, 255, 0.35);
}

.nd-view-all {
  font-size: 16px;
  font-weight: 700;
  color: #AE64FF;
  text-decoration: none;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.nd-view-all:hover {
  color: #d8b4fe;
}

.nd-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px;
}

/* Three-column article cards */
.nd-other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.nd-article-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #FFFFFF1F;
  backdrop-filter: blur(74px);
  -webkit-backdrop-filter: blur(74px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.nd-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(174, 100, 255, 0.4);
}

.nd-card-img-wrap {
  position: relative;
  width: 100%;
}

.nd-card-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* .nd-card-tag {
  background: #AE64FF33;
  color: #AE64FF;
  font-weight: 400;
  font-size: 13px;
  vertical-align: middle;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 90px;
} */

.nd-card-body {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nd-card-date {
  color: #BBBBBB;
  font-weight: 400;
  font-size: 13px;
  vertical-align: middle;
  margin-bottom: 0;
}

.nd-card-title {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-body-text {
  word-wrap: break-word;
}

/*-------------*/
.news-articles-contenT {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* height: 100%; */
  min-height: 100vh;
}

.modal-body .btn-flx button {
  width: 76%;
}

button.comment-action-btn.comment-like-btn.active-like svg path {
  fill: #ae64ff;
}

button.comment-action-btn.comment-dislike-btn.active-dislike svg path {
  fill: #ae64ff;
}

.comment-body-text img {
  max-width: 200px;
  max-height: 200px;
}

#chapter-comment-form textarea.form-control {
    height: 45px !important;
}