/**
 * Daily Diction Theme — Yellow Brand (#ffd600) on Dark Surface
 *
 * Color Palette:
 * - Primary accent: #ffd600
 * - Hover: #fffa86
 * - Secondary: #ffe20d
 * - Page background: #0d0d0d
 * - Navbar / surface: #272727
 * - Input / unselected card: #535353
 * - Text: #ffffff (muted #a3a3a3)
 * - Font: Geist
 */

@import url('https://fonts.googleapis.com/css2?family=Geist:ital,wght@0,100..900;1,100..900&display=swap');

*:not(.fa):not([class*='fa-']):not([class^='fa']),
*:not(.fa):not([class*='fa-']):not([class^='fa'])::before,
*:not(.fa):not([class*='fa-']):not([class^='fa'])::after {
  font-family: 'Geist', sans-serif !important;
}

:root {
  /* ─── Brand Colors ─── */
  --warna_3: #ffd600;
  --warna_5: #ffd600;
  --warna_neon_1: #ffd600;
  --warna_neon_3: #ffd600;
  --warna_neon_4: #ffd600;
  --warna_hover: #fffa86;

  /* ─── Backgrounds ─── */
  --body_background: #0d0d0d;
  --warna_7: #272727;
  --warna_8: #535353;
  --warna_9: #272727;
  --warna_12: #535353;
  --warna_17: #272727;

  /* ─── Gradients ─── */
  /* --warna_6: linear-gradient(90deg, #ffd600, #ffd600); */
  /* --warna_6: linear-gradient(90deg, var(--warna_neon_5), var(--warna_neon_1)); */
  --warna_6: #ffd600;
  --warna_10: #ffd600;
  --warna_11: #ffd600;

  /* ─── Text Colors ─── */
  --warna_text_2: #ffffff;
  --warna_text_3: #ffffff;
  --warna_text_4: #ffd600;
  --warna_text_7: #ffd600;
  --warna_text_9: #ffffff;

  /* ─── Neon Effects ─── */
  --warna_neon_1: #ffd600;
  --warna_neon_1_hover: #fffa86;
  --warna_neon_2: #ffd600;
  --warna_neon_2_hover: #ffd600;
  --warna_neon_5: #ffd600;

  /* ─── Footer ─── */
  --footer_background: linear-gradient(180deg, rgba(255, 214, 0, 0) 0%, rgba(255, 214, 0, 0.08) 100%);
}

body {
  background-color: var(--body_background) !important;
}
/* ─── Navbar Override ─── */
#navUtama {
  background: var(--warna_7);
}

.navbar-collapse {
  background: var(--warna_7) !important;
}

.searchnav {
  background: #e6e6e6;
  color: #0d0d0d;
}

.searchnav svg {
  color: #0d0d0d;
}

.searchnav span {
  color: #0d0d0d;
}

a.nav-item:hover,
a.nav-item.active,
a.nav-item.show {
  color: #ffd600;
  text-shadow: 0 0 3px #ffd600;
}

.searchnavmobile:hover {
  background: #ffd600;
}

.pencarian-content {
    background: #272727;
}

/* ─── Category Tabs ─── */
.button-category.active {
  background: #ffffff;
  color: #0d0d0d;
  border: 2px solid #ffd600;
  background: var(--GGWP-Neutral-30, #fff);
  box-shadow:
    0 0 5px 0 #ffd600,
    0 0 10px 0 #ffd600 inset;
}

.button-category {
  border-color: #ffffff;
  color: #ffffff;
  background: #0d0d0d;
}

/* ─── Buttons ─── */
.button-style-2 {
  color: var(--warna_text_9);
  border: 2px solid #ffd600;
  background: rgba(255, 255, 255, 0);
  box-shadow:
    0 0 5px 0 #ffd600,
    0 0 10px 0 #ffd600 inset;
}

.button-style-2:hover {
  border: 2px solid #ffd600;
}

/* ─── Footer ─── */
.title-footer {
  text-shadow: 0 0 4px #ffd600;
}

.text-foot * {
  color: #e6e6e6;
}

.menu-list li a {
  color: #e6e6e6;
}

.footerr .menu-list li a {
  transition: color 0.3s;
}

.footerr .menu-list li a:hover,
.footerr .menu-list li a:focus-visible {
  color: #fffa86;
}

.footerr .sec-2 {
  background: #0d0d0d;
}

/* ─── Game Detail / Breadcrumb ─── */
.game-breadcrumb .breadcrumb-item.active {
  color: var(--warna_3);
}

.game-breadcrumb .breadcrumb-item a:hover {
  color: var(--warna_3);
}

.game-detail-category-name {
  color: var(--warna_3);
}

.maintitle2 {
  color: var(--warna_3);
}

.titsub::after {
  background: linear-gradient(
    0deg,
    #ffd600 0.85%,
    rgba(124, 167, 208, 0.75) 50%,
    rgba(0, 0, 0, 0) 99.15%
  );
}

/* ─── Search ─── */
.subtext-items {
  background: #535353;
}

/* Search results (Figma 1851:18020): transparent by default, #535353 on hover, white text */
.searchItem {
  background: none;
}

.searchItem:hover {
  background: #535353;
}

.searchgameInstant b,
.searchgameInstant small,
.search-container .game-item:hover .searchgameInstant small {
  color: #ffffff;
}

/* ─── Form Controls ─── */
.form-control {
  background-color: #ffffff !important;
  color: #495057 !important;
}

.form-control:focus {
  border: 2px solid var(--warna_neon_2) !important;
  color: #0d0d0d !important;
}

.form-control::placeholder {
  color: #0d0d0d !important;
}

.form-control:-ms-input-placeholder {
  color: #0d0d0d !important;
}

.form-control::-ms-input-placeholder {
  color: #0d0d0d !important;
}

/* ─── FAQ / Info Cards ─── */
.header-faq {
  color: #ffffff;
}

.faq-content .faq-body-content {
  background: var(--warna_12);
}

.game-detail-order-process-info-card {
  border: 1px solid var(--warna_3)  !important;
  background: var(--warna_7) !important;
}

.game-detail-order-process-info-card .text-saweria {
  color: #ffd600 !important;
}

/* ─── Warning/Accent Text ─── */
.text-warning {
  color: var(--warna_3) !important;
}

a.text-warning:hover {
  color: #ffd600 !important;
}

/* ─── Radio Buttons (Nominal/Payment) ─── */
.radio-nominal:checked + label {
  background: var(--warna_12);
  border: 2px solid var(--warna_neon_2);
  box-shadow: 0 0 4px 0 var(--warna_neon_2);
}

.radio-nominal:hover + label {
  background: var(--warna_12);
  border: 2px solid var(--warna_neon_2);
  box-shadow: 0 0 4px 0 var(--warna_neon_2);
}

.radio-nominale:checked + label {
  background: var(--warna_12);
  border: 2px solid var(--warna_neon_2);
  box-shadow: 0 0 4px 0 var(--warna_neon_2);
}

.radio-nominale:hover + label {
  background: var(--warna_12);
  border: 2px solid var(--warna_neon_2);
  box-shadow: 0 0 4px 0 var(--warna_neon_2);
}

/* ─── How To Pay Button ─── */
.button-how-to-pay.button-style-2:hover {
  background: #ffffff;
  /* color: var(--warna_3); */
  box-shadow: none;
}

.button-how-to-pay.button-style-2 {
  background: var(--warna_3);
  color: #0d0d0d;
  box-shadow: none;
}

/* ─── Modal ─── */
.modal-popup .modal-header {
  background: #ffd600;
}

.modal-popup .modal-footer {
  background: #ffd600;
}

.modal-popup .modal-footer .modal-button-link {
  background: #ffffff;
  color: #ffd600;
}

.modal-popup .modal-footer .modal-button-link:hover {
  background: #ffffff;
  color: #ffd600;
}

/* ─── Payment Page ─── */
.payment-container {
  background: linear-gradient(180deg, #ffd600 -53.71%, rgba(8, 8, 15, 0) 84.63%);
}

/* ─── CTA / Action Buttons ─── */

.buy-btn-wrapper .button-style-1 {
  color: #0d0d0d;
}

.buy-btn-wrapper .button-style-1:hover {
  background: #ffd600;
}

.button-style-9 {
  background: #ffd600;
}

.button-style-9:hover {
  background: #fffa86;
}

/* .button-style-9 {
  background: linear-gradient(-90deg, #ffd600, #ffd600);
}

.button-style-9:hover {
  background: linear-gradient(90deg, #ffd600, #ffd600);
} */

/* ─── Section Cards ─── */
/* .section {
  background: #272727;
} */

/* ─── Accordion (Payment Methods) ─── */
.accordion-method .accordion-button {
  background: var(--warna_12);
}

.accordion-method .accordion-footer {
  background: var(--warna_12);
}

/* ─── Title Heading (Paling Laris, etc.) ─── */
.title-heading {
  text-shadow: 0 0 8px #ffd600;
}

.color-text-4 {
  color: var(--warna_text_4);
}

/* ─── Game Card Overlays ─── */
.game-card-overlay,
.game-populer-overlay {
  background: linear-gradient(
    0deg,
    #ffd600 0.85%,
    rgba(124, 167, 208, 0.75) 50%,
    rgba(0, 0, 0, 0) 99.15%
  );
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar-track {
  background: #fffa86;
}

::-webkit-scrollbar-thumb {
  background: #ffd600;
}

::-webkit-scrollbar-thumb:hover {
  background: #ffd600;
}

/* ─── Logo/Image Sizes ─── */
.logfott {
  width: 125px;
}

.navbar-brand img {
  width: 90px;
}

.banner-slide-container .col-banner-1 .logo-banner {
  width: 125px;
}

.modal-popup .modal-header .modal-logo {
  width: 90px;
}

/* ─── Newest Games Section (Homepage) ─── */
.newest-game-section .section-title {
  text-shadow: 0 0 8px #ffd600;
}

/* ─── Homepage Banner ─── */
.banner-title-heading {
  text-shadow: 0 0 8px #ffd600;
}

.flashsale-container .swiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 40px;
  background: #ffd600;
}

.banner-slide-container .swiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 40px;
  background: #ffd600;
}


/* ─── Figma alignment overrides (nested for cascade strength over base CSS) ─── */
:root {
  /* Navbar */
  #navUtama {
    background: #272727;
    height: 56px;
  }

  .searchnav {
    background: #ffffff;
    color: #0d0d0d;
    max-width: 600px;
    margin-left: auto;
  }

  a.nav-item:hover,
  a.nav-item.active,
  a.nav-item.show {
    color: #ffd600;
    text-shadow: 0 0 4px rgba(255, 214, 0, 1);
  }

  .searchnavmobile:hover {
    background: #fffa86;
    color: #0d0d0d;
  }

  /* Search popup (Figma 1851:17971): #272727 body, #0D0D0D header band, white input */
  .pencarian-content {
    background: #272727;
  }

  .searchHead {
    background: #0d0d0d;
  }

  #overlaysearch {
    background: rgba(13, 13, 13, 0.1);
    backdrop-filter: blur(4px);
  }

  /* Category tabs and Load More */
  .button-category.active {
    background: #ffffff;
    color: #0d0d0d;
    border: 2px solid #ffd600;
    box-shadow: none;
  }

  .button-category {
    background: #0d0d0d;
    color: #ffffff;
    border: 2px solid #ffffff;
  }

  .button-style-2 {
    color: #ffffff;
    border: 2px solid #ffd600;
    background: transparent;
    box-shadow: none;
  }

  .button-style-2:hover {
    color: #fffa86;
    border: 2px solid #fffa86;
    background: transparent;
    box-shadow: none;
  }

  /* Headings and cards */
  .title-heading,
  .banner-title-heading {
    text-shadow: 0 0 8px rgba(255, 214, 0, 0.7);
  }

  .titsub {
    background: linear-gradient(
      0deg,
      #0d0d0d 0%,
      rgba(13, 13, 13, 0.75) 50%,
      rgba(13, 13, 13, 0) 100%
    );
  }

  .titsub::after {
    background: linear-gradient(
      0deg,
      rgba(255, 250, 134, 1) 0%,
      rgba(255, 250, 134, 0.75) 50%,
      rgba(255, 250, 134, 0) 100%
    );
  }

  .title-games-b {
    line-height: 20px;
  }

  .subtile-games-b {
    font-weight: 400;
  }

  .banner-slide-container .swiper .swiper-pagination-bullet {
    background: #535353;
    opacity: 1;
  }

  .banner-slide-container .swiper .swiper-pagination-bullet.swiper-pagination-bullet-active,
  .flashsale-container .swiper .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 42px;
    background: #ffd600;
  }

  /* Footer */
  .title-footer {
    text-shadow: 0 0 8px rgba(255, 214, 0, 0.5);
  }

  .text-foot *,
  .menu-list li a {
    color: #ffffff;
  }

  .footerr .sec-1 {
    padding: 65px 0;
  }

  .footerr .sec-2 {
    background: #0d0d0d;
  }

  .hero-brand-divider,
  .footer-brand-divider {
    background: #a3a3a3 !important;
    margin: 0 12px;
  }

  .hero-saweria-logo,
  .footer-saweria-logo,
  .game-detail-saweria-logo,
  .game-detail-saweria-logo-mobile {
    height: 40px !important;
  }

  /* Logo sizes: nav 84px, hero/footer 125px (Figma) */
  .logfott {
    width: 125px;
    height: auto;
  }

  .navbar-brand img {
    width: 84px;
    height: auto;
  }

  .banner-slide-container .col-banner-1 .logo-banner {
    width: 125px;
    height: auto;
  }

  .modal-popup .modal-header .modal-logo {
    width: 84px;
    height: auto;
  }

  /* Scrollbar */
  ::-webkit-scrollbar-track {
    background: #272727;
  }

  ::-webkit-scrollbar-thumb {
    background: #ffd600;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #fffa86;
  }

  /* Buttons and forms */
  .buy-btn-wrapper .button-style-1 {
    background: #ffd600;
    color: #0d0d0d;
    font-weight: 800;
  }

  .buy-btn-wrapper .button-style-1:hover {
    background: #fffa86;
    color: #0d0d0d;
  }

  .button-style-9 {
    background: #ffd600;
    color: #0d0d0d;
    font-weight: 700;
  }

  .button-style-9:hover {
    background: #fffa86;
  }

  .button-how-to-pay.button-style-2 {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffd600;
    box-shadow: none;
  }

  .button-how-to-pay.button-style-2:hover {
    background: transparent;
    color: #fffa86;
    border: 2px solid #fffa86;
    box-shadow: none;
  }

  .form-control {
    background-color: #ffffff !important;
    color: #0d0d0d !important;
    font-weight: 400 !important;
  }

  .payment-container .form-input {
    background: #272727 !important;
    color: #ffffff !important;
    font-size: 15px;
  }

  .payment-container .form-input::placeholder {
    color: #a3a3a3 !important;
    font-size: 15px;
  }

  .radio-nominal:checked + label,
  .radio-nominal:hover + label,
  .radio-nominale:checked + label,
  .radio-nominale:hover + label {
    background: #535353;
    box-shadow: none;
  }

  /* Modal (not detailed in Figma: dark surface with primary action) */
  .modal-popup .modal-header,
  .modal-popup .modal-body,
  .modal-popup .modal-footer {
    background: #272727;
    padding: 24px;
  }

  .modal-popup .modal-footer .modal-button-link {
    background: #ffd600;
    color: #0d0d0d;
  }

  .modal-popup .modal-footer .modal-button-link:hover {
    background: #fffa86;
    color: #0d0d0d;
  }

  /* Modal header (area logo) */
  .modal-popup .modal-header {
    background: #0d0d0d;
  }

  /* Swal (Successful): teks tombol */
  .swal2-container .swal2-popup .swal2-confirm.swal2-styled {
    color: #0d0d0d !important;
    transition: background-color 0.3s;
  }

  /* Hover */
  .swal2-container .swal2-popup .swal2-confirm.swal2-styled:hover {
    background: #fffa86 !important;
    color: #0d0d0d !important;
  }

  /* Detail pesanan: separator, subtitle game */
  .payment-detail .border-color-\[var_warna_text_5\] {
    border-color: #535353;
  }

  .payment-detail .group-name {
    color: #ffd600;
  }

  /* Checkout: garis atas Total putih */
  .checkout-total {
    border-top-color: #ffffff !important;
  }

  /* Track Order / payment pages */
  .payment-container,
  .payment-container.payment-detail {
    background: linear-gradient(180deg, rgba(255, 214, 0, 0.08) 0%, rgba(255, 214, 0, 0) 40%);
  }

  @media (min-width: 993px) {
    .payment-container .form-input,
    .payment-container button[type='submit'] {
      width: 37.13%;
    }
  }

  .payment-container .container > .d-flex {
    gap: 24px;
  }

  .payment-container .button-style-9.mt-1 {
    margin-top: 0 !important;
  }

  .payment-container .button-style-9 i {
    font-size: 20px;
    line-height: 20px;
    width: 20px;
  }

  .payment-container .progress {
    background: #535353;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  }

  /* Inactive progress steps: the component sets var(--warna_3) inline (would be yellow) */
  .payment-container .progress-circle[style*='warna_3'] {
    background: #535353 !important;
  }

  .order-time {
    background: #ed2227;
  }

  .payment-container .card-section {
    border-radius: 16px;
  }

  .label-va {
    padding: 6px 14px;
    gap: 4px;
    font-size: 14px;
    line-height: 20px;
  }

  /* Game detail */
  @media (min-width: 993px) {
    .congames {
      top: -86px;
    }
  }

  .game-detail-page .col-12.mb-lg-3 {
    margin-bottom: 24px !important;
  }

  .game-detail-page .col-lg-4 .games-content {
    margin-bottom: 0;
  }

  .game-breadcrumb .breadcrumb {
    font-size: 13px;
    line-height: 18.2px;
  }

  .maintitle {
    line-height: 28px;
  }

  .subtext-items {
    font-weight: 400;
  }

  .game-detail-page .bg-\[var_warna_6\] {
    background: #ffd600 !important;
    color: #0d0d0d !important;
  }

  @media (min-width: 768px) {
    .game-detail-page span.bg-\[var_warna_6\] {
      width: 34px;
    }
  }

  .game-detail-page .col-lg-8 .bg-\[var_warna_17\].mb-\[18px\],
  .game-detail-page .col-lg-8 .game-detail-order-process-info-card {
    margin-bottom: 24px;
  }

  .radio-nominale + label .product-name,
  .radio-nominale + label .currency-idr1 {
    letter-spacing: 0.0714em;
  }

  .radio-nominal + label .method-name,
  .radio-nominal + label .saldo-anda {
    font-weight: 400;
    letter-spacing: 0.0714em;
  }

  .accordion-method .radio-nominal + label .method-name {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.0833em;
  }

  .accordion-method .accordion-button {
    font-weight: 400;
  }

  .accordion-method .accordion-footer {
    padding: 0 16px 12px;
  }

  .checkout-ppn,
  .checkout-harga-produk,
  .checkout-biaya-layanan,
  .checkout-biaya-payment-gateway {
    font-weight: 400;
  }

  .checkout-harga-produk + span,
  .checkout-ppn + span,
  .checkout-biaya-layanan + span,
  .checkout-biaya-payment-gateway + span {
    font-weight: 700;
  }

  .game-detail-order-process-info-card .text-order {
    font-weight: 400;
  }

  .header-faq {
    line-height: 28.8px;
  }

  #faqList {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }

  /* T&C */
  .syarat-ketentuan-page {
    background: #0d0d0d;
    padding-bottom: 0;
  }

  .syarat-ketentuan .title-heading {
    text-shadow: none;
  }

  .desc-b * {
    font-size: 16px !important;
    line-height: 24px;
    font-weight: 400;
  }

  .desc-b > p:not(:first-child) * {
    font-size: 14px !important;
    line-height: 20px;
  }

  .desc-b ul {
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
}
