* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body { width: 100vw; height: 100vh; overflow: hidden; display: flex; justify-content: center; align-items: center; background: transparent; } #wex-store-desgin { width: 80%; max-width: 1200px; height: 75vh; background: rgba(30, 41, 59, 0.98); border-radius: 15px; display: flex; flex-direction: column; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); opacity: 0; transform: scale(0.95); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid rgba(255, 255, 255, 0.1); position: relative; } #wex-store-desgin.show { opacity: 1; transform: scale(1); animation: container_fade 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards; } .hidden { display: none !important; } .store-header { padding: 25px; background: rgba(37, 99, 235, 0.1); border-radius: 15px 15px 0 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .store-title h1 { color: #fff; font-size: 28px; margin-bottom: 8px; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); } .store-title p { color: #94a3b8; font-size: 15px; } .wex-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; } .store-wallet { display: flex; align-items: center; background: rgba(37, 99, 235, 0.15); padding: 12px 20px; border-radius: 10px; color: #fff; border: 1px solid rgba(37, 99, 235, 0.3); position: relative; overflow: hidden; } .store-wallet::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%); transform: rotate(45deg); animation: shine_effect 3s infinite linear; } .store-wallet i { color: #3b82f6; margin-right: 10px; font-size: 18px; } #3mlh-amount { color: #60a5fa; font-weight: bold; margin-left: 5px; font-size: 16px; } .wex-search { position: relative; width: 350px; } #search-input { width: 100%; padding: 12px 40px 12px 20px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; color: #fff; font-size: 15px; transition: all 0.3s ease; } #search-input::placeholder { color: rgba(255, 255, 255, 0.5); } #search-input:focus { outline: none; background: rgba(37, 99, 235, 0.1); border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2); } .search-icon { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: rgba(255, 255, 255, 0.5); font-size: 16px; } .wex-items-cont { flex: 1; padding: 20px; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; height: calc(85vh - 140px); overflow-y: auto; scroll-behavior: smooth; } .wex-items-cont::-webkit-scrollbar { width: 6px; background: rgba(0, 0, 0, 0.1); } .wex-items-cont::-webkit-scrollbar-thumb { background: rgba(37, 99, 235, 0.3); border-radius: 3px; } .wex-items-cont::-webkit-scrollbar-thumb:hover { background: rgba(37, 99, 235, 0.5); } .item-card { background: rgba(255, 255, 255, 0.05); border-radius: 10px; overflow: hidden; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid rgba(255, 255, 255, 0.1); height: 320px; position: relative; animation: pulse 2s infinite; } .item-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%); transform: rotate(45deg); animation: shine_effect 3s infinite linear; pointer-events: none; z-index: 1; } .item-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%); animation: rainbow_shine 6s infinite linear; pointer-events: none; z-index: 1; } .item-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); border: 3px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.01); animation: none; } .item-image { width: 100%; height: 120px; object-fit: contain; background: rgba(0, 0, 0, 0.1); padding: 15px; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; z-index: 2; } .item-card:hover .item-image { transform: scale(1.05); } .item-info { padding: 15px; position: relative; z-index: 2; background: rgba(255, 255, 255, 0.02); } .item-name { color: #fff; font-size: 16px; font-weight: bold; margin-bottom: 6px; } .item-description { color: #94a3b8; font-size: 13px; margin-bottom: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 36px; } .item-price { color: #fff; font-weight: bold; display: flex; align-items: center; margin-bottom: 12px; font-size: 14px; } .item-price i { color: #3b82f6; margin-right: 10px; } .buy-button { width: 100%; padding: 15px; background: #3b82f6; color: #fff; border: none; border-radius: 8px; cursor: pointer; font-weight: bold; font-size: 14px; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; } .buy-button:hover { transition: 200ms ease-in-out; cursor: pointer; background: radial-gradient(109.3% 109.3% at 50% 50%, rgba(25, 86, 147, 0.77) 0%, rgba(26, 83, 153, 0) 100%); transform: translateY(-2px); } .buy-button i { margin-right: 8px; } .modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; z-index: 1000; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px); animation: modal_fade 0.3s ease forwards; } @keyframes container_fade { 0% { opacity: 0; transform: scale(0.95); } 100% { opacity: 1; transform: scale(1); } } @keyframes shine_effect { 0% { transform: rotate(45deg) translateY(-100%); } 100% { transform: rotate(45deg) translateY(100%); } } @keyframes rainbow_shine { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } } @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.2); } 70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); } } @keyframes modal_fade { 0% { opacity: 0; backdrop-filter: blur(0px); } 100% { opacity: 1; backdrop-filter: blur(4px); } } @keyframes wex_slidein { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } } @media (max-width: 768px) { #wex-store-desgin { width: 95%; height: 90vh; } .wex-actions { flex-direction: column; gap: 15px; } .wex-search { width: 100%; } .store-wallet { width: 100%; justify-content: center; } }