/* Nonaktifkan penyalinan teks */
    body {
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      outline: none;
      -webkit-tap-highlight-color: transparent;
    }
    /* Variabel warna */
    :root {
      --primary: #ff6f61;
      --accent: #00cf98;
      --text: #333333;
      --bg: transparent;
      --gradient-bg: linear-gradient(135deg, #a8edea, #fed6e3);
      --glass-bg: rgba(255, 255, 255, 0.25);
    }
    /* Reset global */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Inter', sans-serif;
    }
    html, body {
      overflow-x: hidden;
    }
    /* Loader styles */
    #loader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }
    .loader-dots span {
      display: inline-block;
      width: 10px;
      height: 10px;
      margin: 0 5px;
      background-color: var(--primary);
      border-radius: 50%;
      animation: loadingDots 1.2s infinite ease-in-out;
    }
    .loader-dots span:nth-child(1) { animation-delay: -0.24s; }
    .loader-dots span:nth-child(2) { animation-delay: -0.12s; }
    @keyframes loadingDots {
      0%, 80%, 100% { transform: scale(0); }
      40% { transform: scale(1); }
    }
    /* Background gradient */
    .bg-gradient {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: var(--gradient-bg);
      filter: blur(30px);
      z-index: -2;
    }
    body {
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
      position: relative;
      min-height: 100vh;
      padding-top: 70px;
      padding-bottom: 70px;
    }
    /* Header */
    .main-header {
      padding: 1rem 2rem;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: var(--glass-bg);
      border: 1px solid rgba(255,255,255,0.18);
      backdrop-filter: blur(15px);
      -webkit-backdrop-filter: blur(15px);
    }
    .header-content {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .brand-logo {
      display: flex;
      align-items: center;
    }
    .brand-logo img {
      height: 30px;
      width: auto;
      max-height: 40px;
    }
    /* Header kanan */
    .header-right {
      display: flex;
      align-items: center;
    }
    .login-btn {
      margin-left: 1rem;
      background: var(--primary);
      color: #fff;
      padding: 0.5rem 1rem;
      border: none;
      border-radius: 5px;
      text-decoration: none;
      font-size: 1rem;
      transition: background 0.3s ease;
    }
    .login-btn:hover {
      background: #e65b55;
    }
    /* Banner Slider Modern */
    .hero-banner-slider {
      position: relative;
      overflow: hidden;
      margin: 1rem;
      border-radius: 10px;
    }
    .hero-slide {
      display: none;
      position: relative;
      width: 100%;
    }
    .hero-slide img {
      width: 100%;
      height: auto;
      object-fit: cover;
      display: block;
    }
    .hero-slide.active { display: block; }
    .banner-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: transparent;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem;
      color: #fff;
      font-size: 1.5rem;
      font-weight: bold;
      text-align: center;
    }
    /* Dot indikator slider */
    .slider-dots {
      position: absolute;
      bottom: 15px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
      z-index: 10;
    }
    .slider-dots span {
      display: block;
      width: 10px;
      height: 10px;
      background-color: rgba(255,255,255,0.6);
      border-radius: 50%;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }
    .slider-dots span.active {
      background-color: var(--primary);
    }
    /* Member Balance Section */
    .member-section { margin: 1rem; }
    .member-card {
      padding: 1.5rem;
      border-radius: 15px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: var(--glass-bg);
      border: 1px solid rgba(255,255,255,0.18);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }
    .member-balance h3 {
      font-size: 1rem;
      font-weight: normal;
      margin-bottom: 0.3rem;
      display: flex;
      align-items: center;
    }
    .member-balance h3 i {
      margin-left: 0.5rem;
      cursor: pointer;
    }
    .balance-amount { font-size: 1.2rem; }
    .balance-amount span { font-weight: bold; }
    .member-actions {
      display: flex;
      gap: 0.5rem;
    }
    .deposit-btn, .transfer-btn {
      background: var(--primary);
      color: #fff;
      border: none;
      padding: 0.7rem;
      border-radius: 8px;
      font-size: 1.2rem; /* Ikon lebih besar */
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: background 0.3s ease;
      text-decoration: none;
      width: 40px; /* Ukuran tombol persegi */
      height: 40px;
    }
    .deposit-btn:hover, .transfer-btn:hover { background: #e65b55; }
    /* Section Header & Grid Produk */
    .section-header {
      padding: 0 1rem;
      margin-bottom: 1.5rem;
      text-align: left;
    }
    .section-title {
      font-size: 1.1rem;
      font-weight: 600;
      padding-left: 1rem;
      margin: 0;
      position: relative;
    }
    .section-title::before {
      content: '';
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 4px;
      height: 80%;
      background: var(--primary);
      border-radius: 2px;
    }
    .filter-toggle {
      display: flex;
      gap: 1rem;
      margin: 2rem 1rem 1rem 1rem;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 1rem;
    }
    .filter-toggle::-webkit-scrollbar { display: none; }
    .filter-btn {
      flex-shrink: 0;
      padding: 0.5rem 1rem;
      background: var(--glass-bg);
      border: 1px solid rgba(255,255,255,0.18);
      border-radius: 20px;
      cursor: pointer;
      transition: background 0.3s ease, color 0.3s ease;
    }
    .filter-btn:hover,
    .filter-btn.active {
      background: var(--primary);
      color: #fff;
    }
    .product-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      margin: 1rem;
    }
    .product-card {
      overflow: hidden;
      position: relative;
      text-decoration: none;
      color: inherit;
      border-radius: 15px;
      background: var(--glass-bg);
      border: 1px solid rgba(255,255,255,0.18);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      display: flex;
      flex-direction: column;
    }
    .image-container {
      width: 100%;
      position: relative;
      padding-top: 100%;
    }
    .image-container img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      border-top-left-radius: 15px;
      border-top-right-radius: 15px;
    }
    .product-info { padding: 0.5rem; text-align: center; }
    .product-title {
      font-size: 0.7rem;
      font-weight: 600;
      margin: 0;
      color: var(--text);
    }
    @media (min-width: 768px) {
      .product-grid {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        padding: 1rem;
      }
      .product-grid .product-card {
        flex: 0 0 auto;
        width: 250px;
      }
    }
    /* Payment Methods Section dengan efek marquee */
    .payment-methods-section { margin: 3rem 1rem; }
    .payment-methods-wrapper {
      overflow: hidden;
      position: relative;
    }
    .payment-methods-scroller {
      display: flex;
      animation: marquee 30s linear infinite;
    }
    @keyframes marquee {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
    .payment-method-card {
      flex: 0 0 auto;
      width: 120px;
      height: 80px;
      background: var(--glass-bg);
      border: 1px solid rgba(255,255,255,0.18);
      border-radius: 10px;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-right: 1rem;
      transition: transform 0.3s ease;
    }
    .payment-method-card:hover { transform: translateY(-5px); }
    .payment-method-card img {
      max-width: 80%;
      max-height: 80%;
    }
    /* Footer Section */
    .main-footer {
      background: var(--glass-bg);
      border-top: 1px solid rgba(255,255,255,0.18);
      padding: 2rem 1rem;
      color: var(--text);
      margin-top: 3rem;
    }
    .footer-content {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
    }
    .footer-section {
      flex: 1;
      min-width: 250px;
      margin: 1rem;
    }
    .footer-section h3 { margin-bottom: 1rem; }
    .footer-section p, .footer-section a {
      font-size: 0.9rem;
      color: var(--text);
      text-decoration: none;
    }
    .footer-section a {
      margin-right: 0.5rem;
      transition: color 0.3s ease;
    }
    .footer-section a:hover { color: var(--primary); }
    .footer-bottom {
      text-align: center;
      padding-top: 1rem;
      font-size: 0.8rem;
      border-top: 1px solid rgba(255,255,255,0.18);
      margin-top: 1rem;
    }
    /* Bottom Navigation Bar */
    .bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: white;
      border-top-left-radius: 15px;
      border-top-right-radius: 15px;
      padding: 0.5rem 0;
      display: flex;
      justify-content: space-around;
      align-items: center;
      z-index: 1000;
      transition: background 0.3s ease, border 0.3s ease, backdrop-filter 0.3s ease;
    }
    .bottom-nav.scrolled {
      background: var(--glass-bg);
      border: 1px solid rgba(255,255,255,0.18);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }
    .bottom-nav-item {
      color: var(--text);
      text-decoration: none;
      display: flex;
      flex-direction: column;
      align-items: center;
      font-size: 0.8rem;
      flex: 1;
    }
    .bottom-nav-item i {
      font-size: 1.2rem;
      margin-bottom: 0.2rem;
    }
    .bottom-nav-item.active,
    .bottom-nav-item:hover { color: var(--primary); }
    /* Floating Telegram Button */
    .telegram-float {
      position: fixed;
      bottom: 80px;
      right: 20px;
      background: var(--primary);
      color: #fff;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      z-index: 1000;
      transition: background 0.3s ease;
      text-decoration: none;
    }
    .telegram-float:hover {
      background: #e65b55;
    }
    .telegram-float i {
      font-size: 1.5rem;
    }
    /* Ripple Effect */
    .ripple-effect {
      position: relative;
      overflow: hidden;
    }
    .ripple {
      position: absolute;
      border-radius: 50%;
      background: rgba(255,255,255,0.3);
      transform: scale(0);
      animation: ripple-animation 600ms linear;
      pointer-events: none;
    }
    @keyframes ripple-animation {
      to { transform: scale(4); opacity: 0; }
    }
    /* CSS untuk Modal Popup, Snackbar, dan efek maintenance */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 2000;
    }
    .modal-content {
      background: #fff;
      border-radius: 12px;
      padding: 20px;
      width: 90%;
      max-width: 500px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      animation: fadeIn 0.3s ease-out;
    }
    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
    }
    .modal-header h2 {
      font-size: 1.25rem;
      margin: 0;
      color: var(--dark-color);
    }
    .modal-top-actions button {
      border: none;
      background: #808080;
      border-radius: 6px;
      padding: 6px 12px;
      font-size: 0.9rem;
      cursor: pointer;
      color: #fff;
    }
    .modal-top-actions button:hover {
      background: #696969;
    }
    @keyframes fadeIn {
      from { opacity: 0; transform: scale(0.9); }
      to { opacity: 1; transform: scale(1); }
    }
    .small-tip {
      background: #f3f4f6;
      padding: 4px 8px;
      border-radius: 12px;
      font-size: 0.75rem;
      display: inline-block;
      margin-top: 0.5rem;
      color: var(--dark-color);
    }
    .popup-url-button {
      display: inline-block;
      background: #FFA500;
      color: #fff;
      padding: 4px 8px;
      border: none;
      border-radius: 6px;
      text-decoration: none;
      margin: 0 4px;
      font-size: 0.8rem;
    }
    .popup-url-button:hover {
      background: #e59400;
    }
    #snackbar {
      visibility: hidden;
      min-width: 250px;
      background-color: #333;
      color: #fff;
      text-align: center;
      border-radius: 2px;
      padding: 16px;
      position: fixed;
      z-index: 3000;
      left: 50%;
      bottom: 30px;
      transform: translateX(-50%);
    }
    #snackbar.show {
      visibility: visible;
      animation: fadein 0.5s, fadeout 0.5s 2.5s;
    }
    @keyframes fadein {
      from {bottom: 0; opacity: 0;}
      to {bottom: 30px; opacity: 1;}
    }
    @keyframes fadeout {
      from {bottom: 30px; opacity: 1;}
      to {bottom: 0; opacity: 0;}
    }
    .product-card.maintenance {
      position: relative;
      filter: brightness(0.7);
    }
    .product-card.maintenance::after {
      content: "\f0ad";
      font-family: "Font Awesome 5 Free";
      font-weight: 900;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 2rem;
      color: #fff;
      pointer-events: none;
    }