:root {
  --primary: #0066A6;
  --secondary: #FFDE59;
  --accent: #333333;
  --cream: #fff9f5;
  --danger: #e31b23;
}

.reward-page {
  background: var(--cream);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 40px;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-header p {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #555;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  background: #004f7d;
}

.btn-primary-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #fff;
  color: var(--primary);
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn-primary-light:hover {
  transform: translateY(-2px);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.14);
}

.reward-hero {
  padding: 80px 0 70px;
  background: radial-gradient(circle at top left, #ffefc4 0, #fff9f5 40%, #ffe6d9 100%);
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-text h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 52px;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero-text p {
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  color: #444;
  max-width: 420px;
  margin-bottom: 26px;
}
.hero-btn {
  font-size: 18px;
  padding: 13px 34px;
}
.hero-visual {
  position: relative;
  flex: 0 0 46%;
  min-height: 260px;
}
.hero-badge {
  position: absolute;
  top: 0;
  right: 30px;
  background: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.15);
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  color: var(--accent);
}
.hero-badge i {
  color: var(--secondary);
}
.hero-card {
  position: absolute;
  top: 70px;
  right: 0;
  left: 20px;
  margin: 0 auto;
  max-width: 360px;
  background: var(--primary);
  color: #fff;
  border-radius: 22px;
  padding: 40px 30px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}
.hero-card i {
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--secondary);
}
.hero-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 26px;
  margin-bottom: 8px;
}
.hero-card p {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}
.hero-floating {
  position: absolute;
  font-size: 26px;
  color: var(--danger);
  opacity: 0.7;
  animation: floatIcon 4s ease-in-out infinite;
}
.hero-floating-1 {
  top: 40px;
  left: 10px;
}
.hero-floating-2 {
  bottom: 10px;
  right: 40px;
  animation-delay: 1.2s;
}

@keyframes floatIcon {
  0% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(-10px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.7; }
}

.connect-earn {
  padding: 70px 0;
}
.connect-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}
.connect-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px 26px;
  box-shadow: 0 8px 24px rgba(149,157,165,0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.connect-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.18);
}
.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(0,102,166,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 22px;
}
.connect-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  color: var(--accent);
}
.connect-card p {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #555;
}

.follow-journey {
  padding: 60px 0 70px;
}
.follow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}
.follow-card {
  background: #fff;
  border-radius: 18px;
  padding: 26px 24px 30px;
  box-shadow: 0 8px 24px rgba(149,157,165,0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.follow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,102,166,0.06), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.follow-card:hover::before {
  opacity: 1;
}
.follow-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
}
.follow-icon.insta {
  background: radial-gradient(circle at top left, #feda75, #d62976, #962fbf, #4f5bd5);
}
.follow-icon.tiktok {
  background: #000;
}
.follow-icon.facebook {
  background: #1877f2;
}
.follow-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  color: var(--accent);
}
.follow-card p {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #555;
}

.rewards-intro {
  padding: 60px 0 40px;
}
.rewards-highlight {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border-radius: 20px;
  padding: 30px 30px 34px;
  box-shadow: 0 10px 26px rgba(149,157,165,0.3);
}
.rewards-highlight h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 8px;
}
.rewards-highlight p {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #444;
  margin-bottom: 18px;
}

.steps-join {
  padding: 40px 0 70px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}
.step-card {
  background: #fff;
  border-radius: 18px;
  padding: 26px 22px 28px;
  box-shadow: 0 8px 24px rgba(149,157,165,0.2);
  position: relative;
}
.step-number {
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  color: rgba(0,0,0,0.12);
}
.step-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 10px;
}
.step-card p {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #555;
}

.earn-points {
  padding: 60px 0;
}
.earn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}
.earn-card {
  background: #fff;
  border-radius: 18px;
  padding: 26px 24px 26px;
  box-shadow: 0 8px 24px rgba(149,157,165,0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.earn-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  color: var(--accent);
}
.earn-card p {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #555;
}

.tiers-section {
  padding: 60px 0;
}
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}
.tier-card {
  background: #fff;
  border-radius: 20px;
  padding: 26px 22px 26px;
  box-shadow: 0 10px 26px rgba(149,157,165,0.3);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.tier-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.tier-card.bronze::before {
  background: linear-gradient(135deg, rgba(184,115,51,0.18), transparent);
}
.tier-card.silver::before {
  background: linear-gradient(135deg, rgba(192,192,192,0.2), transparent);
}
.tier-card.gold::before {
  background: linear-gradient(135deg, rgba(255,215,0,0.22), transparent);
}
.tier-card:hover::before {
  opacity: 1;
}
.tier-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 22px;
}
.tier-card.bronze .tier-icon {
  background: #b87333;
  color: #fff;
}
.tier-card.silver .tier-icon {
  background: #b0b0b0;
  color: #fff;
}
.tier-card.gold .tier-icon {
  background: #f6c500;
  color: #fff;
}
.tier-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 4px;
}
.tier-points {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 12px;
}
.tier-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tier-card ul li {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #555;
  margin-bottom: 6px;
}

.redeem-section {
  padding: 60px 0;
}
.redeem-table-wrapper {
  background: #fff;
  border-radius: 20px;
  padding: 26px 22px 30px;
  box-shadow: 0 8px 24px rgba(149,157,165,0.25);
}
.redeem-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
}
.redeem-table thead {
  background: rgba(0,102,166,0.05);
}
.redeem-table th,
.redeem-table td {
  text-align: left;
  padding: 10px 12px;
}
.redeem-table th {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  color: var(--accent);
}
.redeem-table tbody tr:nth-child(even) {
  background: rgba(0,0,0,0.015);
}
.redeem-note {
  margin-top: 14px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #555;
}

.wallet-section {
  padding: 60px 0 70px;
}
.wallet-layout {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.wallet-info {
  flex: 0 0 40%;
}
.wallet-info h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 26px;
  color: var(--accent);
  margin-bottom: 10px;
}
.wallet-info p {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #555;
  margin-bottom: 8px;
}
.wallet-steps {
  margin: 14px 0 18px;
  padding-left: 20px;
}
.wallet-steps li {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #555;
  margin-bottom: 4px;
}
.wallet-table-wrapper {
  flex: 1;
}
.wallet-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}
.wallet-table th,
.wallet-table td {
  border: 1px solid rgba(0,0,0,0.06);
  padding: 8px 10px;
  text-align: left;
}
.wallet-table th {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  background: rgba(0,102,166,0.06);
  color: var(--accent);
}
.wallet-table .small {
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  color: #777;
}

.why-join {
  padding: 50px 0 70px;
}
.why-grid {
  display: flex;
  gap: 26px;
  align-items: stretch;
}
.why-text {
  flex: 1;
}
.why-text h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 14px;
}
.why-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.why-text ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #555;
}
.why-text ul li::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: 0;
  color: var(--primary);
}
.why-cta {
  flex: 0 0 40%;
  display: flex;
  justify-content: flex-end;
}
.why-card {
  background: var(--primary);
  color: #fff;
  border-radius: 22px;
  padding: 30px 26px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.why-card i.fa-burger {
  font-size: 32px;
  color: var(--secondary);
}
.why-card p {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}

.no-scroll {
  overflow: hidden;
}
.connect-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 999;
}
.connect-modal.active {
  display: block;
}
.connect-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.connect-modal-dialog {
  position: relative;
  max-width: 640px;
  margin: 60px auto;
  background: #fff;
  border-radius: 20px;
  padding: 28px 26px 24px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  z-index: 1;
}
.connect-modal-dialog h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 6px;
}
.connect-modal-dialog p {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #555;
}
.social-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin: 18px 0 10px;
}
.social-step h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  color: var(--accent);
  margin-bottom: 6px;
}
.social-step p {
  font-size: 14px;
}
.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 6px;
}
.social-icon.insta {
  background: radial-gradient(circle at top left, #feda75, #d62976, #962fbf, #4f5bd5);
}
.social-icon.facebook {
  background: #1877f2;
}
.social-icon.tiktok {
  background: #000;
}
.modal-footer-text {
  margin-top: 6px;
  font-size: 13px;
  color: #666;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.modal-close i {
  color: #555;
}

@media (max-width: 1024px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-text p {
    margin: 0 auto 26px;
  }
  .hero-visual {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
  .connect-grid,
  .follow-grid,
  .steps-grid,
  .earn-grid,
  .tiers-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .wallet-layout {
    flex-direction: column;
  }
  .wallet-info {
    flex: 1;
  }
  .why-grid {
    flex-direction: column;
  }
  .why-cta {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 32px;
  }
  .hero-text h1 {
    font-size: 40px;
  }
  .connect-grid,
  .follow-grid,
  .steps-grid,
  .earn-grid,
  .tiers-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .wallet-table th,
  .wallet-table td {
    font-size: 13px;
  }
  .social-steps {
    grid-template-columns: minmax(0,1fr);
  }
  .connect-modal-dialog {
    margin: 40px 16px;
  }

  .reward-hero {
    padding: 60px 0 50px;
  }

  .connect-earn,
  .follow-journey,
  .rewards-intro,
  .steps-join,
  .earn-points,
  .tiers-section,
  .redeem-section,
  .wallet-section,
  .why-join {
    padding: 50px 0;
  }
}

@media (max-width: 600px) {
  .section-header h2 {
    font-size: 28px;
  }

  .section-header p {
    font-size: 15px;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .hero-text p {
    font-size: 15px;
  }

  .reward-hero {
    padding: 40px 0 40px;
  }

  .hero-badge {
    font-size: 14px;
    padding: 8px 14px;
  }

  .hero-card {
    padding: 30px 20px;
    top: 50px;
  }

  .hero-card h3 {
    font-size: 22px;
  }

  .hero-card p {
    font-size: 14px;
  }

  .connect-card,
  .follow-card,
  .step-card,
  .earn-card,
  .tier-card {
    padding: 20px 18px;
  }

  .connect-card h3,
  .follow-card h3,
  .step-card h3,
  .earn-card h3,
  .tier-card h3 {
    font-size: 20px;
  }

  .connect-card p,
  .follow-card p,
  .step-card p,
  .earn-card p {
    font-size: 14px;
  }

  .redeem-table-wrapper,
  .rewards-highlight {
    padding: 20px 16px;
  }

  .redeem-table th,
  .redeem-table td {
    font-size: 13px;
    padding: 8px 8px;
  }

  .why-text h2 {
    font-size: 26px;
  }

  .why-card {
    padding: 24px 20px;
  }
}
