
       * { margin: 0; padding: 0; box-sizing: border-box; }
        body { background-color: #2b1a11; font-family: 'Luckiest Guy', cursive; color: white; display: flex; justify-content: center; }
        .mobile-wrapper { width: 100%; max-width: 480px; background-color: #3d261b; min-height: 100vh; border: 1px solid #1a100b; }
        .hero { background: linear-gradient(rgba(139, 0, 0, 0.2), rgba(0, 0, 0, 0.5)), url('https://i.postimg.cc/rmD0xGJT/bg.jpg') no-repeat center center; background-size: cover; height: 380px; padding: 0; text-align: center; border-bottom: 6px solid #d2a679; }
        .navbar { display: flex; justify-content: space-between; align-items: center; padding: 10px 15px; height: 75px; background: url('navbar.png') no-repeat center center; background-size: 100% 100%; position: relative; margin-bottom: 20px; }
        .nav-logo { width: 55px; height: auto; margin-top: -12px; }
        .nav-right { display: flex; gap: 15px; align-items: center; }
        .nav-right-icon { width: 33px; height: auto; cursor: pointer; margin-top: -5px; position: relative; }
        .nav-right-icon2 { width: 28px; height: auto; cursor: pointer; margin-top: -11px; }
        .cart-wrapper { position: relative; cursor: pointer; margin-top: -5px; display: flex; align-items: center; }
        .cart-wrapper img { width: 33px; height: auto; }
        .cart-badge { position: absolute; top: -6px; right: -6px; background: #ff4444; color: white; border-radius: 50%; width: 18px; height: 18px; font-size: 10px; display: flex; align-items: center; justify-content: center; font-family: Arial, sans-serif; font-weight: bold; display: none; }
        .hero-content { padding: 0 20px; }
        .hero h1 { font-size: 2.4rem; line-height: 1.0; text-transform: uppercase; -webkit-text-stroke: 0.7px black; }
        .learn-more { margin-top: 25px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 1.1rem; }
        .arrow-circle { background: white; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid black; color: black; font-size: 14px; font-family: Arial, sans-serif; font-weight: bold; }
        .tabs-container { background-color: #d2a679; display: flex; justify-content: center; padding: 12px 10px; gap: 12px; border-bottom: 4px solid #8b5a2b; }
        .tab { background: #e6e6e6; border: 3px solid #333; border-radius: 12px; width: 65px; height: 65px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
        .tab.active { background: #ffffff; border: 4px solid #000; transform: scale(1.1); }
        .tab img { width: 45px; height: auto; }
        .product-grid { display: flex; flex-direction: column; gap: 15px; padding: 20px; background-color: #3d261b; }
        .product-card { display: flex; flex-direction: column; background-color: #4e3122; border-radius: 15px; border: 3px solid #1a100b; overflow: hidden; cursor: pointer; }

        /* Container Foto */ 
        .img-container { background: #000;  position: relative;  overflow: hidden;  width: 100%;  display: flex; align-items: center; justify-content: center; aspect-ratio: 16/9; border-radius: 12px 12px 0 0; }
        .img-container .character-img { width: 100%; height: 100%; display: block; object-fit: cover; z-index: 1; }
        .product-info { padding: 12px; text-align: left; }
        .product-title { font-size: 1.2rem; color: #ffd700; text-shadow: 1px 1px 2px black; }
        .product-price { font-size: 1rem; color: #ffffff; }
        .detail-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 20000; display: none; justify-content: center; align-items: center; }
        .detail-content { background: #3d261b; width: 90%; max-width: 400px; border-radius: 20px; border: 3px solid #d2a679; max-height: 90vh; overflow-y: auto; position: relative; padding-bottom: 20px; }
        .close-detail {position: absolute;top: 0;display: flex;align-items: center;justify-content: center;width: 38px;height: 38px;background: rgba(0,0,0,0.6);border: 2px solid #d2a679;border-radius: 50%;color: white;font-size: 22px;cursor: pointer;z-index: 10;margin: 12px 12px 0 auto;line-height: 1;font-family: Arial, sans-serif;transition: background 0.2s;}
        .close-detail:hover {background: #8b0000;border-color: #ff6666;}
        .screenshot-slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding: 15px; scrollbar-width: none; }
        .screenshot-slider img { width: 100%; flex-shrink: 0; scroll-snap-align: start; border-radius: 10px; border: 2px solid #555; }
        .detail-info { padding: 0 20px; }
        .detail-info h2 { color: #ffd700; margin-bottom: 10px; }
        .detail-desc { font-family: Arial, sans-serif; font-size: 0.9rem; line-height: 1.4; margin-bottom: 20px; white-space: pre-wrap; color: #ddd; }
        .payment-label { font-size: 1rem; margin-bottom: 10px; display: block; }
        .payment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
        .pay-btn { background: #4e3122; border: 2px solid #d2a679; color: white; padding: 10px; border-radius: 8px; cursor: pointer; font-family: Arial, sans-serif; font-weight: bold; }
        .pay-btn.selected { background: #ffd700; color: black; }

        /* Dua tombol aksi di detail */
        .action-buttons { display: flex; gap: 10px; margin-top: 5px; }
        .btn-troli { 
            flex: 1; 
            background: transparent; 
            border: 3px solid #ffd700; 
            color: #ffd700; 
            padding: 14px 10px; 
            border-radius: 50px; 
            font-family: 'Luckiest Guy', cursive; 
            font-size: 1rem; 
            cursor: pointer; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            gap: 8px;
            transition: background 0.2s;
        }
        .btn-troli:hover { background: rgba(255,215,0,0.1); }
        .btn-troli.added { background: #ffd700; color: #3d261b; }
        .btn-beli-langsung { 
            flex: 1.5; 
            background: #28a745; 
            color: white; 
            padding: 14px 10px; 
            border: none; 
            border-radius: 50px; 
            font-family: 'Luckiest Guy', cursive; 
            font-size: 1rem; 
            cursor: pointer; 
            box-shadow: 0 4px 0 #1e7e34;
            transition: opacity 0.2s;
        }
        .btn-beli-langsung:hover { opacity: 0.9; }

        /* ========================
           CART MODAL
        ======================== */
        .cart-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 25000; display: none; justify-content: center; align-items: flex-end; }
        .cart-content { background: #3d261b; width: 100%; max-width: 480px; border-radius: 20px 20px 0 0; border: 3px solid #d2a679; border-bottom: none; padding: 20px; max-height: 85vh; display: flex; flex-direction: column; }
        .cart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
        .cart-header h3 { color: #ffd700; font-size: 1.3rem; }
        .close-cart { font-size: 28px; color: white; cursor: pointer; line-height: 1; }
        .cart-list { overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 12px; padding-right: 5px; }
        .cart-item { display: flex; align-items: center; gap: 12px; background: #4e3122; border-radius: 12px; padding: 10px 12px; border: 2px solid #6b3f25; }
        .cart-item-img { width: 55px; height: 45px; object-fit: cover; border-radius: 8px; border: 2px solid #8b5a2b; flex-shrink: 0; }
        .cart-item-img-placeholder { width: 55px; height: 45px; background: #2b1a11; border-radius: 8px; border: 2px solid #8b5a2b; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #8b5a2b; font-size: 18px; }
        .cart-item-info { flex: 1; min-width: 0; }
        .cart-item-name { font-size: 0.9rem; color: #ffd700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .cart-item-price { font-size: 0.8rem; color: #ddd; font-family: Arial, sans-serif; margin-top: 2px; }
        .cart-item-remove { color: #ff6666; font-size: 18px; cursor: pointer; padding: 5px; flex-shrink: 0; }
        .cart-empty { text-align: center; padding: 40px 20px; color: #8b5a2b; font-family: Arial, sans-serif; }
        .cart-empty i { font-size: 40px; margin-bottom: 10px; display: block; }
        .cart-footer { margin-top: 15px; border-top: 2px solid #6b3f25; padding-top: 15px; }
        .cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
        .cart-total-label { font-size: 1rem; color: #d2a679; }
        .cart-total-price { font-size: 1.1rem; color: #ffd700; }

        /* Pilih payment di cart */
        .cart-payment-label { font-size: 0.9rem; color: #d2a679; margin-bottom: 8px; display: block; }
        .cart-payment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
        .cart-pay-btn { background: #4e3122; border: 2px solid #d2a679; color: white; padding: 8px; border-radius: 8px; cursor: pointer; font-family: Arial, sans-serif; font-size: 0.85rem; font-weight: bold; }
        .cart-pay-btn.selected { background: #ffd700; color: black; }
        .btn-checkout { width: 100%; padding: 15px; background: #28a745; color: white; border: none; border-radius: 50px; font-family: 'Luckiest Guy', cursive; font-size: 1.1rem; cursor: pointer; box-shadow: 0 4px 0 #1e7e34; }

        /* Animasi bounce badge */
        @keyframes badgeBounce { 0%,100%{transform:scale(1)} 50%{transform:scale(1.4)} }
        .badge-bounce { animation: badgeBounce 0.3s ease; }

        /* Search & Filter Bar */
        .search-filter-container {padding: 15px;display: flex;gap: 10px;background-color: #3d261b;}
        .search-wrapper {flex: 1;position: relative;}
        .search-input { width: 100%; padding: 12px 15px; border-radius: 10px; border: 2px solid #d2a679; background: #2b1a11; color: white; font-family: Arial, sans-serif; }
        .filter-btn { background: #d2a679; border: none; border-radius: 10px; width: 45px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.2rem; color: #3d261b; }

        /* Filter Modal */
        .filter-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 30000; display: none; justify-content: center; align-items: center; }
        .filter-content { background: #3d261b; width: 85%; max-width: 350px; padding: 20px; border-radius: 15px; border: 3px solid #d2a679; }
        .filter-content h3 { margin-bottom: 15px; color: #ffd700; text-align: center; }
        .filter-select { width: 100%; padding: 10px; border-radius: 5px; border: 1px solid #d2a679; background: #2b1a11; color: white; margin-bottom: 10px; }
        .apply-filter-btn { width: 100%; padding: 12px; background: #ffd700; border: none; border-radius: 8px; font-family: 'Luckiest Guy', cursive; cursor: pointer; color: #3d261b; }
        .cancel-filter-btn { text-align: center; margin-top: 10px; cursor: pointer; color: #aaa; font-family: Arial, sans-serif; font-size: 0.9rem; }
         
       .sparkle-overlay { position: absolute; width: 100%; height: 100%; top: 0; left: 0; mix-blend-mode: screen; opacity: 0.8; animation: sparkleMove 3s linear infinite, sparkleBlink 2s ease-in-out infinite; z-index: 2; pointer-events: none; }
       .sparkle-dot { position: absolute; width: 6px; height: 6px; background: white; border-radius: 50%; box-shadow: 0 0 10px white, 0 0 20px gold; animation: sparklePop 1s ease-out forwards; z-index: 3; }
       @keyframes sparklePop { 0% { transform: scale(0); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }
         
       
        .footer { background-color: #000000 !important; padding: 40px 25px; color: #ffffff; font-family: 'Segoe UI', Arial, sans-serif; }
        .footer-section-label { display: block; color: #ffffff; font-weight: bold; margin-bottom: 15px; font-size: 1rem; }
        .social-icons { display: flex; gap: 20px; margin-bottom: 25px; }
        .social-icons a { color: white; font-size: 26px; text-decoration: none; }
        .footer-line { border: 0; border-top: 1px solid #333; margin: 20px 0; }
        .company-info { display: flex; justify-content: space-between; align-items: flex-end; }
        .address { color: #777; font-size: 0.9rem; line-height: 1.5; font-family: Arial, sans-serif; }
        .supercell-logo-footer { width: 60px; }
        .app-buttons { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
        .app-buttons img { height: 40px; }

        .logo-area {display: flex;align-items: center;gap: 10px;}
        .logo-img {width: 40px;}
        .logo-text {font-size: 26; font-weight: bold; font-family: 'Luckiest Guy', cursive;color: #C38F58;-webkit-text-stroke: 0.2px #FFFDBE; margin-top: 6px;}
        .menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 9999; display: none; justify-content: flex-start; }
        .menu-content { background-color: white; width: 85%; max-width: 350px; height: 100%; color: black; font-family: Arial, sans-serif; display: flex; flex-direction: column; padding: 20px; animation: slideIn 0.3s ease-out; }
        @keyframes slideIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }
        .menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
        .close-btn { font-size: 35px; cursor: pointer; color: #333; }
        .login-id-btn { background-color: black; color: white; width: 100%; padding: 15px; border-radius: 50px; border: none; font-weight: bold; font-size: 1.1rem; display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 30px; cursor: pointer; }
        .login-id-btn1 { color: black; width: 100%; padding: 15px; border-radius: 50px; border: none; font-weight: bold; font-size: 1.1rem; display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 30px; cursor: pointer; }
        .profile-img {width: 40px;height: 40px;border-radius: 50%;object-fit: cover;}
        .id-badge { background-color: white; color: black; padding: 2px 6px; border-radius: 4px; font-size: 0.8rem; }
        .menu-item { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid #eee; cursor: pointer; }
        .item-left { display: flex; align-items: center; gap: 15px; font-size: 1.1rem; font-weight: bold; }
        .menu-footer { margin-top: auto; display: flex; justify-content: space-between; color: #888; padding-bottom: 10px; }