/* assets/css/custom.css */
:root{
  --brand:#0d6efd;
  --bg-soft:#f6f8fb;
}
body{ background: var(--bg-soft); }
.navbar-brand .logo-dot{
  display:inline-block; width:10px; height:10px; border-radius:50%;
  background: var(--brand); margin-left:6px; vertical-align:middle;
}
.hero-card{
  border:0; border-radius: .25rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  overflow:hidden;
}
.hero-badge{
  font-size:.85rem;
  background: rgba(13,110,253,.10);
  color:#0d6efd;
  border:1px solid rgba(13,110,253,.18);
}
.section-title{ letter-spacing:.2px; }
.card-soft{
  border:0; border-radius: 1.25rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}
.btn-round{ border-radius: 999px; }
.footer{
  color:#6c757d;
}
.bottom-nav{
  position:fixed; left:0; right:0; bottom:0;
  background:#fff;
  border-top: 1px solid rgba(0,0,0,.08);
  z-index: 1030;
}
.bottom-nav a{
  text-decoration:none;
  color:#6c757d;
  font-size:.75rem;
}
.bottom-nav a .bi{
  font-size:1.2rem;
  display:block;
}
.bottom-nav a.active{ color: var(--brand); }
@media (min-width: 992px){
  .bottom-nav{ display:none; }
}
.main-wrap{
  padding-bottom: 82px; /* ruang buat bottom nav di mobile */
}
:root{
  --brand-red: #dc3545;   /* merah */
  --brand-yellow: #ffc107;/* kuning */
  --grad-main: linear-gradient(135deg, #dc3545, #ffc107);
}

/* ===== TOPBAR ===== */
.navbar{
  background: var(--grad-main) !important;
}

.navbar .navbar-brand,
.navbar .nav-link,
.navbar .btn{
  color: #fff !important;
}

.navbar .nav-link.active{
  font-weight: 600;
  text-decoration: underline;
}

.navbar .navbar-toggler{
  border-color: rgba(255,255,255,.6);
}
.navbar .navbar-toggler-icon{
  filter: invert(1);
}

/* ===== BOTTOM NAV (MOBILE) ===== */
.bottom-nav{
  background: var(--grad-main);
  border-top: none;
  box-shadow: 0 -4px 20px rgba(0,0,0,.15);
}

.bottom-nav a{
  color: rgba(255,255,255,.75);
}

.bottom-nav a .bi{
  color: rgba(255,255,255,.75);
}

.bottom-nav a.active,
.bottom-nav a.active .bi{
  color: #fff;
  font-weight: 600;
}

/* efek tap mobile */
.bottom-nav a:active{
  transform: scale(0.95);
}
/* ===== GLOBAL CARD RADIUS ===== */
.card,
.card-soft,
.hero-card {
  border-radius: 7px !important;
}

/* gambar di dalam card ikut radius */
.card img,
.card-soft img,
.hero-card img {
  border-radius: 7px;
}
/* ===== HOME HEADER CARD ===== */
.card-home {
  border-radius: 7px;
  overflow: hidden;
  border: none;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.card-home .card-header {
  background: linear-gradient(135deg, #dc3545, #ffc107);
  color: #fff;
  font-weight: 600;
  padding: 14px 16px;
  border-bottom: none;
}

.card-home .card-body {
  padding: 16px;
}

.card-home .card-header i {
  font-size: 1.2rem;
  margin-right: 6px;
}
/* ===== HERO FULL SLIDE ===== */
.hero-full{
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-img{
  height: 520px;
  object-fit: cover;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.15), rgba(0,0,0,.00));
}

@media (max-width: 768px){
  .hero-img{ height: 420px; }
  .hero-overlay{ background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.15)); }
}
/* HERO SLIDE LOOK (seperti screenshot kotak merah) */
.hero-slide-card{
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
}

.hero-slide-img{
  height: 300px;
  object-fit: cover;
}

/* indikator lebih rapi (garis kecil seperti bootstrap default tapi lebih keliatan) */
#heroSlide .carousel-indicators [data-bs-target]{
  width: 28px;
  height: 4px;
  border-radius: 999px;
  opacity: .35;
}
#heroSlide .carousel-indicators .active{
  opacity: 1;
}

/* tombol prev/next lebih clean */
.hero-slide-control{
  width: 10%;
  opacity: .8;
}
.hero-slide-control:hover{ opacity: 1; }
/* ===== FOOTER FULL WIDE GRADIENT BLACK ===== */
.footer-wide{
  width: 100%;
  background: linear-gradient(135deg, #0b0f14, #000000);
  position: relative;
  overflow: hidden;
}

/* efek glow tipis biar premium */
.footer-wide::before{
  content:"";
  position:absolute;
  inset:-120px;
  background: radial-gradient(circle at 20% 20%, rgba(255,193,7,.16), transparent 45%),
              radial-gradient(circle at 80% 0%, rgba(220,53,69,.12), transparent 40%);
  pointer-events:none;
}

.footer-dot{
  width:10px;height:10px;border-radius:99px;
  background: linear-gradient(135deg, #dc3545, #ffc107);
  box-shadow: 0 0 18px rgba(255,193,7,.35);
}

.footer-title{
  color:#fff;
  font-weight:700;
  margin-bottom: 12px;
}

.footer-links{
  list-style:none;
  padding:0;
  margin:0;
}
.footer-links li{ margin-bottom: 10px; }
.footer-links a{
  color: rgba(255,255,255,.72);
  text-decoration:none;
}
.footer-links a:hover{
  color:#fff;
}

.footer-social{
  width:42px;height:42px;border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  display:flex;align-items:center;justify-content:center;
  color:#fff;
  text-decoration:none;
}
.footer-social:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}

.footer-contact{
  display:flex;
  gap:12px;
  align-items:center;
  padding: 12px 12px;
  border-radius: 7px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color:#fff;
}
.footer-contact i{
  font-size: 22px;
  color:#ffc107;
}

.footer-hr{
  border-color: rgba(255,255,255,.12);
}

/* mobile spacing */
@media (max-width: 768px){
  .footer-wide .container{ padding-bottom: 110px; } /* aman dari bottom nav mobile */
}
/* ===== PAGE LOADER ===== */
#pageLoader{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-box{
  text-align: center;
  color: #fff;
}

.spinner{
  width: 52px;
  height: 52px;
  border: 5px solid rgba(255,255,255,.25);
  border-top: 5px solid #ffc107;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 12px;
}

.loader-text{
  font-size: 14px;
  letter-spacing: .5px;
  opacity: .85;
}

@keyframes spin{
  to { transform: rotate(360deg); }
}
.product-image-box{
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
  background: #fff;
}
.product-img{
  height: 500px;
  object-fit: cover;
}
/* ===== STICKY FOOTER (FULL KE BAWAH) ===== */
html, body { height: 100%; }

body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: #f6f7fb; /* atau sesuai warna page */
}

/* footer selalu nempel bawah */


.footer-wide-mt5{
  margin-top: auto !important;
  width: 100%;
}


/* hilangkan ruang putih bawaan (kalau ada) */
body > .container:last-child { margin-bottom: 0 !important; }

/* kalau ada bottom nav mobile yang bikin padding bawah, footer tetap bisa full */
@media (max-width:768px){
  body{ padding-bottom: 0 !important; }
}
/* ICON BANK */


.qris-img{
  max-height: 160px;
  cursor: zoom-in;
}

.zoomable{
  transition: transform .15s ease, box-shadow .15s ease;
}
.zoomable:hover{
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}
/* ===== BANK CARD ===== */
.bank-card{
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}

.bank-card-header{
  padding: 10px 12px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
}

.bank-card-body{
  padding: 14px 12px;
  text-align: center;
}

.bank-logo-sm{
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin-bottom: 10px;
  cursor: zoom-in;
}

.bank-info{
  line-height: 1.4;
}
.demo-video-wrap{
  background: #000;
}
.demo-video{
  object-fit: cover;
}
/* ===== REWARD CARDS (PLAN PAGE) ===== */
.reward-card{
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
}

.reward-head{
  padding: 12px 14px;
  color: #fff;
  font-weight: 800;
  letter-spacing: .2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grad-blue{ background: linear-gradient(135deg, #0d6efd, #4dabff); }
.grad-green{ background: linear-gradient(135deg, #198754, #58d68d); }
.grad-dark{ background: linear-gradient(135deg, #111827, #374151); }

.reward-body{
  padding: 14px;
}

.reward-table{
  border-radius: 7px;
  background: #f8f9fa;
  border: 1px solid rgba(0,0,0,.06);
  overflow: hidden;
}

.rw-row{
  display: grid;
  grid-template-columns: 90px 18px 1fr;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  align-items: center;
}
.rw-row:last-child{ border-bottom: 0; }

.rw-pair{
  font-weight: 800;
  color: #111827;
}
.rw-eq{
  text-align: center;
  color: #6b7280;
  font-weight: 700;
}
.rw-val{
  font-weight: 700;
  color: #111827;
}

.reward-note{
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 7px;
  background: rgba(13,110,253,.06);
  border: 1px solid rgba(13,110,253,.12);
  color: #334155;
}

.matching-box{
  padding: 12px;
  border-radius: 7px;
  background: #f8f9fa;
  border: 1px solid rgba(0,0,0,.06);
}
.matching-line{
  display: flex;
  align-items: center;
  padding: 8px 0;
  font-weight: 600;
  color: #111827;
  border-bottom: 1px dashed rgba(0,0,0,.12);
}
.matching-line:last-child{ border-bottom: 0; }

@media (max-width: 576px){
  .rw-row{ grid-template-columns: 78px 18px 1fr; }
}
