/* ==========================================================================
   Reward Voyage Club — main stylesheet
   ========================================================================== */

:root {
  --navy-950: #060f24;
  --navy-900: #0a1a3d;
  --navy-800: #0d2358;
  --navy-700: #123072;
  --navy-600: #163a8c;
  --gold-400: #ffd76a;
  --gold-500: #f3b53a;
  --gold-600: #d99a1f;
  --paper: #f6f7fb;
  --paper-dim: #eef0f8;
  --ink: #0e1730;
  --ink-soft: #4a5170;
  --white: #ffffff;
  --shadow-lg: 0 24px 60px -20px rgba(9, 20, 55, 0.45);
  --shadow-md: 0 12px 30px -12px rgba(9, 20, 55, 0.28);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.font-display {
  font-family: "Poppins", "Manrope", sans-serif;
}

/* ---------- Top announcement bar ---------- */
.announce-bar {
  background: linear-gradient(90deg, var(--navy-950), var(--navy-800), var(--navy-950));
  color: var(--gold-400);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.4px;
  padding: 9px 16px;
  font-weight: 600;
}
.announce-bar span { color: #fff; font-weight: 400; opacity: 0.85; }

/* ---------- Sticky nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 26, 61, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 215, 106, 0.15);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.nav-brand img { height: 38px; width: 38px; object-fit: contain; flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: #cfd6ef;
  font-size: 14.5px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--gold-400); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-950) !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  box-shadow: 0 8px 18px -6px rgba(243, 181, 58, 0.55);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---------- Hero / cover ---------- */
.hero {
  position: relative;
  isolation: isolate;
}
.hero-media {
  position: relative;
  overflow: hidden;
}
.hero-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 1983 / 793;
  object-fit: cover;
  display: block;
  filter: saturate(1.08);
}
.hero-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 15, 36, 0) 0%, rgba(6, 15, 36, 0) 85%, rgba(6, 15, 36, 0.12) 100%);
  box-shadow: inset 0 -14px 22px -18px rgba(6, 15, 36, 0.55);
}

/* ---------- Tagline / description ---------- */
.tagline-section {
  background: var(--white);
  padding: 46px 0 8px;
  text-align: center;
}
.tagline {
  font-family: "Poppins", sans-serif;
  font-size: clamp(20px, 2.9vw, 30px);
  font-weight: 700;
  color: var(--navy-900);
  max-width: 780px;
  margin: 0 auto 16px;
  line-height: 1.35;
}
.tagline .hi { color: var(--gold-600); }
.description {
  max-width: 700px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}
.pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 28px 0 6px;
}
.pillar-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper-dim);
  border: 1px solid #e2e6f5;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--navy-800);
}
.pillar-chip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
}

/* ---------- Instagram CTA ---------- */
.insta-cta {
  margin: 46px 0 6px;
}
.insta-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #58248a 0%, #c2266f 32%, #e2533c 62%, #f7b733 100%);
  border-radius: var(--radius-lg);
  padding: 42px 30px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.insta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 15%, rgba(255,255,255,0.28), transparent 45%),
              radial-gradient(circle at 85% 85%, rgba(255,255,255,0.18), transparent 40%);
}
.insta-inner { position: relative; z-index: 1; }
.insta-icon-badge {
  width: 66px; height: 66px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.55);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.insta-icon-badge svg { width: 34px; height: 34px; fill: #fff; }
.insta-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(22px, 3.2vw, 30px);
  margin: 0 0 10px;
  font-weight: 800;
}
.insta-card p {
  max-width: 640px;
  margin: 0 auto 22px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.94);
}
.insta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}
.btn-insta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #b8266b;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: 0 10px 26px -10px rgba(0,0,0,0.4);
  transition: transform 0.18s ease;
}
.btn-insta:hover { transform: translateY(-2px); }
.btn-insta svg { width: 20px; height: 20px; }
.insta-note {
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.insta-note .sep { opacity: 0.5; }
.insta-note strong { color: #fff; }

/* ---------- Scroll-to-cards banner ---------- */
.scroll-cta {
  text-align: center;
  padding: 54px 0 26px;
}
.scroll-cta h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  color: var(--navy-950);
  margin: 0 0 10px;
}
.scroll-cta p {
  color: var(--ink-soft);
  font-size: 15.5px;
  margin: 0 0 22px;
}
.scroll-down-arrow {
  width: 46px; height: 46px;
  margin: 0 auto;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  animation: bounce 1.7s infinite;
  color: var(--gold-600);
  cursor: pointer;
}
.scroll-down-arrow svg { width: 20px; height: 20px; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ---------- Cards shop section ---------- */
.shop-section {
  padding: 10px 0 70px;
  background: var(--paper);
}
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.shop-count {
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 600;
}
.shop-count b { color: var(--navy-900); }
.search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
  max-width: 380px;
}
.search-wrap input {
  width: 100%;
  padding: 11px 16px 11px 40px;
  border-radius: 999px;
  border: 1.5px solid #e2e6f5;
  font-size: 14px;
  font-family: inherit;
  background: var(--paper-dim);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.search-wrap input:focus { border-color: var(--gold-500); background: #fff; }
.search-wrap svg {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  fill: #8b91ab;
}
.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-chip {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1.5px solid #e2e6f5;
  background: var(--paper-dim);
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-800);
  cursor: pointer;
  transition: all 0.18s ease;
}
.filter-chip:hover { border-color: var(--gold-500); }
.filter-chip.active {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  color: #fff;
  border-color: var(--navy-950);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
}

.card-item {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid #eef0f8;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-thumb {
  position: relative;
  background: linear-gradient(160deg, #f0f2fb, #e4e8f7);
  padding: 22px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
}
.card-thumb img {
  position: relative;
  z-index: 1;
  max-height: 122px;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 14px 18px rgba(10, 26, 61, 0.22));
}
.badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 5;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.badge.active { background: #16b17a; color: #fff; }
.badge.paused { background: #e7ebf5; color: #7a8099; }

.card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.card-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-950);
  line-height: 1.35;
  min-height: 38px;
}
.card-apply-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13.5px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-950);
  transition: filter 0.18s ease;
}
.card-apply-btn:hover { filter: brightness(1.06); }
.card-apply-btn.disabled {
  background: #eceef7;
  color: #9aa0b8;
  cursor: not-allowed;
  pointer-events: none;
}
.card-apply-btn svg { width: 14px; height: 14px; }

.empty-state {
  display: none;
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
}
.empty-state.show { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: #cfd6ef;
  padding: 54px 0 26px;
  text-align: center;
}
.footer-logo { width: 56px; height: 56px; margin: 0 auto 14px; }
.footer-name {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  margin-bottom: 6px;
}
.footer-tag {
  font-size: 13.5px;
  color: #97a0c4;
  margin-bottom: 26px;
}
.footer-contact-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #6f78a3;
  margin-bottom: 12px;
}
.footer-insta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(120deg, #58248a, #c2266f, #e2533c, #f7b733);
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(226, 83, 60, 0.55);
}
.footer-insta-btn svg { width: 18px; height: 18px; fill: #fff; }
.footer-rule {
  margin: 34px auto 18px;
  max-width: 260px;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-fine {
  font-size: 12.5px;
  color: #6f78a3;
  line-height: 1.8;
}
.footer-fine a { color: #97a0c4; text-decoration: underline; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 40;
  cursor: pointer;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 18px; height: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .site-nav .container { padding: 0 16px; }
  .nav-links { gap: 10px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-brand { font-size: 14.5px; gap: 8px; }
  .nav-brand img { height: 30px; width: 30px; }
  .nav-cta { padding: 8px 14px; font-size: 12.5px !important; }
  .nav-cta .cta-handle { display: none; }
  .insta-card { padding: 32px 20px; }
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .search-wrap { max-width: none; }
}
