:root {
  /* Color Palette */
  --popup_bg_overlay: rgba(14, 14, 6, 0.45);
  --popup_primary_text: #0E0E06;
  --popup_brand_color: #503D42;
  --popup_secondary_text: rgba(14, 14, 6, 0.75);
  --popup_tag_bg: #FFFFFF;
  --popup_tag_border: rgba(14, 14, 6, 0.5);
 
  /* Fonts */
  --popup_font_sans: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --popup_font_serif: 'Times New Roman', Times, Baskerville, Georgia, serif;
 
  /* Animation Curves */
  --popup_transition_ease: cubic-bezier(0.16, 1, 0.3, 1);
  --popup_transition_duration: 400ms;
}
 
.popup_newlaunch_demo_wrapper {
  text-align: center;
  animation: fadeIn 1s var(--popup_transition_ease);
}
#popup_newlaunch_modal.fade {
    background: #000000ad;
}
.popup_newlaunch_trigger_btn {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 16px 36px;
  font-size: 16px;
  font-family: var(--popup_font_sans);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 40px;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--popup_transition_ease);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
}
 
.popup_newlaunch_trigger_btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: all 0.6s var(--popup_transition_ease);
}
 
.popup_newlaunch_trigger_btn:hover {
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0px 8px 30px rgba(80, 61, 66, 0.4);
}
 
.popup_newlaunch_trigger_btn:hover::before {
  left: 100%;
}
 
.popup_newlaunch_trigger_btn:active {
  transform: translateY(0);
}
 
/* ==========================================================================
   BOOTSTRAP 4 MODAL & OVERLAY CUSTOMIZATION
   ========================================================================== */
/* Premium Glassmorphism Backdrop Blur for Bootstrap Modal */
.modal-backdrop {
  background-color: var(--popup_bg_overlay) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
 
/* Center modal dialog and container horizontally and vertically */
.modal-dialog {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100% - 1rem);
  margin: 0.5rem auto;
}
 
@media (min-width: 576px) {
  .modal-dialog {
    min-height: calc(100% - 3.5rem);
    margin: 1.75rem auto;
  }
}
 
/* Custom Animation Transition for Bootstrap Dialog */
.modal.fade .modal-dialog {
  transition: transform var(--popup_transition_duration) var(--popup_transition_ease);
  transform: scale(0.9) translateY(20px);
}
 
.modal.show .modal-dialog {
  transform: scale(1) translateY(0);
}
 
/* ==========================================================================
   POPUP CONTAINER (Bootstrap Modal-Content Override)
   ========================================================================== */
.modal-content.popup_newlaunch_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 80px 10px;
  gap: 20px;
  width: 480px;
  height: 540px;
  background: url('../images/popup_offer/Bg.webp') no-repeat center/cover;
  background-size: 100% 100%;
  border-radius: 30px;
  position: relative;
  box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  border: none;
}
 
/* ==========================================================================
   CLOSE BUTTON
   ========================================================================== */
.popup_newlaunch_close_btn {
  position: absolute;
  top: 5px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--popup_tag_bg);
  border: 1px solid rgba(14, 14, 6, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  padding: 0;
  color: var(--popup_primary_text);
  outline: none;
}
 
.popup_newlaunch_close_btn img {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--popup_transition_ease);
}
 
.popup_newlaunch_close_btn:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.15);
  border-color: rgba(14, 14, 6, 0.3);
}
 
.popup_newlaunch_close_btn:hover img {
  transform: rotate(90deg);
}
 
.popup_newlaunch_close_btn:active {
  transform: scale(0.95);
}
 
/* ==========================================================================
   NEW STICKER TAG (PILL)
   ========================================================================== */
.popup_newlaunch_tag_pill {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 2px 14px;
  gap: 6px;
  width: 165px;
  height: 28px;
  background: var(--popup_tag_bg);
  border: 1px solid var(--popup_tag_border);
  border-radius: 36px;
  user-select: none;
}
 
.popup_newlaunch_shining_icon {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--popup_brand_color);
}
 
.popup_newlaunch_shining_icon img {
  width: 100%;
  height: 100%;
  display: block;
}
 
.popup_newlaunch_tag_text {
  font-family: var(--popup_font_sans);
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 24px;
  text-align: center;
  letter-spacing: 0.05em;
  color: var(--popup_brand_color);
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
 
/* ==========================================================================
   STICKER CONTAINER (DOUBLE-LAYER BLUR GLOW)
   ========================================================================== */
.popup_newlaunch_sticker_wrapper {
  position: relative;
  width: 185px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  border-radius: 30px;
}
 
/* Foreground Sticker */
.popup_newlaunch_sticker_foreground {
  width: 185px;
  height: 260px;
  background: url('../images/popup_offer/Sticker.webp') no-repeat center/contain;
  z-index: 2;
  border-radius: 30px;
  transition: transform 0.5s var(--popup_transition_ease);
}
 
/* Blurred Ambient Glow Layer (Behind) */
.popup_newlaunch_sticker_ambient {
  position: absolute;
  width: 185px;
  height: 260px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: url('../images/popup_offer/Sticker.webp') no-repeat center/contain;
  filter: blur(20px);
  z-index: 1;
  opacity: 0.8;
  pointer-events: none;
  transition: all 0.5s var(--popup_transition_ease);
}
 
/* ==========================================================================
   TEXT CONTENT SECTION
   ========================================================================== */
.popup_newlaunch_text_section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px;
  width: 440px;
  height: 52px;
  text-align: center;
}
 
.popup_newlaunch_title {
  width: 100%;
  height: 28px;
  font-family: var(--popup_font_serif);
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--popup_primary_text);
  margin: 0;
}
 
.popup_newlaunch_subtitle {
  width: 100%;
  height: 24px;
  font-family: var(--popup_font_sans);
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: var(--popup_secondary_text);
  margin: 0;
}
 
/* ==========================================================================
   KEYFRAMES
   ========================================================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
 
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
 
/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
 
/* Breakpoint 1512px & 1440px (Standard Desktop heights and positions match 100% accuracy) */
@media (min-width: 1200px) {
  /* Perfectly aligned default styles will load */
}
 
/* Ensure close button has no default outline on focus */
.popup_newlaunch_close_btn:focus {
  outline: none !important;
}
 
/* Breakpoint 743px (Tablets & Medium screens) */
@media (max-width: 743px) {
  .modal-content.popup_newlaunch_container {
    width: 400px;
    height: 450px;
    padding: 67px 10px 60px 10px;
    gap: 16px;
    border-radius: 26px;
  }
 
  .popup_newlaunch_close_btn {
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
  }
 
  .popup_newlaunch_close_btn img {
    width: 14px;
    height: 14px;
  }
 
  .popup_newlaunch_sticker_wrapper,
  .popup_newlaunch_sticker_foreground,
  .popup_newlaunch_sticker_ambient {
    width: 154px;
    height: 216px;
  }
 
  .popup_newlaunch_text_section {
    width: 360px;
  }
 
  .popup_newlaunch_title {
    font-size: 20px;
    line-height: 24px;
    height: auto;
  }
 
  .popup_newlaunch_subtitle {
    font-size: 14px;
    line-height: 20px;
    height: auto;
  }
}
 
/* Breakpoint 480px (Standard Mobile phones) */
@media (max-width: 480px) {
  .modal-content.popup_newlaunch_container {
    width: 330px;
    height: 370px;
    padding: 55px 10px 50px 10px;
    gap: 12px;
    border-radius: 22px;
  }
 
  .popup_newlaunch_close_btn {
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
  }
 
  .popup_newlaunch_close_btn img {
    width: 12px;
    height: 12px;
  }
 
  .popup_newlaunch_sticker_wrapper,
  .popup_newlaunch_sticker_foreground,
  .popup_newlaunch_sticker_ambient {
    width: 128px;
    height: 180px;
  }
 
  .popup_newlaunch_text_section {
    width: 300px;
    height: auto;
  }
 
  .popup_newlaunch_title {
    font-size: 16px;
    line-height: 20px;
    height: auto;
  }
 
  .popup_newlaunch_subtitle {
    font-size: 12px;
    line-height: 16px;
    height: auto;
  }
}
 
/* Breakpoint 320px (Compact devices like iPhone SE) */
@media (max-width: 350px) {
  .modal-content.popup_newlaunch_container {
    width: 280px;
    height: 315px;
    padding: 47px 8px 42px 8px;
    gap: 10px;
    border-radius: 18px;
  }
 
  .popup_newlaunch_tag_pill {
    width: 135px;
    height: 24px;
    padding: 2px 10px;
    gap: 4px;
  }
 
  .popup_newlaunch_shining_icon {
    width: 10px;
    height: 10px;
  }
 
  .popup_newlaunch_tag_text {
    font-size: 10px;
  }
 
  .popup_newlaunch_sticker_wrapper,
  .popup_newlaunch_sticker_foreground,
  .popup_newlaunch_sticker_ambient {
    width: 106px;
    height: 150px;
  }
 
  .popup_newlaunch_text_section {
    width: 260px;
  }
 
  .popup_newlaunch_title {
    font-size: 14px;
    line-height: 18px;
  }
 
  .popup_newlaunch_subtitle {
    font-size: 11px;
    line-height: 14px;
  }
}