:root {
  --bg: #06081a;
  --bg-soft: #0b0d2b;
  --bg-card: rgba(0, 155, 255, 0.08);
  --primary: #009bff;
  --primary-2: #01a0fc;
  --primary-dark: #0066cc;
  --primary-glow: rgba(0, 155, 255, 0.35);
  --text: #eef0ff;
  --muted: #a8abdd;
  --border: rgba(0, 155, 255, 0.25);
  --danger: #f87171;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(0, 155, 255, 0.15),
      transparent 32%
    ),
    radial-gradient(
      circle at top right,
      rgba(0, 155, 255, 0.08),
      transparent 28%
    ),
    linear-gradient(180deg, #06081a 0%, #0b0d2b 48%, #06081a 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
}

p a {
  text-decoration: none;
  color: var(--primary);
  font-weight: bold;
}

img {
  max-width: 100%;
}

/* ============================================================
   TOPBAR - BIRU CERAH
   ============================================================ */
.topbar {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(0, 100, 255, 0.20);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 155, 255, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  text-decoration: none;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
}

.brand-text strong {
  display: block;
  color: var(--primary);
  font-size: 23px;
  letter-spacing: 1.5px;
  line-height: 1;
  text-shadow: 0 0 14px rgba(0, 155, 255, 0.58);
}

.brand-text span {
  display: block;
  margin-top: 4px;
  color: #dfffe8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.search-box {
  flex: 1;
  max-width: 390px;
  position: relative;
  margin-left: auto;
}

.search-box input {
  width: 100%;
  padding: 13px 46px 13px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 155, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
  color: white;
  outline: none;
  font-size: 14px;
  transition: 0.25s ease;
}

.search-box input:focus {
  border-color: rgba(0, 155, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(0, 155, 255, 0.09);
}

.search-box input::placeholder {
  color: #93b99d;
}

.search-box i {
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
}

.navbar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
}

.nav-link {
  border: none;
  cursor: pointer;
  color: #eaffef;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  transition: 0.25s ease;
  width: 100%;
}

.nav-link:hover {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 0 18px rgba(0, 155, 255, 0.33);
}

.dropdown-menu {
  position: absolute;
  top: 48px;
  left: 0;
  width: 320px;
  max-height: 420px;
  overflow-y: auto;
  display: none;
  padding: 10px;
  border-radius: 18px;
  background: rgba(6, 20, 11, 0.98);
  border: 1px solid rgba(0, 155, 255, 0.2);
  box-shadow: var(--shadow);
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  text-decoration: none;
  color: white;
  transition: 0.25s;
}

.dropdown-item:hover {
  background: rgba(0, 155, 255, 0.08);
}

.dropdown-item img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  object-fit: contain;
  background: #fff;
  padding: 3px;
}

.dropdown-info {
  flex: 1;
  min-width: 0;
}

.dropdown-info strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.badge.buka {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.badge.tutup {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge.libur {
  background: rgba(255, 141, 41, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.dropdown-info small {
  color: #a8cdb2;
  font-size: 11px;
}

.auth-buttons {
  display: flex;
  gap: 10px;
  min-width: max-content;
}

.btn-login,
.btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  transition: 0.25s ease;
}

.btn-login {
  color: #dfffe8;
  border: 1px solid rgba(0, 155, 255, 0.24);
  background: rgba(255, 255, 255, 0.045);
}

.btn-register {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 20px rgba(0, 155, 255, 0.28);
}

.btn-login:hover,
.btn-register:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.mobile-menu-btn {
  display: none;
  width: 43px;
  height: 43px;
  border: none;
  border-radius: 14px;
  color: var(--primary);
  background: rgba(0, 155, 255, 0.1);
  font-size: 21px;
  cursor: pointer;
}

/* ============================================================
   HERO - BIRU CERAH
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 34px 16px 20px;
}

.hero::before {
  content: var(--b4d-setting-brand, "BAMBU4D");
  position: absolute;
  top: 70px;
  right: -70px;
  font-size: 145px;
  font-weight: 1000;
  letter-spacing: 9px;
  color: rgba(0, 155, 255, 0.045);
  pointer-events: none;
  white-space: nowrap;
}

.hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.slider {
  position: relative;
  min-height: 420px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(0, 155, 255, 0.24);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
  background: #020804;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.75s ease;
  display: grid;
  align-items: center;
  padding: 54px 46px;
  background:
    linear-gradient(
      105deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(11, 13, 43, 0.72) 45%,
      rgba(0, 0, 0, 0.38) 100%
    ),
    radial-gradient(
      circle at 80% 28%,
      rgba(0, 155, 255, 0.24),
      transparent 33%
    ),
    repeating-linear-gradient(
      45deg,
      rgba(0, 155, 255, 0.04) 0,
      rgba(0, 155, 255, 0.04) 2px,
      transparent 2px,
      transparent 13px
    );
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide-content {
  max-width: 720px;
  animation: slideUp 0.7s ease both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 1px;
  background: rgba(0, 155, 255, 0.12);
  border: 1px solid rgba(0, 155, 255, 0.35);
}

.slide h1 {
  max-width: 760px;
  margin-bottom: 15px;
  color: white;
  font-size: 48px;
  line-height: 1.12;
  font-weight: 1000;
  letter-spacing: -1.5px;
  text-shadow: 0 0 22px rgba(0, 155, 255, 0.22);
}

.slide p {
  max-width: 640px;
  color: #d7f5df;
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.btn-main,
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 165px;
  padding: 14px 20px;
  border-radius: 15px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 1000;
  transition: 0.25s ease;
}

.btn-main {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 22px rgba(0, 155, 255, 0.34);
}

.btn-line {
  color: var(--primary);
  border: 1px solid rgba(0, 155, 255, 0.65);
  background: rgba(0, 0, 0, 0.28);
}

.btn-main:hover,
.btn-line:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.slider-dots {
  position: absolute;
  left: 46px;
  bottom: 15px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border: none;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.32);
  transition: 0.25s ease;
}

.slider-dots button.active {
  width: 34px;
  background: var(--primary);
  box-shadow: 0 0 14px rgba(0, 155, 255, 0.8);
}

.hero-stats {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 10px 24px 0;
}

@media (max-width: 600px) {
  .hero-stats {
    display: none;
  }
}

.stat-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(0, 155, 255, 0.18);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.stat-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--primary);
  font-size: 17px;
}

.stat-card span {
  display: block;
  color: #d9f6df;
  font-size: 13px;
  line-height: 1.55;
}

/* ============================================================
   CONTENT - BIRU CERAH
   ============================================================ */
.container {
  max-width: 1280px;
  margin: auto;
  padding: 10px 18px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.section-title {
  font-size: 30px;
  font-weight: 1000;
  line-height: 1.25;
}

.section-title span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 155, 255, 0.2);
  color: #dfffe8;
  background: rgba(0, 155, 255, 0.07);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 26px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.065),
      rgba(0, 155, 255, 0.045)
    ),
    rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(0, 155, 255, 0.15);
  box-shadow: var(--shadow);
  transition: 0.32s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(
    circle at top,
    rgba(0, 155, 255, 0.16),
    transparent 38%
  );
  opacity: 0.75;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 155, 255, 0.36);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.46),
    0 0 25px rgba(0, 155, 255, 0.12);
}

.card > * {
  position: relative;
  z-index: 2;
}

span.\32 d-card {
  font-weight: 900;
  display: block;
  color: var(--primary);
  font-size: 60px;
  position: absolute;
  right: 5px;
  top: -5px;
  opacity: 0.5;
  border-bottom-left-radius: 20px;
}

.logo-wrap {
  width: 94px;
  height: 94px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    rgba(0, 155, 255, 0.18),
    rgba(0, 0, 0, 0.22)
  );
  padding: 8px;
  border: 2px solid rgba(0, 155, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 24px rgba(0, 155, 255, 0.12);
}

.logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 9999px;
  background: white;
}

.market-name {
  text-align: center;
  font-size: 19px;
  font-weight: 1000;
  margin-top: 18px;
  min-height: 48px;
  color: #fff;
}

.status {
  width: max-content;
  margin: 14px auto;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 1000;
  font-size: 13px;
}

.status.buka {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status.tutup {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.status.libur {
  background: rgba(255, 141, 41, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.date-label,
.hariaktif {
  text-align: center;
  color: #a8cdb2;
  font-size: 12px;
  margin-top: 8px;
  margin-bottom: 7px;
  font-weight: 900;
  letter-spacing: 0.8px;
}

.tanggal {
  text-align: center;
  color: #ffffff;
  font-size: 19px;
  margin-bottom: 17px;
  font-weight: 1000;
}

.time-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 17px 0;
  text-align: center;
}

.time-box {
  padding: 13px 10px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(0, 155, 255, 0.1);
}

.time-box small {
  display: block;
  color: #a8cdb2;
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 900;
}

.time-box strong {
  color: #fff;
  font-size: 24px;
}

.days {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 15px 0 19px;
}

.day {
  padding: 6px 9px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 900;
}

.active-day {
  background: rgba(0, 155, 255, 0.15);
  color: #4db8ff;
  border: 1px solid rgba(0, 155, 255, 0.25);
}

.off-day {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
  opacity: 0.58;
}

.link-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(0, 155, 255, 0.2);
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 13px;
  font-weight: 900;
  background: rgba(0, 155, 255, 0.065);
  transition: 0.25s ease;
}

.link-btn:hover {
  color: #fff;
  background: var(--primary);
}

.action-row {
  display: flex;
  gap: 10px;
}

.join-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #01a0fc, #009bff);
  padding: 14px;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 1000;
  box-shadow: 0 12px 24px rgba(0, 155, 255, 0.25);
  transition: 0.25s ease;
}

.info-btn {
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #dfffe8;
  background: rgba(255, 255, 255, 0.055);
  text-decoration: none;
  font-size: 18px;
  transition: 0.25s ease;
}

.join-btn:hover,
.info-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

/* ============================================================
   POPUP - BIRU CERAH
   ============================================================ */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  padding: 20px;
}

.popup.show {
  display: flex;
}

.popup-box {
  width: 100%;
  max-width: 720px;
  color: white;
  overflow: hidden;
  border-radius: 24px;
  background: #07110b;
  border: 1px solid rgba(0, 155, 255, 0.18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  animation: popup 0.2s ease;
}

@keyframes popup {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0, 155, 255, 0.14);
  background: linear-gradient(
    90deg,
    rgba(0, 155, 255, 0.1),
    rgba(0, 0, 0, 0.18)
  );
}

.popup-header h2 {
  font-size: 22px;
  line-height: 1.3;
}

.popup-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  cursor: pointer;
  color: #dfffe8;
  background: rgba(255, 255, 255, 0.06);
}

.popup-tabs {
  display: flex;
  border-bottom: 1px solid rgba(0, 155, 255, 0.1);
}

.tab-btn {
  flex: 1;
  padding: 16px;
  background: none;
  border: none;
  color: #a8cdb2;
  font-size: 15px;
  font-weight: 1000;
  cursor: pointer;
}

.tab-btn.active {
  color: var(--primary);
  border-bottom: 3px solid var(--primary);
}

.popup-content {
  max-height: 430px;
  overflow-y: auto;
  padding: 24px;
}

.tab-content {
  display: none;
}

.tab-content.active-tab {
  display: block;
}

.rule-box {
  background: rgba(0, 155, 255, 0.1);
  border: 1px solid rgba(0, 155, 255, 0.15);
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 1000;
  margin-bottom: 10px;
  margin-top: 10px;
  color: #dfffe8;
}

.rule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rule-item {
  border-left: 3px solid var(--primary);
  padding: 12px 14px;
  border-radius: 0 12px 12px 0;
  line-height: 1.65;
  color: #d7f5df;
  font-weight: 650;
  background: rgba(255, 255, 255, 0.04);
}

.hadiah-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
}

.hadiah-table th {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  padding: 14px;
}

.hadiah-table td {
  padding: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.055);
  border-bottom: 1px solid rgba(0, 155, 255, 0.1);
  font-weight: 800;
}

.popup-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-top: 1px solid rgba(0, 155, 255, 0.1);
  background: rgba(0, 0, 0, 0.18);
}

.join-popup-btn,
.close-popup-btn {
  border: none;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 1000;
  cursor: pointer;
}

.join-popup-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

.close-popup-btn {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

/* ============================================================
   ARTICLE - BIRU CERAH
   ============================================================ */
.b4d-artikel {
  padding: 38px 16px;
}

.b4d-artikel-box {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(0, 155, 255, 0.22);
  box-shadow: 0 0 32px rgba(0, 155, 255, 0.08);
  color: #eef0ff;
  text-align: center;
}

.b4d-artikel-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(0, 155, 255, 0.12);
  border: 1px solid rgba(0, 155, 255, 0.35);
  color: #4db8ff;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 1px;
}

.b4d-artikel h2 {
  margin: 0 0 14px;
  color: #4db8ff;
  font-size: 28px;
  line-height: 1.3;
  text-shadow: 0 0 12px rgba(0, 155, 255, 0.45);
}

.b4d-artikel p {
  margin: 10px auto;
  max-width: 850px;
  color: #d0d3f0;
  font-size: 15px;
  line-height: 1.75;
}

.b4d-artikel-note {
  margin: 22px auto 0;
  padding: 13px 15px;
  max-width: 720px;
  border-radius: 15px;
  background: rgba(0, 155, 255, 0.08);
  border: 1px solid rgba(0, 155, 255, 0.2);
  color: #c8e6ff;
  font-size: 14px;
  font-weight: 800;
}

/* ============================================================
   FOOTER - BIRU CERAH
   ============================================================ */
.b4d-footer {
  position: relative;
  padding: 38px 18px 18px;
  background: linear-gradient(180deg, #0b0d2b 0%, #06081a 100%);
  color: #eef0ff;
  overflow: hidden;
  border-top: 1px solid rgba(0, 155, 255, 0.35);
}

.b4d-footer-glow {
  position: absolute;
  top: -90px;
  left: 50%;
  width: 440px;
  height: 440px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 155, 255, 0.22), transparent 65%);
  pointer-events: none;
}

.b4d-footer-wrap {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 22px;
}

.b4d-footer-brand,
.b4d-footer-menu,
.b4d-footer-info {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(0, 155, 255, 0.18);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 0 22px rgba(0, 155, 255, 0.08);
}

.b4d-footer-brand h2 {
  margin: 0;
  font-size: 31px;
  letter-spacing: 2px;
  color: #4db8ff;
  text-shadow: 0 0 12px rgba(0, 155, 255, 0.7);
}

.b4d-footer-brand p {
  margin: 6px 0 10px;
  font-weight: 1000;
  color: #ffffff;
  font-size: 15px;
}

.b4d-footer-brand span {
  display: block;
  color: #a8abdd;
  line-height: 1.65;
  font-size: 14px;
}

.b4d-footer h3 {
  margin: 0 0 12px;
  color: #4db8ff;
  font-size: 17px;
}

.b4d-footer-menu a {
  display: block;
  color: #d0d3f0;
  text-decoration: none;
  margin: 9px 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 155, 255, 0.07);
  transition: 0.25s ease;
  font-weight: 800;
}

.b4d-footer-menu a:hover {
  background: linear-gradient(90deg, #009bff, #01a0fc);
  color: #fff;
  transform: translateX(4px);
}

.b4d-footer-info p {
  margin: 9px 0;
  color: #d0d3f0;
  font-size: 14px;
}

.b4d-footer-bottom {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 22px auto 0;
  padding-top: 15px;
  text-align: center;
  border-top: 1px solid rgba(0, 155, 255, 0.18);
  color: #a8abdd;
  font-size: 13px;
}

.b4d-footer-bottom strong {
  color: #4db8ff;
}

/* ============================================================
   EMPTY STATE & RESPONSIVE
   ============================================================ */
.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 35px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(0, 155, 255, 0.16);
  color: #d7f5df;
  display: none;
}

/* RESPONSIVE */
@media (max-width: 1080px) {
  .topbar-inner {
    flex-wrap: wrap;
  }

  .mobile-menu-btn {
    display: grid;
    place-items: center;
    margin-left: auto;
  }

  .search-box {
    order: 3;
    width: 100%;
    max-width: none;
    flex: 1 0 100%;
    margin-left: 0;
  }

  .navbar {
    order: 4;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 8px;
  }

  .navbar.show {
    display: flex;
  }

  .nav-link {
    justify-content: space-between;
    border-radius: 14px;
  }

  .dropdown-menu {
    position: relative;
    top: 8px;
    width: 100%;
    max-height: 300px;
  }

  .auth-buttons {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .topbar-inner {
    padding: 12px;
  }

  .brand-text strong {
    font-size: 20px;
  }

  .auth-buttons {
    width: 100%;
    order: 5;
  }

  .btn-login,
  .btn-register {
    flex: 1;
  }

  .hero {
    padding: 22px 12px 10px;
  }

  .hero::before {
    top: 120px;
    right: -105px;
    font-size: 78px;
  }

  .slider {
    min-height: 460px;
    border-radius: 23px;
  }

  .slide {
    padding: 36px 22px 70px;
    text-align: center;
    justify-items: center;
  }

  .slide h1 {
    font-size: 31px;
    letter-spacing: -0.6px;
  }

  .slide p {
    font-size: 14px;
  }

  .hero-actions {
    justify-content: center;
  }

  .btn-main,
  .btn-line {
    width: 100%;
  }

  .slider-dots {
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
  }

  .hero-stats {
    margin: 12px 12px 0;
    grid-template-columns: 1fr;
  }

  .container {
    padding: 28px 12px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-title {
    font-size: 24px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card {
    border-radius: 22px;
    padding: 21px;
  }

  .popup-content {
    padding: 18px;
  }

  .popup-footer {
    flex-direction: column;
  }

  .join-popup-btn,
  .close-popup-btn {
    width: 100%;
    text-align: center;
  }

  .b4d-artikel {
    padding: 28px 12px;
  }

  .b4d-artikel-box {
    padding: 23px 16px;
    border-radius: 18px;
  }

  .b4d-artikel h2 {
    font-size: 23px;
  }

  .b4d-artikel p {
    font-size: 14px;
  }

  .b4d-footer {
    padding: 30px 14px 16px;
    text-align: center;
  }

  .b4d-footer-wrap {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .b4d-footer-menu a:hover {
    transform: none;
  }
}

@media (max-width: 420px) {
  .brand-icon {
    width: 38px;
    height: 38px;
  }

  .brand-text span {
    font-size: 10px;
  }

  .slide h1 {
    font-size: 28px;
  }

  .time-box strong {
    font-size: 21px;
  }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.b4d-marquee-wrap {
  position: relative;
  z-index: 6;
  max-width: 1150px;
  margin: 8px auto 0;
  padding: 0 16px;
  font-family: Arial, Helvetica, sans-serif;
}

.b4d-marquee {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(0, 119, 204, 0.28),
    rgba(0, 155, 255, 0.12),
    rgba(0, 119, 204, 0.28)
  );
  border: 1px solid rgba(0, 155, 255, 0.35);
  box-shadow:
    0 0 18px rgba(0, 155, 255, 0.18),
    inset 0 0 18px rgba(0, 155, 255, 0.08);
}

.b4d-marquee::before,
.b4d-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 70px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.b4d-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #06081a, transparent);
}

.b4d-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #06081a, transparent);
}

.b4d-marquee-track {
  display: flex;
  width: max-content;
  gap: 34px;
  padding: 11px 0;
  animation: b4dMarquee 28s linear infinite;
}

.b4d-marquee:hover .b4d-marquee-track {
  animation-play-state: paused;
}

.b4d-marquee-track span {
  white-space: nowrap;
  color: #eaffef;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-shadow: 0 0 8px rgba(0, 155, 255, 0.55);
}

@keyframes b4dMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 600px) {
  .b4d-marquee-wrap {
    padding: 0 12px;
    margin-top: 6px;
  }

  .b4d-marquee-track {
    gap: 24px;
    padding: 10px 0;
    animation-duration: 22s;
  }

  .b4d-marquee-track span {
    font-size: 12px;
  }
}

img.img-hero {
  width: 30%;
  opacity: 0.1;
  position: absolute;
  right: 5px;
  top: 15px;
}

/* ============================================================
   COUNTDOWN - BIRU CERAH
   ============================================================ */
.b4d-countdown {
  text-align: center;
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 12px;
  background: rgba(0, 0, 0, 0.15);
}

.b4d-countdown .countdown-label {
  font-size: 10px;
  color: #6b6d9e;
  letter-spacing: 0.5px;
}

.b4d-countdown span {
  font-size: 18px;
  font-weight: 700;
  color: #fbbf24;
  display: block;
  margin-top: 2px;
}

.countdown-box {
  margin: 16px 0 14px;
  padding: 14px 12px;
  border-radius: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 155, 255, 0.16);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.04),
    rgba(0, 155, 255, 0.06)
  );
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.22),
    0 0 20px rgba(0, 155, 255, 0.08);
}

.countdown-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(0, 155, 255, 0.16),
    transparent 55%
  );
  pointer-events: none;
}

.countdown-label {
  position: relative;
  z-index: 2;
  color: #a8abdd;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.countdown-label i {
  color: #01a0fc;
  margin-right: 5px;
}

.countdown-time {
  position: relative;
  z-index: 2;
  font-size: 24px;
  font-weight: 900;
  color: #01a0fc;
  text-shadow: 0 0 12px rgba(0, 155, 255, 0.45);
  letter-spacing: 1px;
}

.countdown-box.open {
  border-color: rgba(0, 155, 255, 0.25);
}

.countdown-box.waiting {
  border-color: rgba(234, 179, 8, 0.25);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.04),
    rgba(234, 179, 8, 0.06)
  );
}

.countdown-box.waiting .countdown-label i,
.countdown-box.waiting .countdown-time {
  color: #facc15;
  text-shadow: 0 0 12px rgba(250, 204, 21, 0.35);
}

.countdown-box.off {
  border-color: rgba(239, 68, 68, 0.25);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.04),
    rgba(239, 68, 68, 0.06)
  );
}

.countdown-box.off .countdown-label i,
.countdown-box.off .countdown-time {
  color: #f87171;
  text-shadow: 0 0 12px rgba(248, 113, 113, 0.35);
}

@media (max-width: 600px) {
  .countdown-time {
    font-size: 21px;
  }
}

/* ============================================================
   FEATURE SECTION - BIRU CERAH
   ============================================================ */
.b4d-feature-section {
  max-width: 1200px;
  margin: 26px auto 0;
  padding: 0 18px;
}

.b4d-feature-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.b4d-feature-title {
  color: #fff;
  font-size: 24px;
  font-weight: 950;
  text-shadow: 0 0 18px rgba(0, 155, 255, 0.24);
}

.b4d-feature-title span {
  display: block;
  color: #a8abdd;
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
}

.b4d-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.b4d-feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.045),
    rgba(0, 155, 255, 0.055)
  );
  border: 1px solid rgba(0, 155, 255, 0.14);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.24),
    0 0 18px rgba(0, 155, 255, 0.06);
  color: #eef0ff;
}

.b4d-feature-card::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  top: -75px;
  right: -50px;
  background: rgba(0, 155, 255, 0.12);
}

.b4d-feature-card strong {
  position: relative;
  z-index: 2;
  display: block;
  color: #4db8ff;
  font-size: 17px;
  margin-bottom: 8px;
  text-shadow: 0 0 12px rgba(0, 155, 255, 0.35);
}

.b4d-feature-card p,
.b4d-feature-card small {
  position: relative;
  z-index: 2;
  color: #d0d3f0;
  line-height: 1.5;
}

.b4d-result-number {
  position: relative;
  z-index: 2;
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fbbf24;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 1px;
  margin-top: 8px;
}

.b4d-winner-rank {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0, 155, 255, 0.12);
  border: 1px solid rgba(0, 155, 255, 0.22);
  color: #4db8ff;
  font-weight: 900;
  margin-bottom: 6px;
}

.b4d-empty-mini {
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(0, 155, 255, 0.12);
  color: #a8abdd;
  text-align: center;
  font-weight: 800;
}

/* ============================================================
   FILTER - BIRU CERAH
   ============================================================ */
.b4d-filter-bar {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 18px;
}

@media (max-width: 600px) {
  .b4d-filter-bar {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 0 18px;
  }
}

.b4d-filter-btn {
  border: none;
  cursor: pointer;
  padding: 11px 15px;
  border-radius: 999px;
  color: #eaffef;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(0, 155, 255, 0.13);
  font-weight: 900;
  transition: 0.22s ease;
}

.b4d-filter-btn:hover,
.b4d-filter-btn.active {
  color: #fff;
  background: linear-gradient(135deg, #009bff, #01a0fc);
  box-shadow: 0 10px 22px rgba(0, 155, 255, 0.25);
  transform: translateY(-2px);
}

.b4d-filter-btn[data-filter="buka"].active {
  background: linear-gradient(135deg, #008f3a, #00c853, #44ff8a);
  color: #001f0d;
}

.b4d-filter-btn[data-filter="libur"].active {
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #2b1800;
}

.b4d-filter-btn[data-filter="tutup"].active {
  background: linear-gradient(135deg, #7f0000, #c40000, #ff2d2d);
  color: #ffffff;
}

@media (max-width: 600px) {
  .b4d-feature-title {
    font-size: 21px;
  }
  .b4d-filter-btn {
    width: 100%;
  }
}

/* ============================================================
   DETAIL PASARAN BUTTON - KUNING (KONTRAST)
   ============================================================ */
.detail-pasaran-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  color: #0b0d2b;
  text-decoration: none;
  font-weight: 900;
  background: linear-gradient(135deg, #fbbf24, #fcd34d);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 22px rgba(251, 191, 36, 0.2);
  transition: 0.22s ease;
  margin-bottom: 10px;
}

.detail-pasaran-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

/* ============================================================
   RESULT TITLE & LOGO
   ============================================================ */
.b4d-result-title {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
}

.b4d-result-logo-small {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 9px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 155, 255, 0.18);
  box-shadow: 0 0 12px rgba(0, 155, 255, 0.12);
  flex-shrink: 0;
}

.b4d-result-title strong {
  margin-bottom: 0;
}

/* ============================================================
   RESULT TODAY BOX
   ============================================================ */
.result-today-box {
  width: 80%;
  margin: 10px 0 10px;
  padding: 10px 10px;
  border-radius: 18px;
  text-align: center;
  justify-self: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(0, 155, 255, 0.08)),
    rgba(8, 35, 5, 0.72);
  border: 1px solid rgba(0, 155, 255, 0.20);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.22);
}

.result-today-box small {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.7px;
  color: #a8cfff;
}

.result-today-box strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 5px 15px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #facc15;
  font-size: 20px;
  font-weight: 950;
}

.result-today-box span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  color: #d0e8ff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ============================================================
   RULES OVERLAY - BIRU CERAH
   ============================================================ */
.b4d-rules-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background:
    radial-gradient(circle at top, rgba(0, 155, 255, 0.18), transparent 35%),
    rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.b4d-rules-overlay.show {
  display: flex;
}

.b4d-rules-modal {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.055),
      rgba(0, 155, 255, 0.065)
    ),
    #0b0d2b;
  border: 1px solid rgba(0, 155, 255, 0.28);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.55),
    0 0 45px rgba(0, 155, 255, 0.14);
  animation: b4dRulesZoom 0.35s ease;
}

@keyframes b4dRulesZoom {
  from {
    opacity: 0;
    transform: scale(0.88) translateY(18px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.b4d-rules-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 5;
  transition: 0.2s ease;
}

.b4d-rules-close:hover {
  background: #ef4444;
  transform: rotate(90deg);
}

.b4d-rules-header {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 24px 58px 20px 24px;
  background:
    linear-gradient(135deg, rgba(0, 119, 204, 0.35), rgba(0, 155, 255, 0.12)),
    rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(0, 155, 255, 0.18);
}

.b4d-rules-icon {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  background: linear-gradient(135deg, #009bff, #01a0fc);
  box-shadow: 0 12px 28px rgba(0, 155, 255, 0.22);
}

.b4d-rules-header span {
  display: inline-flex;
  margin-bottom: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 1000;
  color: #fff;
  background: #01a0fc;
}

.b4d-rules-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  font-weight: 1000;
  line-height: 1.15;
}

.b4d-rules-header p {
  margin: 6px 0 0;
  color: #c9e8ff;
  font-size: 14px;
}

.b4d-rules-body {
  max-height: 56vh;
  overflow-y: auto;
  padding: 20px 24px;
}

.b4d-rules-body::-webkit-scrollbar {
  width: 6px;
}

.b4d-rules-body::-webkit-scrollbar-thumb {
  background: #01a0fc;
  border-radius: 20px;
}

.b4d-rules-alert {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  color: #fef3c7;
  font-weight: 800;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.22);
}

.b4d-rules-list {
  display: grid;
  gap: 10px;
}

.b4d-rules-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 16px;
  color: #eef0ff;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(0, 155, 255, 0.13);
}

.b4d-rules-item b {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #009bff, #01a0fc);
  font-weight: 1000;
}

.b4d-rules-item span {
  font-size: 14px;
  line-height: 1.45;
}

.b4d-rules-item strong {
  color: #4db8ff;
}

.b4d-rules-prize {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.b4d-rules-prize div {
  text-align: center;
  padding: 12px 8px;
  border-radius: 16px;
  background: rgba(0, 155, 255, 0.075);
  border: 1px solid rgba(0, 155, 255, 0.18);
}

.b4d-rules-prize small {
  display: block;
  margin-bottom: 5px;
  color: #a8d4ff;
  font-weight: 800;
}

.b4d-rules-prize strong {
  color: #ffffff;
  font-size: 14px;
}

.b4d-rules-footer {
  display: grid;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid rgba(0, 155, 255, 0.16);
  background: rgba(0, 0, 0, 0.18);
}

.b4d-rules-understand,
.b4d-rules-register {
  min-height: 46px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 1000;
  transition: 0.2s ease;
}

.b4d-rules-understand {
  color: #fff;
  background: linear-gradient(135deg, #009bff, #01a0fc);
}

.b4d-rules-register {
  color: #ffffff;
  background: linear-gradient(135deg, #0b0d2b, #009bff);
  border: 1px solid rgba(0, 155, 255, 0.28);
}

.b4d-rules-understand:hover,
.b4d-rules-register:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.b4d-rules-countdown {
  padding: 0 24px 14px;
  text-align: center;
  color: #c8caf5;
  font-size: 13px;
  font-weight: 800;
}

.b4d-rules-countdown strong {
  color: #4db8ff;
}

.b4d-rules-progress {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
}

.b4d-rules-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #009bff, #01a0fc);
  transition: width 1s linear;
}

@media (max-width: 600px) {
  .b4d-rules-modal {
    border-radius: 22px;
  }

  .b4d-rules-header {
    padding: 22px 52px 18px 18px;
  }

  .b4d-rules-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    font-size: 22px;
  }

  .b4d-rules-header h2 {
    font-size: 19px;
  }

  .b4d-rules-body {
    padding: 16px;
  }

  .b4d-rules-prize {
    grid-template-columns: repeat(2, 1fr);
  }

  .b4d-rules-footer {
    grid-template-columns: 1fr;
    padding: 14px 16px;
  }
}