/* ===== Spacing Scale ===== */
:root {
  --sp-0: 0;
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 3rem;
}

body {
	min-width: 320px;
}

small, 
.small {
	font-size: 75%;
}

a {
	color: var(--accent-amber);
	text-decoration: none;
}

a:hover {
	color: var(--accent-orange);
}

.dont-filter-gray img {
	filter: none !important;
}

/* ========== SPINNER/LOADER ICON ========== */

#loading {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 10000;
	justify-content: center;
	display: flex;
	align-items: center;
	background-color: rgba(0,0,0,0.75);
	flex-direction: column;
	gap: 5px;
}
#loading .fa-spinner {
	color: #aaa;
}
#loading .text {
	text-align: center;
	font-size: 18px;
	font-weight: bold;
}
@media (max-width:767px) {
	#loading .fa-spinner {
	  font-size: 2.5em;
	}
}
@media (max-width:767px) {
	#loading .fa-spinner {
	  font-size: 2em;
	}
}

/* ========== SWAL2 POPUP ========== */

.swal2-container.swal2-shown {
	inset: 0;
	background: rgba(5, 3, 15, 0.65) !important;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	animation: popFadeIn 0.3s ease;
}

.swal2-popup {
	background: var(--surface) !important;
	border-radius: 20px !important;
	border: 1px solid var(--border) !important;
	box-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 24px 80px -12px rgba(0,0,0,0.6), 0 0 120px -40px rgba(168, 85, 247, 0.15) !important;
	color: var(--text) !important;
}

.swal2-popup .swal2-title {
	color: var(--text) !important;
	font-size: 18px !important;
	text-transform: uppercase !important;
}

.swal2-popup .swal2-content {
	color: var(--text-3) !important;
	font-size: 14px !important;
}

.swal2-popup .swal2-styled.swal2-confirm {
	background: linear-gradient(to bottom, var(--color-gold-light-main) 0%,var(--color-gold-hover-main) 100%) !important;
	color: var(--color-main) !important;
	border-color: var(--color-gold-hover-main) !important;		
}

.swal2-popup .swal2-styled.swal2-confirm:hover {
	background: linear-gradient(to bottom, var(--color-gold-hover-main) 0%,var(--color-gold-hover-main) 100%) !important;
	color: var(--color-main) !important;
	border-color: var(--color-gold-hover-main) !important;
}

/* ========== ALERTS ========== */

.alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.alert-icon {
  font-size: 15px;
  flex-shrink: 0;
}

.alert-primary  { background: rgba(124,58,237,0.12); border-color: rgba(124,58,237,0.3); color: #a78bfa; }
.alert-secondary { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: var(--text-2); }
.alert-success  { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.3); color: #4ade80; }
.alert-danger   { background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.3); color: #f87171; }
.alert-warning  { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.3); color: #fbbf24; }
.alert-info     { background: rgba(6,182,212,0.12); border-color: rgba(6,182,212,0.3); color: #22d3ee; }
.alert-light    { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12); color: var(--text); }
.alert-dark     { background: rgba(0,0,0,0.3); border-color: rgba(0,0,0,0.5); color: var(--text-2); }

/* ========== TOAST ========== */

.jq-toast-wrap {
  display: block;
  position: fixed;
  width: 300px;
  pointer-events: none !important;
  margin: 0;
  padding: 0;
  letter-spacing: normal;
  z-index: 9000 !important;
}
.jq-toast-wrap * { margin: 0; padding: 0; }

.jq-toast-wrap.bottom-left   { bottom: 20px; left: 16px; }
.jq-toast-wrap.bottom-right  { bottom: 20px; right: 16px; }
.jq-toast-wrap.top-left      { top: 20px; left: 16px; }
.jq-toast-wrap.top-right     { top: 20px; right: 16px; }
.jq-toast-wrap.top-center    { top: 20px; left: 50%; transform: translateX(-50%); }
.jq-toast-wrap.bottom-center { bottom: 20px; left: 50%; transform: translateX(-50%); }

.jq-toast-single {
  display: block;
  width: 100%;
  padding: 12px 32px 12px 14px;
  margin: 0 0 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  font-family: inherit;
  line-height: 1.6;
  position: relative;
  pointer-events: all !important;
  background: var(--surface-2);
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.jq-toast-single h2 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 4px;
  background: none;
  color: inherit;
  line-height: 1.4;
  letter-spacing: normal;
  font-family: inherit;
}

.jq-toast-single a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  font-size: 12px;
  opacity: 0.85;
}

.jq-toast-single ul {
  margin: 4px 0 0 16px;
  background: none;
  padding: 0;
}
.jq-toast-single ul li {
  list-style-type: disc !important;
  line-height: 1.6;
  background: none;
  margin: 0;
  padding: 0;
  letter-spacing: normal;
}

.close-jq-toast-single {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 13px;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s;
  line-height: 1;
}
.close-jq-toast-single:hover { opacity: 1; }

.jq-toast-loader {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: rgba(255,255,255,0.4);
}
.jq-toast-loaded { width: 100%; }

.jq-has-icon {
  padding: 12px 32px 12px 46px;
  background-repeat: no-repeat;
  background-position: 14px center;
  background-size: 18px 18px;
}

.jq-icon-info {
  background-color: rgba(6,182,212,0.12);
  border-color: rgba(6,182,212,0.3);
  color: #22d3ee;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="%2322d3ee"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm-40-176h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"/></svg>');
}
.jq-icon-info .jq-toast-loader { background: #22d3ee; }

.jq-icon-warning {
  background-color: rgba(245,158,11,0.12);
  border-color: rgba(245,158,11,0.3);
  color: #fbbf24;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="%23fbbf24"><path d="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"/></svg>');
}
.jq-icon-warning .jq-toast-loader { background: #fbbf24; }

.jq-icon-error {
  background-color: rgba(239,68,68,0.12);
  border-color: rgba(239,68,68,0.3);
  color: #f87171;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="%23f87171"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"/></svg>');
}
.jq-icon-error .jq-toast-loader { background: #f87171; }

.jq-icon-success {
  background-color: rgba(34,197,94,0.12);
  border-color: rgba(34,197,94,0.3);
  color: #4ade80;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="%234ade80"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"/></svg>');
}
.jq-icon-success .jq-toast-loader { background: #4ade80; }

/* =========================
   WIDTH and HEIGHT
========================= */

.w-100 {
	width: 100%;
}

.minw-130 {
	min-width: 130px;
}

/* =========================
   BASIC DISPLAY
========================= */

.d-none { display: none !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-block { display: block !important; }
.d-grid { display: grid !important; }
.d-inline-grid { display: inline-grid !important; }
.d-table { display: table !important; }
.d-table-row { display: table-row !important; }
.d-table-cell { display: table-cell !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }

/* =========================
   SMALL ≥576px
========================= */

@media (min-width: 576px) {
  .d-sm-none { display: none !important; }
  .d-sm-inline { display: inline !important; }
  .d-sm-inline-block { display: inline-block !important; }
  .d-sm-block { display: block !important; }
  .d-sm-grid { display: grid !important; }
  .d-sm-inline-grid { display: inline-grid !important; }
  .d-sm-table { display: table !important; }
  .d-sm-table-row { display: table-row !important; }
  .d-sm-table-cell { display: table-cell !important; }
  .d-sm-flex { display: flex !important; }
  .d-sm-inline-flex { display: inline-flex !important; }
}

/* =========================
   MEDIUM ≥768px
========================= */

@media (min-width: 768px) {
  .d-md-none { display: none !important; }
  .d-md-inline { display: inline !important; }
  .d-md-inline-block { display: inline-block !important; }
  .d-md-block { display: block !important; }
  .d-md-grid { display: grid !important; }
  .d-md-inline-grid { display: inline-grid !important; }
  .d-md-table { display: table !important; }
  .d-md-table-row { display: table-row !important; }
  .d-md-table-cell { display: table-cell !important; }
  .d-md-flex { display: flex !important; }
  .d-md-inline-flex { display: inline-flex !important; }
}

/* =========================
   LARGE ≥992px
========================= */

@media (min-width: 992px) {
  .d-lg-none { display: none !important; }
  .d-lg-inline { display: inline !important; }
  .d-lg-inline-block { display: inline-block !important; }
  .d-lg-block { display: block !important; }
  .d-lg-grid { display: grid !important; }
  .d-lg-inline-grid { display: inline-grid !important; }
  .d-lg-table { display: table !important; }
  .d-lg-table-row { display: table-row !important; }
  .d-lg-table-cell { display: table-cell !important; }
  .d-lg-flex { display: flex !important; }
  .d-lg-inline-flex { display: inline-flex !important; }
}

/* =========================
   XL ≥1200px
========================= */

@media (min-width: 1200px) {
  .d-xl-none { display: none !important; }
  .d-xl-inline { display: inline !important; }
  .d-xl-inline-block { display: inline-block !important; }
  .d-xl-block { display: block !important; }
  .d-xl-grid { display: grid !important; }
  .d-xl-inline-grid { display: inline-grid !important; }
  .d-xl-table { display: table !important; }
  .d-xl-table-row { display: table-row !important; }
  .d-xl-table-cell { display: table-cell !important; }
  .d-xl-flex { display: flex !important; }
  .d-xl-inline-flex { display: inline-flex !important; }
}

/* =========================
   XXL ≥1400px
========================= */

@media (min-width: 1400px) {
  .d-xxl-none { display: none !important; }
  .d-xxl-inline { display: inline !important; }
  .d-xxl-inline-block { display: inline-block !important; }
  .d-xxl-block { display: block !important; }
  .d-xxl-grid { display: grid !important; }
  .d-xxl-inline-grid { display: inline-grid !important; }
  .d-xxl-table { display: table !important; }
  .d-xxl-table-row { display: table-row !important; }
  .d-xxl-table-cell { display: table-cell !important; }
  .d-xxl-flex { display: flex !important; }
  .d-xxl-inline-flex { display: inline-flex !important; }
}

/* =========================
   FLEX DISPLAY
========================= */

.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }

/* =========================
   FLEX DIRECTION
========================= */

.flex-row { flex-direction: row !important; }
.flex-row-reverse { flex-direction: row-reverse !important; }
.flex-column { flex-direction: column !important; }
.flex-column-reverse { flex-direction: column-reverse !important; }

/* =========================
   FLEX WRAP
========================= */

.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.flex-wrap-reverse { flex-wrap: wrap-reverse !important; }

/* =========================
   JUSTIFY CONTENT
========================= */

.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }
.justify-content-evenly { justify-content: space-evenly !important; }

/* =========================
   ALIGN ITEMS
========================= */

.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-baseline { align-items: baseline !important; }
.align-items-stretch { align-items: stretch !important; }

/* =========================
   ALIGN CONTENT
========================= */

.align-content-start { align-content: flex-start !important; }
.align-content-end { align-content: flex-end !important; }
.align-content-center { align-content: center !important; }
.align-content-between { align-content: space-between !important; }
.align-content-around { align-content: space-around !important; }
.align-content-stretch { align-content: stretch !important; }

/* =========================
   ALIGN SELF
========================= */

.align-self-auto { align-self: auto !important; }
.align-self-start { align-self: flex-start !important; }
.align-self-end { align-self: flex-end !important; }
.align-self-center { align-self: center !important; }
.align-self-baseline { align-self: baseline !important; }
.align-self-stretch { align-self: stretch !important; }

/* =========================
   FLEX FILL / GROW / SHRINK
========================= */

.flex-fill { flex: 1 1 auto !important; }

.flex-grow-0 { flex-grow: 0 !important; }
.flex-grow-1 { flex-grow: 1 !important; }

.flex-shrink-0 { flex-shrink: 0 !important; }
.flex-shrink-1 { flex-shrink: 1 !important; }

/* =========================
   RESPONSIVE BREAKPOINTS
========================= */

@media (min-width: 576px) {
  .d-sm-flex { display: flex !important; }
  .flex-sm-row { flex-direction: row !important; }
  .flex-sm-column { flex-direction: column !important; }
  .justify-content-sm-center { justify-content: center !important; }
  .align-items-sm-center { align-items: center !important; }
}

@media (min-width: 768px) {
  .d-md-flex { display: flex !important; }
  .flex-md-row { flex-direction: row !important; }
  .flex-md-column { flex-direction: column !important; }
  .justify-content-md-center { justify-content: center !important; }
  .align-items-md-center { align-items: center !important; }
}

@media (min-width: 992px) {
  .d-lg-flex { display: flex !important; }
  .flex-lg-row { flex-direction: row !important; }
  .flex-lg-column { flex-direction: column !important; }
  .justify-content-lg-center { justify-content: center !important; }
  .align-items-lg-center { align-items: center !important; }
}

@media (min-width: 1200px) {
  .d-xl-flex { display: flex !important; }
  .flex-xl-row { flex-direction: row !important; }
  .flex-xl-column { flex-direction: column !important; }
}

@media (min-width: 1400px) {
  .d-xxl-flex { display: flex !important; }
  .flex-xxl-row { flex-direction: row !important; }
  .flex-xxl-column { flex-direction: column !important; }
}

/* =========================
   GAP
========================= */

.gap-0 { gap: var(--sp-0) !important; }
.gap-1 { gap: var(--sp-1) !important; }
.gap-2 { gap: var(--sp-2) !important; }
.gap-3 { gap: var(--sp-3) !important; }
.gap-4 { gap: var(--sp-4) !important; }
.gap-5 { gap: var(--sp-5) !important; }

/* ========== TEXT ========== */

/** SIZE **/
.text-xs   { font-size: 10px !important; }
.text-sm   { font-size: 12px !important; }
.text-md   { font-size: 14px !important; }
.text-lg   { font-size: 16px !important; }
.text-xl   { font-size: 18px !important; }
.text-2xl  { font-size: 22px !important; }
.text-3xl  { font-size: 28px !important; }

/** WEIGHT **/
.text-light    { font-weight: 300 !important; }
.text-normal   { font-weight: 400 !important; }
.text-medium   { font-weight: 500 !important; }
.text-semibold { font-weight: 600 !important; }
.text-bold     { font-weight: 700 !important; }
.text-black    { font-weight: 900 !important; }

/** ALIGNMENT **/
.text-left   { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right  { text-align: right !important; }

/** TEXT COLOR **/
.text-primary   { color: var(--accent-purple) !important; }
.text-secondary { color: var(--text-2) !important; }
.text-success   { color: #4ade80 !important; }
.text-danger    { color: #f87171 !important; }
.text-warning   { color: #fbbf24 !important; }
.text-info      { color: #22d3ee !important; }
.text-muted     { color: var(--text-3) !important; }
.text-white     { color: var(--white) !important; }
.text-black     { color: var(--black) !important; }
.text-orange    { color: var(--accent-orange) !important; }
.text-amber     { color: var(--accent-amber) !important; }
.text-violet    { color: var(--accent-violet) !important; }
.text-green     { color: var(--green) !important; }

/** TRANSFORM **/
.text-uppercase  { text-transform: uppercase !important; }
.text-lowercase  { text-transform: lowercase !important; }
.text-capitalize { text-transform: capitalize !important; }

/** STYLE **/
.text-italic      { font-style: italic !important; }
.text-underline   { text-decoration: underline !important; }
.text-linethrough { text-decoration: line-through !important; }
.text-nowrap      { white-space: nowrap !important; }

/** FONT **/
.fam-jetbrains {
	font-family: 'JetBrains Mono', monospace !important;
}

.fam-plusjakarta {
	font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
}

/* ========== MARGIN ========== */

/* ===== All Sides ===== */
.m-0 { margin: var(--sp-0) !important; }
.m-1 { margin: var(--sp-1) !important; }
.m-2 { margin: var(--sp-2) !important; }
.m-3 { margin: var(--sp-3) !important; }
.m-4 { margin: var(--sp-4) !important; }
.m-5 { margin: var(--sp-5) !important; }
.m-auto { margin: auto !important; }

/* ===== Top ===== */
.mt-0 { margin-top: var(--sp-0) !important; }
.mt-1 { margin-top: var(--sp-1) !important; }
.mt-2 { margin-top: var(--sp-2) !important; }
.mt-3 { margin-top: var(--sp-3) !important; }
.mt-4 { margin-top: var(--sp-4) !important; }
.mt-5 { margin-top: var(--sp-5) !important; }

/* ===== Bottom ===== */
.mb-0 { margin-bottom: var(--sp-0) !important; }
.mb-1 { margin-bottom: var(--sp-1) !important; }
.mb-2 { margin-bottom: var(--sp-2) !important; }
.mb-3 { margin-bottom: var(--sp-3) !important; }
.mb-4 { margin-bottom: var(--sp-4) !important; }
.mb-5 { margin-bottom: var(--sp-5) !important; }

/* ===== Start (Left) ===== */
.ms-0 { margin-left: var(--sp-0) !important; }
.ms-1 { margin-left: var(--sp-1) !important; }
.ms-2 { margin-left: var(--sp-2) !important; }
.ms-3 { margin-left: var(--sp-3) !important; }
.ms-4 { margin-left: var(--sp-4) !important; }
.ms-5 { margin-left: var(--sp-5) !important; }

/* ===== End (Right) ===== */
.me-0 { margin-right: var(--sp-0) !important; }
.me-1 { margin-right: var(--sp-1) !important; }
.me-2 { margin-right: var(--sp-2) !important; }
.me-3 { margin-right: var(--sp-3) !important; }
.me-4 { margin-right: var(--sp-4) !important; }
.me-5 { margin-right: var(--sp-5) !important; }

/* ===== X Axis ===== */
.mx-0 { margin-left: var(--sp-0) !important; margin-right: var(--sp-0) !important; }
.mx-1 { margin-left: var(--sp-1) !important; margin-right: var(--sp-1) !important; }
.mx-2 { margin-left: var(--sp-2) !important; margin-right: var(--sp-2) !important; }
.mx-3 { margin-left: var(--sp-3) !important; margin-right: var(--sp-3) !important; }
.mx-4 { margin-left: var(--sp-4) !important; margin-right: var(--sp-4) !important; }
.mx-5 { margin-left: var(--sp-5) !important; margin-right: var(--sp-5) !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

/* ===== Y Axis ===== */
.my-0 { margin-top: var(--sp-0) !important; margin-bottom: var(--sp-0) !important; }
.my-1 { margin-top: var(--sp-1) !important; margin-bottom: var(--sp-1) !important; }
.my-2 { margin-top: var(--sp-2) !important; margin-bottom: var(--sp-2) !important; }
.my-3 { margin-top: var(--sp-3) !important; margin-bottom: var(--sp-3) !important; }
.my-4 { margin-top: var(--sp-4) !important; margin-bottom: var(--sp-4) !important; }
.my-5 { margin-top: var(--sp-5) !important; margin-bottom: var(--sp-5) !important; }

/* ========== PADDING ========== */

/* ===== All Sides ===== */
.p-0 { padding: var(--sp-0) !important; }
.p-1 { padding: var(--sp-1) !important; }
.p-2 { padding: var(--sp-2) !important; }
.p-3 { padding: var(--sp-3) !important; }
.p-4 { padding: var(--sp-4) !important; }
.p-5 { padding: var(--sp-5) !important; }

/* ===== Top ===== */
.pt-0 { padding-top: var(--sp-0) !important; }
.pt-1 { padding-top: var(--sp-1) !important; }
.pt-2 { padding-top: var(--sp-2) !important; }
.pt-3 { padding-top: var(--sp-3) !important; }
.pt-4 { padding-top: var(--sp-4) !important; }
.pt-5 { padding-top: var(--sp-5) !important; }

/* ===== Bottom ===== */
.pb-0 { padding-bottom: var(--sp-0) !important; }
.pb-1 { padding-bottom: var(--sp-1) !important; }
.pb-2 { padding-bottom: var(--sp-2) !important; }
.pb-3 { padding-bottom: var(--sp-3) !important; }
.pb-4 { padding-bottom: var(--sp-4) !important; }
.pb-5 { padding-bottom: var(--sp-5) !important; }

/* ===== Start (Left) ===== */
.ps-0 { padding-left: var(--sp-0) !important; }
.ps-1 { padding-left: var(--sp-1) !important; }
.ps-2 { padding-left: var(--sp-2) !important; }
.ps-3 { padding-left: var(--sp-3) !important; }
.ps-4 { padding-left: var(--sp-4) !important; }
.ps-5 { padding-left: var(--sp-5) !important; }

/* ===== End (Right) ===== */
.pe-0 { padding-right: var(--sp-0) !important; }
.pe-1 { padding-right: var(--sp-1) !important; }
.pe-2 { padding-right: var(--sp-2) !important; }
.pe-3 { padding-right: var(--sp-3) !important; }
.pe-4 { padding-right: var(--sp-4) !important; }
.pe-5 { padding-right: var(--sp-5) !important; }

/* ===== X Axis ===== */
.px-0 { padding-left: var(--sp-0) !important; padding-right: var(--sp-0) !important; }
.px-1 { padding-left: var(--sp-1) !important; padding-right: var(--sp-1) !important; }
.px-2 { padding-left: var(--sp-2) !important; padding-right: var(--sp-2) !important; }
.px-3 { padding-left: var(--sp-3) !important; padding-right: var(--sp-3) !important; }
.px-4 { padding-left: var(--sp-4) !important; padding-right: var(--sp-4) !important; }
.px-5 { padding-left: var(--sp-5) !important; padding-right: var(--sp-5) !important; }

/* ===== Y Axis ===== */
.py-0 { padding-top: var(--sp-0) !important; padding-bottom: var(--sp-0) !important; }
.py-1 { padding-top: var(--sp-1) !important; padding-bottom: var(--sp-1) !important; }
.py-2 { padding-top: var(--sp-2) !important; padding-bottom: var(--sp-2) !important; }
.py-3 { padding-top: var(--sp-3) !important; padding-bottom: var(--sp-3) !important; }
.py-4 { padding-top: var(--sp-4) !important; padding-bottom: var(--sp-4) !important; }
.py-5 { padding-top: var(--sp-5) !important; padding-bottom: var(--sp-5) !important; }

/* ========== BORDER ========== */

.border     { border: 1px solid var(--border) !important; }
.border-top { border-top: 1px solid var(--border) !important; }
.border-bottom { border-bottom: 1px solid var(--border) !important; }
.border-start  { border-left: 1px solid var(--border) !important; }
.border-end    { border-right: 1px solid var(--border) !important; }

.border-0        { border: none !important; }
.border-top-0    { border-top: none !important; }
.border-bottom-0 { border-bottom: none !important; }
.border-start-0  { border-left: none !important; }
.border-end-0    { border-right: none !important; }

/* ===== Border Color ===== */
.border-primary   { border-color: rgba(124,58,237,0.3) !important; }
.border-success   { border-color: rgba(34,197,94,0.3) !important; }
.border-danger    { border-color: rgba(239,68,68,0.3) !important; }
.border-warning   { border-color: rgba(245,158,11,0.3) !important; }
.border-info      { border-color: rgba(6,182,212,0.3) !important; }
.border-light     { border-color: rgba(255,255,255,0.12) !important; }
.border-hover     { border-color: var(--border-hover) !important; }

/* ===== Border Radius ===== */
.rounded      { border-radius: var(--radius) !important; }
.rounded-sm   { border-radius: var(--radius-sm) !important; }
.rounded-xs   { border-radius: var(--radius-xs) !important; }
.rounded-pill { border-radius: 2em !important; }
.rounded-circle { border-radius: 50% !important; }
.rounded-0    { border-radius: 0 !important; }

/* ===== Border style ===== */
.border-solid {
	border-style: solid !important;
}

.border-dashed {
	border-style: dashed !important;
}

/* ========== BUTTON ========== */

.btn {
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	padding: 8px 16px;
	border-radius: var(--radius-xs);
	font-family: inherit;
	height: 38px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s;
	background: none;
	border: none;
	text-decoration: none !important;
	text-align: center;
}

.btn:hover {
	transform: translateY(-1px); 
}

.btn-main {
	background: var(--accent-grad);
	color: var(--white);
	box-shadow: 0 2px 12px rgba(245,158,11,0.25);
}
.btn-main:hover { 
	background: var(--accent-grad-hover);
	color: var(--text);
	transform: translateY(-1px); 
	box-shadow: 0 4px 20px rgba(245,158,11,0.35); 
}

.btn-secondary {
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text-2);
}

.btn-secondary:hover {
	border-color: var(--border-hover);
	color: var(--text);
}

.btn-soft-red {
  border: 1px solid rgba(239,68,68,0.2); 
	background: rgba(239,68,68,0.06);
  color: #ef4444;
}
.btn-soft-red:hover { 
	background: rgba(239,68,68,0.12);
	transform: translateY(-1px); 
	border-color: rgba(239,68,68,0.3); 
}

.btn-primary {
	background: var(--accent-grad-2);
	color: var(--white);
	box-shadow: 0 4px 16px rgba(124,58,237,0.3);
}
.btn-primary:hover { 
	background: var(--accent-grad-2);
	transform: translateY(-1px); 
	box-shadow: 0 4px 16px rgba(124,58,237,0.3); 
}

/* GHOST */
.btn-ghost {
    background: transparent;
    color: var(--text-2);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border-hover);
}

/* SUCCESS */
.btn-success {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
}
.btn-success:hover {
    background: linear-gradient(135deg, #15803d, #16a34a);
    box-shadow: 0 4px 16px rgba(34,197,94,0.3);
}

/* DANGER */
.btn-danger {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
}
.btn-danger:hover {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    box-shadow: 0 4px 16px rgba(239,68,68,0.3);
}

/* WARNING */
.btn-warning {
    background: linear-gradient(135deg, #d97706, #f59e0b);
    color: #fff;
}
.btn-warning:hover {
    background: linear-gradient(135deg, #b45309, #d97706);
    box-shadow: 0 4px 16px rgba(245,158,11,0.3);
}

/* INFO / PURPLE */
.btn-purple {
    background: var(--accent-grad-2);
    color: #fff;
}
.btn-purple:hover {
    background: linear-gradient(135deg, #6d28d9, #9333ea);
    box-shadow: 0 4px 16px rgba(168,85,247,0.3);
}

/* SOFT VARIANTS */
.btn-soft-green {
    background: rgba(34,197,94,0.12);
    color: var(--green);
    border: 1px solid rgba(34,197,94,0.25);
}
.btn-soft-green:hover {
    background: rgba(34,197,94,0.2);
}

.btn-soft-red {
    background: rgba(239,68,68,0.12);
    color: #f87171;
    border: 1px solid rgba(239,68,68,0.25);
}
.btn-soft-red:hover {
    background: rgba(239,68,68,0.2);
}

.btn-soft-purple {
    background: rgba(168,85,247,0.12);
    color: var(--accent-purple);
    border: 1px solid rgba(168,85,247,0.25);
}
.btn-soft-purple:hover {
    background: rgba(168,85,247,0.2);
}

.btn-soft-amber {
    background: rgba(245,158,11,0.12);
    color: var(--accent-amber);
    border: 1px solid rgba(245,158,11,0.25);
}
.btn-soft-amber:hover {
    background: rgba(245,158,11,0.2);
}

.btn-sm {
	height: 26px;
	font-size: 12px;
	padding: 3px 10px;
}

.btn-md {
	height: 48px;
	font-size: 16px;
}

.btn-lg {
	height: 52px;
	font-size: 18px;
	font-weight: 700;
	border-radius: var(--radius);
}

.btn-capsule {
  border-radius: 2em;
}

.btn-w100 {
	width: 100%;
}

.btn-flex {
	align-content: center;
	align-items: center;
	justify-content: center;
	display: flex;
}

.btn:disabled,
.btn[disabled],
button:disabled,
button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========== TABS MENU ========== */

.main-tabs-menu { 
	display: flex; 
	background: var(--surface); 
	border-radius: var(--radius-sm); 
	border: 1px solid var(--border); 
	overflow: hidden; 
	position: sticky; 
	top: 56px; 
	z-index: 40; 
}

.item-tab-menu { 
	flex: 1; 
	padding: 12px 8px; 
	text-align: center; 
	font-size: 13px; 
	font-weight: 700; 
	color: var(--text-3); 
	cursor: pointer; 
	border: none; 
	background: none; 
	font-family: inherit; 
	transition: all 0.2s; 
	position: relative; 
}

.item-tab-menu.active { 
	color: #fff; 
	background: var(--accent-grad); 
}

/*
body, 
.bottom-nav {
	border-right: 1px solid var(--border);
}
*/

.brand img, 
.burger-brand img {
	height: 25px;
	min-height: 25px;
	max-height: 25px;
}

/* ========== FORM ========== */

.input-wrapper-md {
	height: 42px;
}

/** CEHCK INPUT **/
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-check-input {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 4px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    cursor: pointer;
    margin-top: 2px;
    transition: all 0.2s;
    position: relative;
}

.form-check-input:checked {
    background: var(--accent-grad);
    border-color: transparent;
}

.form-check-input:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.form-check-label {
    font-size: 13px;
    color: var(--text-2);
    cursor: pointer;
    line-height: 1.5;
}

/** INPUT HELP TEXT **/
.input-help {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  line-height: 1.4;
}

/** INPUT VALIDATION **/
.input-wrapper:has(input.is-invalid), 
.input-wrapper:has(select.is-invalid), 
.custom-input-wrap:has(input.is-invalid) {
  border-color: rgba(239, 68, 68, 0.6) !important;
}

.input-wrapper:has(input.is-invalid) .input-icon, 
.input-wrapper:has(select.is-invalid) .input-icon, 
.custom-input-wrap:has(input.is-invalid) .custom-prefix {
  color: #f87171;
}

.invalid-feedback {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  background: transparent;
  border: none;
  font-size: 11px;
  font-weight: 500;
  color: #f87171;
  line-height: 1.4;
}

.invalid-feedback::before {
  content: '\f06a';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 11px;
  flex-shrink: 0;
}

.securimage-img {
    transition: opacity 0.2s;
}

.securimage-img.loading {
    opacity: 0.3;
}

.fa-refresh.spinning {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ========== SLIDE MENU START ========== */

.section-slidemenu {
	padding: 16px;
	border-top: 1px solid var(--border);
}

/* ========== SLIDE MENU END ========== */

/* ========== NAVBAR TOPBAR START ========== */

.topbar {
  position: sticky; top: 0; z-index: 45;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: rgba(10,9,24,0.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.topbar-back {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); border: none; border-radius: var(--radius-xs);
  cursor: pointer; color: var(--text-2); transition: all 0.2s;
}
.topbar-back:hover { background: rgba(255,255,255,0.1); color: var(--text); }
.topbar-back svg { width: 20px; height: 20px; }
.topbar-title { font-size: 17px; font-weight: 800; }
.topbar-spacer { width: 36px; }

/* ========== NAVBAR TOPBAR END ========== */

/* ========== HOME PAGE START ========== */

/** CATEGORY TABS **/
.cat-nav-wrapper {
  position: relative;
}

.cat-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.cat-nav-left  { left: 0; }
.cat-nav-right { right: 0; }

.cat-nav-btn:hover {
  border-color: var(--border-hover);
  background: var(--surface-3);
  color: var(--text);
}

.cat-nav-btn:disabled {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}

.cat-scroll {
  padding-left: 36px;
  padding-right: 36px;
}

/** LIST GAMES CATEGORY TABS **/

/** show by providers **/
.list-catgame {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  overflow-x: hidden;
	border-top: 1px solid var(--border);
	padding-top: 14px;
}

.list-catgame .item-catgame, 
.list-catgame .item-catgame a {
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
}

.list-catgame .item-catgame {
  width: calc(25% - 6px);
  transition: all 0.25s;
}

.list-catgame .item-catgame:hover {
	transform: translateY(-3px);
}
	
.list-catgame .item-catgame-image {
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
}

.list-catgame .item-catgame-image img {
	max-width: 100%;
}

@media (max-width: 360px) {
  .list-catgame .item-catgame {
    width: calc(33.333% - 6px);
  }
}

/** show by game **/
.list-catgame-panel .game-grid.on-catgame {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  overflow-x: hidden;
	border-top: 1px solid var(--border);
	padding-top: 14px;
}

.list-catgame-panel .game-grid.on-catgame .game-card {
  width: calc(25% - 6px);
}

.list-catgame-panel .game-card .game-action {
	display: none;
}

.list-catgame-panel .game-card:hover .game-action {
	display: flex;
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	row-gap: 10px;
	color: #fff;
	opacity: 1;
	transition: opacity 0.25s;
	z-index: 1;
}

.list-catgame-panel .game-card .game-action .btn-main {
	font-size: 21px;
	border-radius: 50px;
	width: 44px;
	height: 44px;
	padding: 2px;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
}

.list-catgame-panel .game-card .game-action .btn-main:hover {
	background: var(--accent-grad-hover);
}

.seall-catgame {
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	margin-top: 14px;
}

/** TOTO RESULT **/
.list-toto-result {
	display: grid;
	flex-direction: column;
	gap: 8px;
	grid-template-columns: repeat(2, 1fr);
	overflow-x: hidden;
	border-top: 1px solid var(--border);
	padding-top: 14px;
}

.item-toto-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  transition: all 0.2s;
}

.item-toto-result:hover {
  border-color: var(--border-hover);
  background: var(--surface-2);
}

.item-toto-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(124,58,237,0.12);
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.item-toto-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.item-toto-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.item-toto-jam {
  font-size: 11px;
  color: var(--accent-amber, #f59e0b);
  display: flex;
  align-items: center;
  gap: 4px;
}

.item-toto-jam--tutup {
  color: var(--text-2);
}

.item-toto-arrow {
  font-size: 11px;
  color: var(--text-2);
  flex-shrink: 0;
}

@media (max-width: 360px) {
	.list-toto-result {
		grid-template-columns: repeat(1, 1fr);
  }
}

/** FUN DEMO GAMES **/
.search-fun-demo-games, 
.loadmore-fun-demo-games {
	margin-top: 14px;
}

.fun-demo-games .game-card .game-action {
	display: none;
}

.fun-demo-games .game-card:hover .game-action {
	display: flex;
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	row-gap: 10px;
	color: #fff;
	opacity: 1;
	transition: opacity 0.25s;
	z-index: 1;
}

.fun-demo-games .game-card .game-action .btn-main {
	font-size: 21px;
	border-radius: 50px;
	width: 44px;
	height: 44px;
	padding: 2px;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
}

.fun-demo-games .game-card .game-action .btn-ghost {
	background: rgba(0, 0, 0, .55);
	color: var(--white);
	border: 1px solid var(--white);
	padding: 5px 10px;
	border-radius: 2rem;
}

.fun-demo-games .game-card .game-action .btn-main:hover {
	background: var(--accent-grad-hover);
}

.fun-demo-games .game-card .game-action .btn-ghost:hover {
	background: var(--white);
	color: var(--black);
}

.loader, 
.no-results {
  grid-column: 1 / -1;
  text-align: center;
	color: var(--text-3);
	font-size: 13px;
}

/* ========== POPUP ALL GAMES ========== */
.allgames-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 500;
    flex-direction: column;
		width: 100%;
    max-width: 540px;
    left: 50%;
    transform: translateX(-50%);
}

.allgames-backdrop.show {
    display: flex;
}

.allgames-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(10,9,24,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.allgames-back {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: none;
    border-radius: var(--radius-xs);
    cursor: pointer;
    color: var(--text-2);
    transition: all 0.2s;
    font-size: 14px;
}

.allgames-back:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text);
}

.allgames-title {
    font-size: 17px;
    font-weight: 800;
}

.allgames-spacer {
    width: 36px;
}

.allgames-search {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.allgames-layout {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.allgames-sidebar {
    width: 72px;
    flex-shrink: 0;
    overflow-y: auto;
    border-right: 1px solid var(--border);
    scrollbar-width: none;
}

.allgames-sidebar::-webkit-scrollbar { display: none; }

.allgames-prov-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 4px;
    cursor: pointer;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.allgames-prov-tab:hover {
    background: rgba(255,255,255,0.03);
}

.allgames-prov-tab.active {
    background: linear-gradient(90deg, rgba(124,58,237,0.15), transparent);
    border-left-color: var(--accent-violet);
}

.allgames-prov-tab-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    overflow: hidden;
}

.allgames-prov-tab-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    filter: brightness(0.7);
}

.allgames-prov-tab.active .allgames-prov-tab-icon img {
    filter: brightness(1);
}

.allgames-prov-tab-label {
    font-size: 9px;
    font-weight: 700;
    color: var(--text-3);
    text-align: center;
    line-height: 1.2;
    text-transform: uppercase;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    max-width: 64px;
}

.allgames-prov-tab.active .allgames-prov-tab-label {
    color: var(--text);
}

.allgames-grid-wrap {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    scrollbar-width: none;
}

.allgames-grid-wrap::-webkit-scrollbar { display: none; }

.allgames-grid-wrap .game-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

.allgames-grid-wrap .loadmore-allgames {
	margin-top: 14px;
}

@keyframes allgamesClose {
    0%   { opacity: 1; filter: blur(0); }
    100% { opacity: 0; filter: blur(12px); }
}

.allgames-backdrop.closing {
    animation: allgamesClose 0.25s ease-in forwards;
    pointer-events: none;
}

/* ========== HOME PAGE END ========== */

/* ========== PAGING START ========== */

.page-title, 
.page-content, 
.content-wrap, 
.subpage-wrap, 
.subpage-title, 
.subpage-content,
.additional-content {
	display: flex;
	flex-direction: column;
	position: relative;
}

.page-title {
	margin-bottom: 14px;
	border-bottom: 1px solid var(--border);
	padding-bottom: 14px;
}

.page-title, 
.page-title h3 {
	font-size: 17px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.page-title p {
	font-size: 13px;
	font-weight: normal;
	margin-top: 5px;
	color: var(--text-3);
}

p.page-subtitle  {
	font-size: 15px;
	font-weight: normal;
	color: var(--text-2);
}

.page-content {
	
}

.subpage-title {
	font-size: 14px;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: 7px;
	border-bottom: 1px solid var(--border);
	padding-bottom: 7px;
}

.grid-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.subpage-headline {
	margin-bottom: 7px;
}

/** OTP INPUT **/
.otp-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.otp-field {
  flex: 1;
}

.otp-field input {
	width: 100%;
}

.otp-sep {
  color: var(--text-3);
  font-size: 14px;
  flex-shrink: 0;
}

/* ========== PAGING END ========== */

/* ========== LOBBY START ========== */

.main-lobby-games {
	display: flex;
	flex-direction: column;
	gap: 12px;
	position: relative;
}

.main-lobby-games .page-content {
	gap: 12px;
}

.main-lobby-games .category-section .cat-tab {
	max-width: 72px;
	text-align: center;
}

.main-lobby-games .category-section .cat-label {
	white-space: unset;
	overflow: unset;
	text-overflow: unset;
}

/** PROVIDERS **/
.list-provider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
	max-height: calc((3 * 52px) + (2 * 8px));
	overflow: hidden;
}

.item-provider {
	height: 52px;
  position: relative;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: all 0.25s;
}

.item-provider:hover {
	border-color: var(--border-hover);
	background: var(--surface-2);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.item-provider > a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  height: 100%;
}

.item-provider img {
  max-width: 100%;
  height: 28px;
  object-fit: contain;
  transition: filter 0.25s;
}

.item-provider:hover img {

}

.main-add-favorite-provider {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
}

.main-add-favorite-provider a {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
  text-decoration: none;
}

.main-add-favorite-provider a:hover {
  background: rgba(0,0,0,0.6);
  color: #f87171;
}

.main-add-favorite-provider a.active i {
  font-weight: 900;
  color: #f87171;
}

.main-add-favorite-provider a.active {
  background: rgba(239,68,68,0.15);
  color: #f87171;
}

.list-provider-more {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

/** PANEL ALL PROVIDERS **/
.providers-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5,3,15,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.providers-backdrop.show {
  display: flex;
}

.providers-popup {
  width: 400px;
  max-width: calc(100vw - 32px);
  max-height: 80vh;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  animation: popSlideUp 0.45s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 24px 80px -12px rgba(0,0,0,0.6), 0 0 120px -40px rgba(168,85,247,0.15);
  position: relative;
  z-index: 10000;
}

.providers-popup-header {
  position: relative;
  display: flex;
  align-items: center;
  height: 56px;
  background: linear-gradient(135deg, rgba(168,85,247,0.2) 0%, rgba(245,158,11,0.12) 100%);
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
  flex-shrink: 0;
  border-radius: 20px 20px 0 0;
}

.providers-popup-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent-grad);
  opacity: 0.4;
}

.providers-popup-title {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
}

.providers-popup-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-2);
  border-left: 1px solid var(--border);
  margin-right: -16px;
  height: 56px;
  width: 56px;
  transition: all 0.2s;
  font-size: 14px;
  border-radius: 0 20px 0 0;
}

.providers-popup-close:hover {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.providers-popup-search {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.providers-popup-search .input-wrapper {
  height: 42px;
}

.providers-popup-search .input-icon {
  width: 38px;
}

.providers-popup-search input {
  font-size: 13px;
	padding-left: 0;
}

.btn-clear-input {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 100%;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-3);
  transition: color 0.2s;
  flex-shrink: 0;
}

.btn-clear-input:hover { color: var(--text-2); }

.providers-popup-body {
  padding: 12px 16px 24px;
  overflow-y: auto;
  flex: 1;
}

.providers-popup-body .list-provider {
  max-height: none;
  overflow: visible;
}

/** GAME PANEL **/

.search-game-panel {
	
}

.main-lobby-games .game-grid {

}

.search-game-panel input {
	font-size: 13px;
	padding-left: 0;
}

.loadmore-game-panel {
	
}

/* ========== RTP GAME ========== */
.rtp-game {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4px 6px;
    /*background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);*/
		background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    gap: 4px;
}

.rtp-game .progress {
    flex: 1;
    height: 3px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    overflow: hidden;
}

.rtp-game .progress-bar {
    height: 100%;
    border-radius: 2px;
    background: var(--green) !important;
}

.rtp-game-percentage {
    font-size: 9px;
    font-weight: 700;
    color: var(--green);
    white-space: nowrap;
    flex-shrink: 0;
}

.rtp-game-percentage span {
    font-family: 'JetBrains Mono', monospace;
}

/** GAME CARD ACTION OVERLAY **/
.game-card .game-action {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.game-card:hover .game-action {
  display: flex;
}

.game-card .game-action .btn-play-game {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.btn-favorite-game {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.2s;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}

.btn-favorite-game:hover {
  background: rgba(0,0,0,0.6);
  transform: scale(1.1);
  color: #f87171;
}

.btn-favorite-game.favorited {
  background: rgba(239,68,68,0.15);
  color: #f87171;
}

.btn-favorite-game.favorited i {
  font-weight: 900;
}

/** FAVORITE STATE **/
.main-add-favorite-provider a.favorited {
  background: rgba(239,68,68,0.15);
  color: #f87171;
}

.main-add-favorite-provider a.favorited i {
  font-weight: 900;
}

/** FAVORITE GAME STATE **/
.game-fav.favorited,
#add-favorite-game.favorited {
  background: rgba(239,68,68,0.15);
  color: #f87171;
}

.game-fav.favorited i,
#add-favorite-game.favorited i {
  font-weight: 900;
  color: #f87171;
}


/* =============================================
   FLY TO FAVORITE — HEART (game) + ROCKET (provider)
   ============================================= */

/* --- Flying Icon (shared) --- */
.fav-flying-icon {
    position: fixed;
    font-size: 1.3rem;
    z-index: 9999;
    pointer-events: none;
    opacity: 1;
    /* transform di-set via JS agar rocket rotate dinamis */
    transition: left      0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                top       0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity   0.5s ease-in 0.2s;
    /* TIDAK ada transition untuk transform agar rotate rocket tidak berubah saat terbang */
}
.fav-flying-icon.fly-done {
    opacity: 0;
}

/* --- Particles --- */
.fav-particle {
    position: fixed;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    z-index: 9998;
    pointer-events: none;
    opacity: 1;
    transform: scale(1);
    transition: left      0.6s cubic-bezier(0.4, 0, 0.2, 1),
                top       0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s ease-in,
                opacity   0.6s ease-in;
}
.fav-particle.fly-done {
    transform: scale(0);
    opacity: 0;
}

/* --- Shake + Glow Target --- */
@keyframes _shake {
    0%   { transform: translateX(0); }
    20%  { transform: translateX(-6px); }
    40%  { transform: translateX(6px); }
    60%  { transform: translateX(-4px); }
    80%  { transform: translateX(4px); }
    100% { transform: translateX(0); }
}

/* Glow merah — untuk target game */
@keyframes _glow-game {
    0%   { box-shadow: 0 0 0px rgba(224, 85, 85, 0); }
    50%  { box-shadow: 0 0 8px rgba(224, 85, 85, 0.4); }
    100% { box-shadow: 0 0 0px rgba(224, 85, 85, 0); }
}
._shake-glow-game {
    animation: _shake 0.4s ease, _glow-game 0.6s ease;
}

/* Glow kuning — untuk target provider */
@keyframes _glow-provider {
    0%   { box-shadow: 0 0 0px rgba(240, 192, 64, 0); }
    50%  { box-shadow: 0 0 8px rgba(240, 192, 64, 0.4); }
    100% { box-shadow: 0 0 0px rgba(240, 192, 64, 0); }
}
._shake-glow-provider {
    animation: _shake 0.4s ease, _glow-provider 0.6s ease;
}

/* =============================================
   EXPLODE UNFAVORITE
   ============================================= */

/* Icon yang muncul lalu meledak */
.fav-explode-icon {
    position: fixed;
    font-size: 1.2rem;
    z-index: 9999;
    pointer-events: none;
    opacity: 1;
    transform: scale(1);
}

/* Fase 1: membesar dengan bounce */
@keyframes _explode-pop {
    0%   { transform: scale(1);   opacity: 1; }
    60%  { transform: scale(1.8); opacity: 1; }
    100% { transform: scale(1.5); opacity: 1; }
}
.fav-explode-icon.explode-pop {
    animation: _explode-pop 0.18s cubic-bezier(0.36, 0.07, 0.19, 0.97) forwards;
}

/* Fase 2: meledak hilang */
@keyframes _explode-bang {
    0%   { transform: scale(1.5); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}
.fav-explode-icon.explode-bang {
    animation: _explode-bang 0.25s ease-out forwards;
}

/* Serpihan yang menyebar */
.fav-shard {
    position: fixed;
    z-index: 9998;
    pointer-events: none;
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity   0.45s ease-out;
}
.fav-shard.shard-fly {
    transform: translate(var(--tx), var(--ty)) rotate(360deg) scale(0);
    opacity: 0;
}

/* Flash kilat ledakan */
.fav-explode-flash {
    position: fixed;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 9997;
    pointer-events: none;
    opacity: 0.7;
    transform: scale(1);
    transition: transform 0.35s ease-out,
                opacity   0.35s ease-out;
}
.fav-explode-flash.flash-done {
    transform: scale(2.5);
    opacity: 0;
}

/* animate spread game items -- start */
.game-card {
  opacity: 0;
  transform: translateY(60px) rotate(var(--init-rot, 0deg)) scale(0.6);
}

.game-card.dealt {
  animation: dealCard 0.55s cubic-bezier(0.22, 1.2, 0.36, 1) forwards;
}

@keyframes dealCard {
  0% {
    opacity: 0;
    transform: translateY(80px) rotate(var(--init-rot, 0deg)) scale(0.55);
    filter: blur(4px);
  }
  80% {
    transform: translateY(-8px) rotate(calc(var(--init-rot, 0deg) * 0.1)) scale(1.04);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
    filter: blur(0);
  }
}
/* animate spread game items -- end */

/* ========== FAVORIT PROVIDER LIST ========== */

.list-favorited-provider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.list-favorited-provider .item-fav-provider {
    height: 52px;
    position: relative;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    overflow: hidden;
    transition: all 0.25s;
}

.list-favorited-provider .item-fav-provider:hover {
    border-color: var(--border-hover);
    background: var(--surface-2);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.list-favorited-provider .item-fav-provider > a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    height: 100%;
}

.list-favorited-provider .item-fav-provider img {
    max-width: 100%;
    height: 28px;
    object-fit: contain;
    transition: filter 0.25s;
}

.list-favorited-provider .item-fav-provider:hover img {

}

/* ========== LOBBY END ========== */

/* ========== CONTENT SINGLE UNTUK HALAMAN SPERTI BLOG ========== */

.content-single {
	font-size: 14px;
}

.subpage-content-single {
	text-transform: uppercase !important;
}

.content-single h1, 
.content-single h2, 
.content-single h3, 
.content-single h4, 
.content-single h5, 
.content-single h6 {
	text-transform: unset;
	margin-bottom: 15px;
}

.content-single p {
	margin-bottom: 15px;
}

.content-single img {
	width: 100%;
	height: auto;
	display: block;
}

.content-single ul {
	list-style: disc;
}

.content-single ul, 
.content-single ol {
	padding-left: 30px;
}

.content-single ul > li + li, 
.content-single ol > li + li {
	margin-top: 10px;
}
