/* ----------- HEADER TOP CONTAINER ----------- */
.header-container {
  width: 100%;
  max-width: 380px;
  left: 0;
  right: 0;
  margin: 0 auto;
  border-radius: 24px;
  background: #ffffff;
  position: relative;
  height: auto;
  min-height: 220px;
  overflow: hidden;
  padding: 20px;
  box-shadow: 0 2px 16px rgba(18, 38, 28, 0.06);
  border: 1px solid #eef1ee;
}

.header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
}

.header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 5%;
  position: absolute;
  top: 0;
  left: 0;
}

/* ----------- TOP GREETING ROW ----------- */
.header-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.greeting {
  font-size: 19px;
  font-weight: 700;
  color: #16281f;
  font-family: pops;
  letter-spacing: -0.2px;
}

.profile-link {
  display: inline-flex;
  text-decoration: none;
  flex-shrink: 0;
}

.profile-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #eef1ee;
  transition: transform 0.15s ease;
}

.profile-link:active .profile-img {
  transform: scale(0.94);
}

/* ----------- REWARDS ROW (ring + side info) ----------- */
.rewards-row {
  position: relative;
  z-index: 2;
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* دایره‌ی پیشرفت امتیاز، سبک استارباکس */
.rewards-ring {
  --pct: 0;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  flex-shrink: 0;
  background: conic-gradient(#00643c calc(var(--pct) * 1%), #eef2ee 0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
}

.rewards-ring-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.points {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: #16281f;
  font-family: pops;
}

.rewards-ring-inner .star {
  font-size: 16px;
  color: #d9a400;
  margin-top: 4px;
}

.rewards-side {
  flex: 1;
  min-width: 0;
}

/* ----------- LABELS ----------- */
.progress-labels {
  display: flex;
  justify-content: space-between;
  color: #7c8a81;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
  font-family: popr;
}

/* ----------- BUTTON ----------- */
.reward-btn {
  display: block;
  background: #00643c;
  border: none;
  color: #fff;
  width: 100%;
  padding: 11px 10px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: pops;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  transition: transform 0.15s ease, background 0.15s ease;
}

.reward-btn:active {
  transform: translateY(1px) scale(0.98);
  background: #054d2e;
}

/* ----------- GOLD PERKS BOX ----------- */
.vagus-gold-box {
  width: 100%;
  max-width: 378px;
  border-radius: 20px;
  padding: 16px 20px;
  left: 0;
  right: 0;
  margin: 0 auto;
  margin-top: 14px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(18, 38, 28, 0.06);
  border: 1px solid #f3e6c3;
}

.vg-bg {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.vg-title {
  font-size: 12px;
  font-weight: 700;
  color: #a37a10;
  z-index: 2;
  position: relative;
  font-family: popr;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.vg-title-icon {
  color: #e8b514;
  font-size: 12px;
}

.vg-info-row {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  position: relative;
}

.vg-current {
  font-size: 22px;
  font-weight: 800;
  color: #16281f;
  font-family: "Montserrat", sans-serif;
  display: flex;
  align-items: center;
}

.vg-max {
  color: #00643c;
}

.vg-star {
  font-size: 16px;
  color: #e8b514;
  margin-left: 4px;
}

.vg-remaining {
  font-size: 11px;
  color: #a37a10;
  font-weight: 600;
  font-family: popr;
  background: #fbf3df;
  padding: 5px 10px;
  border-radius: 999px;
}

@media (max-width: 360px) {
  .rewards-ring {
    width: 90px;
    height: 90px;
  }
  .points {
    font-size: 24px;
  }
}
