.header {
  background: linear-gradient(45deg, #7800a7, #5d0081);
  padding: 0;
  box-shadow: 0 2px 12px #0c01262b;
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 1100;
  transition: box-shadow 0.18s;
      border-bottom: 1px solid #fb00ff;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 950px;
  margin: 0 auto;
  padding: 0 18px;
  height: 62px;
  gap: 26px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}
.logo-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.30rem;
  font-weight: 700;
  color: #ffe600;
  letter-spacing: 1px;
  text-shadow: 0 2px 14px #43007344;
  margin-left: 4px;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 24px;
  flex-wrap: wrap;
}
.nav-menu a,
.nav-menu button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 600;
  text-decoration: none;
  color: #000;
  background: linear-gradient(90deg,#ffe600 0%, #ff8800 100%);
  border: none;
  padding: 7px 20px;
  border-radius: 6px;
  margin-right: 6px;
  transition: background 0.22s, color 0.16s, box-shadow 0.19s;
  cursor: pointer;
  box-shadow: 0 1px 7px #1a1a3131;
  border-bottom: 2.2px solid transparent;
  outline: none;
  display: flex;              /* FLEX agar icon dan teks tengah */
  align-items: center;        /* Tengah vertikal */
  justify-content: center;    /* Tengah horizontal */
  gap: 9px;                   /* Jarak icon-teks */
}
.nav-menu a:last-child,
.nav-menu button:last-child {
  margin-right: 0;
}
.nav-menu a:hover,
.nav-menu button:hover,
.nav-menu a.active,
.nav-menu button.active {
  background: linear-gradient(90deg,#ff8800 0%, #ffe600 100%);
  color: #fff;
  box-shadow: 0 3px 14px #ffe60038;
  border-bottom: 2.2px solid #4c1b8d;
}
.nav-menu i {
  font-size: 1.17em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
  height: 1.13em;
  margin: 0;
}

@media (max-width: 650px) {
  .logo img {
    height: 30px;
  }
  .logo-title {
    font-size: 1rem;
    margin-left: 2px;
  }
  .nav-menu {
    margin-left: 5px;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    flex-direction: row;
	        margin-top: 4px;
  }
  .nav-menu a,
  .nav-menu button {
    font-size: 0.92rem;
    padding: 6px 12px;
    margin-right: 2px;
	letter-spacing: 0.6px;
    margin-bottom: 3px;
    gap: 7px;
  }
  .nav-menu i { font-size: 1.07em; }
}

@media (max-width: 410px) {
  .nav-container { padding: 0 2vw; }
  .logo-title { font-size: 0.86rem; }
  .nav-menu a, .nav-menu button { font-size: 0.91rem; padding: 5px 10px; gap: 6px;}
}

.step-block {
  background: linear-gradient(90deg, #2c1156 50%, #47309a 100%);
  border-radius: 9px;
  box-shadow: 0 1px 12px #15003238;
  margin-bottom: 18px;
  padding: 15px 13px;
}

h2, h3 {
  color: #ffe600;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 0px;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 1.19rem;
  letter-spacing: 0.2px;
  text-shadow: 0 2px 7px #39009936;
}
ul, ol {
  padding-left: 17px;
  margin: 7px 0 16px 0;
}

.note22 {
  background: #231147;
  color: #ffe600;
  border-radius: 6px;
  padding: 10px;
  font-size: 0.98em;
  margin: 18px 0 14px 0;
  border-left: 4px solid #ffe600;
}
.bonus {
  background: #ffe60011;
  color: #ffe600;
  border-radius: 8px;
  padding: 9px 13px;
  margin: 17px 0 22px 0;
  font-size: 1.03em;
  font-weight: 600;
  border-left: 4px solid #fa7600;
}
.testimoni {
  font-style: italic;
  color: #ffb800;
  background: #2d1b42;
  border-radius: 8px;
  padding: 9px 14px;
  margin-bottom: 16px;
  font-size: 0.99em;
  border-left: 3px solid #ffe600;
}

.cta-sticky {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  background: linear-gradient(90deg, #ffe600 0%, #fa7600 100%);
  color: #120030;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  padding: 14px 18px 13px 18px;
  font-size: 1.13rem;
  box-shadow: 0 -2px 22px #2e004093;
  z-index: 999;
  border-radius: 18px 18px 0 0;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  text-decoration: none;
  max-width: 430px;
  width: 96vw;
  margin: 0 auto 7px auto;
  box-sizing: border-box;
  display: block;
}
.cta-sticky:hover {
  background: linear-gradient(90deg, #fa7600 0%, #ffe600 100%);
  color: #1a001d;
  text-shadow: 0 1px 2px #fff2;
}

.main-banner-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 3px auto;
  background: none;
}

.main-banner {
  width: 100%;
  max-width: 840px;
  height: auto;
  aspect-ratio: 840/480;
  max-height: 480px;
  box-shadow: 0 6px 32px #0002;
  object-fit: cover;
  background: #200c3e;
  display: block;
}

@media (max-width: 900px) {
  .main-banner {
    max-width: 98vw;
    height: auto;
    max-height: 50vw; 
  }
}
@media (max-width: 600px) {
  .main-banner {
    max-width: 99vw;
    aspect-ratio: 16/9; 
    max-height: 60vw;
  }
}


@media (max-width: 500px) {
  .cta-sticky {
    font-size: 1.01rem;
    border-radius: 14px 14px 0 0;
    width: 98vw;
    max-width: 99vw;
    padding-left: 4vw;
    padding-right: 4vw;
    margin-bottom: 4px;
  }

  .main-banner,
  .hero-inner,
  .wd-board-container,
  .fomo-metrics-ultimate,
  .fomo-metrics-container.slim,
  .history-wd.slim {
    max-width: 99vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box;
  }

  table, th, td {
    font-size: 0.92em;
    word-break: break-word;
    max-width: 97vw;
  }

  .history-wd.slim {
    max-width: 97vw;
    padding: 8px 1vw 13px 1vw;
    font-size: 0.97em;
  }

  .fomo-metrics-container.slim {
    max-width: 97vw;
    padding: 0 2vw 10px 2vw;
  }

  .history-modal-content {
    padding: 12px 3vw 14px 3vw;
    margin: 0px 2vw 0px 2vw;
    max-width: 99vw;
    max-height: calc(100vh - 34px);
  }
  .history-summary,
  .history-betlist,
  .history-tips { padding: 9px 6vw; }
  .wd-btn-cta { font-size: 0.99em; padding: 9px 0; }
  .history-modal-close { right: 5px; top: 0px; font-size: 2rem; }

  .step-block {
    padding: 9px 2vw;
    font-size: 0.98rem;
  }

  h2, h3 { font-size: 1.07rem; }

  .hero-inner { max-width: 99vw; }
  .hero-badge, .hero-brand, .hero-desc { font-size: 0.97em; }
  .hero-desc { padding: 8px 8px; }
}

.wd-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1em;
  color: #2d004f;
  background: linear-gradient(90deg,#ffe600 60%,#ff9100 100%);
  border: none;
  border-radius: 9px;
  padding: 7px 19px;
  box-shadow: 0 2px 11px #ff910034, 0 1px 5px #fff7;
  cursor: pointer;
  text-shadow: 0 2px 10px #fff3;
  letter-spacing: 0.4px;
  transition: background .19s, transform .12s, box-shadow .16s;
  outline: none;
  gap: 10px;
  animation: wd-cta-pulse 1.5s infinite alternate;
}
@keyframes wd-cta-pulse {
  0% { filter: brightness(1);}
  100% { filter: brightness(1.16);}
}
@media (max-width: 700px) {
  .wd-btn-cta { font-size: 0.95em; padding: 7px 8vw;}
}
@media (max-width: 430px) {
  .wd-btn-cta { font-size: 0.88em; padding: 7px 3vw;}
}

.wd-board-container {
  width: 100%;
  max-width: 430px;
  margin: 6px auto 0px auto;
  background: linear-gradient(120deg, #2e1a3c 60%, #250b38 100%);
  box-shadow: 0 6px 32px #25008244, 0 2px 6px #ffe60012;
  padding: 13px 8px 17px 8px;
  font-family: 'Montserrat', Arial, sans-serif;
  border: 1px dotted #ffe60033;
  overflow: hidden;
}
.wd-board-title {
font-size: 1.17em;
    font-weight: 900;
    color: #091e4b;
	padding: 5px 5px 15px 5px;
    letter-spacing: 1.1px;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 0px;
margin: 0px 10px 0px 10px;
    text-shadow: 0 2px 14px #ffe60022, 0 1px 1px #3400641a;
    border-bottom: 1px dotted #ffe60033;
    background: linear-gradient(45deg, #FF9800, #FFEB3B, #FF9800);
    justify-content: center;
border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.wd-board-row {
  background: linear-gradient(45deg, #001c5f, #002f9d, #051845);
  border-radius: 15px;
  color: #fff;
  box-shadow: 0 4px 20px #2600771a, 0 2px 6px #ffe60013;
     border-left: 4px solid #ffe600;
    border-right: 4px solid #ffe600;
	    border-bottom: 2px solid #ffe600;
    border-top: 1px solid #ffe600;
  margin-bottom: 0;
  padding: 15px 17px 13px 17px;
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 82px;
  transition: box-shadow 0.15s, transform 0.15s;
  overflow: hidden;
          margin-top: 10px;
}

.wd-badge-wd {
  position: absolute;
  right: 15px; top: 0px;
  font-weight: 900;
  background: linear-gradient(90deg,#ffe600 80%,#ffad1d 120%);
  color: #41008a;
  border-radius: 0px 0px 16px 16px;
  font-size: 0.99em;
  box-shadow: 0 2px 7px #ffe60055;
  padding: 5.5px 16px 5.5px 13px;
  z-index: 3;
  letter-spacing: 0.6px;
  animation: wd-badge-flash 1.6s infinite linear;
  text-shadow: 0 1px 7px #fffad199;
  border: 1.3px solid #fff6;
}
.badge-jp-besar { color: #ff0000 !important; font-weight: bold;font-size: 17px;}
.badge-jp-gacor { color: #011e4c !important; font-weight: bold;font-size: 17px;}
@keyframes wd-badge-flash {
  0%,100%{filter:brightness(1.08);}
  35%{filter:brightness(1.22);}
  65%{filter:brightness(1.08);}
}

.wd-row-main-klikbait {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.wd-user-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.13em;
  font-weight: 800;
  margin-bottom: 2px;
}
.wd-wd-icon {
  font-size: 1.5em;
  color: #ffe600;
  margin-right: 2px;
  filter: drop-shadow(0 2px 10px #ffe60036);
  text-shadow: 0 2px 8px #fff7;
}
.wd-row-user {
  color: #ffe600;
  font-weight: 900;
  font-size: 1.15em;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 10px #ffe6002a;
}
.wd-row-date {
  color: #d8e1ff;
  font-size: 0.97em;
  font-weight: 500;
  margin-left: 7px;
  letter-spacing: 0.06em;
}

.wd-row-wd {
  display: inline-block;
  font-size: 1.34em;
  font-weight: 900;
  color: #18ffd9;
  letter-spacing: 1.3px;
  margin: 2px 0 3px 0;
  padding: 3.5px 19px 3.5px 14px;
  border-radius: 7px;
  background: linear-gradient(90deg,#0a322e 15%, #18ffd9 80%);
  border: 1.5px solid #3dffd988;
  box-shadow: 0 2px 12px #18ffd930;
  text-shadow: 0 2px 11px #10e3ba36;
  position: relative;
  align-items: center;
  gap: 6px;
  transition: background 0.15s;
}
.wd-row-wd i {
  font-size: 0.93em;
  color: #ffe600;
  margin-right: 7px;
  position: relative;
  top: 1px;
}

.wd-row-fomo {
  font-size: 1.08em;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 6px #2400ff21, 0 1px 0 #fff2;
  margin-top: 4px;
  letter-spacing: 0.1px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.wd-row-fomo i {
  color: #ffb039;
  font-size: 1.12em;
  margin-right: 3px;
  filter: drop-shadow(0 1px 2px #fff2);
}

@media (max-width:700px) {
  .wd-board-container { max-width: 99vw; padding: 5px 0px 10px 0px;}
  .wd-board-title { font-size: 1em; margin: 0px 10px 0px 10px;padding:5px 5px 15px 5px;}
  .wd-board-list { gap: 10px; padding: 0px 10px 0px 10px; margin-top: -23px;}
  .wd-board-row { margin-top: 20px; font-size: 1em; padding: 10px 2vw 12px 2vw; min-height: 62px;}
  .wd-user-line { font-size: 1em; gap: 7px;}
  .wd-row-user { font-size: 1.04em; }
  .wd-row-wd { font-size: 1.08em; padding: 3px 10px 3px 8px;}
  .wd-row-fomo { font-size: 0.96em; }
}
@media (max-width:430px) {
  .wd-board-row { font-size: 0.92em; padding: 8px 1vw; min-height: 45px;}
  .wd-row-wd { font-size: 0.98em; padding: 3px 6px 3px 6px;}
  .wd-row-user { font-size: 1em;}
}
table, th, td {
  word-break: break-word;
  max-width: 99vw;
}


.cta-pola-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg,#ffe600 60%,#fa7600 100%);
  color: #3d0977;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.07em;
  padding: 9px 0;
  border-radius: 10px;
  border: 2.1px solid #ffe600bb;
  box-shadow: 0 2px 14px #ffe60036, 0 1px 6px #fa760033;
  margin: 7px 0 0 0;
  cursor: pointer;
  transition: background .16s, color .16s, transform .13s;
  letter-spacing: 0.2px;
}
.cta-pola-btn:hover {
  background: linear-gradient(90deg,#fa7600 70%,#ffe600 100%);
  color: #fff;
  transform: scale(1.03);
}



.fomo-metrics-ultimate {
  background: linear-gradient(115deg, #ffeb3b, #ffbc00 45%, #ffeb3b 100%);
  border-radius: 17px;
  max-width: 430px;
  margin: 10px auto 18px auto;
  box-shadow: 0 8px 38px #ffe60017, 0 1px 5px #1a00314a;
  padding: 0px 10px 0px 10px;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  position: relative;
  z-index: 5;
  border: 1.5px solid #ffe60035;
}
.fomo-metrics-flex {
  display: flex;
  justify-content: space-between;
  gap: 9px;
  flex-wrap: wrap;
}
.fomo-metrics-item {
    background: linear-gradient(45deg, #001c5f, #002f9d, #051845);
    border-radius: 11px;
    flex: 1 1 100px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 11px 9px 11px;
    min-width: 102px;
    box-shadow: 0 2px 12px #25ffdb17;
    border:2px solid #ef00ff94;
    margin: 0 2px;
}
.fomo-metrics-icon {
  color: #ffe600;
  background: linear-gradient(90deg, #ffffff55 40%, #0000 100%);
  font-size: 1.47em;
  width: 50px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 7px;
  box-shadow: 0 2px 12px #ffe60025;
}
.fomo-icon-green { color: #00ffa2 !important;}
.fomo-icon-cyan  { color: #0ff !important;}
.fomo-metrics-num {
  font-weight: 900;
  font-size: 1.27em;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 9px #ffe6005c;
  display: inline-block;
}
.fomo-metrics-label {
  color: #ffee00;
  font-size: 0.93em;
  font-weight: 700;
  margin-left: 4px;
  display: inline-block;
  letter-spacing: 0.1px;
}

.fomo-metrics-alert-icon {
  color: #ffe600;
  font-weight: 800;
  margin-right: 5px;
  font-size: 1em;
  letter-spacing: 0.1px;
  text-shadow: 0 2px 8px #ffe6002e;
}
.fomo-metrics-alert {
  color: #ffec44;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 9px #ffe60042;
  font-size: 1.07em;
}
@media (max-width:500px) {
  .fomo-metrics-ultimate { max-width: 99vw; padding: 0px 10px 0px 10px;}
  .fomo-metrics-flex { gap: 10px;}
  .fomo-metrics-item { padding: 7px 2vw 7px 2vw; font-size:0.97em; min-width:85px;}
  .fomo-metrics-icon { font-size:1.15em; width:50px; height:30px;}
  .fomo-metrics-label { font-size:0.89em;}
}

.fomo-metrics-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  font-size: 1.24rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(45deg, #FF9800, #FFEB3B, #FF9800);
  padding: 13px 20px 10px 18px;
  margin: 0px 0 0px 0;
  letter-spacing: 0.2px;
  box-shadow: 0 4px 16px 0 rgba(70,0,85,0.11), 0 0.5px 1px #1a123a;
  border-bottom: 2.5px solid #ffe600aa;
  text-shadow: 0 2px 16px #33246490, 0 1px 0 #282451;
}

.fomo-metrics-title i {
  color: #311f3f;
  font-size: 1.33em;
  margin-right: 5px;
}

.history-wd.slim {
  width: 100%;
  max-width: 370px;
  margin: 18px auto 38px auto;
  background: linear-gradient(135deg, #2e1037 60%, #3d1869 100%);
  border-radius: 13px;
  box-shadow: 0 4px 22px #25008226;
  padding: 16px 10px 20px 10px;
  font-size: 0.98em;
  border: 1.5px solid #ffe60019;
}

.history-wd.slim .history-inner {
  width: 100%;
  padding: 0;
}

.history-wd.slim h2 {
  font-size: 1.08em;
  margin: 10px 0 9px 0;
  color: #ffe600;
  text-shadow: 0 1px 8px #0004;
}

.history-wd.slim .history-summary {
  font-size: 0.98em;
  background: #271542;
  padding: 8px 10px 8px 10px;
  border-radius: 7px;
  margin-bottom: 0px 0px 9px 9px;
  color: #fff9b3;
  border-left: 3px solid #ffe600a3;
}

.history-wd.slim .history-betlist,
.history-wd.slim .history-tips,
.history-wd.slim .history-stepbystep {
  background: #2c1a41;
  border-radius: 7px;
  padding: 7px 9px 7px 13px;
  margin: 8px 0 10px 0;
  font-size: 0.98em;
}

.history-wd.slim .history-table {
  margin: 14px 0 8px 0;
}

.history-wd.slim table {
  width: 100%;
  font-size: 0.97em;
  border-collapse: collapse;
}
.history-wd.slim th,
.history-wd.slim td {
  padding: 5px 6px;
  text-align: left;
  border-bottom: 1px solid #27003d2c;
}
.history-wd.slim th {
  background: #3d1869;
  color: #ffe600;
}
.history-wd.slim tr:nth-child(even) {
  background: #220044;
}
.history-wd.slim tr:nth-child(odd) {
  background: #2e1037;
}

.history-wd.slim .note {
  background: #231147;
  color: #ffe600;
  border-radius: 6px;
  padding: 7px 8px;
  font-size: 0.95em;
  margin: 7px 0 5px 0;
  border-left: 3px solid #ffe600;
}

  .history-wd.slim .history-inner {
    padding: 0;
  }
}

.fomo-metrics-container.slim {
  width: 100%;
  max-width: 360px;
  margin: 20px auto 18px auto;
  background: linear-gradient(135deg, #2e1037 60%, #3d1869 100%);
  border-radius: 13px;
  box-shadow: 0 4px 18px #2500821a;
  padding: 0 8px 13px 8px;
  border: 1.5px solid #ffe60019;
}

.fomo-metrics-container.slim .fomo-metrics-title {
  font-size: 1.07em;
  font-weight: 700;
color: #311f3f;
    text-transform: uppercase;
  background: linear-gradient(45deg, #FF9800, #FFEB3B, #FF9800);
  padding: 4px 8px 0px 10px;
  margin: 0px 0 7px 0;
  box-shadow: 0 2px 9px #ffe60010;
}

.fomo-metrics-container.slim .fomo-metrics-ultimate {
  margin: 0 auto 0 auto;
  padding: 0px 10px 0px 10px;
  border-radius: 11px;
  background: linear-gradient(120deg, #0b063b 60%, #08052f 100%);
  box-shadow: 0 2px 10px #25008219;
  border: none;
  max-width: 100%;
}

.fomo-metrics-container.slim .fomo-metrics-flex {
  gap: 7px;
background: linear-gradient(45deg, #FF9800, #FFEB3B, #FF9800);
    padding: 7px 5px 8px 5px;
    margin-top: -17px;
    border-radius: 8px;
}

.fomo-metrics-container.slim .fomo-metrics-item {
  min-width: 85px;
  padding: 9px 6px 7px 8px;
  font-size: 0.98em;
}

.fomo-metrics-container.slim .fomo-metrics-label {
  font-size: 0.92em;
  color: #ffee00;
  font-weight: 600;
}

  .fomo-metrics-container.slim .fomo-metrics-item {
    min-width: 72px;
    font-size: 0.94em;
    padding: 7px 2vw 7px 2vw;
  }
  .fomo-metrics-container.slim .fomo-metrics-title {
    font-size: 0.98em;
border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 4px 8px 10px 10px;
  }
}

.history-modal-content {
  background: linear-gradient(135deg, #21002b 70%, #1c0b31 100%);
  color: #fff8d7;
  border-radius: 18px;
  box-shadow: 0 12px 40px #25008266, 0 2px 12px #ffe6002a;
  max-width: 410px;
  width: 97vw;
  padding: 26px 18px 20px 18px;
  position: relative;
  margin: 48px 10px 30px 10px;
  max-height: 86vh; 
  overflow-y: auto; 
  border: 1.5px solid #8b0094;
}

.history-modal-content h2 {
  font-size: 1.13em;
  color: #ffe600;
  margin-bottom: 14px;
  letter-spacing: 0.7px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 900;
  padding-bottom: 7px;
}
.history-modal-content h2 i {
  color: #ffe600;
  font-size: 1.1em;
}

.history-summary {
background: linear-gradient(100deg,#191647 75%,#7b1fa2 100%);
    border: 1.5px solid #007effa3;
  color: #ffe600;
  border-radius: 9px;
  padding: 11px 13px 8px 13px;
  margin-bottom: 14px;
  font-size: 0.99em;
      margin-top: -10px;
  box-shadow: 0 2px 12px #ffe60017;
}
.history-summary b {
  color: #fff;
  font-weight: bold;
}

.history-betlist {
  border-radius: 8px;
  padding: 12px 13px 9px 13px;
  margin-bottom: 15px;
  background: linear-gradient(100deg, #171537 75%, #1f47a2 100%);
  color: #fff8c4;
      margin-top: -10px;
    border: 1.5px solid #007effa3;
}
.history-betlist ul {
  list-style: none;
  margin: 0; padding: 0;
}
.history-betlist li {
  padding: 5px 0 5px 0;
  font-size: 0.97em;
  display: flex;
  align-items: center;
  gap: 7px;
}

.history-betlist li .highlight {
  color: #ffe600;
  background: #ffe6001b;
  border-radius: 4px;
  padding: 0 3px;
  font-weight: bold;
}

.history-tips {
    padding: 0px 10px 0px 10px;
    margin-bottom: 12px;
    color: #ffffff;
    background: linear-gradient(100deg, #171537 75%, #1f47a2 100%);
    margin-top: -10px;
    border: 1.5px solid #007effa3;
    border-radius: 8px;
}
.history-tips ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.history-tips li {
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 0px;
  font-size: 0.96em;
}
.history-tips li:before {
  content: "💡";
  font-size: 1.07em;
  opacity: 0.85;
  margin-right: 7px;
}

/* CTA button */
.history-cta {
  margin: 18px 0 8px 0;
  text-align: center;
}
.wd-btn-cta {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 1.09em;
  color: #011e4c;
  background: linear-gradient(90deg,#ffe600 60%,#ff9100 100%);
  border: none;
  border-radius: 10px;
  padding: 11px 0;
  box-shadow: 0 2px 13px #ffe60039, 0 1px 7px #fa760033;
  cursor: pointer;
  text-shadow: 0 2px 8px #fff4;
  letter-spacing: 0.4px;
  transition: background .16s, transform .10s, box-shadow .13s;
  width: 100%;
  display: block;
  margin: 0 auto;
  animation: wd-cta-pulse 1.5s infinite alternate;
}
.wd-btn-cta:hover {
  background: linear-gradient(100deg, #d5d5d5 0%, #ffffff, #d5d5d5);
  color: #2d1139;
  border-radius: 10px;
}
@keyframes wd-cta-pulse {
  0% { filter: brightness(1);}
  100% { filter: brightness(1.15);}
}

/* Close Button */
.history-modal-close {
  position: absolute;
  right: 5px; top: 0px;
  font-size: 2.1rem;
  color: #ffe600;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: bold;
  z-index: 2;
  transition: color .17s;
  text-shadow: 0 2px 7px #25008266;
}
.history-modal-close:hover { color: #ff355b; }

 .history-modal-body {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  font-size: 1em;
  display: block;
  color: #fff8d7;
  min-height: 40px;
}

@keyframes popShow {
  from { opacity: 0; transform: scale(.93);}
  to   { opacity: 1; transform: scale(1);}
}

.history-modal-bg {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, #d19d00, #fff000, #d19d00);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}



.history-depositbox {
  background: linear-gradient(95deg, #24144a 80%, #5433a7 100%);
  border-radius: 8px;
  padding: 12px 13px 8px 13px;
  margin-bottom: 16px;
  color: #c4f1ff;
  border-left: 3px solid #09e9f6cc;
  box-shadow: 0 2px 10px #00f7ff17;
  font-size: 0.98em;
}
.history-depositbox-title {
  font-size: 1em;
  color: #09f1ee;
  font-weight: bold;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
  display: flex; align-items: center; gap: 7px;
}
.history-depositbox-list {
  margin: 0; padding: 0; list-style: none;
}
.history-depositbox-list li {
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.history-depositbox-list li:before {
  content: "💸";
  font-size: 1.08em;
  opacity: 0.85;
  margin-right: 7px;
}
.history-depositbox-avg {
  color: #ffe600;
  font-weight: 700;
  font-size: 0.97em;
  margin: 5px 0 0 2px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.history-depositbox-avg i {
  color: #ffe600;
  font-size: 1.09em;
  margin-right: 4px;
}


.history-modal-bg {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(10, 2, 32, 0.62);  /* Blur/hitam semi-transparan */
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.history-modal-content {
  background: #030037;
  color: #fff8d7;
  border-radius: 18px;
  box-shadow: 0 12px 40px #25008266, 0 2px 12px #ffe6002a;
  max-width: 410px;
  width: 97vw;
  padding: 26px 18px 20px 18px;
  position: relative;
  margin: 48px 10px 30px 10px;
  max-height: 86vh;
  overflow-y: auto;
  border: 2px solid #fff700;
}
@media (max-width: 500px) {
  .history-modal-content {
    padding: 12px 3vw 14px 3vw;
    margin: 0px 2vw 0px 2vw;
    max-width: 99vw;
    max-height: 84vh;
  }
}

.history-modal-content h3 {
  font-size: 1.04em;
  font-weight: 900;
  background: linear-gradient(90deg, #002677 60%, #005591 100%);
  color: #ffe600;
  border-radius: 7px;
  padding: 7px 14px 16px 11px;
  margin: 14px 0 0px 0;
  box-shadow: 0 2px 12px #ffe60012;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 9px;
}
