/*------------------------------------------------------------------
  RAJAGACOR — Modern Casino Dark Gold theme
  Visual override only. Do not change markup hooks or JS behavior.
--------------------------------------------------------------------*/
:root {
  --rg-bg: #070604;
  --rg-bg-deep: #050402;
  --rg-surface: #12100a;
  --rg-surface-alt: #1c170d;
  --rg-surface-elevated: #241e10;
  --rg-gold: #d4af37;
  --rg-gold-light: #f3d98a;
  --rg-gold-soft: #c9a44a;
  --rg-gold-dark: #8d6f1e;
  --rg-text: #f6ecd2;
  --rg-text-muted: #b8a56a;
  --rg-border: #3d3318;
  --rg-danger: #b5442e;
  --rg-success: #7a8a3a;
  --rg-glow: rgba(212, 175, 55, 0.28);
  --rg-font-display: "Cinzel", "Times New Roman", serif;
  --rg-font-body: "Outfit", "Poppins", "Segoe UI", sans-serif;
}

html {
  color-scheme: dark;
}

body#bd,
body {
  background:
    radial-gradient(1200px 500px at 50% -80px, rgba(212, 175, 55, 0.16), transparent 55%),
    linear-gradient(180deg, #0c0a06 0%, var(--rg-bg) 180px, var(--rg-bg-deep) 100%) !important;
  color: var(--rg-text);
  font-family: var(--rg-font-body);
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
}

.wrapper,
.wrapper[style] {
  background: transparent !important;
  position: relative;
  z-index: 1;
}

.bg__white {
  background: transparent !important;
}

h1, h2, h3, h4, .sub_header,
.article-container h1,
.faq-RAJAGACOR h2,
.testimoni-RAJAGACOR h2 {
  font-family: var(--rg-font-display);
  letter-spacing: 0.06em;
}

a {
  color: var(--rg-gold-light);
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

a:hover,
a:focus {
  color: var(--rg-gold) !important;
  text-decoration: none;
}

/* ------------------------------------------------------------------
   Header / Navbar
------------------------------------------------------------------- */
#header.bg__white,
#header.htc-header,
#sticky-header-with-topbar,
.mainmenu__area.sticky__header {
  background: rgba(10, 8, 4, 0.92) !important;
  border-bottom: 1px solid var(--rg-border) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), inset 0 -1px 0 rgba(212, 175, 55, 0.18);
  backdrop-filter: blur(16px);
}

#sticky-header-with-topbar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--rg-gold), var(--rg-gold-light), var(--rg-gold), transparent);
}

.sticky__header.scroll-header,
.header--3 .sticky__header.scroll-header {
  background: rgba(8, 6, 3, 0.96) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55) !important;
}

.logo img {
  max-height: 54px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.35));
}

.main__menu > li > a,
.header--3 .main__menu > li > a {
  color: var(--rg-text) !important;
  font-family: var(--rg-font-display);
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.main__menu > li:hover > a,
.main__menu > li.current > a {
  color: var(--rg-gold-light) !important;
  text-shadow: 0 0 12px var(--rg-glow);
}

.main__menu > li > a::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  bottom: 16px;
  height: 1px;
  background: var(--rg-gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.main__menu > li:hover > a::after,
.main__menu > li.current > a::after {
  transform: scaleX(1);
}

.main__menu li.drop ul.dropdown,
.main__menu li.drop ul.dropdown.mega_dropdown,
.mainmenu__nav ul li ul.lavel-dropdown,
.main__menu li.drop ul.dropdown li.drop ul.dropdown.smright {
  background: var(--rg-surface) none repeat scroll 0 0 !important;
  border: 1px solid var(--rg-border);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55) !important;
}

.main__menu ul.dropdown li {
  border-bottom: 1px solid var(--rg-border) !important;
}

.main__menu ul.dropdown li a {
  background: var(--rg-surface) none repeat scroll 0 0 !important;
  color: var(--rg-text) !important;
}

.main__menu li.drop ul.dropdown li:hover > a,
.main__menu li.drop ul.dropdown.mega_dropdown li:hover > a {
  background: var(--rg-surface-alt) none repeat scroll 0 0 !important;
  color: var(--rg-gold-light) !important;
}

.menu-extra li span,
.mobile-menu-area .toggle__mobilemenu span {
  color: var(--rg-gold-light) !important;
}

.menu-extra li span:hover {
  color: var(--rg-gold) !important;
}

.prod_search,
#prd_search,
#prod_search {
  background-color: var(--rg-surface-alt) !important;
  color: var(--rg-text) !important;
  border: 1px solid var(--rg-border) !important;
  box-shadow: none !important;
}

.prod_search::placeholder {
  color: var(--rg-text-muted) !important;
}

.input-group-addon {
  background: var(--rg-surface-elevated) !important;
  border-color: var(--rg-border) !important;
}

.input-group-addon .fa-search,
.input-group-addon .btn {
  color: var(--rg-gold) !important;
  background: transparent !important;
}

.mean-container .mean-bar,
.mean-container .mean-nav {
  background: var(--rg-surface) !important;
}

.mean-container .mean-nav ul li a {
  color: var(--rg-text) !important;
  border-top-color: var(--rg-border) !important;
}

.mean-container a.meanmenu-reveal span {
  background: var(--rg-gold) !important;
}

/* ------------------------------------------------------------------
   Overlays / mobile drawer / search
------------------------------------------------------------------- */
.body__overlay {
  background: rgba(5, 4, 2, 0.72) !important;
}

.search__area,
.shopping__cart,
.mobilemenu,
.filterMobile,
.filterSeries {
  background: var(--rg-surface) !important;
  color: var(--rg-text);
}

.search__inner input,
.mobilemenu label,
.mobilemenu h4,
.cd-accordion-menu label {
  color: var(--rg-text) !important;
}

.mobilemenu__close__btn a i,
.offsetmenu__close__btn a i,
.search__close__btn_icon i {
  color: var(--rg-gold-light) !important;
}

/* ------------------------------------------------------------------
   Login / Daftar strip
------------------------------------------------------------------- */
.button-login-daftar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 14px 8px;
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.08), transparent 70%),
    var(--rg-bg);
}

.button-login-daftar a {
  text-align: center;
  text-decoration: none !important;
}

.button-login-daftar .login,
.button-login-daftar .register,
.login-button,
.register-button {
  color: #1a1406 !important;
  min-width: 220px;
  padding: 13px 28px;
  font-family: var(--rg-font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2em;
  border: 1px solid var(--rg-gold-light);
  border-radius: 999px;
  background-color: var(--rg-gold);
  background-image: linear-gradient(180deg, #f3d98a 0%, #d4af37 48%, #8d6f1e 100%) !important;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 8px 22px rgba(212, 175, 55, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.button-login-daftar .login:hover,
.button-login-daftar .register:hover,
.login-button:hover,
.register-button:hover {
  color: #0c0a04 !important;
  filter: brightness(1.08);
  box-shadow: 0 0 24px rgba(243, 217, 138, 0.45);
  transform: translateY(-1px);
}

/* ------------------------------------------------------------------
   Hero banner
------------------------------------------------------------------- */
.image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 18px auto 8px;
  padding: 28px 16px 36px;
  background:
    radial-gradient(ellipse at center, rgba(212, 175, 55, 0.16) 0%, transparent 58%),
    linear-gradient(180deg, #100e08 0%, #070604 100%) !important;
}

.image-container::before,
.image-container::after {
  content: "";
  position: absolute;
  width: 84px;
  height: 84px;
  pointer-events: none;
  border: 2px solid var(--rg-gold);
  opacity: 0.7;
}

.image-container::before {
  top: 12px;
  left: 16px;
  border-right: 0;
  border-bottom: 0;
}

.image-container::after {
  right: 16px;
  bottom: 18px;
  border-left: 0;
  border-top: 0;
}

.center-image {
  width: min(560px, 92vw);
  height: auto;
  max-height: 560px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--rg-gold-dark);
  box-shadow:
    0 0 0 6px rgba(18, 16, 10, 0.9),
    0 0 0 7px var(--rg-gold-dark),
    0 18px 50px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(212, 175, 55, 0.18);
}

/* ------------------------------------------------------------------
   Flash sale / leftover ecommerce blocks
------------------------------------------------------------------- */
.htc__new__product,
.htc__feature__product,
.produk-flashsale {
  background: var(--rg-bg) !important;
  color: var(--rg-text);
}

.sub_header,
.titleflashsale,
.product__details,
.product__price .new__price {
  color: var(--rg-gold-light) !important;
}

.product,
.img-thumbnail {
  background: var(--rg-surface) !important;
  border-color: var(--rg-border) !important;
}

/* ------------------------------------------------------------------
   Article
------------------------------------------------------------------- */
.article-container {
  width: min(1100px, 94%);
  margin: 28px auto;
  padding: 36px 40px;
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.07), transparent 28%),
    linear-gradient(180deg, #16130b 0%, #0c0a06 100%) !important;
  border: 1px solid var(--rg-border);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(243, 217, 138, 0.12);
  font-family: var(--rg-font-body);
  line-height: 1.8;
  color: var(--rg-text) !important;
}

.article-container h1 {
  font-size: clamp(22px, 4vw, 34px);
  margin-bottom: 20px;
  color: var(--rg-gold-light) !important;
  text-align: center;
  font-weight: 700;
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.25);
}

.article-container h2 {
  font-size: 24px;
  margin: 28px 0 14px;
  color: var(--rg-gold) !important;
  border-left: 4px solid var(--rg-gold);
  padding-left: 12px;
}

.article-container h3 {
  font-size: 20px;
  color: var(--rg-gold-light) !important;
}

.article-container p,
.article-container li {
  color: var(--rg-text) !important;
  font-size: 16px;
  font-weight: 400;
}

.article-container a {
  color: var(--rg-gold-light) !important;
  text-decoration: none;
  font-weight: 700;
}

.article-container a:hover {
  color: var(--rg-gold) !important;
  text-decoration: underline;
}

/* ------------------------------------------------------------------
   Reviews
------------------------------------------------------------------- */
.testimoni-RAJAGACOR {
  width: min(1100px, 94%);
  margin: 10px auto 20px;
  color: var(--rg-text) !important;
}

.testimoni-RAJAGACOR h2,
.faq-RAJAGACOR h2 {
  position: relative;
  padding-bottom: 14px;
}

.testimoni-RAJAGACOR h2::after,
.faq-RAJAGACOR h2::after {
  content: "";
  display: block;
  width: 86px;
  height: 2px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, transparent, var(--rg-gold), transparent);
}

.testimoni-RAJAGACOR h2 {
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--rg-gold-light) !important;
  font-size: clamp(20px, 3vw, 28px);
  text-align: center;
}

.testimoni-wrapper {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .testimoni-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

.testimoni-RAJAGACOR blockquote {
  background: linear-gradient(180deg, #1a160d 0%, #100e08 100%) !important;
  border: 1px solid var(--rg-border) !important;
  border-left: 4px solid var(--rg-gold) !important;
  margin: 0 !important;
  padding: 22px 24px !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  text-align: left;
}

.testimoni-RAJAGACOR blockquote p,
.testimoni-RAJAGACOR blockquote strong,
.testimoni-RAJAGACOR blockquote i {
  color: var(--rg-text) !important;
  font-weight: 500;
}

.testimoni-RAJAGACOR cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 700;
  color: var(--rg-gold) !important;
}

/* ------------------------------------------------------------------
   FAQ
------------------------------------------------------------------- */
.faq-RAJAGACOR {
  max-width: 920px;
  margin: 48px auto 30px;
  padding: 8px 8px 24px;
  color: var(--rg-text);
}

.faq-RAJAGACOR h2 {
  text-align: center;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--rg-gold-light);
  font-size: clamp(20px, 3vw, 28px);
}

.faq-list {
  border: 1px solid var(--rg-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--rg-surface);
}

.faq-item {
  border-bottom: 1px solid var(--rg-border);
  padding: 0;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 44px 18px 20px;
  font-weight: 700;
  font-size: 16px;
  color: var(--rg-gold-light);
  position: relative;
  transition: background 0.2s ease;
}

.faq-item summary:hover {
  background: rgba(212, 175, 55, 0.06);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--rg-gold);
}

.faq-item[open] summary {
  background: rgba(212, 175, 55, 0.08);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  line-height: 1.75;
  text-align: justify;
  color: var(--rg-text);
  font-size: 15px;
}

/* ------------------------------------------------------------------
   Sticky CTA
------------------------------------------------------------------- */
.footer-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(7, 6, 4, 0.94);
  border-top: 1px solid var(--rg-gold-dark);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(243, 217, 138, 0.2);
  padding: 12px 18px;
  z-index: 9999;
  backdrop-filter: blur(14px);
}

.cta-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 680px;
  margin: 0 auto;
  gap: 10px;
}

.cta-footer .btn {
  flex: 1;
  padding: 12px 0;
  font-family: var(--rg-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 999px;
  text-decoration: none !important;
  text-align: center;
  color: #1a1406 !important;
  border: 1px solid var(--rg-gold-light);
  background: linear-gradient(180deg, #f3d98a 0%, #d4af37 50%, #9a7b24 100%);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin: 0;
}

.cta-footer .login,
.cta-footer .daftar,
.cta-footer .bonus {
  animation: rg-pulse 2.4s ease-in-out infinite;
}

.cta-footer .btn:hover {
  color: #0c0a04 !important;
  box-shadow: 0 0 22px rgba(243, 217, 138, 0.5);
  transform: translateY(-1px);
}

@keyframes rg-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* ------------------------------------------------------------------
   Footer / copyright
------------------------------------------------------------------- */
.htc__foooter__area,
.htc__foooter__area.bg__white {
  background: var(--rg-bg-deep) !important;
  border-top: 1px solid var(--rg-border);
  padding-bottom: 24px;
}

.htc__foooter__area .row[style],
.layanan-kami-row {
  background-color: var(--rg-surface) !important;
  color: var(--rg-text) !important;
  padding-bottom: 12px;
}

.htc__foooter__area h3 {
  color: var(--rg-gold-light) !important;
  font-family: var(--rg-font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.htc__foooter__area hr {
  border-color: var(--rg-gold-dark) !important;
}

.htc__foooter__area a {
  color: var(--rg-text) !important;
}

.htc__foooter__area a:hover {
  color: var(--rg-gold-light) !important;
}

.htc__foooter__area img {
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.2));
}

.icon-img-footer {
  border: 1px solid var(--rg-border);
  border-radius: 8px;
  background: #fff;
  padding: 4px;
}

.htc__copyright__area {
  background: #050402 !important;
  border-top: 1px solid var(--rg-border) !important;
  color: var(--rg-text-muted);
  padding: 18px 0 96px;
}

.htc__copyright__area p,
.htc__copyright__area a,
.footer__menu li a {
  color: var(--rg-text-muted) !important;
}

.htc__copyright__area a:hover,
.footer__menu li a:hover {
  color: var(--rg-gold-light) !important;
}

/* ------------------------------------------------------------------
   Modal
------------------------------------------------------------------- */
.modal-content {
  background: var(--rg-surface) !important;
  color: var(--rg-text) !important;
  border: 1px solid var(--rg-border);
}

.modal-header,
.modal-footer {
  border-color: var(--rg-border) !important;
}

.modal-title {
  color: var(--rg-gold-light) !important;
}

/* ------------------------------------------------------------------
   Responsive
------------------------------------------------------------------- */
@media (max-width: 767px) {
  .logo img {
    max-height: 40px;
  }

  .button-login-daftar .login,
  .button-login-daftar .register {
    min-width: calc(50% - 10px);
    font-size: 14px;
    padding: 12px 10px;
    letter-spacing: 0.12em;
  }

  .article-container {
    padding: 24px 18px;
  }

  .center-image {
    max-height: 360px;
  }

  .image-container::before,
  .image-container::after {
    width: 42px;
    height: 42px;
  }

  .cta-footer .btn {
    font-size: 11px;
    letter-spacing: 0.06em;
    padding: 11px 0;
  }
}
