@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@300;400;500;600;700;800&display=swap');

* { margin:0; padding:0; box-sizing:border-box; font-family:'Unbounded',sans-serif; }
html { scroll-behavior:smooth; }
body { background:#0a0a0a; color:#fff; line-height:1.6; overflow-x:hidden; }
a { color:inherit; text-decoration:none; }

.container { max-width:1200px; margin:0 auto; padding:0 24px; }

/* Navbar */
.navbar { position:fixed; top:0; left:0; right:0; height:64px; z-index:100; background:rgba(10,10,10,0.85); backdrop-filter:blur(20px); border-bottom:1px solid rgba(255,255,255,0.06); }
.nav-container { max-width:1200px; margin:0 auto; padding:0 24px; display:flex; align-items:center; justify-content:space-between; height:100%; }
.logo { display:flex; align-items:center; gap:8px; font-weight:700; font-size:16px; }
.logo-icon { font-size:18px; opacity:0.7; }
.accent { color:#888; }
.nav-right { display:flex; align-items:center; gap:20px; }
.cart-icon { position:relative; cursor:pointer; padding:8px; border-radius:12px; transition:0.2s; }
.cart-icon:hover { background:rgba(255,255,255,0.08); }
.cart-count { position:absolute; top:2px; right:2px; background:#fff; color:#000; font-size:10px; font-weight:700; width:18px; height:18px; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.balance { display:flex; align-items:center; gap:6px; font-size:13px; color:#888; padding:8px 14px; background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08); border-radius:12px; }

/* Hero */
.hero { position:relative; padding:140px 24px 80px; text-align:center; overflow:hidden; }
.hero-bg { position:absolute; inset:0; }
.grid-overlay { position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,0.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.03) 1px,transparent 1px); background-size:60px 60px; }
.hero-content { position:relative; z-index:1; max-width:700px; margin:0 auto; }
.badge { display:inline-block; padding:6px 16px; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.1); border-radius:20px; font-size:12px; color:#888; margin-bottom:24px; }
.hero h1 { font-size:clamp(28px,5vw,48px); font-weight:800; line-height:1.2; margin-bottom:16px; }
.hero p { color:#888; font-size:14px; max-width:500px; margin:0 auto 32px; }
.hero-stats { display:flex; justify-content:center; gap:48px; }
.stat { text-align:center; }
.stat-num { display:block; font-size:24px; font-weight:700; }
.stat-label { font-size:11px; color:#555; }

/* Filter */
.categories { padding:40px 0 0; }
.filter-bar { display:flex; gap:8px; justify-content:center; flex-wrap:wrap; }
.filter-btn { padding:8px 20px; border:1px solid rgba(255,255,255,0.1); background:rgba(255,255,255,0.03); color:#888; border-radius:20px; font-family:inherit; font-size:12px; cursor:pointer; transition:0.2s; }
.filter-btn:hover, .filter-btn.active { background:rgba(255,255,255,0.1); color:#fff; border-color:rgba(255,255,255,0.2); }

/* Products */
.shop { padding:40px 0 80px; }
.products-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:20px; }
.product-card { background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.06); border-radius:16px; overflow:hidden; transition:0.3s; }
.product-card:hover { border-color:rgba(255,255,255,0.15); transform:translateY(-4px); box-shadow:0 12px 40px rgba(0,0,0,0.4); }
.product-image { position:relative; height:180px; display:flex; align-items:center; justify-content:center; }
.product-badge { position:absolute; top:12px; right:12px; padding:4px 10px; border-radius:8px; font-size:10px; font-weight:700; }
.product-badge.sale { background:rgba(239,68,68,0.2); color:#ef4444; border:1px solid rgba(239,68,68,0.3); }
.product-badge.hot { background:rgba(249,115,22,0.2); color:#f97316; border:1px solid rgba(249,115,22,0.3); }
.product-badge.new { background:rgba(59,130,246,0.2); color:#3b82f6; border:1px solid rgba(59,130,246,0.3); }
.product-badge.vip { background:rgba(234,179,8,0.2); color:#eab308; border:1px solid rgba(234,179,8,0.3); }
.vip-glow { box-shadow:inset 0 0 60px rgba(234,179,8,0.05); }
.product-info { padding:16px 20px 20px; }
.product-tag { font-size:10px; color:#555; text-transform:uppercase; letter-spacing:1px; }
.product-tag.vip-tag { color:#eab308; }
.product-info h3 { font-size:15px; font-weight:600; margin:6px 0 4px; }
.product-info p { font-size:12px; color:#666; margin-bottom:14px; line-height:1.5; }
.product-footer { display:flex; align-items:center; justify-content:space-between; }
.price { display:flex; align-items:center; gap:8px; }
.price-old { font-size:13px; color:#555; text-decoration:line-through; }
.price-current { font-size:15px; font-weight:700; }
.btn-add { width:36px; height:36px; border-radius:10px; border:1px solid rgba(255,255,255,0.15); background:rgba(255,255,255,0.06); color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:0.2s; }
.btn-add:hover { background:rgba(255,255,255,0.15); }
.btn-add.added { background:rgba(16,185,129,0.2); border-color:rgba(16,185,129,0.4); color:#10b981; }

/* Cart */
.cart-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.6); z-index:200; opacity:0; pointer-events:none; transition:0.3s; }
.cart-overlay.open { opacity:1; pointer-events:all; }
.cart-sidebar { position:fixed; top:0; right:-420px; width:400px; max-width:90vw; height:100vh; background:#111; border-left:1px solid rgba(255,255,255,0.08); z-index:201; display:flex; flex-direction:column; transition:0.35s cubic-bezier(0.4,0,0.2,1); }
.cart-sidebar.open { right:0; }
.cart-header { display:flex; align-items:center; justify-content:space-between; padding:20px 24px; border-bottom:1px solid rgba(255,255,255,0.06); }
.cart-header h3 { font-size:16px; font-weight:600; }
.cart-close { background:none; border:none; color:#888; cursor:pointer; padding:4px; }
.cart-close:hover { color:#fff; }
.cart-items { flex:1; overflow-y:auto; padding:16px 24px; }
.cart-empty { text-align:center; padding:60px 0; color:#444; }
.cart-empty p { margin-top:12px; font-size:13px; }
.cart-item { display:flex; align-items:center; justify-content:space-between; padding:14px 0; border-bottom:1px solid rgba(255,255,255,0.05); }
.cart-item-info h4 { font-size:13px; font-weight:500; margin-bottom:4px; }
.cart-item-price { font-size:12px; color:#888; }
.cart-item-actions { display:flex; align-items:center; gap:8px; }
.qty-btn { width:28px; height:28px; border-radius:8px; border:1px solid rgba(255,255,255,0.1); background:rgba(255,255,255,0.04); color:#fff; font-size:14px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:0.2s; font-family:inherit; }
.qty-btn:hover { background:rgba(255,255,255,0.1); }
.qty { font-size:13px; min-width:20px; text-align:center; }
.remove-btn { background:none; border:none; color:#555; cursor:pointer; padding:4px; transition:0.2s; }
.remove-btn:hover { color:#ef4444; }
.cart-footer { padding:20px 24px; border-top:1px solid rgba(255,255,255,0.06); }
.cart-total { display:flex; justify-content:space-between; margin-bottom:16px; font-size:15px; font-weight:600; }
.btn-checkout { width:100%; padding:14px; border-radius:14px; border:none; background:rgba(255,255,255,0.08); color:#fff; font-family:inherit; font-size:14px; font-weight:500; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; transition:0.2s; border:1px solid rgba(255,255,255,0.12); }
.btn-checkout:hover { background:rgba(255,255,255,0.15); }

/* Footer */
.footer { padding:40px 0; border-top:1px solid rgba(255,255,255,0.06); text-align:center; color:#444; font-size:12px; }
.footer a { color:#888; transition:0.2s; }
.footer a:hover { color:#fff; }

/* Animations */
@keyframes fadeIn { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
.product-card { animation:fadeIn 0.5s ease forwards; }

/* Responsive */
@media(max-width:640px){
    .hero-stats{gap:24px;}
    .stat-num{font-size:20px;}
    .products-grid{grid-template-columns:1fr;}
    .balance{display:none;}
}
