*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


body{
  background-color: #050907;
  background-image:
    radial-gradient(
      ellipse at 15% 5%,
      rgba(12, 105, 66, 0.32),
      transparent 42%
    ),
    radial-gradient(
      ellipse at 90% 35%,
      rgba(181, 137, 55, 0.10),
      transparent 38%
    ),
    radial-gradient(
      ellipse at 50% 100%,
      rgba(8, 75, 49, 0.22),
      transparent 50%
    ),
    linear-gradient(
      160deg,
      #071b14 0%,
      #090e0b 48%,
      #030605 100%
    );

  color: white;
  padding-bottom: 100px;
  font-family: system-ui, -apple-system, sans-serif;
}


.container{
  max-width: 520px;
  margin: auto;
}

header{
  position: sticky;
  top: 12px;
  z-index: 100;
  margin: 12px 14px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: rgba(28,24,32,0.92); /* sedikit lebih pekat agar teks di bawahnya tidak tembus saat di-scroll */
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  backdrop-filter: blur(12px);
}


.logo-img{
  width: 75px;
  height: 75px;
  object-fit: contain;
  border-radius: 14px;
  flex-shrink: 0;
}

.header-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.header-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 10px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.2s;
}

.header-btn:hover {
  background: rgba(240, 91, 155, 0.2);
  border-color: #f05b9b;
  color: #f05b9b;
}

.header-btn .btn-tag {
  font-size: 9px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #25d366;
  color: #000;
  font-weight: bold;
}

/* BANNER REKBER COMPACT */
.rekber-banner {
  margin: 12px 14px;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.85), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  backdrop-filter: blur(8px);
}

.rekber-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.rekber-badge-fee {
  font-size: 9px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 1px 6px;
  border-radius: 6px;
  font-weight: bold;
}

.btn-rekber {
  background: #10b981;
  color: #064e3b;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.2s;
}

.btn-rekber:hover {
  background: #34d399;
}

.hero-section {
  margin: 18px 18px 8px;
  text-align: center;
}

.hero-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.hero-title span {
  color: #f05b9b;
}

.quote-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(240, 91, 155, 0.3);
  padding: 12px 14px;
  border-radius: 14px;
  margin-top: 6px;
}

.arabic-quote {
  font-size: 16px;
  line-height: 1.8;
  color: #f3a833;
  font-family: 'Amiri', 'Traditional Arabic', serif;
  margin-bottom: 6px;
  direction: rtl;
}

.hero-subtitle {
  font-size: 11px;
  color: #d1c8d1;
  line-height: 1.5;
  font-style: italic;
}

.search{
  margin: 14px 18px;
  padding: 14px 16px;
  background: #1d1722;
  border: 1px solid #3c2a42;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search input{
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: white;
  font-size: 14px;
}

.categories{
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 18px 16px;
  scrollbar-width: none;
}

.category{
  white-space: nowrap;
  background: rgba(28, 24, 32, 0.9);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 14px;
  border-radius: 18px;
  color: #b9afb9;
  font-size: 12px;
  cursor: pointer;
}

.category.active-cat{
  background: rgba(245,91,155,0.2);
  border-color: #f579aa;
  color: #f579aa;
  font-weight: bold;
}

.section-title{
  margin: 16px 18px 14px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 18px;
}

.card-product {
  background-color: #18151c;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}

.card-product:hover {
  transform: translateY(-3px);
  border-color: #f05b9b;
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 100%;
  background: #251e2b;
}

.card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-game {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nokos-badge-game {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-header-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.badge-tag {
  align-self: flex-start;
  background: rgba(243, 168, 51, 0.15);
  color: #f3a833;
  border: 1px solid #f3a833;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.badge-soldout {
  background: rgba(255, 75, 75, 0.15) !important;
  color: #ff4b4b !important;
  border-color: #ff4b4b !important;
}

.card-title {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-price {
  color: #f05b9b;
  font-size: 14px;
  font-weight: 800;
  margin-top: auto;
  padding-top: 4px;
}

.modal{
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(6px);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content{
  background: #1c1822;
  border: 1px solid #f05b9b;
  border-radius: 20px;
  padding: 20px;
  max-width: 400px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal h3{ margin-bottom: 10px; font-size: 18px; }
.modal p{ color: #ccc; font-size: 13px; line-height: 1.6; margin-bottom: 14px; }

.input-group {
  margin-bottom: 12px;
  display: flex;
  gap: 8px;
}

.input-field {
  width: 100%;
  padding: 10px 12px;
  background: #18151c;
  border: 1px solid #3c2a42;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  outline: none;
}

.input-field:focus {
  border-color: #f05b9b;
}

.qty-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 12px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.qty-label {
  font-size: 13px;
  font-weight: 600;
  color: #ddd;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid #f05b9b;
  background: rgba(240, 91, 155, 0.15);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.qty-input {
  width: 40px;
  text-align: center;
  background: none;
  border: none;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  outline: none;
}

.total-price-text {
  font-size: 14px;
  color: #f05b9b;
  font-weight: bold;
  margin-bottom: 14px;
  display: block;
}

.btn-buy{
  display: block;
  width: 100%;
  text-align: center;
  background: #25d366;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
}

.btn-buy:disabled {
  background: #555;
  cursor: not-allowed;
}

.btn-secondary {
  display: block;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f3a833;
  padding: 10px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
}

.btn-close{
  display: block;
  text-align: center;
  margin-top: 10px;
  color: #aaa;
  font-size: 12px;
  cursor: pointer;
}

.review-box {
  background: rgba(28,24,32,0.85);
  padding: 16px;
  border-radius: 18px;
  margin: 24px 18px 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

.review-input, .review-select, .review-textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid #3c2a42;
  background: #18151c;
  color: #fff;
  font-size: 13px;
  box-sizing: border-box;
  outline: none;
}

.review-textarea {
  resize: vertical;
}

.btn-submit-review {
  width: 100%;
  padding: 12px;
  background: #f05b9b;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
}

.btn-submit-review:hover {
  background: #d84885;
}

.review-card {
  background: rgba(255,255,255,0.04);
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.06);
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 13px;
  color: #f3a833;
  margin-bottom: 6px;
}

.review-card-text {
  color: #ddd;
  font-size: 13px;
  line-height: 1.4;
    }
    
