/* Orable sidebar + layout */
html, body { background:#0f1923 !important; }
#main, #content, #wrapper, #page-wrapper { background:#0f1923 !important; }

#orable-sidebar {
  position: fixed;
  top: 0; left: 0;
  width: 280px; height: 100vh;
  background: linear-gradient(180deg,#015c4a 0%,#022e2e 100%);
  color:#fff; padding:12px 10px; overflow-y:auto;
  z-index: 9999; box-shadow: 3px 0 15px rgba(0,0,0,.4);
}
/* grid activities */
.left-menu-wrapper ul.activity-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px;margin:0;list-style:none}
.left-menu-wrapper ul.activity-wrapper>li{border-radius:12px;padding:8px 10px;color:#fff;box-shadow:inset 0 0 4px rgba(0,0,0,.3)}
.left-menu-wrapper ul.activity-wrapper>li:nth-child(1){grid-column:1/-1;background:linear-gradient(102deg,rgba(252,51,104,.9),rgba(34,40,53,.9))}
.left-menu-wrapper ul.activity-wrapper>li:nth-child(2){background:linear-gradient(102deg,rgba(65,217,134,.9),rgba(34,40,53,.9))}
.left-menu-wrapper ul.activity-wrapper>li:nth-child(3){background:linear-gradient(102deg,rgba(136,65,243,.9),rgba(34,40,53,.9))}
.left-menu-wrapper ul.activity-wrapper>li:nth-child(4){background:linear-gradient(102deg,rgba(255,207,63,.9),rgba(34,40,53,.9))}
.left-menu-wrapper ul.activity-wrapper>li:nth-child(5){background:linear-gradient(102deg,rgba(0,176,255,.9),rgba(34,40,53,.9))}
.left-menu-wrapper h1{font-size:14px;margin:6px 0;color:#fff}
.left-menu-wrapper p, .left-menu-wrapper span{font-size:12px;opacity:.9;margin:0}

.list-wrapper{margin:12px 6px}
.list-wrapper h1{font-size:15px;color:#ebefff;margin:10px 0}
.list-wrapper ul{list-style:none;margin:0;padding:0}
.list-wrapper li{height:38px;display:flex;align-items:center;padding-left:18px;color:#FFEB3B}

@media(max-width:991px){
  #orable-sidebar{display:none!important}
}
/* push main */
@media(min-width:992px){
  #orable-layout, #main, .site-content, #content, body { margin-left:280px !important; }
}
/* === Sidebar Lonz Casino === */
/* === Sidebar Casino Premium Fixed (chuẩn Oracle style) === */
/* === Sidebar Casino (Header overlay style) === */
.lonz-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: #155155;
  color: #fff;
  padding: 80px 15px 20px; /* đẩy nội dung xuống dưới header */
  overflow-y: auto;
  border-right: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset -1px 0 0 rgba(255,255,255,0.05);
  z-index: 1; /* thấp hơn header để header đè ra ngoài */
  transition: all 0.3s ease;
}
/* Ẩn sidebar hoàn toàn trên mobile & tablet */
@media (max-width: 991px) {
  .lonz-sidebar {
    display: none !important;
  }
}

/* Căn chỉnh layout cho PC */
@media (min-width: 992px) {
  body.home {
    margin-left: 260px;
  }
}
/* Admin bar chỉnh margin hợp lý */
.admin-bar .lonz-sidebar {
  padding-top: 140px;
}

/* Scrollbar mượt */
.lonz-sidebar::-webkit-scrollbar { width: 8px; }
.lonz-sidebar::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 6px;
  transition: background-color 0.3s;
}
.lonz-sidebar:hover::-webkit-scrollbar-thumb {
  background: rgba(120, 130, 160, 0.4);
}
.lonz-sidebar::-webkit-scrollbar-track { background: transparent; }

/* Sidebar logo */
.lonz-sidebar .sidebar-logo {
  text-align: center;
  margin-bottom: 16px;
}
.lonz-sidebar .sidebar-logo img {
  max-width: 160px;
  opacity: 0.9;
}


/* === Bonus Card Section === */
.bonus-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bonus-card {
  position: relative;
  border-radius: 12px;
  padding: 10px;
  font-size: 12px;
  color: #fff;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bonus-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 8px rgba(255,255,255,0.15) inset;
}
.bonus-card img {
  position: absolute;
  right: 8px;
  bottom: 6px;
  width: 48px;
  opacity: 0.9;
}
.bonus-card h3 {
  font-size: 13px;
  margin: 0;
  font-weight: 600;
}
.bonus-card span {
  font-size: 11px;
  color: #fff07a;
}
.bonus-card.red { background: linear-gradient(135deg, #ff2f75, #5a0f2e); grid-column: 1/3; }
.bonus-card.green { background: linear-gradient(135deg, #00c76f, #083920); }
.bonus-card.purple { background: linear-gradient(135deg, #8a46ff, #28115e); }
.bonus-card.orange { background: linear-gradient(135deg, #ffb400, #6b3b00); }
.bonus-card.blue { background: linear-gradient(135deg, #009dff, #033f69); }

/* === Menu Sections === */
.menu-section {
  margin-top: 25px;
}
.menu-section h4 {
  font-size: 14px;
  font-weight: bold;
  color: #ccc;
  margin-bottom: 10px;
  padding-left: 5px;
}
.menu-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu-section ul li {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.menu-section ul li img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  opacity: 0.8;
}
.menu-section ul li span {
  color: #c9d2ff;
  font-size: 13px;
}
.menu-section ul li:hover {
  background: rgba(255,255,255,0.1);
}
.menu-section ul li:hover span {
  color: #fff;
}
/* === Custom Button Style – ABC999 / GameViet / Casino Style === */
.button.primary.is-medium,
.button.primary,
a.button.primary,
button.primary {
  background: linear-gradient(135deg, #2af598, #009efd);
  color: #fff !important;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  padding: 10px 28px;
  font-size: 12px;
  letter-spacing: 0.5px;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 0 10px rgba(0, 159, 253, 0.4);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

/* Hover effect – đổi màu gradient và thêm glow */
.button.primary.is-medium:hover,
.button.primary:hover {
  background: linear-gradient(135deg, #ff6a00, #ee0979);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.6);
}

/* Hiệu ứng sáng chạy ngang nút */
.button.primary.is-medium::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
}

.button.primary.is-medium:hover::after {
  left: 125%;
}

/* Tùy chỉnh kích thước vừa và nhỏ */
.button.small {
  padding: 6px 18px;
  font-size: 13px;
}
.button.large {
  padding: 12px 36px;
  font-size: 16px;
}

/* Nếu là trong header thì bo nhẹ hơn */
.header-button .button.primary {
  border-radius: 8px;
  padding: 8px 18px;
}

/* === Secondary Button (Outline Gradient Glow) - fixed no black bg === */
.button.secondary.is-outline.is-medium,
.button.secondary.is-outline,
a.button.secondary.is-outline,
button.secondary.is-outline {
  background: transparent;
  color: #00e0ff !important;
  border: -3px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 10px;
  padding: 10px 28px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.25);
  /* fix: loại bỏ nền đen */
  background-image: linear-gradient(135deg, #00e0ff, #ff00c8);
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #fff; /* chữ trắng luôn, không bị fill đen */
}

/* Hover effect: đổ đầy màu gradient và sáng viền */
.button.secondary.is-outline.is-medium:hover,
.button.secondary.is-outline:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #00e0ff, #ff00c8);
  box-shadow: 0 0 20px rgba(255, 0, 200, 0.6),
              0 0 10px rgba(0, 224, 255, 0.4);
  transform: translateY(-2px);
}

/* Hiệu ứng sáng chạy ngang */
.button.secondary.is-outline.is-medium::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s;
}

.button.secondary.is-outline.is-medium:hover::after {
  left: 125%;
}


/* Fix header dính full sát cạnh trái */
#masthead.header-main {
  width: 100vw !important;       /* full viewport width */
  max-width: 100vw !important;
  position: fixed;               /* hoặc relative tùy layout */
  left: 0 !important;
  right: 0 !important;
  top: 0;
  background-color: #0e5252;     /* màu nền mày đang dùng */
  border-bottom: 0;
  z-index: 1000;
}

/* Đảm bảo phần bên dưới không đè lên header */
#main,
.page-wrapper {
  margin-top: 30px !important;   /* bằng chiều cao header */
}

/* Bỏ khoảng lệch do layout wrapper */
body,
#wrapper,
.header-wrapper {
  margin-left: 0 !important;
  padding-left: 0 !important;
}


#main, #content, .page-wrapper {
  margin-left: -30px;
}
.banner, .slider {
  margin-left: -30px !important;
}

/* === Custom Search Form Style === */
form.searchform {
  position: relative;
  width: 320px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(135deg, #00e0ff, #ff00c8);
  padding: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 0 12px rgba(0, 224, 255, 0.25);
}

form.searchform .search-field {
  width: 100%;
  height: 36px;
  border: none;
  border-radius: 999px;
  padding: 0 38px 0 15px;
  background: #0f1923;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

form.searchform .search-field::placeholder {
  color: rgba(255, 255, 255, 0.6);
  transition: opacity 0.3s ease;
}

form.searchform .search-field:focus::placeholder {
  opacity: 0.3;
}

/* Icon kính lúp phát sáng */
form.searchform::after {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #00e0ff;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Hiệu ứng khi focus */
form.searchform:focus-within {
  box-shadow: 0 0 16px rgba(255, 0, 200, 0.5),
              0 0 8px rgba(0, 224, 255, 0.5);
  transform: translateY(-1px);
}

form.searchform:focus-within::after {
  color: #ff00c8;
}

/* Responsive fix cho header */
@media (max-width: 991px) {
  form.searchform {
    width: 100%;
    margin-top: 10px;
  }
}

.nb-gt-wrap { padding: 40px 0; }
.nb-gt-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.nb-gt-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 20px;
}
.nb-gt-title {
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 20px;
  color: #ffda00;
}
.nb-gt-toc {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nb-gt-toc li { margin: 6px 0; }
.nb-gt-toc a { color: #fefefe; text-decoration: none; }
.nb-gt-toc a:hover { text-decoration: underline; color: #ffda00; }

@media(max-width: 1023px) {
  .nb-gt-container { grid-template-columns: 1fr; }
  .nb-gt-toc { display: none; }
  .nb-gt-toc-toggle {
    display: inline-block;
    margin-bottom: 10px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
  }
  .nb-gt-toc.active { display: block; margin-top: 10px; }
}

