/* ========== GLOBAL RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  scroll-behavior: smooth;
}

/* ========== LAYOUT CONTAINER ========== */
.container-1250 {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

/* ========== TEXT ALIGNMENT ========== */
.text-center-all *:not(h1):not(h2):not(h3):not(.text-start) {
  text-align: center !important;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

/* ========== SECTIONS ========== */
section {
  margin-bottom: 40px;
}

/* ========== MAIN SLIDER ========== */
#mainSlider {
  height: 400px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 4px;
}
#mainSlider img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 6px;
}
.carousel-inner {
  border-radius: 6px;
}

/* Responsive Slider Heights */
@media (max-width: 991.98px) {
  #mainSlider {
    height: 200px;
  }
}
@media (max-width: 575.98px) {
  #mainSlider {
    height: 160px;
  }
}

/* ========== HEADER BOX ========== */
.header-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0fbff;
  border: 2px solid #87CEEB;
  padding: 10px 15px;
  border-radius: 6px;
  flex-wrap: wrap;
}
.header-box .btn {
  white-space: nowrap;
  font-size: 13px;
  padding: 4px 10px;
  background-color: #87CEEB;
  color: #fff;
  border: none;
  border-radius: 4px;
  transition: 0.3s ease;
}
.header-box .btn:hover {
  background-color: #64bfe3;
}

/* ========== SECTION TITLE ========== */
.section-title {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin: 0;
  white-space: nowrap;
}

/* ========== STORE CARD ========== */
.store-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  height: 70px;
  transition: 0.3s ease;
  position: relative;
}
.store-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.store-card img {
  max-height: 50px;
  max-width: 100px;
  object-fit: contain;
  border-radius: 6px;
}

/* ========== CASHBACK TAG ========== */
.cashback-box {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #ccc;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}

/* ========== HOW CASHBACK WORKS ========== */
.how-cashback-works {
  background: #fff0f5;
  border-top: 3px solid #ff69b4;
  border-bottom: 3px solid #ff69b4;
  padding: 30px 0;
}
.cashback-step {
  background: #fff;
  border: 2px solid #ffb6c1;
  border-radius: 10px;
  padding: 20px 10px;
  text-align: center;
  height: 180px;
  transition: 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}
.cashback-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(255, 105, 180, 0.2);
}
.step-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 12px;
}
.cashback-step h6 {
  font-size: 16px;
  font-weight: 700;
  color: #d63384;
}
.cashback-step p {
  font-size: 14px;
  color: #555;
  margin-bottom: 0;
}

/* ========== OFFER CARD ========== */
.animated-offer-card {
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 16px 10px;
  text-align: center;
  min-height: 220px;
  position: relative;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-clip: padding-box;
}
.animated-offer-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, #ff6aa2, #ff9f7f);
}
.animated-offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.1);
}
.store-logo {
  height: 40px;
  max-width: 90px;
  object-fit: contain;
  margin: 0 auto 8px;
  display: block;
  border-radius: 6px;
}
.offer-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #222;
  margin-bottom: 4px;
  min-height: 34px;
}
.offer-description {
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
  min-height: 34px;
}
.commission-box {
  border: 1px dotted #ff6aa2;
  color: #d63384;
  font-weight: 600;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 4px;
}
.dotted-line {
  border-top: 1px dotted #ccc;
  margin: 10px 0;
}
