        :root {
            --bg-1: #05070A; --bg-2: #0F172A; --bg-3: #1E293B;
            --accent: #FFA500; --accent-2: #FFB347; --accent-glow: rgba(255,165,0,0.4);
            --text-1: #EFF3F8; --text-2: #CBD5E6; --text-3: #94A3B8;
            --green: #4ADE80; --red: #F87171; --blue: #60A5FA; --purple: #A855F7;
            --gold: #FFD700;
            --glass-bg: rgba(15,23,42,0.55); --glass-border: rgba(255,255,255,0.08);
            --cursor-size: 28px; --cursor-dot-size: 6px;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { font-family: 'Unbounded', sans-serif; background: var(--bg-1); color: var(--text-1); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; cursor: none; }
        a, button, .product-card, .tab-pill, .icon-btn, .user-avatar, .feature-card, .feature-icon, input, select, textarea, .chat-msg, .order-card, .review-card, .ud-item, .review-mini, .stat-item, .modal-product-image, .product-image, .product-img, .btn, .chat-list-item, .sort-select, .category-select, .price-input, .form-input, .team-tab, .theme-select-wrap, .pay-method, .wallet-card, .balance-badge, .role-filter-pill, .image-upload-area, .deposit-filter-pill { cursor: none; }
        .container { max-width: 1320px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 2; }
        .glass { background: var(--glass-bg); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border: 1px solid var(--glass-border); }

        .cursor-ring { position: fixed; top: 0; left: 0; width: var(--cursor-size); height: var(--cursor-size); border: 2px solid var(--purple); border-radius: 50%; pointer-events: none; z-index: 99999; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, background 0.2s, border-color 0.2s, opacity 0.2s; box-shadow: 0 0 20px rgba(168, 85, 247, 0.5); opacity: 1; }
        .cursor-dot { position: fixed; top: 0; left: 0; width: var(--cursor-dot-size); height: var(--cursor-dot-size); background: var(--accent); border-radius: 50%; pointer-events: none; z-index: 99999; transform: translate(-50%, -50%); box-shadow: 0 0 10px var(--accent); transition: transform 0.2s, opacity 0.2s; opacity: 1; }
        .cursor-ring.hover { width: 50px; height: 50px; background: rgba(168, 85, 247, 0.15); border-color: var(--accent); }
        .cursor-dot.hover { transform: translate(-50%, -50%) scale(0.5); }
        .cursor-ring.click { width: 20px; height: 20px; }
        .cursor-hidden { opacity: 0 !important; }
        @media (max-width: 768px) { body, a, button, .product-card, .tab-pill, .icon-btn, .user-avatar, .feature-card, .feature-icon, input, select, textarea, .chat-msg, .order-card, .review-card, .ud-item, .review-mini, .stat-item, .modal-product-image, .product-image, .product-img, .btn, .chat-list-item, .sort-select, .category-select, .price-input, .form-input { cursor: auto; } .cursor-ring, .cursor-dot { display: none; } }

        .site-bg { position: fixed; inset: 0; z-index: -3; background: radial-gradient(circle at 20% 20%, rgba(255,165,0,0.12), transparent 50%), radial-gradient(circle at 80% 70%, rgba(168,85,247,0.10), transparent 50%), radial-gradient(circle at 50% 50%, #0F172A, #020408); }
        .grid-bg { position: fixed; inset: 0; z-index: -2; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%); }
        .noise { position: fixed; inset: 0; z-index: -1; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E"); pointer-events: none; }
        .floating-particles { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
        .particle { position: absolute; background: var(--accent); border-radius: 50%; filter: blur(1px); animation: floatP 25s infinite linear; }
        @keyframes floatP { 0% { transform: translateY(100vh); opacity: 0; } 10% { opacity: 0.6; } 90% { opacity: 0.6; } 100% { transform: translateY(-20vh); opacity: 0; } }

        .navbar { position: sticky; top: 1rem; z-index: 100; display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 1rem; margin: 1rem auto; max-width: 1320px; border-radius: 1rem; transition: all .3s; gap: 0.5rem; flex-wrap: nowrap; overflow: visible; }
        .navbar.scrolled { box-shadow: 0 10px 40px rgba(0,0,0,0.4); }
        .logo { font-size: 1.05rem; font-weight: 900; letter-spacing: -0.02em; background: linear-gradient(135deg, #FFF, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0; text-decoration: none; }
        .logo-icon { width: 28px; height: 28px; background: linear-gradient(135deg, var(--accent), #FF6B00); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: #000; box-shadow: 0 0 20px var(--accent-glow); animation: logoP 3s ease-in-out infinite; }
        @keyframes logoP { 50% { box-shadow: 0 0 35px var(--accent-glow); } }
        .nav-links { display: flex; gap: 0.2rem; align-items: center; flex: 1; justify-content: center; min-width: 0; max-width: 100%; }
        .nav-links::-webkit-scrollbar { display: none; }
        .nav-links button, .nav-links a { background: none; border: none; color: var(--text-2); font-weight: 500; font-size: 0.82rem; padding: 0.4rem 0.6rem; border-radius: 8px; transition: all .25s; position: relative; text-decoration: none; display: inline-flex; align-items: center; gap: 0.2rem; font-family: inherit; white-space: nowrap; }
        .nav-links button:hover, .nav-links a:hover { color: var(--accent); background: rgba(255,165,0,0.06); }
        .nav-links button.active-nav, .nav-links a.active-nav { color: var(--accent); }
        .nav-links button.active-nav::after, .nav-links a.active-nav::after { content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; background: var(--accent); border-radius: 50%; box-shadow: none; }
        .nav-actions { display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0; }
        .icon-btn { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); color: var(--text-1); transition: all .25s; display: flex; align-items: center; justify-content: center; position: relative; font-size: 0.85rem; flex-shrink: 0; }
        .icon-btn:hover { background: rgba(255,165,0,0.1); color: var(--accent); transform: translateY(-2px); }
        .icon-btn .badge-count { position: absolute; top: -4px; right: -4px; background: var(--accent); color: #000; font-size: 0.6rem; font-weight: 800; min-width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0 3px; box-shadow: 0 0 10px var(--accent); animation: bounce 2s ease infinite; }
        @keyframes bounce { 50% { transform: scale(1.15); } }
        .user-menu { position: relative; flex-shrink: 0; display: inline-flex; align-items: center; }
        .user-avatar { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), #FF6B00); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #000; font-size: 0.9rem; transition: all .2s; border: 2px solid transparent; }
        .user-avatar:hover { transform: scale(1.05); border-color: var(--accent); }
        .user-avatar.worker { background: linear-gradient(135deg, #60A5FA, #3B82F6); color: #fff; }
        .user-avatar.admin { background: linear-gradient(135deg, var(--purple), #6366F1); color: #fff; }
        .user-avatar.super { background: linear-gradient(135deg, var(--gold), #FFA500); color: #000; box-shadow: 0 0 15px rgba(255, 215, 0, 0.5); }
        .user-dropdown { position: absolute; top: calc(100% + 10px); right: 0; min-width: 260px; padding: 0.5rem; border-radius: 12px; z-index: 200; opacity: 0; transform: translateY(-10px); pointer-events: none; transition: all .2s; }
        .user-dropdown.open { opacity: 1; transform: translateY(0); pointer-events: all; }
        .ud-item { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem 0.9rem; border-radius: 8px; transition: all .2s; color: var(--text-2); font-size: 0.9rem; text-decoration: none; }
        .ud-item:hover { background: rgba(255,165,0,0.08); color: var(--accent); }
        .ud-item.danger:hover { background: rgba(248,113,113,0.1); color: var(--red); }
        .ud-item i { width: 18px; text-align: center; }
        .ud-divider { height: 1px; background: var(--glass-border); margin: 0.4rem 0; }
        .ud-header { padding: 0.7rem 0.9rem; }
        .ud-name { font-weight: 700; color: var(--text-1); font-size: 0.9rem; }
        .ud-role { font-size: 0.72rem; color: var(--text-3); }
        .mobile-toggle { display: none; }

        .nav-dropdown { position: relative; }
        .nav-dd-btn { background: none; border: 1px solid var(--glass-border); color: var(--text-2); font-weight: 500; font-size: 0.82rem; padding: 0.4rem 0.7rem; border-radius: 8px; transition: all .25s; display: flex; align-items: center; gap: 0.25rem; font-family: inherit; cursor: pointer; white-space: nowrap; height: 32px; }
        .nav-dd-btn:hover, .nav-dd-btn.active-nav { color: var(--accent); border-color: var(--accent); background: rgba(255,165,0,0.08); }
        .nav-dd-menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-8px); min-width: 180px; padding: 0.4rem; border-radius: 10px; z-index: 200; opacity: 0; pointer-events: none; transition: all .2s; }
        .nav-dd-menu.open { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: all; }
        .nav-dd-menu button { display: flex; align-items: center; gap: 0.5rem; width: 100%; text-align: left; background: none; border: none; color: var(--text-2); font-size: 0.85rem; padding: 0.6rem 0.9rem; border-radius: 8px; font-family: inherit; cursor: pointer; transition: all .2s; }
        .nav-dd-menu button:hover { background: rgba(255,165,0,0.08); color: var(--accent); }
        .nav-dd-menu button.active-nav { color: var(--accent); }
        .nav-dd-menu button i { width: 16px; text-align: center; font-size: 0.78rem; }

        .balance-badge { padding: 0.35rem 0.7rem; border-radius: 20px; background: linear-gradient(135deg, rgba(74,222,128,0.15), rgba(34,197,94,0.1)); border: 1px solid rgba(74,222,128,0.3); font-size: 0.78rem; font-weight: 700; color: var(--green); display: inline-flex; align-items: center; gap: 0.3rem; cursor: pointer; transition: all .2s; white-space: nowrap; flex-shrink: 0; min-width: max-content; text-decoration: none; }
        .balance-badge:hover { transform: scale(1.05); box-shadow: 0 4px 12px rgba(74,222,128,0.3); }

        .hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; padding: 4rem 0 5rem; animation: fadeInUp 0.8s ease; }
        @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
        .hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); border: 1px solid rgba(255,165,0,0.3); padding: 0.35rem 0.9rem; border-radius: 40px; background: rgba(255,165,0,0.08); margin-bottom: 1.5rem; }
        .hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: blink 1.5s ease infinite; }
        @keyframes blink { 50% { opacity: 0.4; } }
        .hero h1 { font-size: 4rem; font-weight: 900; line-height: 1.05; letter-spacing: -0.03em; background: linear-gradient(135deg, #FFF 0%, #FFD580 50%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 1.5rem; }
        .hero h1 .highlight { display: inline-block; background: linear-gradient(135deg, var(--accent), #FF6B00); -webkit-background-clip: text; background-clip: text; color: transparent; }
        .hero p { font-size: 1.05rem; color: var(--text-3); max-width: 540px; margin-bottom: 2rem; line-height: 1.6; }
        .hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
        .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.6rem; border-radius: 60px; font-weight: 700; font-size: 0.88rem; border: none; font-family: inherit; transition: all .3s cubic-bezier(.2,.9,.4,1.1); text-decoration: none; position: relative; overflow: hidden; }
        .btn-primary { background: linear-gradient(135deg, var(--accent), #FF6B00); color: #0F1722; box-shadow: 0 10px 30px -8px var(--accent-glow); }
        .btn-primary:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 15px 40px -8px var(--accent); }
        .btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
        .btn-ghost { background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); color: var(--text-1); }
        .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); transform: translateY(-3px); }
        .btn-success { background: linear-gradient(135deg, var(--green), #22c55e); color: #000; }
        .btn-success:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 10px 30px -8px rgba(74,222,128,0.5); }
        .btn-success:disabled { opacity: 0.5; cursor: not-allowed; }
        .btn-danger { background: rgba(248,113,113,0.15); border: 1px solid rgba(248,113,113,0.4); color: var(--red); }
        .btn-danger:hover:not(:disabled) { background: rgba(248,113,113,0.25); transform: translateY(-2px); }
        .btn-admin { background: linear-gradient(135deg, var(--purple), #6366F1); color: #fff; }
        .btn-admin:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 8px 20px -4px rgba(168, 85, 247, 0.5); }
        .btn-sm { padding: 0.5rem 1rem; font-size: 0.78rem; }
        .btn-icon { width: 36px; height: 36px; padding: 0; border-radius: 10px; }
        .hero-stats { display: flex; gap: 2.5rem; }
        .stat-item .num { font-size: 1.7rem; font-weight: 800; background: linear-gradient(135deg, #FFF, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
        .stat-item .label { font-size: 0.78rem; color: var(--text-3); }
        .hero-visual { position: relative; height: 480px; display: flex; align-items: center; justify-content: center; }
        .hero-card-stack { position: relative; width: 100%; height: 100%; }
        .floating-card { position: absolute; border-radius: 1.2rem; padding: 1.3rem; animation: floatCard 6s ease-in-out infinite; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
        @keyframes floatCard { 0%, 100% { transform: translateY(0) rotate(var(--rot,0deg)); } 50% { transform: translateY(-15px) rotate(var(--rot,0deg)); } }
        .fc-1 { top: 5%; left: 5%; width: 220px; --rot: -6deg; animation-delay: 0s; z-index: 3; }
        .fc-2 { top: 25%; right: 5%; width: 200px; --rot: 8deg; animation-delay: 1s; z-index: 2; }
        .fc-3 { bottom: 5%; left: 15%; width: 240px; --rot: 4deg; animation-delay: 2s; z-index: 1; }
        .fc-glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; filter: blur(80px); }
        .fc-glow-1 { top: 10%; left: 10%; background: rgba(255,165,0,0.3); }
        .fc-glow-2 { bottom: 20%; right: 10%; background: rgba(168,85,247,0.3); }

        .section { padding: 3rem 0; }
        .section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
        .section-title { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
        .section-title .accent { color: var(--accent); }
        .section-subtitle { color: var(--text-3); font-size: 0.9rem; margin-top: 0.4rem; }

        .filters-bar { display: flex; gap: 0.6rem; margin-bottom: 1.5rem; flex-wrap: wrap; align-items: center; }
        .tab-pill { padding: 0.55rem 1.2rem; border-radius: 60px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); color: var(--text-2); font-weight: 600; font-size: 0.82rem; transition: all .25s; font-family: inherit; }
        .tab-pill:hover { color: var(--accent); border-color: var(--accent); }
        .tab-pill.active { background: linear-gradient(135deg, var(--accent), #FF6B00); color: #000; border-color: transparent; box-shadow: 0 6px 20px -6px var(--accent-glow); }
        .filter-spacer { flex: 1; }

        .theme-select-wrap { position: relative; display: inline-block; }
        .theme-select-wrap::after { content: ''; position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%); width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--accent); pointer-events: none; z-index: 2; }
        .form-input, .sort-select, .category-select, select.form-input, .sort-select, .category-select, select, input.form-input[type="date"], input.form-input[type="number"] {
            padding: 0.7rem 2.5rem 0.7rem 1rem !important;
            border-radius: 10px !important;
            background-color: rgba(30, 41, 59, 0.95) !important;
            color: var(--text-1) !important;
            border: 1px solid var(--glass-border) !important;
            font-family: inherit !important;
            font-size: 0.9rem !important;
            font-weight: 500 !important;
            -webkit-appearance: none !important;
            -moz-appearance: none !important;
            appearance: none !important;
            background-image: none !important;
            background: rgba(30, 41, 59, 0.95) !important;
            width: 100%;
            transition: all .2s;
        }
        input.form-input[type="date"] { padding-right: 1.1rem !important; }
        .form-input:focus, .sort-select:focus, .category-select:focus, select.form-input:focus, select:focus { outline: none !important; border-color: var(--accent) !important; box-shadow: 0 0 0 3px rgba(255,165,0,0.15) !important; }
        .form-input::-ms-expand, .sort-select::-ms-expand, .category-select::-ms-expand, select::-ms-expand { display: none; }
        .form-input::-webkit-calendar-picker-indicator { filter: invert(1); cursor: pointer; }
        .form-input option, .sort-select option, .category-select option, select option { background-color: #1E293B !important; color: var(--text-1) !important; padding: 0.5rem !important; font-weight: 500; }
        .form-input option:checked, .sort-select option:checked, .category-select option:checked, select option:checked { background: linear-gradient(135deg, var(--accent), #FF6B00) !important; background-color: var(--accent) !important; color: #000 !important; }
        @-moz-document url-prefix() { .form-input, .sort-select, .category-select, select { text-indent: 0.01px; text-overflow: ''; } }
        .form-input.text-input, input.form-input[type="text"], input.form-input[type="number"], input.form-input[type="password"], input.form-input[type="email"], input.form-input[type="search"], input.form-input[type="date"], textarea.form-input { background-image: none !important; background: rgba(30, 41, 59, 0.95) !important; padding-right: 1.1rem !important; }
        textarea.form-input { min-height: 100px; resize: vertical; }

        .products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
        .product-card { position: relative; border-radius: 1.2rem; padding: 1.3rem; transition: all .35s cubic-bezier(.2,.9,.4,1.1); overflow: hidden; animation: fadeInScale .5s ease backwards; animation-delay: calc(var(--card-index, 0) * 0.04s); }
        @keyframes fadeInScale { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
        .product-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 30px 60px -20px rgba(255,165,0,0.3); }
        .product-image, .product-img { height: 160px; border-radius: 1rem; display: flex; align-items: center; justify-content: center; font-size: 4.5rem; margin-bottom: 1rem; position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(255,165,0,0.1), rgba(168,85,247,0.1)); background-size: cover; background-position: center; }
        .product-image.fruits, .product-img.fruits { background: linear-gradient(135deg, rgba(248,113,113,0.2), rgba(255,165,0,0.2)); }
        .product-image.raids, .product-img.raids { background: linear-gradient(135deg, rgba(168,85,247,0.25), rgba(99,102,241,0.2)); }
        .product-image.boosts, .product-img.boosts { background: linear-gradient(135deg, rgba(96,165,250,0.25), rgba(59,130,246,0.2)); }
        .product-image.bounty, .product-img.bounty { background: linear-gradient(135deg, rgba(251,191,36,0.25), rgba(245,158,11,0.2)); }
        .product-image.mastery, .product-img.mastery { background: linear-gradient(135deg, rgba(74,222,128,0.25), rgba(34,197,94,0.2)); }
        .product-image.service, .product-img.service { background: linear-gradient(135deg, rgba(59,130,246,0.25), rgba(96,165,250,0.2)); }
        .product-image.ability, .product-img.ability { background: linear-gradient(135deg, rgba(236,72,153,0.25), rgba(168,85,247,0.2)); }
        .product-img img { width: 100%; height: 100%; object-fit: cover; }
        .product-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 0.3rem; flex-direction: column; z-index: 2; }
        .p-badge { padding: 0.2rem 0.6rem; border-radius: 20px; font-size: 0.62rem; font-weight: 800; text-transform: uppercase; }
        .p-badge.new { background: var(--green); color: #000; }
        .p-badge.hot { background: var(--red); color: #fff; }
        .p-badge.sale { background: var(--accent); color: #000; }
        .p-badge.epic { background: linear-gradient(135deg, #a855f7, #6366f1); color: #fff; }
        .p-badge.leg { background: linear-gradient(135deg, #FFD700, #FFA500); color: #000; }
        .fav-btn { position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,0.5); border: 1px solid var(--glass-border); color: var(--text-2); transition: all .25s; backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; }
        .fav-btn:hover { color: var(--red); transform: scale(1.1); }
        .fav-btn.active { color: var(--red); background: rgba(248,113,113,0.2); }
        .product-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.3rem; }
        .product-desc { font-size: 0.8rem; color: var(--text-3); margin-bottom: 0.8rem; line-height: 1.4; min-height: 2.2em; }
        .product-rating { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.8rem; font-size: 0.75rem; color: var(--text-3); }
        .product-rating .stars { color: var(--accent); }
        .product-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--glass-border); padding-top: 0.8rem; }
        .price-block { display: flex; flex-direction: column; }
        .old-price { text-decoration: line-through; color: var(--text-3); font-size: 0.7rem; }
        .current-price { font-size: 1.3rem; font-weight: 800; color: var(--accent); }
        .buy-btn-direct { background: linear-gradient(135deg, var(--accent), #FF6B00); color: #000; border: none; padding: 0.6rem 1rem; border-radius: 10px; font-weight: 700; font-size: 0.8rem; display: flex; align-items: center; gap: 0.4rem; transition: all .2s; font-family: inherit; }
        .buy-btn-direct:hover:not(:disabled) { transform: scale(1.05); box-shadow: 0 8px 20px -4px var(--accent-glow); }
        .buy-btn-direct:disabled { opacity: 0.5; cursor: not-allowed; }
        .stock-info { font-size: 0.68rem; margin-top: 0.3rem; display: flex; align-items: center; gap: 0.3rem; }
        .stock-info.in { color: var(--green); }
        .stock-info.out { color: var(--red); }

        .reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
        .review-card { padding: 1.5rem; border-radius: 1.2rem; transition: all .3s; position: relative; }
        .review-card:hover { transform: translateY(-4px); border-color: var(--accent); }
        .review-stars { color: var(--accent); margin-bottom: 0.8rem; font-size: 0.9rem; }
        .review-text { color: var(--text-2); margin-bottom: 1.2rem; line-height: 1.5; font-size: 0.9rem; }
        .review-author { display: flex; align-items: center; gap: 0.7rem; }
        .author-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #FF6B00); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #000; font-size: 0.95rem; }
        .author-name { font-weight: 700; font-size: 0.88rem; }
        .author-role { font-size: 0.72rem; color: var(--text-3); }

        .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; margin: 2rem 0; }
        .feature-card { padding: 1.5rem; border-radius: 1.2rem; text-align: center; transition: all .3s; }
        .feature-card:hover { transform: translateY(-4px); border-color: var(--accent); }
        .feature-icon { width: 50px; height: 50px; border-radius: 0.9rem; background: linear-gradient(135deg, var(--accent), #FF6B00); color: #000; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; transition: transform .4s; }
        .feature-card:hover .feature-icon { transform: scale(1.1) rotate(10deg); }
        .feature-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
        .feature-card p { color: var(--text-3); font-size: 0.82rem; }

        footer { margin-top: 4rem; padding: 3rem 0 1.5rem; border-top: 1px solid var(--glass-border); }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
        .footer-col h5 { font-size: 0.95rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-1); }
        .footer-col a { display: block; color: var(--text-3); text-decoration: none; font-size: 0.85rem; margin-bottom: 0.5rem; transition: color .2s; }
        .footer-col a:hover { color: var(--accent); }
        .footer-col p { color: var(--text-3); font-size: 0.85rem; line-height: 1.6; }
        .social-links { display: flex; gap: 0.5rem; margin-top: 1rem; }
        .social-links a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; color: var(--text-2); transition: all .25s; margin: 0; }
        .social-links a:hover { background: var(--accent); color: #000; transform: translateY(-3px); }
        .footer-bottom { text-align: center; padding-top: 1.5rem; border-top: 1px solid var(--glass-border); color: var(--text-3); font-size: 0.78rem; }

        .auth-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 2rem 0; }
        .auth-card { width: 100%; max-width: 440px; padding: 2.5rem; border-radius: 1.5rem; }
        .auth-card h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.4rem; text-align: center; }
        .auth-card .sub { color: var(--text-3); text-align: center; margin-bottom: 1.8rem; font-size: 0.9rem; }
        .form-group { margin-bottom: 1rem; }
        .form-group label { display: block; font-size: 0.8rem; color: var(--text-3); margin-bottom: 0.4rem; font-weight: 500; }
        .form-input { padding: 0.8rem 1.1rem; }
        .auth-footer { text-align: center; margin-top: 1.5rem; color: var(--text-3); font-size: 0.88rem; }
        .auth-footer a { color: var(--accent); text-decoration: none; font-weight: 600; }

        /* 🔄 ИСПРАВЛЕНО: чат как на Funpay */
        .chat-container { display: grid; grid-template-columns: 320px 1fr; gap: 1rem; height: calc(100vh - 200px); min-height: 500px; }
        .chat-sidebar { border-radius: 1.2rem; overflow: hidden; display: flex; flex-direction: column; }
        .chat-sidebar-header { padding: 1rem; border-bottom: 1px solid var(--glass-border); font-weight: 700; }
        .chat-list { flex: 1; overflow-y: auto; padding: 0.5rem; }
        .chat-list-item { padding: 0.8rem; border-radius: 10px; transition: all .2s; display: flex; gap: 0.7rem; margin-bottom: 0.3rem; }
        .chat-list-item:hover { background: rgba(255,165,0,0.06); }
        .chat-list-item.active { background: rgba(255,165,0,0.12); }
        .chat-list-avatar { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), #FF6B00); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #000; flex-shrink: 0; }
        .chat-list-avatar.worker { background: linear-gradient(135deg, #60A5FA, #3B82F6); color: #fff; }
        .chat-list-info { flex: 1; overflow: hidden; min-width: 0; }
        .chat-list-name { font-weight: 600; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .chat-list-product { font-size: 0.7rem; color: var(--accent); }
        .chat-list-last { font-size: 0.75rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 0.2rem; }
        .chat-main { border-radius: 1.2rem; display: flex; flex-direction: column; overflow: hidden; }
        /* 🔄 ИСПРАВЛЕНО: никнейм слева от аватарки через flex */
        .chat-header { padding: 1rem 1.5rem; border-bottom: 1px solid var(--glass-border); display: flex; align-items: center; gap: 0.8rem; }
        .chat-header-left { display: flex; align-items: center; gap: 0.8rem; flex: 1; min-width: 0; }
        .chat-header-avatar { width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), #FF6B00); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #000; flex-shrink: 0; }
        .chat-header-avatar.worker { background: linear-gradient(135deg, #60A5FA, #3B82F6); color: #fff; }
        .chat-header-avatar.admin { background: linear-gradient(135deg, var(--purple), #6366F1); color: #fff; }
        .chat-header-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
        .chat-header-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .chat-header-product { font-size: 0.78rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .chat-header-right { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
        .chat-status { font-size: 0.7rem; padding: 0.2rem 0.6rem; border-radius: 20px; font-weight: 700; }
        .chat-status.pending { background: rgba(251,191,36,0.15); color: #FBBF24; }
        .chat-status.assigned { background: rgba(96,165,250,0.15); color: var(--blue); }
        .chat-status.worker_done { background: rgba(168,85,247,0.15); color: #A855F7; }
        .chat-status.completed { background: rgba(74,222,128,0.15); color: var(--green); }
        .chat-messages { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
        .chat-msg { max-width: 70%; padding: 0.6rem 0.9rem; border-radius: 14px; font-size: 0.9rem; line-height: 1.4; word-wrap: break-word; animation: msgIn .2s ease; }
        @keyframes msgIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
        .chat-msg.in { background: rgba(255,255,255,0.07); align-self: flex-start; border-bottom-left-radius: 4px; }
        .chat-msg.in .chat-msg-sender { color: #60A5FA; }
        .chat-msg.out { background: linear-gradient(135deg, var(--accent), #FF6B00); color: #000; align-self: flex-end; border-bottom-right-radius: 4px; font-weight: 500; }
        .chat-msg.out .chat-msg-sender { color: #000; opacity: 0.8; }
        .chat-msg-time { font-size: 0.65rem; opacity: 0.7; margin-top: 0.2rem; }
        .chat-msg.system { background: rgba(168,85,247,0.15); color: #C084FC; align-self: center; font-size: 0.78rem; border-radius: 20px; padding: 0.4rem 0.9rem; }
        .chat-msg.system .chat-msg-sender { color: #C084FC; }
        .chat-msg.system.success { background: rgba(74,222,128,0.15); color: var(--green); }
        .chat-msg.system.danger { background: rgba(248,113,113,0.15); color: var(--red); }
        .chat-input-area { padding: 1rem; border-top: 1px solid var(--glass-border); display: flex; gap: 0.5rem; }
        .chat-input { flex: 1; padding: 0.7rem 1rem; border-radius: 60px; background: rgba(30, 41, 59, 0.95); border: 1px solid var(--glass-border); color: var(--text-1); font-family: inherit; font-size: 0.9rem; }
        .chat-input:focus { outline: none; border-color: var(--accent); }
        .chat-send { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), #FF6B00); border: none; color: #000; transition: all .2s; display: flex; align-items: center; justify-content: center; }
        .chat-send:hover { transform: scale(1.1); }
        .chat-actions { padding: 0.8rem 1rem; border-top: 1px solid var(--glass-border); display: flex; gap: 0.5rem; flex-wrap: wrap; }

        .orders-list { display: flex; flex-direction: column; gap: 0.8rem; }
        .order-card { padding: 1.2rem; border-radius: 1rem; display: grid; grid-template-columns: auto 1fr auto auto; gap: 1rem; align-items: center; transition: all .3s; }
        .order-card:hover { border-color: var(--accent); }
        .order-icon { font-size: 2.5rem; width: 60px; height: 60px; border-radius: 0.8rem; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(255,165,0,0.1), rgba(168,85,247,0.1)); }
        .order-name { font-weight: 700; margin-bottom: 0.2rem; }
        .order-meta { font-size: 0.78rem; color: var(--text-3); }
        .order-status { font-size: 0.72rem; padding: 0.3rem 0.7rem; border-radius: 20px; font-weight: 700; white-space: nowrap; }
        .order-status.pending { background: rgba(251,191,36,0.15); color: #FBBF24; }
        .order-status.assigned { background: rgba(96,165,250,0.15); color: var(--blue); }
        .order-status.worker_done { background: rgba(168,85,247,0.15); color: #A855F7; }
        .order-status.completed { background: rgba(74,222,128,0.15); color: var(--green); }
        .order-status.cancelled { background: rgba(248,113,113,0.15); color: var(--red); }
        .order-actions { display: flex; gap: 0.4rem; flex-wrap: wrap; }

        .admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
        .admin-stat { padding: 1.5rem; border-radius: 1rem; }
        .admin-stat .lbl { font-size: 0.8rem; color: var(--text-3); margin-bottom: 0.4rem; }
        .admin-stat .val { font-size: 2rem; font-weight: 800; background: linear-gradient(135deg, #FFF, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
        .admin-stat .sub { font-size: 0.75rem; color: var(--green); margin-top: 0.3rem; }
        .admin-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
        .admin-table { width: 100%; border-collapse: collapse; }
        .admin-table th, .admin-table td { padding: 0.8rem; text-align: left; border-bottom: 1px solid var(--glass-border); font-size: 0.88rem; vertical-align: middle; }
        .admin-table th { color: var(--text-3); font-weight: 600; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.5px; }
        .admin-table tr:hover { background: rgba(255,255,255,0.02); }
        .admin-table-wrap { border-radius: 1rem; overflow: hidden; overflow-x: auto; }
        .admin-table input.price-input { width: 90px; padding: 0.4rem 0.6rem; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); color: var(--accent); border-radius: 6px; font-family: inherit; font-weight: 700; font-size: 0.9rem; background-image: none !important; }
        .admin-table input.price-input:focus { outline: none; border-color: var(--accent); }
        .admin-table .icon-cell { font-size: 1.5rem; width: 50px; }
        .admin-table .name-cell input { background: transparent; border: 1px solid transparent; color: var(--text-1); font-family: inherit; font-weight: 600; font-size: 0.95rem; padding: 0.3rem 0.5rem; border-radius: 6px; width: 100%; background-image: none !important; }
        .admin-table .name-cell input:hover, .admin-table .name-cell input:focus { border-color: var(--glass-border); background: rgba(255,255,255,0.03); outline: none; }
        .admin-table .desc-cell input { background: transparent; border: 1px solid transparent; color: var(--text-3); font-family: inherit; font-size: 0.8rem; padding: 0.3rem 0.5rem; border-radius: 6px; width: 100%; background-image: none !important; }
        .admin-table .desc-cell input:hover, .admin-table .desc-cell input:focus { border-color: var(--glass-border); background: rgba(255,255,255,0.03); outline: none; }
        .price-input.price-saved { color: var(--green) !important; border-color: var(--green) !important; box-shadow: 0 0 0 2px rgba(74,222,128,0.2); }
        .admin-table .row-actions { display: flex; gap: 0.3rem; }
        .row-removing { animation: rowRemove .3s forwards; }
        @keyframes rowRemove { to { opacity: 0; transform: translateX(-20px); } }
        .row-adding { animation: rowAdd .3s; }
        @keyframes rowAdd { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

        .user-search-bar { display: flex; gap: 0.5rem; margin-bottom: 1.2rem; flex-wrap: wrap; align-items: center; }
        .user-search-bar .form-input { flex: 1; min-width: 200px; }
        .user-count-badge { background: rgba(255,165,0,0.15); color: var(--accent); padding: 0.4rem 0.8rem; border-radius: 20px; font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
        .role-filter-pill { padding: 0.4rem 0.9rem; border-radius: 20px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); color: var(--text-2); font-size: 0.8rem; font-weight: 600; transition: all .2s; }
        .role-filter-pill:hover { border-color: var(--accent); color: var(--accent); }
        .role-filter-pill.active { background: linear-gradient(135deg, var(--accent), #FF6B00); color: #000; border-color: transparent; }
        .deposit-filter-pill { padding: 0.4rem 0.9rem; border-radius: 20px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); color: var(--text-2); font-size: 0.8rem; font-weight: 600; transition: all .2s; }
        .deposit-filter-pill:hover { border-color: var(--accent); color: var(--accent); }
        .deposit-filter-pill.active { background: linear-gradient(135deg, var(--accent), #FF6B00); color: #000; border-color: transparent; }
        .user-row-promote { background: rgba(96,165,250,0.08) !important; }
        .user-row-admin { background: rgba(168,85,247,0.05) !important; }
        .user-row-super { background: rgba(255,215,0,0.05) !important; }
        .empty-search { text-align: center; padding: 2rem; color: var(--text-3); font-size: 0.9rem; }

        .req-actions { display: flex; gap: 0.3rem; flex-wrap: nowrap; }
        .req-status { display: inline-block; font-size: 0.7rem; padding: 0.2rem 0.6rem; border-radius: 10px; font-weight: 700; }
        .req-status.new { background: rgba(251,191,36,0.15); color: #FBBF24; }
        .req-status.accepted { background: rgba(74,222,128,0.15); color: var(--green); }
        .req-status.rejected { background: rgba(248,113,113,0.15); color: var(--red); }
        .req-row-accepted { opacity: 0.6; }
        .req-row-rejected { opacity: 0.5; background: rgba(248,113,113,0.05) !important; }
        .req-message-cell { max-width: 280px; word-wrap: break-word; }
        .req-reply-preview { font-size: 0.72rem; color: var(--green); margin-top: 0.3rem; font-style: italic; }

        .team-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.2rem; }
        .team-tab { padding: 0.6rem 1.2rem; border-radius: 60px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); color: var(--text-2); font-weight: 600; font-size: 0.82rem; transition: all .25s; font-family: inherit; display: inline-flex; align-items: center; gap: 0.4rem; }
        .team-tab:hover { color: var(--accent); border-color: var(--accent); }
        .team-tab.active { background: linear-gradient(135deg, var(--accent), #FF6B00); color: #000; border-color: transparent; }
        .team-tab.admin.active { background: linear-gradient(135deg, var(--purple), #6366F1); color: #fff; }

        .modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 1rem; }
        .modal-overlay.open { display: flex; animation: fadeIn .3s; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        .modal { background: rgba(15,23,42,0.98); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 1.5rem; max-width: 700px; width: 100%; max-height: 90vh; overflow-y: auto; animation: modalIn .3s cubic-bezier(.2,.9,.4,1.1); }
        @keyframes modalIn { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
        .modal-header { padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--glass-border); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: rgba(15,23,42,0.98); z-index: 2; }
        .modal-body { padding: 1.5rem; }
        .close-btn { background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); color: var(--text-2); width: 34px; height: 34px; border-radius: 10px; transition: all .2s; display: flex; align-items: center; justify-content: center; }
        .close-btn:hover { background: var(--red); color: #fff; }
        .modal-product-image { height: 220px; border-radius: 1rem; display: flex; align-items: center; justify-content: center; font-size: 6rem; margin-bottom: 1.2rem; background: linear-gradient(135deg, rgba(255,165,0,0.1), rgba(168,85,247,0.1)); background-size: cover; background-position: center; overflow: hidden; }
        .modal-product-image img { width: 100%; height: 100%; object-fit: cover; }
        .modal-product-image.fruits { background: linear-gradient(135deg, rgba(248,113,113,0.2), rgba(255,165,0,0.2)); }
        .modal-product-image.raids { background: linear-gradient(135deg, rgba(168,85,247,0.25), rgba(99,102,241,0.2)); }
        .modal-product-image.boosts { background: linear-gradient(135deg, rgba(96,165,250,0.25), rgba(59,130,246,0.2)); }
        .modal-product-image.bounty { background: linear-gradient(135deg, rgba(251,191,36,0.25), rgba(245,158,11,0.2)); }
        .modal-product-image.mastery { background: linear-gradient(135deg, rgba(74,222,128,0.25), rgba(34,197,94,0.2)); }
        .modal-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
        .modal-features { margin: 1rem 0; }
        .modal-features li { list-style: none; padding: 0.4rem 0; color: var(--text-2); display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
        .modal-features li i { color: var(--green); }
        .modal-reviews { margin-top: 1.5rem; }
        .modal-reviews h4 { margin-bottom: 0.8rem; font-size: 1rem; }
        .review-mini { padding: 0.7rem; border-radius: 0.7rem; background: rgba(255,255,255,0.03); margin-bottom: 0.5rem; font-size: 0.85rem; }
        .review-mini-stars { color: var(--accent); font-size: 0.75rem; margin-bottom: 0.2rem; }
        .review-mini-author { color: var(--text-3); font-size: 0.75rem; margin-top: 0.3rem; }

        .wallet-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; margin-bottom: 2rem; }
        .wallet-card { padding: 1.5rem; border-radius: 1.2rem; position: relative; overflow: hidden; transition: all .3s; }
        .wallet-card:hover { transform: translateY(-4px); }
        .wallet-card.main { background: linear-gradient(135deg, rgba(255,165,0,0.15), rgba(168,85,247,0.1)); border: 1px solid rgba(255,165,0,0.3); }
        .wallet-card.worker { background: linear-gradient(135deg, rgba(96,165,250,0.15), rgba(59,130,246,0.1)); border: 1px solid rgba(96,165,250,0.3); }
        .wallet-card.admin { background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(99,102,241,0.1)); border: 1px solid rgba(168,85,247,0.3); }
        .wallet-card-label { font-size: 0.85rem; color: var(--text-3); margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.4rem; }
        .wallet-card-balance { font-size: 2.2rem; font-weight: 800; margin-bottom: 0.8rem; background: linear-gradient(135deg, #FFF, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
        .wallet-card-actions { display: flex; gap: 0.5rem; }
        .wallet-card-btn { padding: 0.5rem 1rem; border-radius: 10px; font-size: 0.82rem; font-weight: 600; border: none; cursor: pointer; transition: all .2s; }
        .wallet-card-btn.deposit { background: var(--green); color: #000; }
        .wallet-card-btn.withdraw { background: rgba(255,255,255,0.1); color: var(--text-1); border: 1px solid var(--glass-border); }
        .wallet-card-btn:hover { transform: scale(1.05); }

        .profile-header { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
        .profile-info { flex: 1; min-width: 0; text-align: left; }
        .profile-info h2 { font-size: 1.5rem; margin-bottom: 0.3rem; text-align: left; }
        .profile-info .role-line { color: var(--text-3); margin-bottom: 0.2rem; }
        .profile-info .username-line { color: var(--text-3); font-size: 0.85rem; }

        .pay-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.8rem; margin-bottom: 1.5rem; }
        .pay-method { padding: 1rem; border-radius: 12px; border: 2px solid var(--glass-border); background: rgba(255,255,255,0.03); transition: all .2s; text-align: center; }
        .pay-method:hover { border-color: var(--accent); background: rgba(255,165,0,0.05); }
        .pay-method.active { border-color: var(--accent); background: rgba(255,165,0,0.1); box-shadow: 0 0 20px rgba(255,165,0,0.2); }
        .pay-method-icon { font-size: 1.8rem; margin-bottom: 0.4rem; }
        .pay-method-name { font-size: 0.85rem; font-weight: 600; }
        .pay-method-fee { font-size: 0.7rem; color: var(--text-3); margin-top: 0.2rem; }
        .pay-amount-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 0.5rem; margin-bottom: 1rem; }
        .pay-amount { padding: 0.7rem; border-radius: 10px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); text-align: center; cursor: pointer; transition: all .2s; font-weight: 700; }
        .pay-amount:hover { background: rgba(255,165,0,0.1); border-color: var(--accent); }
        .pay-amount.active { background: linear-gradient(135deg, var(--accent), #FF6B00); color: #000; border-color: transparent; }

        .payment-receipt { background: rgba(74,222,128,0.05); border-left: 3px solid var(--green); padding: 1rem; border-radius: 0.5rem; margin: 1rem 0; }
        .payment-receipt .label { font-size: 0.78rem; color: var(--text-3); margin-bottom: 0.3rem; }
        .payment-receipt .value { font-family: 'Courier New', monospace; font-size: 1rem; font-weight: 700; color: var(--accent); user-select: all; word-break: break-all; }
        .payment-receipt .value.big { font-size: 1.3rem; }
        .copy-btn { background: rgba(255,165,0,0.15); border: 1px solid rgba(255,165,0,0.3); color: var(--accent); padding: 0.4rem 0.8rem; border-radius: 8px; font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: all .2s; margin-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.3rem; }
        .copy-btn:hover { background: rgba(255,165,0,0.25); }
        .copy-btn.copied { background: var(--green); color: #000; border-color: var(--green); }
        .payment-success-icon { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--green), #22c55e); color: #000; font-size: 2.5rem; display: flex; align-items: center; justify-content: center; margin: 1rem auto; animation: popIn .4s cubic-bezier(.2,.9,.4,1.1); }
        @keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }
        .payment-method-info { font-size: 0.82rem; color: var(--text-3); line-height: 1.5; }
        .payment-instruction { background: rgba(96,165,250,0.05); border-left: 3px solid var(--blue); padding: 1rem; border-radius: 0.5rem; margin: 1rem 0; font-size: 0.88rem; }
        .payment-instruction ol { margin-left: 1.2rem; margin-top: 0.5rem; }
        .payment-instruction ol li { margin-bottom: 0.3rem; }
        .payment-loading { text-align: center; padding: 2rem 1rem; }
        .payment-loading .spinner { width: 40px; height: 40px; border: 3px solid var(--glass-border); border-top-color: var(--accent); border-radius: 50%; margin: 0 auto 1rem; animation: spin 1s linear infinite; }
        @keyframes spin { to { transform: rotate(360deg); } }

        .transactions-list { display: flex; flex-direction: column; gap: 0.5rem; max-height: 500px; overflow-y: auto; }
        .transaction { padding: 0.8rem; border-radius: 0.8rem; background: rgba(255,255,255,0.03); display: flex; align-items: center; gap: 0.8rem; transition: all .2s; }
        .transaction:hover { background: rgba(255,255,255,0.05); }
        .transaction-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
        .transaction-icon.income { background: rgba(74,222,128,0.15); color: var(--green); }
        .transaction-icon.expense { background: rgba(248,113,113,0.15); color: var(--red); }
        .transaction-info { flex: 1; min-width: 0; }
        .transaction-title { font-weight: 600; font-size: 0.88rem; }
        .transaction-meta { font-size: 0.75rem; color: var(--text-3); }
        .transaction-amount { font-weight: 800; }
        .transaction-amount.income { color: var(--green); }
        .transaction-amount.expense { color: var(--red); }

        .toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 0.5rem; }
        .toast { background: rgba(10,14,23,0.95); backdrop-filter: blur(20px); padding: 0.85rem 1.3rem; border-radius: 60px; border-left: 4px solid var(--accent); font-weight: 500; font-size: 0.88rem; display: flex; align-items: center; gap: 0.6rem; box-shadow: 0 10px 30px rgba(0,0,0,0.4); animation: slideIn .3s ease; max-width: 400px; }
        .toast.success { border-left-color: var(--green); }
        .toast.error { border-left-color: var(--red); }
        .toast.info { border-left-color: var(--blue); }
        @keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
        @keyframes slideOut { to { transform: translateX(100%); opacity: 0; } }

        .empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-3); }
        .empty-state i { font-size: 3.5rem; color: var(--text-3); margin-bottom: 1rem; opacity: 0.5; display: block; }
        .empty-state h3 { color: var(--text-2); margin-bottom: 0.5rem; }

        .marquee { overflow: hidden; padding: 1.2rem 0; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); margin-bottom: 3rem; background: rgba(255,255,255,0.02); }
        .marquee-track { display: flex; gap: 2.5rem; white-space: nowrap; animation: scroll 30s linear infinite; width: max-content; }
        .marquee-track span { font-size: 1.1rem; font-weight: 700; color: var(--text-3); display: inline-flex; align-items: center; gap: 0.7rem; }
        .marquee-track span i { color: var(--accent); }
        @keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

        @media (max-width: 1024px) { .hero { grid-template-columns: 1fr; padding: 2rem 0 3rem; } .hero h1 { font-size: 2.6rem; } .hero-visual { height: 360px; } .footer-grid { grid-template-columns: 1fr 1fr; } .chat-container { grid-template-columns: 1fr; } .chat-sidebar { max-height: 200px; } .balance-badge { font-size: 0.7rem; } }
        @media (max-width: 900px) { .balance-badge { font-size: 0.65rem; padding: 0.25rem 0.4rem; } .icon-btn { width: 30px; height: 30px; font-size: 0.75rem; } }
        @media (max-width: 768px) { .container { padding: 0 1rem; } .navbar { padding: 0.5rem 0.7rem; margin: 0.5rem; } .nav-links { display: none; } .mobile-toggle { display: flex; } .hero h1 { font-size: 2rem; } .hero-visual { display: none; } .footer-grid { grid-template-columns: 1fr; } .section-title { font-size: 1.5rem; } .products-grid { grid-template-columns: 1fr 1fr; gap: 1rem; } .product-image, .product-img { height: 110px; font-size: 3rem; } .product-title { font-size: 0.95rem; } .order-card { grid-template-columns: 1fr; } .balance-badge { font-size: 0.72rem; padding: 0.3rem 0.5rem; } .profile-header { flex-direction: column; text-align: center; } .profile-info { text-align: center; } }
        @media (max-width: 480px) { .products-grid { grid-template-columns: 1fr; } .hero h1 { font-size: 1.7rem; } }
        .page-content { }
        .mobile-menu { position: fixed; inset: 0; background: rgba(5,7,10,0.98); backdrop-filter: blur(20px); z-index: 99; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; overflow-y: auto; padding: 2rem 1rem; }
        .mobile-menu.open { display: flex; }
        .mobile-menu button { background: none; border: none; color: var(--text-1); font-size: 1.4rem; font-weight: 700; font-family: inherit; padding: 0.5rem 1rem; }
        .star-input { display: flex; gap: 0.3rem; margin: 1rem 0; justify-content: center; }
        .star-input i { font-size: 1.8rem; color: var(--text-3); transition: all .2s; }
        .star-input i.active, .star-input i:hover { color: var(--accent); transform: scale(1.15); }
        .role-badge { display: inline-block; font-size: 0.7rem; padding: 0.2rem 0.5rem; border-radius: 10px; margin-left: 0.3rem; }
        .role-badge.super { background: linear-gradient(135deg, #FFD700, #FFA500); color: #000; font-weight: 800; }
        .role-badge.admin { background: rgba(168, 85, 247, 0.2); color: #C084FC; font-weight: 700; }
        .role-badge.worker { background: rgba(96, 165, 250, 0.2); color: #93C5FD; font-weight: 700; }
        .role-badge.user { background: rgba(148, 163, 184, 0.2); color: var(--text-2); }

        /* ── Listings ─────────────────────────── */
        .listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
        .listing-card { border-radius: 1.2rem; padding: 1.3rem; transition: all .35s cubic-bezier(.2,.9,.4,1.1); animation: fadeInScale .5s ease backwards; animation-delay: calc(var(--card-index, 0) * 0.05s); }
        .listing-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 20px 50px -15px rgba(255,165,0,0.25); }
        .listing-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.8rem; }
        .listing-icon { font-size: 2.5rem; width: 60px; height: 60px; border-radius: 0.8rem; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(255,165,0,0.1), rgba(168,85,247,0.1)); }
        .listing-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem; }
        .listing-desc { font-size: 0.82rem; color: var(--text-3); margin-bottom: 0.8rem; line-height: 1.4; min-height: 2em; }
        .listing-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--glass-border); padding-top: 0.8rem; }
        .listing-price { font-size: 1.3rem; font-weight: 800; color: var(--accent); }
        .listing-meta { font-size: 0.75rem; color: var(--text-3); display: flex; align-items: center; gap: 0.3rem; }
        .listing-image { width: 100%; height: 180px; border-radius: 1rem; overflow: hidden; margin-bottom: 0.8rem; }
        .listing-image img { width: 100%; height: 100%; object-fit: cover; }

        /* ── Mobile ────────────────────────────── */
        @media (max-width: 768px) {
            .container { padding: 0 0.6rem; }
            .navbar { padding: 0.35rem 0.5rem; margin: 0.4rem; border-radius: 0.8rem; flex-wrap: nowrap; overflow: visible; max-width: 100vw; }
            .logo { font-size: 0.8rem; flex-shrink: 0; }
            .logo-icon { width: 22px; height: 22px; font-size: 0.7rem; border-radius: 5px; }
            .nav-links { display: none; }
            .mobile-toggle { display: flex; }
            .nav-actions { gap: 0.25rem; }
            .icon-btn { width: 30px; height: 30px; font-size: 0.7rem; }
            .balance-badge { font-size: 0.65rem; padding: 0.2rem 0.4rem; }
            .hero { grid-template-columns: 1fr; padding: 1.5rem 0 2rem; text-align: center; }
            .hero h1 { font-size: 1.8rem; line-height: 1.15; }
            .hero p { font-size: 0.85rem; margin: 0 auto 1.2rem; }
            .hero-cta { justify-content: center; }
            .hero-stats { justify-content: center; gap: 1rem; }
            .hero-visual { display: none; }
            .section { padding: 1.5rem 0; }
            .section-title { font-size: 1.3rem; }
            .section-subtitle { font-size: 0.78rem; }
            .products-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
            .product-image, .product-img { height: 90px; font-size: 2.2rem; border-radius: 0.7rem; }
            .product-card { padding: 0.7rem; border-radius: 0.8rem; }
            .product-title { font-size: 0.8rem; }
            .product-desc { font-size: 0.68rem; min-height: 1.6em; }
            .product-bottom { flex-direction: column; gap: 0.4rem; align-items: stretch; }
            .buy-btn-direct { width: 100%; justify-content: center; padding: 0.5rem; font-size: 0.72rem; }
            .current-price { font-size: 1rem; }
            .listings-grid { grid-template-columns: 1fr; gap: 0.6rem; }
            .listing-icon { width: 40px; height: 40px; font-size: 1.5rem; }
            .listing-title { font-size: 0.88rem; }
            .order-card { grid-template-columns: 1fr; gap: 0.5rem; padding: 0.8rem; }
            .order-icon { width: 40px; height: 40px; font-size: 1.5rem; }
            .order-actions { flex-direction: column; }
            .wallet-cards { grid-template-columns: 1fr; }
            .wallet-card-balance { font-size: 1.5rem; }
            .wallet-card-actions { flex-direction: column; }
            .wallet-card-btn { width: 100%; }
            .profile-header { flex-direction: column; text-align: center; gap: 1rem; }
            .profile-info { text-align: center; }
            .profile-info h2 { text-align: center; font-size: 1.2rem; }
            .features-grid { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
            .feature-card { padding: 0.8rem; }
            .feature-icon { width: 36px; height: 36px; font-size: 0.9rem; }
            .feature-card h4 { font-size: 0.82rem; }
            .feature-card p { font-size: 0.7rem; }
            .reviews-grid { grid-template-columns: 1fr; }
            .admin-stats { grid-template-columns: 1fr 1fr; }
            .admin-stat .val { font-size: 1.3rem; }
            .admin-stat { padding: 0.8rem; }
            .admin-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.3rem; }
            .admin-table { font-size: 0.72rem; }
            .admin-table th, .admin-table td { padding: 0.4rem 0.3rem; }
            .chat-container { grid-template-columns: 1fr; height: auto; }
            .chat-sidebar { max-height: 180px; }
            .chat-main { min-height: 350px; }
            .chat-msg { max-width: 85%; font-size: 0.82rem; }
            .chat-input { font-size: 0.82rem; }
            .modal { max-width: 95vw; margin: 0.3rem; border-radius: 1rem; max-height: 95vh; }
            .modal-body { padding: 0.8rem; }
            .modal-product-image { height: 140px; font-size: 3.5rem; }
            .modal-header { padding: 0.8rem 1rem; }
            .auth-card { padding: 1.2rem; max-width: 100%; }
            .auth-card h2 { font-size: 1.3rem; }
            .footer-grid { grid-template-columns: 1fr; gap: 1rem; }
            .footer-col { text-align: center; }
            .footer-col h5 { font-size: 0.85rem; }
            .footer-col a { font-size: 0.78rem; }
            .social-links { justify-content: center; }
            .filters-bar { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.5rem; -webkit-overflow-scrolling: touch; }
            .filters-bar::-webkit-scrollbar { display: none; }
            .tab-pill { white-space: nowrap; flex-shrink: 0; padding: 0.45rem 0.9rem; font-size: 0.75rem; }
            .filter-spacer { display: none; }
            .admin-table-wrap { overflow-x: auto; }
            .admin-table { min-width: 500px; }
            .btn { padding: 0.5rem 0.8rem; font-size: 0.75rem; }
            .form-group label { font-size: 0.7rem; }
            .form-input { padding: 0.55rem 0.7rem; font-size: 0.78rem; }
            .section-head { flex-direction: column; align-items: flex-start; }
            .page-content { overflow-x: hidden; }
            .toast-container { left: 10px; right: 10px; bottom: 10px; }
            .toast { max-width: 100%; font-size: 0.8rem; }
            .mobile-menu { gap: 0.8rem; padding: 1rem; }
            .mobile-menu button { font-size: 1.1rem; padding: 0.4rem 0.8rem; }
            .marquee-track span { font-size: 0.85rem; }
            .marquee-track { gap: 1.5rem; }
            .payment-receipt .value { font-size: 0.85rem; }
            .payment-receipt .value.big { font-size: 1rem; }
            .user-dropdown { right: -1rem; min-width: 220px; }
            .copy-btn { font-size: 0.7rem; padding: 0.3rem 0.6rem; }
            .chat-actions { padding: 0.5rem; }
            .chat-input-area { padding: 0.6rem; }
            .chat-send { width: 36px; height: 36px; }
            .stat-item .num { font-size: 1.3rem; }
            .stat-item .label { font-size: 0.68rem; }
        }
        @media (max-width: 480px) {
            .products-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
            .product-card { padding: 0.5rem; }
            .product-image, .product-img { height: 75px; font-size: 2rem; }
            .product-title { font-size: 0.75rem; }
            .current-price { font-size: 0.9rem; }
            .admin-stats { grid-template-columns: 1fr; }
            .hero h1 { font-size: 1.5rem; }
            .hero-stats { flex-direction: row; gap: 1rem; justify-content: center; }
            .features-grid { grid-template-columns: 1fr; }
            .hero-badge { font-size: 0.6rem; }
            .hero-cta .btn { padding: 0.5rem 0.8rem; font-size: 0.72rem; }
            .support-chat-wrap { padding: 0 0.5rem; }
            .support-chat-messages { min-height: 250px; }
        }

        /* ── Support Chat ── */
        .support-chat-wrap {
            max-width: 900px;
            margin: 0 auto;
            width: 100%;
        }
        .support-chat-main {
            display: flex;
            flex-direction: column;
            border-radius: 1rem;
            overflow: hidden;
            height: 70vh;
            min-height: 450px;
        }
        .support-chat-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 1.5rem;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            background: rgba(255,255,255,0.02);
        }
        .support-chat-header-left {
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }
        .support-operator-avatar {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            background: rgba(255,165,0,0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            color: var(--accent);
            position: relative;
            border: 2px solid transparent;
            transition: all 0.3s;
        }
        .support-operator-avatar.online {
            border-color: var(--green);
            box-shadow: 0 0 12px rgba(74,222,128,0.3);
        }
        .support-operator-avatar.online::after {
            content: '';
            position: absolute;
            bottom: -2px;
            right: -2px;
            width: 12px;
            height: 12px;
            background: var(--green);
            border-radius: 50%;
            border: 2px solid var(--bg);
            animation: pulse-online 2s infinite;
        }
        @keyframes pulse-online {
            0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.4); }
            50% { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
        }
        .support-chat-name {
            font-weight: 700;
            font-size: 0.95rem;
            color: var(--text-1);
        }
        .support-chat-status {
            font-size: 0.78rem;
            color: var(--text-3);
        }
        .support-chat-status.online {
            color: var(--green);
        }
        .support-chat-status.offline {
            color: var(--text-3);
        }
        .support-chat-messages {
            flex: 1;
            overflow-y: auto;
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }
        .support-chat-messages::-webkit-scrollbar { width: 4px; }
        .support-chat-messages::-webkit-scrollbar-track { background: transparent; }
        .support-chat-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }
        .support-chat-input {
            display: flex;
            gap: 0.5rem;
            padding: 1rem 1.5rem;
            border-top: 1px solid rgba(255,255,255,0.06);
            background: rgba(255,255,255,0.02);
        }
        .support-chat-input .chat-input {
            flex: 1;
        }
        .chat-msg-sender {
            font-size: 0.7rem;
            color: var(--accent);
            margin-bottom: 0.2rem;
            font-weight: 600;
        }

        /* ── Animations (extracted) ──────────────── */
        @keyframes shrink { from { width: 100%; } to { width: 0; } }
        @keyframes fadeSlideIn {
            0% { opacity: 0; transform: translateY(20px) scale(0.97); }
            80% { transform: translateY(-2px) scale(1.01); }
            100% { opacity: 1; transform: translateY(0) scale(1); }
        }
        @keyframes fadeSlideOut {
            from { opacity: 1; transform: translateY(0) scale(1); }
            to { opacity: 0; transform: translateY(20px) scale(0.97); }
        }
        @keyframes pulseGlow {
            0%, 100% { box-shadow: 0 0 20px rgba(255,165,0,0.2); }
            50% { box-shadow: 0 0 40px rgba(255,165,0,0.4); }
        }
        @keyframes shimmer {
            0% { background-position: -200% center; }
            100% { background-position: 200% center; }
        }
        @keyframes scaleIn {
            0% { opacity: 0; transform: scale(0.9); }
            100% { opacity: 1; transform: scale(1); }
        }
        @keyframes slideUp {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* ── Toast notifications (enhanced) ──────── */
        .toast-container { animation: fadeSlideIn 0.5s ease; }
        .toast-container .toast { animation: fadeSlideIn 0.5s ease; }
        .toast-container .toast.closing { animation: fadeSlideOut 0.4s ease forwards; }

        /* ── Feature cards (hover lift) ──────────── */
        .feature-card, .stat-card {
            background: rgba(255,255,255,0.02);
            border: 1px solid rgba(255,255,255,0.05);
            transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        }
        .feature-card:hover, .stat-card:hover {
            background: rgba(255,255,255,0.04);
            border-color: rgba(255,255,255,0.1);
            transform: translateY(-4px);
        }

        /* ── Button hover effects ────────────────── */
        .btn, .button-primary {
            transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        }
        .btn:hover, .button-primary:hover {
            transform: translateY(-2px);
        }
        .btn:active, .button-primary:active {
            transform: translateY(0);
        }

        /* ── Glass shimmer effect ────────────────── */
        .glass-shimmer {
            position: relative;
            overflow: hidden;
        }
        .glass-shimmer::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
            animation: shimmer 3s ease-in-out infinite;
        }

        /* ── Modal active state ──────────────────── */
        .modal-overlay.open {
            animation: fadeSlideIn 0.3s ease;
        }

        /* ── Product card glow on hover ──────────── */
        .product-card:hover {
            box-shadow: 0 20px 50px -15px rgba(255,165,0,0.2);
        }

        /* ── Scroll reveal ───────────────────────── */
        .reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.2, 0.9, 0.4, 1); }
        .reveal.visible { opacity: 1; transform: translateY(0); }

        /* ── Smooth image hover ──────────────────── */
        .product-image img, .listing-image img {
            transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        }
        .product-image:hover img, .listing-image:hover img {
            transform: scale(1.08);
        }

        /* ── Focus ring ──────────────────────────── */
        input:focus, select:focus, textarea:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(255,165,0,0.15);
        }

        /* ── Loading skeleton shimmer ────────────── */
        .skeleton {
            background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s ease-in-out infinite;
            border-radius: 8px;
        }
