:root { --primary: #33383F; --accent: #00FFAA; --dark: #2A2E34; --light: #E0E0E0; --text: #FFFFFF; --text-secondary: #AAAAAA; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', 'Segoe UI', Roboto, sans-serif; } body { background: transparent; display: flex; justify-content: center; align-items: center; min-height: 100vh; padding: 20px; } .tablet-ui { width: 100%; max-width: 900px; background-color: var(--primary); border-radius: 25px; padding: 30px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); color: var(--text); border: 1px solid rgba(0, 255, 170, 0.2); position: relative; overflow: hidden; animation: scaleIn 0.3s ease-out forwards; } .tablet-ui.closing { animation: scaleOut 0.3s ease-out forwards; } .tablet-ui::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); pointer-events: none; } .header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; margin-bottom: 25px; border-bottom: 1px solid rgba(0, 255, 170, 0.3); position: relative; } .header h1 { font-size: 28px; font-weight: 700; background: rgb(255, 255, 255); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: 1px; } .header-actions { display: flex; align-items: center; gap: 15px; } .balance { background-color: rgba(0, 255, 170, 0.1); padding: 8px 15px; border-radius: 8px; font-weight: 600; font-size: 16px; color: var(--accent); border: 1px solid rgba(0, 255, 170, 0.3); display: flex; align-items: center; gap: 8px; } .balance i { font-size: 14px; } .cart-btn { background-color: rgba(0, 255, 170, 0.1); padding: 8px 15px; border-radius: 8px; font-weight: 600; font-size: 16px; color: var(--accent); border: 1px solid rgba(0, 255, 170, 0.3); display: flex; align-items: center; gap: 8px; cursor: pointer; transition: all 0.3s; } .cart-btn:hover { background-color: rgba(0, 255, 170, 0.2); transform: translateY(-2px); } .cart-btn i { font-size: 14px; } .cart-count { background-color: var(--accent); color: var(--primary); border-radius: 50%; width: 20px; height: 20px; display: flex; justify-content: center; align-items: center; font-size: 12px; font-weight: 700; } .tabs { display: flex; margin-bottom: 30px; gap: 10px; position: relative; } .tab { flex: 1; text-align: center; padding: 15px 0; background-color: var(--dark); color: var(--text); border: none; border-radius: 12px; font-weight: 600; cursor: pointer; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); font-size: 16px; display: flex; justify-content: center; align-items: center; gap: 10px; position: relative; overflow: hidden; z-index: 1; } .tab::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(0, 255, 170, 0.2) 0%, transparent 100%); opacity: 0; transition: opacity 0.3s; z-index: -1; } .tab:hover { color: var(--text); transform: translateY(-2px); } .tab:hover::before { opacity: 1; } .tab.active { background: linear-gradient(135deg, rgba(0, 255, 170, 0.2) 0%, transparent 100%); color: var(--text); box-shadow: 0 5px 15px rgba(0, 255, 170, 0.3); } .tab i { font-size: 18px; } .content { min-height: 500px; } .category { display: flex; animation: fadeIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); } .category.active { display: block; } .item-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; } .item-card { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); border-radius: 15px; padding: 20px; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: 1px solid rgba(255, 255, 255, 0.05); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); position: relative; overflow: hidden; } .item-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); border-color: rgba(0, 255, 170, 0.3); } .item-card:hover::before { opacity: 1; } .item-icon { width: 70px; height: 70px; background: linear-gradient(135deg, var(--primary) 0%, #3a4048 100%); border-radius: 18px; margin: 0 auto 15px; display: flex; justify-content: center; align-items: center; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); transition: all 0.3s; overflow: hidden; } .item-icon img { width: 60px; height: 60px; object-fit: contain; } .item-card:hover .item-icon { transform: scale(1.1); box-shadow: 0 8px 20px rgba(0, 255, 170, 0.2); } .item-name { font-weight: 600; margin-bottom: 5px; text-align: center; font-size: 16px; color: var(--text); } .item-price { color: var(--accent); text-align: center; font-size: 15px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 15px; } .add-to-cart { width: 100%; padding: 12px; margin-top: 15px; background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); border: 1px solid rgba(0, 255, 170, 0.3); color: var(--accent); border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.3s; display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 14px; } .add-to-cart:hover { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 255, 170, 0.2); } .add-to-cart i { font-size: 14px; } /* Modal Styles */ .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0); z-index: 1000; justify-content: center; align-items: center; animation: fadeIn 0.3s ease-out forwards; } .modal.closing { animation: fadeOut 0.3s ease-out forwards; } .modal-content { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); border-radius: 20px; width: 90%; max-width: 600px; max-height: 80vh; overflow-y: auto; padding: 30px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8); border: 1px solid rgba(0, 255, 170, 0.3); position: relative; animation: scaleIn 0.3s ease-out forwards; } .modal-content.closing { animation: scaleOut 0.3s ease-out forwards; } .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid rgba(0, 255, 170, 0.3); } .modal-header h2 { font-size: 24px; background: rgb(255, 255, 255); -webkit-background-clip: text; background-clip: text; color: transparent; } .close-modal { background: rgba(255, 85, 85, 0.1); border: 1px solid rgba(255, 85, 85, 0.3); color: #ff5555; width: 40px; height: 40px; border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: all 0.3s; margin-right: 10px; font-size: 16px; position: relative; } .close-modal i { transition: transform 0.3s ease-out; } .close-modal:hover { background: rgba(255, 85, 85, 0.2); } .close-modal:hover i { transform: rotate(90deg); } .confirmation-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0); z-index: 1001; justify-content: center; align-items: center; animation: fadeIn 0.3s ease-out forwards; } .confirmation-modal.closing { animation: fadeOut 0.3s ease-out forwards; } .confirmation-modal-content { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); border-radius: 15px; width: 90%; max-width: 400px; padding: 25px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0); border: 1px solid rgba(255, 85, 85, 0.3); position: relative; animation: scaleIn 0.3s ease-out forwards; } .confirmation-modal-content.closing { animation: scaleOut 0.3s ease-out forwards; } .confirmation-modal-header { margin-bottom: 20px; text-align: center; } .confirmation-modal-header h3 { color: white; font-size: 20px; font-weight: 600; } .confirmation-modal-body { margin-bottom: 25px; text-align: center; color: var(--text-secondary); font-size: 16px; } .confirmation-modal-actions { display: flex; justify-content: center; gap: 15px; } .confirmation-btn { padding: 10px 25px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.3s; border: none; font-size: 14px; } .confirm-btn { background-color: rgba(255, 85, 85, 0.2); color: #ff5555; border: 1px solid rgba(255, 85, 85, 0.4); } .confirm-btn:hover { background-color: rgba(255, 85, 85, 0.3); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 85, 85, 0.2); } .cancel-btn { background-color: rgba(0, 255, 170, 0.1); color: var(--accent); border: 1px solid rgba(0, 255, 170, 0.3); } .cancel-btn:hover { background-color: rgba(0, 255, 170, 0.2); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 255, 170, 0.2); } .cart-items { display: flex; flex-direction: column; gap: 15px; margin-bottom: 25px; } .cart-item { color: white; display: flex; justify-content: space-between; align-items: center; padding: 15px; background-color: rgba(0, 0, 0, 0.2); border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.05); } .cart-item-info { color: white; display: flex; align-items: center; gap: 15px; } .cart-item-icon { width: 40px; height: 40px; background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); border-radius: 10px; display: flex; justify-content: center; align-items: center; overflow: hidden; } .cart-item-icon img { width: 35px; height: 35px; object-fit: contain; } .cart-item-name { color: white; font-weight: 600; } .cart-item-price { color: white; font-weight: 700; } .cart-item-actions { display: flex; align-items: center; gap: 10px; } .quantity-control { display: flex; align-items: center; gap: 8px; } .quantity-btn { width: 25px; height: 25px; border-radius: 50%; background-color: rgba(0, 255, 170, 0.1); border: 1px solid rgba(0, 255, 170, 0.3); color: var(--accent); cursor: pointer; display: flex; justify-content: center; align-items: center; font-size: 12px; } .quantity-btn:hover { background-color: rgba(0, 255, 170, 0.2); } .quantity-input { width: 50px; text-align: center; background-color: rgba(0, 0, 0, 0.2); border: 1px solid rgba(0, 255, 170, 0.3); color: var(--text); border-radius: 5px; padding: 5px; font-size: 14px; -moz-appearance: textfield; } .quantity-input::-webkit-outer-spin-button, .quantity-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } .quantity-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px rgba(0, 255, 170, 0.2); } .quantity { min-width: 20px; text-align: center; } .remove-item { color: #ff5555; cursor: pointer; font-size: 16px; transition: all 0.3s; } .remove-item:hover { transform: scale(1.2); } .cart-total { display: flex; justify-content: space-between; align-items: center; color: var(--accent); padding: 20px 0; border-top: 1px solid rgba(0, 255, 170, 0.3); font-size: 18px; font-weight: 700; } .total-amount { color: var(--accent); } .cart-actions { display: flex; justify-content: flex-end; gap: 15px; } .cart-btn-action { padding: 12px 25px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.3s; } .checkout-btn { background: linear-gradient(135deg, rgba(0, 255, 170, 0.2) 0%, transparent 100%); color: var(--text); border: none; } .checkout-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 255, 170, 0.3); } .close-btn { background: rgba(255, 85, 85, 0.1); border: 1px solid rgba(255, 85, 85, 0.3); color: #ff5555; width: 40px; height: 40px; border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; transition: all 0.3s; margin-right: 10px; font-size: 16px; position: relative; } .close-btn i { transition: transform 0.3s ease-out; } .close-btn:hover { background: rgba(255, 85, 85, 0.2); } .close-btn:hover i { transform: rotate(90deg); } .clear-btn { background-color: transparent; color: var(--text-secondary); border: 1px solid rgba(255, 255, 255, 0.1); } .clear-btn:hover { color: #ff5555; border-color: rgba(255, 85, 85, 0.3); } /* Empty cart message */ .empty-cart { text-align: center; padding: 40px 0; color: var(--text-secondary); } .empty-cart i { font-size: 40px; margin-bottom: 15px; color: var(--text-secondary); } /* Tablet styling */ @media (max-width: 768px) { .item-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } .tab { padding: 12px 0; font-size: 14px; } .tab i { font-size: 16px; } .modal-content { width: 95%; padding: 20px; } .cart-item { flex-direction: column; align-items: flex-start; gap: 10px; } .cart-item-actions { width: 100%; justify-content: space-between; } } @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 255, 170, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(0, 255, 170, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 255, 170, 0); } } @keyframes shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-3px); } 40%, 80% { transform: translateX(3px); } } @keyframes scaleIn { 0% { transform: scale(0.9); opacity: 0; } 100% { transform: scale(1); opacity: 1; } } @keyframes scaleOut { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(0.9); opacity: 0; } } @keyframes fadeInDown { 0% { opacity: 0; transform: translateY(-20px); } 100% { opacity: 1; transform: translateY(0); } } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } } @keyframes fadeOutUp { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-20px); } }