/* =========================================================
   HEYSHOP — PREMIUM STYLE (Complete & Final)
   ========================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --violet: #8b5cf6;
    --green: #10b981;
    --green-dark: #059669;
    --orange: #f59e0b;
    --pink: #ec4899;
    --dark: #0a0f1c;
    --dark-2: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f8fafc;
    --light-2: #f1f5f9;
    --border: #e2e8f0;
    --radius: 16px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.1);
}

html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
html, body { overflow-x: hidden; max-width: 100%; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    padding-bottom: 80px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--dark);
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

/* ============================================
   HEADER (FIXED)
============================================ */

.site-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    position: sticky; top: 0; z-index: 100;
}

.header-inner {
    max-width: 1200px; margin: 0 auto; padding: 12px 20px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}

.header-left { display: flex; align-items: center; gap: 12px; }

/* LOGO */
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--violet) 100%);
    border-radius: 13px; display: flex; align-items: center; justify-content: center;
    color: white; font-size: 19px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); flex-shrink: 0;
}
.logo:hover .logo-icon { transform: rotate(-8deg) scale(1.05); }
.logo-text h1 { font-size: 19px; font-weight: 800; color: var(--dark); line-height: 1.1; }
.logo-text span { font-size: 10px; color: var(--gray); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600; }

/* HAMBURGER */
.hamburger-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 5px; width: 44px; height: 44px; border-radius: 13px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1.5px solid var(--border); cursor: pointer; padding: 0;
    flex-shrink: 0; transition: all 0.25s ease;
}
.hamburger-btn:hover { border-color: var(--primary); background: #fff; box-shadow: 0 8px 18px rgba(99, 102, 241, 0.2); }
.hamburger-btn .ham-line { width: 20px; height: 2.5px; border-radius: 99px; background: var(--dark); transition: all 0.28s ease; }
.hamburger-btn.open .ham-line:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger-btn.open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.open .ham-line:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.hamburger-btn.open { background: linear-gradient(135deg, var(--primary), var(--violet)); border-color: transparent; box-shadow: 0 10px 24px rgba(99, 102, 241, 0.4); }
.hamburger-btn.open .ham-line { background: #fff; }

/* HEADER ACTIONS */
.header-actions { display: flex; gap: 8px; align-items: center; }

/* CURRENCY TOGGLE */
.currency-wrap { position: relative; flex-shrink: 0; }
.currency-toggle {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    height: 42px; min-width: 86px; padding: 0 14px; border-radius: 12px;
    background: #fff; border: 1.5px solid var(--border); color: var(--dark);
    font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 800;
    cursor: pointer; transition: 0.2s; white-space: nowrap;
}
.currency-toggle:hover { border-color: var(--primary); }
.currency-toggle.open { border-color: var(--primary); background: #eef2ff; }
.currency-toggle #curLabel { font-size: 14px; font-weight: 900; color: var(--dark); min-width: 32px; text-align: center; }
.currency-toggle .cur-caret { font-size: 10px; color: var(--gray); transition: transform 0.22s ease; }
.currency-toggle.open .cur-caret { transform: rotate(180deg); color: var(--primary); }

.currency-dropdown {
    position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(-8px) scale(0.96);
    transform-origin: top center; width: 280px; max-width: calc(100vw - 24px); background: #fff;
    border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 14px 40px rgba(15, 23, 42, 0.18);
    z-index: 9999; overflow: hidden; opacity: 0; visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1); max-height: 340px;
}
.currency-dropdown.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0) scale(1); }
.currency-list { max-height: 320px; overflow-y: auto; padding: 6px; }
.currency-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; border: none; cursor: pointer; transition: 0.15s; margin-bottom: 2px; background: transparent; width: 100%; text-align: left; }
.currency-item:hover { background: #f8fafc; }
.currency-item.active { background: #eef2ff; }
.currency-code { width: 44px; height: 28px; background: #f1f5f9; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 11px; color: var(--dark); flex-shrink: 0; }
.currency-item.active .currency-code { background: linear-gradient(135deg, var(--primary), var(--violet)); color: #fff; }
.currency-info { flex: 1; min-width: 0; }
.currency-info strong { display: block; font-family: 'Outfit', sans-serif; font-size: 12.5px; font-weight: 800; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.currency-info span { display: block; font-size: 10px; color: var(--gray); font-weight: 600; }
.currency-check { width: 18px; height: 18px; border-radius: 50%; color: transparent; display: flex; align-items: center; justify-content: center; font-size: 9px; flex-shrink: 0; }
.currency-item.active .currency-check { background: var(--green); color: #fff; }

/* DEPOSIT, BALANCE, LOGIN */
.deposit-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    height: 42px; padding: 0 18px; border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--violet) 100%);
    color: white; font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 800;
    border: none; cursor: pointer; box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
    transition: 0.2s; white-space: nowrap;
}
.deposit-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(99, 102, 241, 0.4); }
.deposit-btn i { font-size: 13px; }

.balance-chip {
    display: flex; align-items: center; gap: 6px; padding: 9px 14px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5); border: 1.5px solid #86efac;
    border-radius: 12px; color: #047857; font-family: 'Outfit', sans-serif;
    font-size: 13px; font-weight: 800; cursor: pointer; transition: 0.2s; white-space: nowrap;
}
.balance-chip i { font-size: 13px; color: #059669; }
.balance-chip:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(16, 185, 129, 0.25); }

.login-btn {
    display: flex; align-items: center; gap: 6px; padding: 10px 16px;
    border-radius: 12px; background: var(--dark); color: white;
    font-size: 13px; font-weight: 700; border: none; cursor: pointer; transition: 0.2s;
}
.login-btn:hover { background: var(--dark-2); transform: translateY(-2px); }

/* USER MENU */
.header-user { display: flex; align-items: center; gap: 10px; position: relative; }
.user-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--violet));
    color: white; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 15px; cursor: pointer; border: 2px solid white;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35); transition: 0.2s;
    font-family: 'Outfit', sans-serif; flex-shrink: 0;
}
.user-avatar:hover { transform: scale(1.08); box-shadow: 0 8px 20px rgba(99, 102, 241, 0.5); }
.user-dropdown {
    position: absolute; top: calc(100% + 12px); right: 0; min-width: 240px;
    background: white; border: 1px solid var(--border); border-radius: 18px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15); padding: 8px; z-index: 1000;
    display: none; animation: dropIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.user-dropdown.show { display: block; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-10px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.user-dropdown-header { padding: 14px 16px; border-bottom: 1px solid var(--light-2); margin-bottom: 6px; }
.user-dropdown-header strong { display: block; font-size: 14px; font-weight: 800; color: var(--dark); margin-bottom: 3px; }
.user-dropdown-header span { font-size: 12px; color: var(--gray); word-break: break-all; font-family: monospace; }
.user-dropdown-item {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px;
    color: var(--dark-2); font-size: 13.5px; font-weight: 700; cursor: pointer; transition: 0.15s;
    border: none; background: none; width: 100%; text-align: left;
}
.user-dropdown-item:hover { background: var(--light-2); color: var(--primary); transform: translateX(3px); }
.user-dropdown-item.danger { color: #dc2626; }
.user-dropdown-item.danger:hover { background: #fef2f2; color: #dc2626; }
.user-dropdown-item i { width: 18px; text-align: center; font-size: 15px; }

/* ============================================
   DRAWER (SIDEBAR MENU)
============================================ */

.drawer-overlay {
    position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    z-index: 9998; opacity: 0; visibility: hidden; transition: 0.25s;
}
.drawer-overlay.show { opacity: 1; visibility: visible; }

.drawer {
    position: fixed; top: 0; left: 12px; bottom: 0; width: 320px; max-width: 86vw;
    background: #fff; z-index: 9999; display: flex; flex-direction: column;
    transform: translateX(calc(-100% - 12px)); transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 6px 0 40px rgba(15, 23, 42, 0.2); border-radius: 0 22px 22px 0; overflow: hidden;
}
.drawer.show { transform: translateX(0); }

.drawer-user-card { padding: 22px 20px 20px; background: linear-gradient(135deg, #6366f1 0%, #7c3aed 50%, #8b5cf6 100%); color: #fff; position: relative; overflow: hidden; flex-shrink: 0; }
.drawer-close-top { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 13px; transition: 0.2s; border: 1px solid rgba(255, 255, 255, 0.25); padding: 0; z-index: 2; }
.drawer-close-top:hover { background: rgba(255, 255, 255, 0.35); transform: rotate(90deg); }
.drawer-user-row { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; margin-bottom: 16px; }
.drawer-user-avatar { width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, 0.22); backdrop-filter: blur(10px); border: 2px solid rgba(255, 255, 255, 0.4); display: flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 800; color: #fff; flex-shrink: 0; text-transform: uppercase; }
.drawer-user-info { flex: 1; min-width: 0; }
.drawer-user-info strong { display: block; font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer-user-info span { display: block; font-size: 11.5px; color: rgba(255, 255, 255, 0.85); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer-balance-card { background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(12px); border: 1.5px solid rgba(255, 255, 255, 0.25); border-radius: 16px; padding: 16px; position: relative; z-index: 1; }
.drawer-balance-label { font-size: 10.5px; color: rgba(255, 255, 255, 0.8); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 800; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.drawer-balance-amount { font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 900; color: #fff; letter-spacing: -1px; line-height: 1; margin-bottom: 4px; word-break: break-all; }
.drawer-balance-alt { font-size: 12.5px; color: rgba(255, 255, 255, 0.75); font-weight: 700; margin-bottom: 14px; }
.drawer-add-fund-btn { width: 100%; height: 44px; border: none; border-radius: 12px; background: #fff; color: #4f46e5; font-family: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: 0.2s; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); }
.drawer-add-fund-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2); }
.drawer-guest-card { background: linear-gradient(135deg, #6366f1, #4f46e5); padding: 24px 20px; color: #fff; position: relative; overflow: hidden; flex-shrink: 0; text-align: center; }
.drawer-guest-icon { width: 60px; height: 60px; border-radius: 18px; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); border: 2px solid rgba(255, 255, 255, 0.3); display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 14px; position: relative; z-index: 1; }
.drawer-guest-card h3 { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.drawer-guest-card p { font-size: 12.5px; opacity: 0.9; margin-bottom: 18px; }
.drawer-guest-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; z-index: 1; }
.drawer-guest-btn { height: 44px; border-radius: 12px; font-family: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; transition: 0.2s; text-decoration: none; border: none; }
.drawer-guest-btn.primary { background: #fff; color: #4f46e5; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); }
.drawer-guest-btn.primary:hover { transform: translateY(-2px); }
.drawer-guest-btn.secondary { background: rgba(255, 255, 255, 0.15); color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.3); }
.drawer-guest-btn.secondary:hover { background: rgba(255, 255, 255, 0.25); }

.drawer-list { flex: 1; overflow-y: auto; padding: 10px 8px; }
.drawer-section-label { padding: 10px 14px 6px; font-size: 10px; color: #94a3b8; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 800; }
.drawer-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; text-decoration: none; color: #334155; transition: all 0.18s ease; cursor: pointer; margin-bottom: 2px; border: 1.5px solid transparent; font-family: inherit; background: transparent; width: 100%; text-align: left; }
.drawer-item:hover { background: #f8fafc; border-color: #e2e8f0; transform: translateX(2px); }
.drawer-item.active { background: linear-gradient(135deg, #eef2ff, #e0e7ff); border-color: #c7d2fe; }
.drawer-item-icon { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; transition: all 0.2s ease; overflow: hidden; color: #fff; position: relative; }
.drawer-item-icon.home { background: linear-gradient(135deg, #6366f1, #4f46e5); box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3); }
.drawer-item-icon.products { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3); }
.drawer-item-icon.api-gmail { background: #fff; border: 1px solid #e2e8f0; padding: 7px; box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08); }
.drawer-item-icon.profile { background: linear-gradient(135deg, #06b6d4, #0891b2); box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3); }
.drawer-item-icon.orders { background: linear-gradient(135deg, #8b5cf6, #7c3aed); box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3); }
.drawer-item-icon.deposits { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3); }
.drawer-item-icon.support { background: linear-gradient(135deg, #ec4899, #db2777); box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3); }
.drawer-item-icon.about { background: linear-gradient(135deg, #0ea5e9, #0284c7); box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3); }
.drawer-item:hover .drawer-item-icon { transform: scale(1.06) rotate(-3deg); }
.drawer-item-info { flex: 1; min-width: 0; }
.drawer-item-info strong { display: block; font-family: 'Outfit', sans-serif; font-size: 13.5px; font-weight: 800; color: #0f172a; margin-bottom: 1px; }
.drawer-item-info span { display: block; font-size: 10.5px; color: #94a3b8; font-weight: 500; }
.drawer-divider { height: 1px; background: #f1f5f9; margin: 8px 14px; }
.drawer-footer { padding: 12px; border-top: 1px solid #f1f5f9; background: #fafbfc; flex-shrink: 0; }
.drawer-logout { width: 100%; height: 46px; border: 1.5px solid #fecaca; border-radius: 12px; background: #fef2f2; color: #dc2626; font-family: inherit; font-size: 13px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: 0.2s; }
.drawer-logout:hover { background: #fee2e2; border-color: #fca5a5; }


/* ============================================
   HERO SECTION
============================================ */

.hero-section {
    max-width: 1200px; margin: 0 auto; padding: 80px 20px 60px;
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
    position: relative;
}

.hero-section::before {
    content: ""; position: absolute; top: -40px; left: 50%;
    transform: translateX(-50%); width: 800px; height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none; z-index: -1;
}

.hero-logo-block {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    margin: 0 auto 24px; padding: 10px 24px 10px 10px;
    background: #fff; border: 1.5px solid #e2e8f0; border-radius: 20px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    width: fit-content; max-width: 100%;
}

.hero-logo-icon {
    width: 64px; height: 64px; border-radius: 16px; background: transparent;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; position: relative; overflow: visible; padding: 0;
}
.hero-logo-icon img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 4px 10px rgba(99, 102, 241, 0.15)); }
.hero-logo-text h1 { font-family: 'Outfit', sans-serif; font-size: 24px; font-weight: 900; color: #0f172a; letter-spacing: -0.6px; line-height: 1; }

.hero-content h2 {
    font-size: clamp(32px, 5vw, 58px); font-weight: 900;
    letter-spacing: -1.8px; margin-bottom: 22px; line-height: 1.05;
    color: var(--dark); animation: slideUpFade 0.7s ease 0.2s backwards;
    overflow-wrap: break-word; word-wrap: break-word;
}

.hero-content h2 span {
    display: block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--violet) 50%, var(--pink) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-content p {
    font-size: 17px; color: var(--gray); margin-bottom: 32px;
    max-width: 520px; line-height: 1.7;
    animation: slideUpFade 0.7s ease 0.3s backwards;
}

.hero-buttons {
    display: flex; gap: 12px; flex-wrap: wrap;
    animation: slideUpFade 0.7s ease 0.4s backwards;
}

.primary-btn, .secondary-btn {
    padding: 15px 26px; border-radius: 14px; font-size: 15px;
    font-weight: 700; display: inline-flex; align-items: center; gap: 9px;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: inherit;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--violet) 100%);
    color: white; box-shadow: 0 12px 28px rgba(99, 102, 241, 0.35);
    position: relative; overflow: hidden;
}
.primary-btn::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: translateX(-100%); transition: 0.6s;
}
.primary-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(99, 102, 241, 0.5); }
.primary-btn:hover::after { transform: translateX(100%); }

.secondary-btn {
    background: white; color: var(--dark);
    border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
}
.secondary-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }

.hero-visual { display: flex; flex-direction: column; gap: 18px; align-items: flex-end; position: relative; }

.visual-card {
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius); padding: 20px 22px;
    display: flex; align-items: center; gap: 14px;
    box-shadow: var(--shadow); width: 270px;
    animation: float 4s ease-in-out infinite; transition: transform 0.3s;
}
.visual-card:hover { transform: scale(1.03); }
.visual-card-small { animation-delay: 2s; margin-right: 50px; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.visual-icon {
    width: 46px; height: 46px;
    background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
    color: #92400e; border-radius: 13px;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
    box-shadow: 0 6px 16px rgba(251, 191, 36, 0.25); flex-shrink: 0;
}
.visual-icon.green { background: linear-gradient(135deg, #d1fae5 0%, #10b981 100%); color: #065f46; box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25); }
.visual-card strong { display: block; font-size: 15px; font-weight: 800; color: var(--dark); margin-bottom: 2px; }
.visual-card p { font-size: 12px; color: var(--gray); font-weight: 500; }


/* ============================================
   PRODUCTS / CATEGORY GRID
============================================ */

.products-section { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }

.section-heading {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 40px; gap: 20px; flex-wrap: wrap;
}

.center-heading { flex-direction: column; align-items: center; text-align: center; }

.section-label {
    display: inline-block; font-size: 11.5px; font-weight: 800;
    color: var(--primary); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
}

.section-heading h2 { font-size: clamp(26px, 4vw, 38px); margin: 8px 0; letter-spacing: -1px; font-weight: 800; }
.section-heading p { color: var(--gray); font-size: 15px; }

.product-count {
    background: white; border: 1px solid var(--border);
    padding: 9px 15px; border-radius: 11px; font-size: 13px; font-weight: 700;
    display: inline-flex; align-items: center; gap: 7px; color: var(--gray);
    box-shadow: var(--shadow-sm);
}
.product-count i { color: var(--primary); }

/* CATEGORY GRID */
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.category-card {
    background: #fff; border: 1.5px solid #e5e7eb; border-radius: 16px;
    padding: 12px 14px; box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    transition: all 0.22s; position: relative; overflow: hidden;
    cursor: pointer; text-decoration: none; color: inherit;
    display: flex; align-items: center; gap: 12px;
    font-family: inherit; text-align: left; width: 100%;
}

.category-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.category-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1); border-color: #c7d2fe; }
.category-card.active { border-color: #6366f1; box-shadow: 0 12px 30px rgba(99, 102, 241, 0.2); background: linear-gradient(135deg, #f8f9ff, #eef2ff); }

.category-icon {
    width: 42px; height: 42px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff; flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15); overflow: hidden;
}

.category-info { flex: 1; min-width: 0; }
.category-info h3 { font-family: 'Outfit', sans-serif; font-size: 13.5px; font-weight: 700; color: #0f172a; margin-bottom: 2px; letter-spacing: -0.2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-info p { font-size: 11px; color: #64748b; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.category-info p .count { display: inline-block; padding: 2px 7px; background: #eef2ff; color: #4f46e5; border-radius: 99px; font-size: 10px; font-weight: 800; }

/* ============================================
   VARIANTS SECTION
============================================ */

.variants-section { margin-top: 24px; display: none; animation: fadeSlideIn 0.4s ease; }
.variants-section.show { display: block; }
@keyframes fadeSlideIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

.variants-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 18px 20px; background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff; border-radius: 18px 18px 0 0; box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
}

.variants-header-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.variants-header-icon {
    width: 46px; height: 46px; border-radius: 13px;
    background: rgba(255, 255, 255, 0.22); backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    display: flex; align-items: center; justify-content: center;
    font-size: 19px; flex-shrink: 0; overflow: hidden; padding: 8px;
}
.variants-header-text h3 { font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 800; margin-bottom: 3px; }
.variants-header-text p { font-size: 12px; opacity: 0.92; font-weight: 600; }
.variants-close-btn {
    width: 36px; height: 36px; border-radius: 11px;
    background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 14px; transition: 0.2s; padding: 0; flex-shrink: 0;
}
.variants-close-btn:hover { background: rgba(255, 255, 255, 0.35); transform: rotate(90deg); }

.variants-list {
    background: #f8fafc; border: 1.5px solid #e5e7eb; border-top: none;
    border-radius: 0 0 18px 18px; padding: 14px; display: grid; gap: 12px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.variant-item {
    background: #fff; border: 1.5px solid #e5e7eb; border-radius: 16px;
    padding: 18px; display: flex; flex-direction: column; gap: 14px;
    transition: 0.22s; position: relative; overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.variant-item::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.variant-item:hover { border-color: #c7d2fe; box-shadow: 0 10px 26px rgba(99, 102, 241, 0.1); transform: translateY(-2px); }

.variant-top { display: flex; align-items: flex-start; gap: 12px; }
.variant-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff; flex-shrink: 0;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
    position: relative; overflow: hidden;
}
.variant-info { flex: 1; min-width: 0; }
.variant-info h4 { font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 800; color: #0f172a; margin-bottom: 6px; line-height: 1.35; word-break: break-word; }
.variant-info p { font-size: 11.5px; color: #64748b; font-weight: 500; line-height: 1.45; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.variant-price-row { display: flex; align-items: baseline; gap: 6px; padding-top: 2px; }
.variant-price { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 900; color: #0f172a; letter-spacing: -0.5px; line-height: 1; }
.variant-price-unit { font-size: 12px; color: #94a3b8; font-weight: 600; }

.variant-stock-bar { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 10px; font-size: 12.5px; font-weight: 700; border: 1px solid; }
.variant-stock-bar.high { background: #f0fdf4; border-color: #bbf7d0; color: #15803d; }
.variant-stock-bar.medium { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }
.variant-stock-bar.low { background: #fffbeb; border-color: #fde68a; color: #b45309; }
.variant-stock-bar.out { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.variant-stock-left { display: flex; align-items: center; gap: 6px; }
.variant-stock-left::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.variant-stock-right { font-family: 'Outfit', sans-serif; font-weight: 800; }

.variant-buy-btn {
    width: 100%; height: 46px; border-radius: 11px;
    background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
    color: #fff; font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 800;
    border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
    gap: 8px; transition: 0.2s; box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3); letter-spacing: 0.3px;
}
.variant-buy-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(99, 102, 241, 0.4); }
.variant-buy-btn:active:not(:disabled) { transform: translateY(0); }
.variant-buy-btn:disabled { background: #e2e8f0; color: #94a3b8; box-shadow: none; cursor: not-allowed; }

.variants-empty { text-align: center; padding: 40px 20px; color: #94a3b8; }
.variants-empty i { font-size: 32px; color: #cbd5e1; display: block; margin-bottom: 12px; }
.variants-empty p { font-size: 13px; font-weight: 600; }


/* ============================================
   FEATURES
============================================ */

.features-section { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; margin-top: 40px; }

.feature-card {
    background: white; border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px 24px;
    text-align: center; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }

.feature-icon {
    width: 62px; height: 62px; margin: 0 auto 18px;
    background: linear-gradient(135deg, #eef2ff 0%, #ddd6fe 100%);
    color: var(--primary); border-radius: 18px;
    display: flex; align-items: center; justify-content: center; font-size: 24px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-5deg); box-shadow: 0 12px 28px rgba(99, 102, 241, 0.25); }
.feature-card h3 { font-size: 18px; margin-bottom: 10px; font-weight: 800; color: var(--dark); }
.feature-card p { font-size: 14px; color: var(--gray); line-height: 1.6; }


/* ============================================
   FOOTER
============================================ */

.footer {
    background: linear-gradient(180deg, #0a0f1c 0%, #050810 100%);
    color: white; margin-top: 80px; padding-bottom: 100px;
    position: relative; overflow: hidden;
}
.footer::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent); }

.footer-inner { max-width: 1200px; margin: 0 auto; padding: 60px 20px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer .logo h3 { color: white; font-size: 19px; font-weight: 800; }
.footer .logo span { color: var(--gray-light); }
.footer-brand p { color: var(--gray-light); font-size: 14px; margin-top: 16px; max-width: 340px; line-height: 1.7; }

.footer-links h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; color: white; font-weight: 800; }
.footer-links a { display: block; padding: 7px 0; color: var(--gray-light); font-size: 14px; transition: all 0.2s; font-weight: 500; }
.footer-links a:hover { color: white; transform: translateX(4px); }

.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 24px 20px; border-top: 1px solid rgba(148, 163, 184, 0.15); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--gray-light); flex-wrap: wrap; gap: 10px; }
.footer-status { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.footer-status span { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }


/* ============================================
   MOBILE NAV
============================================ */

.mobile-nav {
    display: none; position: fixed; bottom: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border); padding: 8px 12px;
    z-index: 100; justify-content: space-around; box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
}
.mobile-nav a, .mobile-nav button {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    font-size: 11px; font-weight: 700; color: var(--gray); background: none;
    padding: 8px 14px; border-radius: 10px; transition: 0.2s; font-family: inherit;
}
.mobile-nav a:hover, .mobile-nav button:hover { color: var(--primary); background: var(--light-2); }
.mobile-nav i { font-size: 17px; }


/* ============================================
   SUPPORT BUTTON & POPUP
============================================ */

.support-btn {
    position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px;
    border-radius: 50%; background: linear-gradient(135deg, var(--primary) 0%, var(--violet) 100%);
    color: white; font-size: 21px; box-shadow: 0 12px 28px rgba(99, 102, 241, 0.45);
    z-index: 99; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex; align-items: center; justify-content: center;
}
.support-btn:hover { transform: scale(1.1) rotate(10deg); box-shadow: 0 16px 36px rgba(99, 102, 241, 0.55); }

.support-popup-overlay {
    position: fixed; inset: 0; background: rgba(15, 23, 42, 0.4);
    z-index: 99998; display: none; align-items: flex-end; justify-content: flex-end;
    padding: 0 20px 200px;
}
.support-popup-overlay.show { display: flex; }

.support-popup {
    background: #fff; width: 100%; max-width: 300px; border-radius: 18px;
    padding: 16px 16px 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    animation: supportPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); position: relative;
}
@keyframes supportPop { from { opacity: 0; transform: translateY(20px) scale(0.92); } to { opacity: 1; transform: translateY(0) scale(1); } }

.support-popup-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid #f1f5f9; }
.support-popup-header h4 { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 800; color: #0f172a; display: flex; align-items: center; gap: 6px; }
.support-popup-header h4 i { color: #6366f1; font-size: 13px; }
.support-popup-close { width: 28px; height: 28px; border-radius: 8px; background: #f1f5f9; border: none; color: #64748b; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 12px; padding: 0; transition: 0.2s; }
.support-popup-close:hover { background: #fee2e2; color: #dc2626; }

.support-popup-options { display: grid; gap: 8px; }
.support-popup-option { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 12px; text-decoration: none; transition: all 0.18s ease; border: 1.5px solid transparent; cursor: pointer; }
.support-popup-option:hover { transform: translateX(2px); }
.support-popup-option.telegram { background: linear-gradient(135deg, #eff6ff, #dbeafe); border-color: #bfdbfe; }
.support-popup-option.telegram:hover { border-color: #60a5fa; box-shadow: 0 6px 16px rgba(59, 130, 246, 0.15); }
.support-popup-option.whatsapp { background: linear-gradient(135deg, #ecfdf5, #d1fae5); border-color: #a7f3d0; }
.support-popup-option.whatsapp:hover { border-color: #4ade80; box-shadow: 0 6px 16px rgba(34, 197, 94, 0.15); }
.support-popup-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; flex-shrink: 0; }
.support-popup-option.telegram .support-popup-icon { background: linear-gradient(135deg, #229ED9, #1c87b8); }
.support-popup-option.whatsapp .support-popup-icon { background: linear-gradient(135deg, #25d366, #128c7e); }
.support-popup-info { flex: 1; min-width: 0; }
.support-popup-info strong { display: block; font-family: 'Outfit', sans-serif; font-size: 12.5px; font-weight: 800; color: #0f172a; margin-bottom: 1px; }
.support-popup-info span { display: block; font-size: 11px; color: #64748b; font-weight: 600; font-family: monospace; }
.support-popup-arrow { color: #94a3b8; font-size: 11px; flex-shrink: 0; }


/* ============================================
   RESPONSIVE
============================================ */

@media (max-width: 900px) {
    .hero-section { grid-template-columns: 1fr; padding: 50px 20px 40px; text-align: center; gap: 40px; }
    .hero-buttons { justify-content: center; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-visual { align-items: center; }
    .visual-card-small { margin-right: 0; }
    .footer-inner { grid-template-columns: 1fr; gap: 30px; padding: 40px 20px; }
    .desktop-nav { display: none; }
}

@media (max-width: 640px) {
    .header-inner { padding: 10px 12px; gap: 8px; }
    .header-left { gap: 8px; }
    .logo-text span { display: none; }
    .logo-text h1 { font-size: 15px; }
    .logo-icon { width: 38px; height: 38px; font-size: 16px; border-radius: 11px; }
    .hamburger-btn { width: 38px; height: 38px; border-radius: 11px; }
    .hamburger-btn .ham-line { width: 18px; }
    
    .header-actions { gap: 6px; }
    .currency-toggle { height: 36px; min-width: 72px; padding: 0 10px; font-size: 12px; border-radius: 10px; }
    .currency-toggle #curLabel { font-size: 12px; }
    .deposit-btn { height: 36px; padding: 0 12px; font-size: 12px; border-radius: 10px; }
    .deposit-btn i { font-size: 11px; }
    .balance-chip { height: 36px; padding: 0 10px; font-size: 11px; border-radius: 10px; }
    .balance-chip i { font-size: 11px; }
    .login-btn { height: 36px; padding: 0 12px; font-size: 11px; border-radius: 10px; }
    .user-avatar { width: 34px; height: 34px; font-size: 13px; }
    .header-user { gap: 0; }
    .user-dropdown { right: -10px; min-width: 220px; }
    
    .hero-section { padding: 32px 16px 24px; gap: 28px; }
    .hero-logo-icon { width: 54px; height: 54px; }
    .hero-logo-text h1 { font-size: 20px; }
    .hero-logo-block { padding: 8px 18px 8px 8px; gap: 10px; border-radius: 16px; }
    .hero-content h2 { font-size: 28px; letter-spacing: -1px; line-height: 1.1; margin-bottom: 14px; }
    .hero-content p { font-size: 14px; margin-bottom: 22px; line-height: 1.6; }
    .hero-buttons { gap: 10px; }
    .primary-btn, .secondary-btn { padding: 11px 18px; font-size: 13px; border-radius: 11px; gap: 6px; }

    .visual-card { width: 100%; max-width: 300px; padding: 16px 18px; }
    .visual-icon { width: 40px; height: 40px; font-size: 17px; border-radius: 11px; }
    .visual-card strong { font-size: 14px; }
    .visual-card p { font-size: 11.5px; }

    .products-section, .features-section { padding: 32px 16px; }
    .section-heading { margin-bottom: 24px; }
    .section-label { font-size: 10.5px; letter-spacing: 1.5px; }
    .section-heading h2 { font-size: 22px; letter-spacing: -0.7px; }
    .section-heading p { font-size: 13px; }
    .product-count { padding: 7px 12px; font-size: 11.5px; }

    .category-grid { gap: 10px; }
    .category-card { padding: 11px 12px; gap: 10px; }
    .category-icon { width: 38px; height: 38px; font-size: 16px; border-radius: 11px; }
    .category-info h3 { font-size: 12.5px; }
    .category-info p { font-size: 10.5px; }

    .variants-header { padding: 16px; }
    .variants-header-icon { width: 42px; height: 42px; font-size: 17px; padding: 7px; }
    .variants-header-text h3 { font-size: 15px; }
    .variants-header-text p { font-size: 11px; }
    .variant-item { padding: 16px; gap: 12px; border-radius: 14px; }
    .variant-icon { width: 40px; height: 40px; font-size: 16px; border-radius: 11px; }
    .variant-info h4 { font-size: 14px; }
    .variant-info p { font-size: 11px; }
    .variant-price { font-size: 20px; }
    .variant-stock-bar { padding: 10px 12px; font-size: 12px; }
    .variant-buy-btn { height: 44px; font-size: 13px; }

    .features-grid { gap: 14px; margin-top: 24px; }
    .feature-card { padding: 22px 18px; border-radius: 18px; }
    .feature-icon { width: 52px; height: 52px; font-size: 20px; border-radius: 15px; margin-bottom: 14px; }
    .feature-card h3 { font-size: 16px; }
    .feature-card p { font-size: 13px; }

    .footer { margin-top: 50px; padding-bottom: 110px; }
    .footer-inner { padding: 36px 16px 24px; gap: 28px; }
    .footer-brand p { font-size: 13px; }
    .footer-links h4 { font-size: 12px; margin-bottom: 12px; }
    .footer-links a { font-size: 13px; padding: 5px 0; }
    .footer-bottom { padding: 18px 16px; font-size: 12px; flex-direction: column; text-align: center; gap: 8px; }

    .mobile-nav { display: flex; padding: 6px 6px; }
    .mobile-nav a, .mobile-nav button { padding: 6px 8px; font-size: 9.5px; gap: 2px; border-radius: 9px; flex: 1; }
    .mobile-nav i { font-size: 15px; }

    .support-btn { bottom: 82px; right: 14px; width: 46px; height: 46px; font-size: 17px; }
    .support-popup-overlay { padding: 0 14px 180px; }
    .support-popup { max-width: 100%; padding: 14px; }

    .drawer { width: 300px; left: 10px; border-radius: 0 20px 20px 0; transform: translateX(calc(-100% - 10px)); }
}

@media (max-width: 380px) {
    .category-grid { grid-template-columns: 1fr; }
    .logo-text h1 { font-size: 14px; }
    .deposit-btn span { display: none; }
    .deposit-btn { padding: 0 10px; width: 36px; }
    .deposit-btn i { font-size: 14px; }
}