/* Christmas Event Page Styles */

:root {
  --christmas-red: #d42426;
  --christmas-green: #165b33;
  --christmas-gold: #f8b229;
  --dark-bg: #10111c;
  --card-bg: #1a1f2e;
  --content-box-bg: #1e2330;
}

/* ========== Hero Section ========== */
.christmas-hero {
  position: relative;
  padding: 120px 0 100px;
  /* background: url("../images/christmas/hero-bg.jpg.png"); */
  background-size: cover;
  text-align: center;
  background-position: 50% 25%;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(
    to bottom,
    rgba(11, 15, 25, 0.3),
    rgba(11, 15, 25, 0.85)
  ); */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Top Navigation Bar */
.top-nav-bar {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1291px;
  height: 36px;
  opacity: 1;
  border-radius: 5px;
  background: #020303da;
  z-index: 11;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-nav-container {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: center;
  height: 100%;
  padding: 0 20px;
}

.top-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(248, 244, 244, 0.9);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  cursor: pointer;
  height: 100%;
}

.top-nav-item:hover {
  color: #fff;
}

.top-nav-item i {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.top-nav-item:hover i {
  color: #fff;
}

/* Hero Top Bar - Full width black background */
.hero-top-bar {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.55);
  padding: 10px 0;
  z-index: 10;
  display: flex;
  justify-content: center;
}

.hero-top-buttons {
  display: flex;
  gap: 0;
  justify-content: center; /* horizontal alignment */
  align-items: center; /* vertical alignment */
}

.pick-present-btn {
  background: rgba(30, 35, 48, 0.9);
  color: #fff;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 25px 0 0 25px;
  letter-spacing: 0.5px;
}

.unwrap-gift-btn {
  background: linear-gradient(90deg, #ff0037 0%, #810020 100%);
  opacity: 1;
  border-radius: 5px;
  gap: 10px;
  padding: 2px 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.unwrap-gift-btn:hover {
  background: linear-gradient(135deg, #c44536 0%, #e85a4f 100%);
  color: #fff;
  transform: scale(1.02);
}

.hero-title {
  font-size: 64px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 36px;
  font-weight: 500;
  color: #ffffff;
}

/* Hero Decorations */
.santa-decoration {
  position: absolute;
  top: 87px;
  right: 120px;
  width: 96px;
  animation: float 6s ease-in-out infinite;
  z-index: 2;
  opacity: 0.9;
  transform: rotate(31deg) scaleX(-1);
}

.gift-decoration-left {
  position: absolute;
  bottom: -38px;
  left: -43px;
  width: 195px;
  z-index: 2;
  transform: rotate(-12deg);
}

.gift-decoration-right {
  position: absolute;
  bottom: -55px;
  right: 80px;
  width: 148px;
  z-index: 2;
  transform: rotate(10deg);
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(31deg) scaleX(-1);
  }

  50% {
    transform: translateY(-15px) rotate(31deg) scaleX(-1);
  }

  100% {
    transform: translateY(0px) rotate(31deg) scaleX(-1);
  }
}

/* ========== Info Section ========== */
.info-section {
  padding: 80px 0 100px;
  background-color: var(--dark-bg);
  position: relative;
}

/* Section Titles */
.section-title {
  font-size: 36px;
  font-weight: 500;
  padding-bottom: 7px;
  line-height: 1;
  color: #fff;
}

.section-subtitle {
  color: #ffffff;
  font-size: 16px;
}

/* ========== Christmas Surprise Section ========== */
.christmas-surprise-section {
  margin-bottom: 60px;
  position: relative;
  max-width: 1000px;
  margin: 0 auto 0px;
}

.discount-card-wrapper {
  position: relative;
  padding-right: 100px;
}

.discount-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border-radius: 16px;
  /* padding: 30px 40px; */
  border: none;
}

.calendar-icon {
  width: 193px;
  height: auto;
  flex-shrink: 0;
  margin-left: -33px;
}

.discount-content {
  flex: 1;
  margin-top: -37px;
}

.discount-title {
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
}

.discount-text {
  color: white;
  font-size: 14px;
  margin: 0;
  line-height: 1;
  font-weight: 400;
}

.gift-decoration-side {
  position: absolute;
  right: 0;
  top: 20%;
  transform: translateY(-50%) rotate(-40deg);
  width: 40px;
  height: auto;
}

/* ========== Event Section ========== */
/* ========== Wrapped Event & Earn Points Section ========== */
.christmas-event-wrapper {
  width: 100vw;
  max-width: none;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  /* margin-top: 60px; */
  padding-top: 71px;
  padding-bottom: 44px;
  /* margin-bottom: 60px; */
  position: relative;
  /* background: url("../images/christmas/christmas_event_bg.png") no-repeat center
    center; */
  background-size: cover;
  background-position: center;
  /* padding: 40px 0; */
  border-radius: 0;
}

.christmas-event-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 15, 25, 0.93);
  border-radius: 0;
  z-index: 0;
}

.christmas-event-wrapper > * {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* ========== Event Section ========== */
.event-section {
  margin-bottom: 60px;
}

.event-description {
  color: white;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  max-width: 1000px;
  margin-bottom: 40px;
}

.step-cards-row {
  margin-top: 20px;
}

.step-card {
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-8px);
}

.step-icon {
  /* width: 180px; */
  height: 153px;
  margin-bottom: 15px;
  object-fit: contain;
}

.step-title {
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  margin: 0;
}

/* ========== Main Content Box - Earn Points Section ========== */
.main-content-box-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 60px;
  padding-left: 15px;
  border-radius: 5px;
  padding-right: 15px;
  background-color: #d9d9d91a;
  backdrop-filter: blur(18.799999237060547px);
}

.earnpoint-left-image {
  position: absolute;
  left: -40px;
  top: 82px;
  width: 51px;
  z-index: 5;
  transform: rotate(16deg);
}

.main-content-box {
  background: transparent;
  border-radius: 16px;
  padding: 16px;
  position: relative;
  border: none;
}

.content-box-title {
  font-size: 36px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1rem;
}

.content-box-text {
  color: white;
  font-size: 16px;
  line-height: 1;
  margin-bottom: 2rem;
}

.gift-list-title {
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 1rem;
}

.gift-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.gift-list li {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.gift-emoji {
  flex-shrink: 0;
}

.participate-section {
  margin-top: 1.5rem;
}

.participate-label {
  color: white;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 5px;
}

.participate-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.participate-list li {
  color: white;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 5px;
  padding-left: 15px;
  position: relative;
}

.participate-list li:before {
  content: "•";
  position: absolute;
  left: 0;
}

.closing-text {
  color: white;
  font-size: 16px;
  line-height: 1;
  margin: 0;
  /* font-weight: 400; */
}

.content-box-gift {
  position: absolute;
  right: -80px;
  bottom: 20px;
  width: 120px;
}

/* ========== Reminder Section ========== */
.reminder-wrapper {
  position: relative;
  text-align: center;
  margin-bottom: 20px;
}

.reminder-box {
  background: #2b2c41;
  padding: 10px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 778px;
  /* border-left: 4px solid #ffbb00; */
}

.warning-icon {
  color: #ffbb00;
  font-size: 1.1rem;
}

.reminder-text {
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
}

.reminder-gift {
  position: absolute;
  right: -58px;
  top: 50%;
  transform: translateY(-50%);
  width: 130px;
  height: auto;
}

/* Arrow */
.arrow-wrapper {
  text-align: center;
  margin: 30px 0;
}

.down-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 60px;
  color: #fff;
  font-size: 1.5rem;
  position: relative;
}

.down-arrow:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.5),
    #fff
  );
}

.down-arrow i {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

/* ========== Claim Section ========== */
.claim-section {
  /* padding: 40px 40px; */
  text-align: center;
  position: relative;
  border-radius: 20px;
  overflow: visible;
  margin: 20px auto 0;
  max-width: 1000px;
  min-height: 252px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.claim-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: url("../images/christmas/claim-bg.webp") no-repeat center center; */
  background-size: cover;
  background-position: center center;
  /* transform: rotate(0deg) scaleX(-1); */
  z-index: 0;
  pointer-events: none;
  border-radius: 10px;
}

.claim-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(11, 15, 25, 0.75); */
  z-index: 1;
}

.claim-section > * {
  position: relative;
  z-index: 2;
}

.claim-boots {
  position: absolute;
  top: -40px;
  right: -2px;
  width: 60px;
  z-index: 10;
  transform: rotate(0deg);
}

.claim-gift-left {
  position: absolute;
  bottom: -26px;
  left: 57px;
  width: 50px;
  z-index: 10;
  transform: rotate(-18deg);
}

.claim-title {
  position: relative;
  z-index: 1;
  color: #ff9d00;
  font-size: 24px;
  font-weight: 600;
  /* text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); */
  margin-bottom: 0.5rem;
}

.claim-subtitle {
  position: relative;
  z-index: 1;
  color: white;
  font-size: 14px;
  margin-bottom: 16px;
  font-weight: 400;
}

.claim-btn-wrapper {
  position: relative;
  z-index: 1;
}

.claim-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  position: relative;
  transition: all 0.3s;
  text-decoration: none;
  cursor: pointer;
}

.claim-btn:hover {
  transform: scale(1.05);
}

.gift-box-claim {
  width: 237px;
  height: auto;
  display: block;
}

.claim-text-wrapper {
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.claim-btn-text {
  font-size: 1.3rem;
  color: #fff;
  text-transform: uppercase;
  font-weight: 800;
  display: inline;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.claim-btn-reward {
  font-size: 1.3rem;
  color: #fff;
  text-transform: uppercase;
  font-weight: 800;
  display: inline;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ========== Responsive Styles ========== */

/* Large Tablets and Small Desktops (992px - 1199px) */
@media (max-width: 1199px) {
  .christmas-event-wrapper > * {
    max-width: 900px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .claim-section {
    max-width: 900px;
  }

  .main-content-box-wrapper {
    max-width: 900px;
  }

  .christmas-surprise-section {
    max-width: 900px;
  }

  /* Popup Large Tablet */
  .reward-popup-container {
    width: 90%;
    max-width: 800px;
    height: auto;
    min-height: 520px;
    padding: 55px 35px;
  }

  .popup-title {
    font-size: 2.8rem !important;
    margin-top: 60px;
  }

  .popup-reward-info {
    width: 85%;
    max-width: 550px;
    padding: 18px 40px;
  }

  .popup-gift-id {
    font-size: 18px;
  }

  .popup-reward-name {
    font-size: 1.8rem;
  }

  .chat-btn-image {
    width: 260px;
  }

  .chat-now-text {
    font-size: 28px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .popup-left-gift {
    width: 300px;
    height: auto;
  }

  .popup-right-confetti {
    width: 220px;
    height: auto;
  }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .discount-card-wrapper {
    padding-right: 0;
  }

  .gift-decoration-side {
    display: none;
  }

  .main-content-box-wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }

  .earnpoint-left-image {
    display: none;
  }

  .content-box-gift {
    display: none;
  }

  .reminder-gift {
    display: none;
  }

  .christmas-event-wrapper {
    padding: 30px 0;
  }

  .christmas-event-wrapper > * {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .claim-section {
    padding: 40px 30px;
    max-width: 100%;
    margin-left: 15px;
    margin-right: 15px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .event-description {
    font-size: 0.95rem;
  }

  .step-icon {
    width: 120px;
    height: 120px;
  }

  /* Popup Tablet */
  .reward-popup-container {
    width: 92%;
    max-width: 700px;
    height: auto;
    min-height: 480px;
    padding: 45px 25px;
  }

  .popup-title {
    font-size: 2.5rem !important;
    margin-top: 50px;
  }

  .popup-reward-info {
    width: 88%;
    max-width: 520px;
    padding: 16px 28px;
    margin-bottom: 22px;
  }

  .popup-gift-id {
    font-size: 17px;
  }

  .popup-reward-name {
    font-size: 1.7rem;
  }

  .chat-btn-image {
    width: 100%;
    max-width: 250px;
  }

  .chat-now-text {
    font-size: 27px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .popup-left-gift {
    width: 220px;
    height: auto;
    top: auto;
    bottom: -35px;
    right: -35px;
    left: auto;
    transform: rotate(244.54deg);
  }

  .popup-right-confetti {
    width: 180px;
    height: auto;
    top: auto;
    bottom: -25px;
    left: -25px;
    right: auto;
  }
}

/* Small Tablets and Large Phones (577px - 767px) */
@media (max-width: 768px) {
  .christmas-hero {
    min-height: 400px;
    padding: 100px 0 80px;
    background-position: 50% 30%;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
    padding: 0 15px;
  }

  .hero-subtitle {
    font-size: 1rem;
    padding: 0 15px;
  }

  .hero-top-bar {
    padding: 8px 0;
    top: 10px;
  }

  .hero-top-buttons {
    flex-direction: column;
    gap: 0;
    width: 90%;
    max-width: 300px;
  }

  .pick-present-btn {
    border-radius: 25px 25px 0 0;
    padding: 4px 15px;
    font-size: 0.7rem;
    width: 100%;
  }

  .unwrap-gift-btn {
    border-radius: 0 0 25px 25px;
    padding: 4px 15px;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
  }

  .santa-decoration {
    width: 60px;
    right: 5%;
    top: 100px;
    opacity: 0.7;
  }

  .gift-decoration-left {
    width: 120px;
    left: -20px;
    bottom: -20px;
  }

  .gift-decoration-right {
    width: 110px;
    right: 20px;
    bottom: -20px;
  }

  .info-section {
    padding: 60px 0 80px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .christmas-surprise-section {
    margin-bottom: 40px;
    padding: 0 15px;
  }

  .discount-card {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
    gap: 20px;
  }

  .calendar-icon {
    width: 120px;
    margin: 0 auto;
  }

  .discount-title {
    font-size: 1.1rem;
  }

  .discount-text {
    font-size: 0.85rem;
  }

  .christmas-event-wrapper {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 30px 0;
  }

  .event-section {
    margin-bottom: 40px;
  }

  .event-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .step-cards-row {
    margin-top: 15px;
  }

  .step-card {
    padding: 15px;
    margin-bottom: 20px;
  }

  .step-icon {
    width: auto;
    height: 163px;
    margin-bottom: 12px;
  }

  .step-title {
    font-size: 1.95rem;
  }

  .main-content-box-wrapper {
    margin-bottom: 40px;
  }

  .main-content-box {
    padding: 25px 20px;
  }

  .content-box-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }

  .content-box-text {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
  }

  .gift-list-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .gift-list li {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }

  .participate-label {
    font-size: 0.8rem;
  }

  .participate-list li {
    font-size: 0.8rem;
  }

  .closing-text {
    font-size: 0.8rem;
  }

  .reminder-wrapper {
    margin-bottom: 15px;
    padding: 0 15px;
  }

  .reminder-box {
    padding: 12px 20px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
    min-width: auto;
  }

  .reminder-text {
    font-size: 0.85rem;
  }

  .claim-section {
    padding: 50px 20px;
    margin: 20px 15px 0;
    min-height: 280px;
  }

  .claim-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }

  .claim-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding: 0 10px;
  }

  .gift-box-claim {
    width: 220px;
  }

  .claim-btn-text,
  .claim-btn-reward {
    font-size: 1rem;
  }

  .claim-text-wrapper {
    gap: 6px;
  }

  .claim-boots {
    width: 45px;
    right: 10px;
    top: -30px;
    z-index: 10;
  }

  .claim-gift-left {
    width: 70px;
    left: 5px;
    bottom: -15px;
    z-index: 10;
  }

  /* Popup Responsive - Tablet */
  .reward-popup-overlay {
    padding: 20px;
  }

  .reward-popup-container {
    width: 95%;
    max-width: 600px;
    height: auto;
    min-height: 500px;
    padding: 50px 30px;
    max-height: 90vh;
  }

  .popup-title {
    font-size: 2.2rem !important;
    margin-top: 20px !important;
    line-height: 1.2;
    padding: 0 10px;
  }

  .popup-reward-info {
    width: 90%;
    max-width: 500px;
    padding: 18px 25px;
    margin-bottom: 25px;
    box-sizing: border-box;
  }

  .popup-gift-id {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .popup-reward-name {
    font-size: 1.6rem;
  }

  .chat-btn-image {
    width: 240px;
  }

  .chat-now-text {
    font-size: 26px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .popup-instruction {
    font-size: 0.9rem;
    margin-top: 12px;
  }

  .popup-left-gift {
    width: 220px;
    height: auto;
    top: auto;
    bottom: -35px;
    right: -35px;
    left: auto;
    transform: rotate(244.54deg);
    opacity: 0.8;
  }

  .popup-right-confetti {
    width: 180px;
    height: auto;
    top: auto;
    bottom: -25px;
    left: -25px;
    right: auto;
    transform: rotate(-16.51deg);
    opacity: 0.8;
  }

  .popup-close-btn {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
    top: 12px;
    right: 12px;
  }
}

/* Mobile Phones (320px - 576px) */
@media (max-width: 576px) {
  .popup-gift-title {
    font-size: 20px !important;
  }
  .christmas-hero {
    min-height: 350px;
    padding: 80px 0 60px;
    background-position: 50% 35%;
  }

  .hero-title {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    padding: 0 10px;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    padding: 0 10px;
  }

  .hero-top-bar {
    top: 8px;
    padding: 6px 0;
  }

  .hero-top-buttons {
    width: 95%;
    max-width: 280px;
  }

  .pick-present-btn {
    font-size: 0.65rem;
    padding: 3px 12px;
  }

  .unwrap-gift-btn {
    font-size: 0.75rem;
    padding: 3px 12px;
  }

  .unwrap-gift-btn i {
    font-size: 0.9rem;
  }

  .santa-decoration {
    width: 37px;
    right: 3%;
    top: 90px;
    opacity: 0.6;
  }

  .gift-decoration-left {
    width: 78px;
    left: -15px;
    bottom: -15px;
  }

  .gift-decoration-right {
    width: 70px;
    right: 10px;
    bottom: -15px;
  }

  .info-section {
    padding: 40px 0 60px;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .christmas-surprise-section {
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .discount-card {
    padding: 20px 15px;
    gap: 15px;
  }

  .calendar-icon {
    width: 164px;
  }

  .discount-title {
    font-size: 1rem;
  }

  .discount-text {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .christmas-event-wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 25px 0;
  }

  .christmas-event-wrapper > * {
    padding-left: 15px;
    padding-right: 15px;
  }

  .event-section {
    margin-bottom: 30px;
  }

  .event-description {
    font-size: 0.85rem;
    margin-bottom: 25px;
    line-height: 1.6;
    text-align: center;
  }

  .step-cards-row {
    margin-top: 10px;
  }

  .step-card {
    padding: 12px;
    margin-bottom: 15px;
  }

  .step-icon {
    width: auto;
    height: 169px;
    margin-bottom: 10px;
  }

  .step-title {
    font-size: 1.9rem;
  }

  .main-content-box-wrapper {
    margin-bottom: 30px;
  }

  .main-content-box {
    padding: 20px 15px;
  }

  .content-box-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
  }

  .content-box-text {
    font-size: 0.8rem;
    margin-bottom: 1rem;
    line-height: 1.6;
  }

  .gift-list-title {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }

  .gift-list li {
    font-size: 0.8rem;
    margin-bottom: 6px;
    gap: 8px;
  }

  .participate-section {
    margin-top: 1.25rem;
  }

  .participate-label {
    font-size: 0.75rem;
    margin-bottom: 4px;
  }

  .participate-list li {
    font-size: 0.75rem;
    margin-bottom: 4px;
    padding-left: 12px;
  }

  .closing-text {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .reminder-wrapper {
    margin-bottom: 12px;
    padding: 0 10px;
  }
  .reminder-box i {
    font-size: 34px;
  }
  .reminder-box {
    padding: 10px 15px;
    gap: 6px;
    min-width: auto;
  }

  .warning-icon {
    font-size: 1rem;
  }

  .reminder-text {
    font-size: 0.8rem;
  }

  .arrow-wrapper {
    margin: 20px 0;
  }

  .down-arrow {
    width: 30px;
    height: 50px;
    font-size: 1.2rem;
  }

  .claim-section {
    padding: 40px 15px;
    margin: 15px 10px 0;
    min-height: 250px;
    border-radius: 15px;
  }

  .claim-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .claim-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    padding: 0 5px;
    line-height: 1.4;
  }

  .gift-box-claim {
    width: 180px;
  }

  .claim-btn-text,
  .claim-btn-reward {
    font-size: 0.9rem;
  }

  .claim-text-wrapper {
    gap: 5px;
  }

  .claim-boots {
    width: 35px;
    right: 8px;
    top: -25px;
    z-index: 10;
  }

  .claim-gift-left {
    width: 50px;
    left: 3px;
    bottom: -24px;
    z-index: 10;
  }

  /* Popup Mobile */
  .reward-popup-overlay {
    padding: 15px;
    align-items: flex-start;
    padding-top: 20px;
  }

  .reward-popup-container {
    width: 95%;
    max-width: 100%;
    min-height: auto;
    max-height: calc(100vh - 40px);
    padding: 30px 15px 50px;
    border-radius: 15px;
    overflow: visible;
    transform: scale(0.95);
    position: relative;
  }
  .reward-popup-container {
    padding: 0 0 !important;
  }
  .reward-popup-overlay.active .reward-popup-container {
    transform: scale(1);
  }

  .popup-close-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    top: 8px;
    right: 8px;
    border-width: 1.5px;
    z-index: 15;
  }

  .popup-title {
    font-size: 1.6rem !important;
    margin-top: 10px !important;
    line-height: 1.2;
    padding: 0 5px;
    word-break: break-word;
  }

  .popup-reward-info {
    width: 90% !important;
    max-width: 90% !important;
    padding: 10px 12px !important;
    margin-bottom: 15px;
    border-radius: 10px;
    box-sizing: border-box;
  }

  .popup-gift-id {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.2;
  }

  .popup-reward-name {
    font-size: 1.2rem;
    line-height: 1.2;
    word-break: break-word;
  }

  .popup-chat-btn {
    margin: 15px 0;
    position: relative;
    z-index: 3;
    width: 100% !important;
    max-width: 160px !important;
    display: flex;
    justify-content: center;
  }

  .chat-btn-image {
    width: 100% !important;
    max-width: 160px !important;
  }

  .chat-now-text {
    font-size: 18px !important;
    top: 42% !important;
    left: 58% !important;
    transform: translate(-50%, -50%) !important;
    white-space: nowrap;
    z-index: 4;
  }

  .popup-instruction {
    font-size: 0.8rem;
    margin-top: 8px;
    padding: 0 10px;
    line-height: 1.4;
    position: relative;
    z-index: 3;
  }

  .popup-left-gift {
    width: 80px !important;
    height: auto !important;
    top: auto !important;
    bottom: -12px !important;
    right: -12px !important;
    left: auto !important;
    transform: rotate(244.54deg) !important;
    opacity: 0.8;
  }

  .popup-right-confetti {
    width: 70px !important;
    height: auto !important;
    top: auto !important;
    bottom: -10px !important;
    left: -10px !important;
    right: auto !important;
    transform: rotate(-16.51deg) !important;
    opacity: 0.8;
  }

  .popup-content {
    width: 100%;
    position: relative;
    z-index: 3;
  }
}

/* Extra Small Mobile (320px - 375px) */
@media (max-width: 375px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.7rem;
    text-align: center;
  }

  .step-icon {
    width: auto;
    height: 164px;
  }

  .step-title {
    font-size: 1.85rem;
  }

  .content-box-title {
    font-size: 1.5rem;
    text-align: center;
  }

  .claim-title {
    font-size: 1.3rem;
  }

  .gift-box-claim {
    width: 160px;
  }

  .claim-btn-text,
  .claim-btn-reward {
    font-size: 0.8rem;
  }

  /* Popup Extra Small Mobile */
  .reward-popup-overlay {
    padding: 10px;
    padding-top: 15px;
  }

  .reward-popup-container {
    width: 98%;
    padding: 25px 12px 35px;
    border-radius: 12px;
    max-height: calc(100vh - 30px);
  }

  .popup-close-btn {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
    top: 6px;
    right: 6px;
  }

  .popup-title {
    font-size: 1.3rem !important;
    margin-top: 15px;
    padding: 0;
  }

  .popup-reward-info {
    padding: 10px 12px;
    margin-bottom: 12px;
    border-radius: 8px;
  }

  .popup-gift-id {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .popup-reward-name {
    font-size: 1.1rem;
  }

  .chat-btn-image {
    width: 100% !important;
    max-width: 140px !important;
  }

  .popup-chat-btn {
    max-width: 140px !important;
  }

  .chat-now-text {
    font-size: 18px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .popup-instruction {
    font-size: 0.75rem;
    margin-top: 6px;
    padding: 0 8px;
  }

  .popup-left-gift {
    width: 60px !important;
    height: auto !important;
    top: auto !important;
    bottom: -10px !important;
    right: -10px !important;
    left: auto !important;
    transform: rotate(244.54deg) !important;
    opacity: 0.7;
  }

  .popup-right-confetti {
    width: 50px !important;
    height: auto !important;
    top: auto !important;
    bottom: -8px !important;
    right: -8px !important;
    left: auto !important;
    transform: rotate(-16.51deg) !important;
    opacity: 0.7;
  }

  .popup-title {
    font-size: 1.4rem !important;
  }

  .chat-btn-image {
    width: 160px;
  }

  .chat-now-text {
    font-size: 16px !important;
    top: 41% !important;
    left: 57% !important;
    transform: translate(-50%, -50%) !important;
  }
}

/* Landscape Orientation for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .christmas-hero {
    min-height: 300px;
    padding: 60px 0 50px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .santa-decoration {
    width: 50px;
    top: 70px;
  }

  .gift-decoration-left,
  .gift-decoration-right {
    width: 80px;
  }

  /* Popup Landscape */
  .reward-popup-overlay {
    padding: 10px;
    align-items: center;
  }

  .reward-popup-container {
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    min-height: auto;
    padding: 30px 25px;
    transform: scale(0.95);
  }

  .reward-popup-overlay.active .reward-popup-container {
    transform: scale(1);
  }

  .popup-title {
    font-size: 1.8rem !important;
    margin-top: 20px;
  }

  .popup-reward-info {
    width: 85%;
    padding: 12px 20px;
    margin-bottom: 15px;
    box-sizing: border-box;
  }

  .popup-gift-id {
    font-size: 14px;
  }

  .popup-reward-name {
    font-size: 1.3rem;
  }

  .chat-btn-image {
    width: 100%;
    max-width: 200px;
  }

  .chat-now-text {
    font-size: 18px !important;
    top: 41% !important;
    left: 59% !important;
    transform: translate(-50%, -50%) !important;
  }

  .popup-left-gift {
    width: 80px;
    height: auto;
    top: auto;
    bottom: -12px;
    right: -12px;
    left: auto;
    transform: rotate(244.54deg);
    opacity: 0.75;
  }

  .popup-right-confetti {
    width: 70px;
    height: auto;
    top: auto;
    bottom: -10px;
    left: -10px;
    right: auto;
    transform: rotate(-16.51deg);
    opacity: 0.75;
  }
}

/* ========== Reward Popup Modal ========== */
.reward-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.reward-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.reward-popup-container {
  position: relative;
  width: 942px;
  height: 527px;
  max-width: 95vw;
  max-height: 95vh;
  /* responsiveness safeguard */
  /* background: url("../images/christmas/pupup_bg.png") no-repeat center center; */
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  overflow: hidden;
  transform: scale(0.7) rotate(0deg);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.reward-popup-overlay.active .reward-popup-container {
  transform: scale(1);
}

.reward-popup-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 15, 25, 0.66);
  border-radius: 20px;
  z-index: 0;
}

.popup-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.popup-left-gift {
  position: absolute;
  width: 432.0000084242938px;
  height: 320.00000624021766px;
  opacity: 1;
  top: 207px;
  left: 632px;
  z-index: 5;
  transform: rotate(244.54deg);
}

.popup-right-confetti {
  position: absolute;
  width: 308.22845071547493px;
  height: 341.37127256450145px;
  opacity: 1;
  top: 252px;
  left: -75px;
  z-index: 5;
  transform: rotate(-16.51deg);
}

.popup-content {
  position: relative;
  z-index: 2;
}

.popup-title {
  background: linear-gradient(270deg, #ffae00 0%, #ff8800 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  font-weight: 400 !important;

  font-size: 50px !important;
  line-height: 100% !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-transform: uppercase;
  margin-top: 40px;
  display: inline-block;
  color: #ffae00; /* Fallback color for browsers that don't support background-clip */
}

.popup-reward-info {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px 50px;
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 600px;
  margin: 0 auto 30px;
  box-sizing: border-box;
}

.popup-gift-id {
  font-weight: 500;

  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #f8b229;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.popup-gift-title {
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 15px;
}

.popup-gift-subtext {
  font-size: 16px;
  color: #ffffffc9;
}
.popup-reward-name {
  font-weight: 400;

  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
}

.popup-chat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  transition: transform 0.3s ease;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.popup-chat-btn:hover {
  transform: scale(1.05);
}

.chat-btn-image {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
}

.chat-now-text {
  position: absolute;
  top: 41%;
  left: 59%;
  transform: translate(-50%, -50%);
  color: #fff;

  font-weight: 400;
  font-size: 30px;
  z-index: 1;
  pointer-events: none;
  white-space: nowrap;
}

.popup-instruction {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin: 10px 0 0;
}

/* Additional Responsive Utilities */
@media (max-width: 991px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Ensure full-width sections work properly on mobile */
  .christmas-event-wrapper {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
    max-width: 100vw;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
  }

  /* Ensure images don't overflow */
  img {
    max-width: 100%;
    height: auto;
  }
}

/* Fix for very small screens */
@media (max-width: 320px) {
  .hero-title {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.1rem;
  }

  /* Popup Very Small Screens */
  .reward-popup-overlay {
    padding: 8px;
    padding-top: 12px;
  }

  .reward-popup-container {
    width: 99%;
    padding: 20px 10px 30px;
    border-radius: 10px;
    max-height: calc(100vh - 24px);
  }

  .popup-close-btn {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
    top: 5px;
    right: 5px;
  }

  .popup-title {
    font-size: 1.1rem !important;
    margin-top: 10px;
  }

  .popup-reward-info {
    width: 80% !important;
    max-width: 80% !important;
    padding: 6px 8px !important;
    margin-bottom: 10px;
    border-radius: 6px;
    box-sizing: border-box;
  }

  .popup-gift-id {
    font-size: 11px;
    margin-bottom: 3px;
  }

  .popup-reward-name {
    font-size: 1rem;
  }

  .chat-btn-image {
    width: 100%;
    max-width: 140px;
  }

  .chat-now-text {
    font-size: 14px !important;
    top: 40% !important;
    left: 56% !important;
    transform: translate(-50%, -50%) !important;
  }

  .popup-instruction {
    font-size: 0.7rem;
    margin-top: 5px;
    padding: 0 5px;
  }

  .popup-left-gift {
    width: 50px !important;
    height: auto !important;
    top: auto !important;
    bottom: -6px !important;
    right: -6px !important;
    left: auto !important;
    transform: rotate(244.54deg) !important;
    opacity: 0.5;
  }

  .popup-right-confetti {
    width: 40px !important;
    height: auto !important;
    top: auto !important;
    bottom: -6px !important;
    left: -6px !important;
    right: auto !important;
    transform: rotate(-16.51deg) !important;
    opacity: 0.5;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .popup-close-btn {
    min-width: 44px;
    min-height: 44px;
  }

  .popup-chat-btn {
    min-height: 44px;
  }
}
