/* ===== Base Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Prevent Horizontal Scrollbar ===== */
html, body {
    overflow-x: hidden;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #0b0f19;
}

::-webkit-scrollbar-thumb {
    background: #3cf2af;
    border-radius: 6px;
    border: 2px solid #0b0f19;
}

::-webkit-scrollbar-thumb:hover {
    background: #5ff7c4;
}

::-webkit-scrollbar-corner {
    background: #0b0f19;
}

/* Firefox */
* {
    scrollbar-width: auto;
    scrollbar-color: #3cf2af #0b0f19;
}

@font-face {
    font-family: 'Ethnocentric';
    src: url('../fonts/ethnocentric.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #0b0f19;
    --bg2: #111827;
    --card: #1a1f35;
    --border: #1e2a4a;
    --text: #e2e8f0;
    --text2: #94a3b8;
    --muted: #64748b;
    --accent: #3cf2af;
    --accent2: #2dd49a;
    --accent-dim: rgba(60, 242, 175, 0.08);
    --red: #ef4444;
    --radius: 12px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(60, 242, 175, 0.06), transparent),
        radial-gradient(ellipse 60% 40% at 0% 60%, rgba(60, 242, 175, 0.03), transparent),
        radial-gradient(ellipse 60% 40% at 100% 80%, rgba(60, 242, 175, 0.03), transparent);
    background-attachment: fixed;
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Footer (Top Bar) ===== */
.footer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1148px;
    height: auto;
    z-index: 0;
    pointer-events: none;
    clip-path: inset(0 0 0 0);
}

.footer-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1148px;
    margin: 0 auto;
    padding: 0 50px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navigation left & right */
.header-nav-left,
.header-nav-right {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    height: 100%;
}

.header-nav-left {
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 60px;
}

.header-nav-right {
    justify-content: flex-end;
    padding-left: 30px;
}

.header-nav-left a,
.header-nav-right a {
    position: relative;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text2);
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: capitalize;
    white-space: nowrap;
}

.header-nav-left a::before,
.header-nav-right a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(to bottom, rgba(60, 242, 175, 0.15) 0%, transparent 100%);
    transition: height 0.3s ease;
    pointer-events: none;
}

.header-nav-left a::after,
.header-nav-right a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 6px solid var(--accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header-nav-left a:hover,
.header-nav-right a:hover {
    color: var(--accent);
}

.header-nav-left a:hover::before,
.header-nav-right a:hover::before {
    height: 100%;
}

.header-nav-left a:hover::after,
.header-nav-right a:hover::after {
    opacity: 1;
}

.header-nav-left a.active,
.header-nav-right a.active {
    color: var(--accent);
}

.header-nav-left a.active::before,
.header-nav-right a.active::before {
    height: 100%;
}

.header-nav-left a.active::after,
.header-nav-right a.active::after {
    opacity: 1;
}

/* Header Search */
.header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px !important;
}

.header-icon svg {
    width: 20px;
    height: 20px;
}

.header-icon::before,
.header-icon::after {
    display: none !important;
}

/* Header Icon Dropdowns */
.header-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.header-icon-wrap .header-icon {
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    transition: color 0.25s ease;
    position: relative;
}
.header-icon-wrap .header-icon:hover {
    color: #3cf2af;
}
.header-separator {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.15);
    margin: 0 10px 0 4px;
}
/* Hide Google Translate UI elements */
.goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }
.skiptranslate { display: none !important; }
/* Keep header & footer always LTR */
.footer.notranslate,
.site-footer.notranslate {
    direction: ltr !important;
    text-align: left !important;
}
.header-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 340px;
    background: rgba(20, 24, 36, .95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    z-index: 1000;
    overflow: hidden;
}
.header-dropdown.active {
    display: block;
}
.dropdown-header {
    padding: 16px 18px;
    font-family: 'Ethnocentric', 'Orbitron', sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    color: #fff;
    text-align: center;
    letter-spacing: 1.5px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dropdown-body {
    padding: 0;
    max-height: 370px;
    overflow-y: auto;
}
.notif-dropdown-body {
    max-height: none;
    overflow-y: visible;
    padding: 0;
}
.notif-dropdown-footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    padding: 12px 0;
}
.notif-dropdown-footer a {
    display: inline !important;
    padding: 0 !important;
    height: auto !important;
    color: var(--accent) !important;
    font-size: 0.82rem !important;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: opacity 0.2s;
}
.notif-dropdown-footer a::before,
.notif-dropdown-footer a::after {
    display: none !important;
    content: none !important;
}
.notif-dropdown-footer a:hover {
    opacity: 0.75;
    color: var(--accent) !important;
}
.dropdown-empty {
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    margin: 0;
    padding: 20px 0;
}

/* Notification badge & items */
.notif-badge {
    position: absolute;
    top: -6px;
    left: -4px;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    background: #ef4444;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 14px;
    text-align: center;
    border-radius: 7px;
    font-family: 'Inter', sans-serif;
    pointer-events: none;
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -6px;
    left: -4px;
    background: #3cf2af;
    color: #111;
    font-size: 9px;
    font-weight: 700;
    min-width: 14px;
    height: 14px;
    line-height: 14px;
    text-align: center;
    border-radius: 7px;
    padding: 0 3px;
    font-family: 'Inter', sans-serif;
    pointer-events: none;
}

.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 28px 18px;
    text-decoration: none;
    border-radius: 0;
    transition: background 0.2s;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.notif-item:last-child {
    border-bottom: none;
}
.notif-item:hover {
    background: rgba(255,255,255,0.05);
}
.notif-unread {
    background: rgba(60,242,175,0.04);
}
.notif-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    margin-top: 2px;
    overflow: hidden;
}
.notif-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.notif-content {
    flex: 1;
    min-width: 0;
}
.notif-msg {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    line-height: 1.45;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.notif-time {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    margin-top: 6px;
}

.dropdown-item {
    display: block;
    padding: 10px 16px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.dropdown-item:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
}
.dropdown-item.active {
    color: #3cf2af;
}

#langDropdown .dropdown-body {
    padding: 8px 10px;
}
#langDropdown .dropdown-item {
    padding: 14px 16px;
    font-size: 0.95rem;
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
    width: 85%;
}

.search-icon {
    position: absolute;
    left: 4px;
    width: 18px;
    height: 18px;
    color: var(--muted);
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-input {
    width: 100%;
    padding: 10px 14px 10px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    background: transparent;
    border: none;
    border-bottom: 1.5px solid rgba(60, 242, 175, 0.15);
    border-radius: 0;
    outline: none;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.search-input::placeholder {
    color: var(--muted);
    font-weight: 400;
}

.search-input:focus {
    border-bottom-color: var(--accent);
}

.search-input:focus ~ .search-icon,
.header-search:focus-within .search-icon {
    color: var(--accent);
}

/* Center Logo */
.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    flex-shrink: 0;
}

.header-logo img,
.header-logo canvas {
    width: 64px;
    height: 64px;
    object-fit: contain;
    padding: 10px;
    border-radius: 50%;
    border: 2px solid rgba(60, 242, 175, 0.35);
    background: rgba(60, 242, 175, 0.04);
    box-shadow: none;
    filter: none;
    transition: all 0.3s ease;
}

.header-logo:hover img,
.header-logo:hover canvas {
    border-color: rgba(60, 242, 175, 0.55);
    box-shadow: 0 0 30px rgba(60, 242, 175, 0.3), 0 0 60px rgba(60, 242, 175, 0.15), inset 0 0 12px rgba(60, 242, 175, 0.08);
    filter: drop-shadow(0 0 20px rgba(60, 242, 175, 0.4));
    transform: scale(1.05);
}

/* Mobile toggle */
.header-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    position: absolute;
    right: 20px;
}

.header-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.header-toggle.open span:nth-child(2) {
    opacity: 0;
}

.header-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: auto;
    max-height: 50vh;
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px;
    z-index: 999;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
    border-bottom: 1px solid rgba(60, 242, 175, 0.1);
    border-radius: 0 0 16px 16px;
}

.mobile-menu.open {
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: slideDown 0.3s ease;
}

.mobile-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text2);
    border-radius: 10px;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--accent);
    background: rgba(60, 242, 175, 0.06);
}

.mobile-menu-badge {
    margin-left: auto;
    background: var(--accent);
    color: #0b0f19;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

.mobile-menu svg {
    flex-shrink: 0;
    stroke: currentColor;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 900px) {
    .header-nav-left,
    .header-nav-right {
        display: none;
    }

    .header-toggle {
        display: flex;
    }

    .footer-img {
        width: auto;
        max-width: none;
        height: 65px;
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-wrapper {
        height: 65px;
    }

    .header-logo img {
        width: 56px;
        height: 56px;
        padding: 8px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .footer-img {
        height: 58px;
    }

    .footer-wrapper {
        height: 58px;
        padding: 0 16px;
    }

    .header-logo img {
        width: 50px;
        height: 50px;
        padding: 7px;
    }

    .mobile-menu {
        top: 58px;
        padding: 20px 16px;
    }

    .mobile-menu a {
        padding: 12px 14px;
        font-size: 0.95rem;
    }

    .header-toggle {
        right: 16px;
        width: 40px;
        height: 40px;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Small phones */
@media (max-width: 400px) {
    .footer-img {
        height: 52px;
    }

    .footer-wrapper {
        height: 52px;
    }

    .header-logo img {
        width: 44px;
        height: 44px;
        padding: 6px;
    }

    .mobile-menu {
        top: 52px;
    }

    .header-toggle {
        right: 12px;
    }
}

/* Landscape phones */
@media (max-height: 500px) and (max-width: 900px) {
    .mobile-menu a {
        padding: 10px 14px;
    }
}

/* Safe area (notch) support */
@supports (padding: env(safe-area-inset-top)) {
    .footer {
        padding-top: env(safe-area-inset-top);
    }

    .mobile-menu {
        padding-bottom: env(safe-area-inset-bottom);
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
}

/* ===== Home Background ===== */
body.home-bg {
    background: #0b0f19 url('/assets/img/main_background.png') center top / cover no-repeat fixed !important;
}

/* ===== Main Background Section ===== */
.main-bg-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== Page content spacer ===== */
.page-content {
    padding-top: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 140px 20px 20px;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
}

.hero-top {
    text-align: center;
    margin-bottom: -15px;
}

.hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-family: 'Ethnocentric', 'Orbitron', sans-serif;
    font-size: 4.2rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 3px;
    margin: 0 0 4px;
}

.hero-tr {
    color: #fff;
}

.hero-zoon {
    color: var(--accent);
}

.hero-tagline {
    font-family: 'Ethnocentric', 'Orbitron', sans-serif;
    font-size: 1.7rem;
    color: var(--accent);
    letter-spacing: 5px;
    text-transform: lowercase;
    opacity: 0.7;
    margin: 0 0 22px;
}

.hero-divider {
    width: 72px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 2px;
    margin-bottom: 22px;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text2);
    line-height: 1.85;
    margin-bottom: 32px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: rgba(60, 242, 175, 0.1);
    border: 1px solid rgba(60, 242, 175, 0.25);
    border-radius: 8px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-btn:hover {
    background: rgba(60, 242, 175, 0.18);
    border-color: rgba(60, 242, 175, 0.5);
    box-shadow: 0 0 30px rgba(60, 242, 175, 0.15);
    transform: translateY(-2px);
}

/* Hero Visual — Animated Orb */
.hero-visual {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-orb {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(60, 242, 175, 0.15);
}

.hero-ring-1 {
    width: 320px;
    height: 320px;
    border-color: rgba(60, 242, 175, 0.08);
    animation: heroSpin 20s linear infinite;
}

.hero-ring-2 {
    width: 258px;
    height: 258px;
    border-color: rgba(60, 242, 175, 0.12);
    border-style: dashed;
    animation: heroSpin 15s linear infinite reverse;
}

.hero-ring-3 {
    width: 196px;
    height: 196px;
    border-color: rgba(60, 242, 175, 0.2);
    animation: heroSpin 10s linear infinite;
}

.hero-ring-1::after,
.hero-ring-2::after,
.hero-ring-3::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--accent), 0 0 20px rgba(60, 242, 175, 0.3);
}

.hero-ring-2::after {
    width: 6px;
    height: 6px;
    top: auto;
    bottom: -3px;
    background: rgba(60, 242, 175, 0.7);
}

.hero-ring-3::after {
    width: 5px;
    height: 5px;
    top: 50%;
    left: -2.5px;
    transform: translateY(-50%);
}

.hero-logo-wrap {
    width: 200px;
    height: 200px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: none;
}

.hero-logo-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 50%;
}

/* Floating Particles */
.hero-particle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0;
    animation: heroFloat 4s ease-in-out infinite;
}

.hero-p1 { width: 4px; height: 4px; top: 20%; left: 10%; animation-delay: 0s; }
.hero-p2 { width: 3px; height: 3px; top: 70%; left: 5%; animation-delay: 0.8s; }
.hero-p3 { width: 5px; height: 5px; top: 15%; right: 8%; animation-delay: 1.6s; }
.hero-p4 { width: 3px; height: 3px; top: 80%; right: 15%; animation-delay: 2.4s; }
.hero-p5 { width: 4px; height: 4px; bottom: 10%; left: 30%; animation-delay: 3.2s; }
.hero-p6 { width: 3px; height: 3px; top: 40%; right: 3%; animation-delay: 1.2s; }

@keyframes heroSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes heroPulse {
    0%, 100% { box-shadow: 0 0 40px rgba(60, 242, 175, 0.1), 0 0 80px rgba(60, 242, 175, 0.05); }
    50% { box-shadow: 0 0 60px rgba(60, 242, 175, 0.2), 0 0 100px rgba(60, 242, 175, 0.1); }
}

@keyframes heroFloat {
    0%, 100% { opacity: 0; transform: translateY(0) scale(1); }
    50% { opacity: 0.8; transform: translateY(-20px) scale(1.5); }
}

@media (max-width: 768px) {
    .hero-section { padding: 80px 20px 10px; }
    .hero-top { margin-bottom: 30px; }
    .hero-bottom { flex-direction: column; text-align: center; gap: 30px; }
    .hero-text { max-width: 100%; }
    .hero-title { font-size: 2.5rem; }
    .hero-divider { margin: 0 auto 20px; }
    .hero-visual { display: none; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-tagline { font-size: 0.8rem; letter-spacing: 2px; }
    .hero-desc { font-size: 0.85rem; }
}

/* ===== Hero Banner ===== */
.hero-banner {
    width: 100%;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* ===== Categories ===== */
.categories {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    padding: 10px 0 0;
}

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 10px 8px;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 0;
}

.cat-item:hover {
    transform: translateY(-6px);
}

.cat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(60, 242, 175, 0.12), rgba(60, 242, 175, 0.03));
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(from 180deg, rgba(60, 242, 175, 0.25), transparent 40%, transparent 60%, rgba(60, 242, 175, 0.15));
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}

.cat-icon::after {
    content: '';
    position: absolute;
    bottom: -8px;
    width: 40px;
    height: 12px;
    border-radius: 50%;
    background: rgba(60, 242, 175, 0.12);
    filter: blur(6px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.cat-item:hover .cat-icon {
    background: radial-gradient(circle at 30% 30%, rgba(60, 242, 175, 0.22), rgba(60, 242, 175, 0.08));
    box-shadow: 0 8px 30px -6px rgba(60, 242, 175, 0.25),
                0 0 40px -10px rgba(60, 242, 175, 0.15);
}

.cat-item:hover .cat-icon::before {
    opacity: 1;
}

.cat-item:hover .cat-icon::after {
    opacity: 1;
}

.cat-icon svg,
.cat-icon img {
    width: 43px;
    height: 43px;
    transition: all 0.35s ease;
    filter: drop-shadow(0 0 0 transparent);
    object-fit: contain;
}

.cat-icon img {
    filter: brightness(0) saturate(100%) invert(82%) sepia(26%) saturate(1236%) hue-rotate(101deg) brightness(99%) contrast(93%);
}

.cat-img-mask {
    display: block;
    width: 43px;
    height: 43px;
    background: #3cf2af;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: all 0.35s ease;
}

.cat-item:hover .cat-img-mask {
    transform: scale(1.08);
    filter: drop-shadow(0 0 8px rgba(60, 242, 175, 0.35));
}

.cat-item:hover .cat-icon svg,
.cat-item:hover .cat-icon img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 8px rgba(60, 242, 175, 0.35));
}

.cat-item:hover .cat-icon img {
    filter: brightness(0) saturate(100%) invert(82%) sepia(26%) saturate(1236%) hue-rotate(101deg) brightness(99%) contrast(93%) drop-shadow(0 0 8px rgba(60, 242, 175, 0.35));
}

.cat-name {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.35s ease;
    white-space: nowrap;
    position: relative;
}

.cat-name::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.cat-item:hover .cat-name {
    color: rgba(255, 255, 255, 0.95);
}

.cat-item:hover .cat-name::after {
    width: 100%;
}

@media (max-width: 900px) {
    .categories {
        flex-wrap: wrap;
        gap: 4px 0;
        padding: 24px 0 32px;
        justify-content: center;
    }
    .cat-item {
        flex: 0 0 25%;
        padding: 16px 12px;
    }
}

@media (max-width: 600px) {
    .page-content {
        padding-top: 16px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-banner {
        margin-top: 58px;
    }

    .hero-img {
        max-height: 200px;
        object-position: center;
    }

    .categories {
        padding: 18px 0;
    }

    .cat-item {
        padding: 14px 8px;
        flex: 0 0 25%;
        gap: 10px;
    }

    .cat-icon {
        width: 52px;
        height: 52px;
    }

    .cat-icon svg {
        width: 26px;
        height: 26px;
    }

    .cat-name {
        font-size: 0.68rem;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 400px) {
    .hero-banner {
        margin-top: 52px;
    }

    .hero-img {
        max-height: 160px;
    }

    .cat-item {
        flex: 0 0 33.333%;
        padding: 12px 6px;
        gap: 8px;
    }

    .cat-icon {
        width: 46px;
        height: 46px;
    }

    .cat-icon svg {
        width: 22px;
        height: 22px;
    }

    .cat-name {
        font-size: 0.62rem;
    }
}

/* ===== Site Footer ===== */
.site-footer {
    margin-top: auto;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(60, 242, 175, 0.06);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(60, 242, 175, 0.12), transparent);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px 36px;
    display: grid;
    grid-template-columns: 1.2fr 3fr;
    gap: 40px;
    align-items: start;
}

.footer-brand {
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 180px;
    height: 55px;
    object-fit: contain;
    margin-left: -10px;
}

.footer-desc {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 320px;
}

.footer-heading {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.heading-bar {
    width: 3px;
    height: 16px;
    background: var(--accent);
    border-radius: 2px;
    display: inline-block;
}

.mt-20 {
    margin-top: 24px;
}

/* Footer Cards */
.footer-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.footer-card {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-card:hover .fcard-text h5 {
    color: var(--accent);
}

.fcard-icon {
    display: none;
}

.footer-mini-col .footer-heading {
    margin-bottom: 12px;
}

.fcard-text h5 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 5px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 7px;
}

.fcard-text h5::before {
    content: '';
    width: 3px;
    height: 14px;
    background: var(--accent);
    border-radius: 2px;
    flex-shrink: 0;
}

.fcard-text p {
    font-size: 0.7rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

/* Socials */
.footer-socials {
    display: flex;
    gap: 6px;
}

.social-link {
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 32px;
    height: 20px;
    color: var(--text);
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.social-link:hover svg {
    color: var(--accent);
    transform: scale(1.1);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
}

.pay-icon {
    padding: 6px;
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pay-icon:hover {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
}

.pay-icon svg {
    width: 32px;
    height: 20px;
    display: block;
    transition: transform 0.3s ease;
}

.pay-icon:hover svg,
.pay-icon:hover img {
    transform: scale(1.1);
}

.pay-icon img {
    width: 32px;
    height: 20px;
    display: block;
    transition: transform 0.3s ease;
}




@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-row {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .footer-mini-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .footer-content {
        gap: 28px;
        padding: 32px 20px 24px;
    }

    .footer-row {
        grid-template-columns: 1fr;
    }

    .site-footer {
        margin-top: 40px;
    }

    .footer-brand-name {
        font-size: 1.3rem;
    }

    .footer-logo-img {
        width: 140px;
        height: 44px;
    }

    .footer-desc {
        font-size: 0.8rem;
    }

    .fcard-text h5 {
        font-size: 0.75rem;
    }

    .fcard-text p {
        font-size: 0.65rem;
    }

    .payment-methods {
        flex-wrap: wrap;
    }
}

/* ===== Home Products Slider ===== */

.home-products {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 60px;
    position: relative;
}

.hp-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 16px;
    padding-left: 2px;
}

.hp-slider-outer {
    position: relative;
}
.hp-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .25s ease;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}
.hp-arrow.visible {
    opacity: 1;
    pointer-events: auto;
}
.hp-arrow-left { left: -52px; }
.hp-arrow-right { right: -52px; }
.hp-arrow:hover {
    background: rgba(255,255,255,.18);
    transform: translateY(-50%) scale(1.1);
}
.hp-arrow:active {
    transform: translateY(-50%) scale(.93);
}

.hp-slider-wrap {
    overflow-x: auto;
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hp-slider-wrap::-webkit-scrollbar {
    display: none;
}

.hp-slider {
    display: flex;
    gap: 20px;
    padding: 10px 0;
}

.hp-card {
    min-width: calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .hp-card {
        min-width: 280px;
        max-width: 280px;
    }
}

@media (max-width: 600px) {
    .hp-slider-wrap {
        overflow-x: visible;
    }
    .hp-slider {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .hp-card {
        min-width: 0;
        max-width: none;
    }
    .hp-arrow {
        display: none;
    }
    .home-products {
        padding: 0 12px 40px;
    }
}

/* ─── Homepage Sections ─── */
.hp-sections {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 24px 100px;
}

.hp-sec {
    margin-bottom: 64px;
    position: relative;
}

.hp-sec:last-child {
    margin-bottom: 0;
}

/* ── Section Header ── */
.hp-sec-head {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    position: relative;
}

.hp-sec-head::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(60,242,175,0.25), transparent);
    border-radius: 2px;
}

.hp-sec-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.hp-sec-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(60, 242, 175, 0.08);
    border: 1px solid rgba(60, 242, 175, 0.12);
    color: #3cf2af;
    flex-shrink: 0;
    position: relative;
}

.hp-sec-icon::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(60,242,175,0.2), transparent 60%);
    z-index: -1;
    opacity: 0.5;
}

.hp-sec-icon-fire {
    background: rgba(251, 146, 60, 0.1);
    border-color: rgba(251, 146, 60, 0.15);
    color: #fb923c;
}

.hp-sec-icon-fire::before {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.2), transparent 60%);
}

.hp-sec-icon-star {
    background: rgba(250, 204, 21, 0.08);
    border-color: rgba(250, 204, 21, 0.12);
    color: #facc15;
}

.hp-sec-icon-star::before {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.15), transparent 60%);
}

.hp-sec-icon-sale {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.hp-sec-icon-sale::before {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), transparent 60%);
}

.hp-sec-title {
    font-family: 'Ethnocentric', 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
}
.hp-sec-accent {
    color: #3cf2af;
}

.hp-sec-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    margin: 2px 0 0;
    letter-spacing: 0.2px;
}

.hp-sec-all {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hp-sec-all:hover {
    color: #3cf2af;
    border-color: rgba(60, 242, 175, 0.2);
    background: rgba(60, 242, 175, 0.06);
    gap: 9px;
}

.hp-sec-sale .hp-sec-all:hover {
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
    background: rgba(239, 68, 68, 0.06);
}

/* ── Product Grid ── */
.hp-sec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ── Product Card ── */
.hpc {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.hpc::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(60,242,175,0.04) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 0;
}

.hpc:hover {
    border-color: rgba(60, 242, 175, 0.15);
    transform: translateY(-6px);
    box-shadow:
        0 16px 40px -8px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(60, 242, 175, 0.08),
        0 0 60px -20px rgba(60, 242, 175, 0.12);
}

.hpc:hover::before {
    opacity: 1;
}

.hp-sec-sale .hpc:hover {
    border-color: rgba(239, 68, 68, 0.15);
    box-shadow:
        0 16px 40px -8px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(239, 68, 68, 0.08),
        0 0 60px -20px rgba(239, 68, 68, 0.12);
}

.hp-sec-sale .hpc::before {
    background: linear-gradient(180deg, rgba(239,68,68,0.04) 0%, transparent 40%);
}

/* Image wrapper */
.hpc-img-wrap {
    position: relative;
    overflow: hidden;
}

.hpc-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hpc:hover .hpc-img {
    transform: scale(1.05);
}

.hpc-noimg {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.015);
}

/* Hover overlay */
.hpc-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 15, 25, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hpc:hover .hpc-overlay {
    opacity: 1;
}

.hpc-view {
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    padding: 8px 20px;
    border-radius: 8px;
    background: rgba(60, 242, 175, 0.15);
    border: 1px solid rgba(60, 242, 175, 0.3);
    letter-spacing: 0.5px;
    transform: translateY(8px);
    transition: transform 0.3s ease;
}

.hpc:hover .hpc-view {
    transform: translateY(0);
}

/* Badges */
.hpc-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hpc-badge-new {
    background: rgba(60, 242, 175, 0.15);
    border: 1px solid rgba(60, 242, 175, 0.25);
    color: #3cf2af;
}

.hpc-badge-top {
    background: rgba(251, 146, 60, 0.15);
    border: 1px solid rgba(251, 146, 60, 0.25);
    color: #fb923c;
}

.hpc-badge-sale {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
}

/* Body */
.hpc-body {
    padding: 14px 16px 16px;
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hpc-cat {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(60, 242, 175, 0.5);
    margin-bottom: 6px;
}

.hpc-name {
    font-size: 0.92rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 auto;
    padding-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.25s ease;
}

.hpc:hover .hpc-name {
    color: #fff;
}

.hpc-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hpc-author {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
}

.hpc-author-accent {
    color: rgba(60, 242, 175, 0.7);
    font-weight: 500;
    transition: color 0.25s ease;
}

.hpc:hover .hpc-author-accent {
    color: #3cf2af;
}

.hpc-prices {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hpc-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #3cf2af;
}

.hpc-price-old {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.25);
    text-decoration: line-through;
}

.hpc-free {
    color: #3cf2af;
}

.hp-sec-sale .hpc-price {
    color: #ef4444;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .hp-sec-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .hp-sec-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .hp-sec-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .hp-sec-title {
        font-size: 1.05rem;
    }
    .hp-sec-desc {
        display: none;
    }
    .hp-sections {
        padding: 10px 12px 60px;
    }
    .hp-sec {
        margin-bottom: 48px;
    }
    .hp-sec-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }
    .hpc-body {
        padding: 10px 10px 12px;
    }
    .hpc-name {
        font-size: 0.8rem;
    }
    .hpc-author {
        font-size: 0.68rem;
    }
    .hpc-price {
        font-size: 0.78rem;
    }
    .hpc-price-old {
        font-size: 0.65rem;
    }
}

.search-dropdown{display:none;position:absolute;top:calc(100% + 10px);left:-10px;right:-10px;background:rgba(255,255,255,.05);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border:1px solid rgba(255,255,255,.08);border-radius:14px;overflow:hidden;z-index:100;box-shadow:0 16px 48px rgba(0,0,0,.5);padding:0}
.sd-items-wrap{max-height:264px;overflow-y:auto;padding:8px 0;scrollbar-width:none;-ms-overflow-style:none}
.sd-items-wrap::-webkit-scrollbar{display:none}
.sd-item{display:flex;align-items:center;gap:14px;padding:10px 16px;margin:4px 8px;text-decoration:none;cursor:pointer;border-radius:10px;position:relative}
.sd-item:hover{background:none}
.sd-item::before,.sd-item::after,.sd-all::before,.sd-all::after{display:none!important;content:none!important}
.sd-thumb{width:42px;height:42px;border-radius:8px;object-fit:cover;flex-shrink:0}
.sd-thumb-ph{width:42px;height:42px;border-radius:8px;background:rgba(255,255,255,.04);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.sd-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.sd-name{color:var(--text);font-size:.88rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sd-cat{color:var(--muted);font-size:.72rem;font-weight:500;text-transform:uppercase;letter-spacing:.5px}
.sd-price{color:var(--muted);font-size:.84rem;font-weight:600;flex-shrink:0}
.sd-free{color:var(--accent)}
.sd-all{display:block;text-align:center;padding:12px 16px;margin:8px 0 0;color:var(--text);font-size:.8rem;font-weight:600;text-decoration:none;border-top:none;letter-spacing:.3px;width:100%;box-sizing:border-box}
.sd-all:hover{background:none}
.sd-empty{padding:24px 16px;text-align:center;color:var(--muted);font-size:.86rem}
