/* =============================================
   GOAT GUARD - Premium TCG Accessories
   Awwwards-Level Design System
   ============================================= */

/* CSS Variables */
:root {
    /* Colors */
    --color-black: #0a0a0a;
    --color-white: #ffffff;
    --color-gray-50: #fafafa;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e5e5e5;
    --color-gray-300: #d4d4d4;
    --color-gray-400: #a3a3a3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-gray-700: #404040;
    --color-gray-800: #262626;
    --color-gray-900: #171717;
    
    --color-accent: #000000;
    --color-success: #10b981;
    --color-error: #ef4444;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);
    
    --duration-fast: 0.15s;
    --duration-base: 0.3s;
    --duration-slow: 0.5s;
    --duration-slower: 0.8s;
    
    /* Layout */
    --header-height: 80px;
    --container-max: 1400px;
    --container-padding: clamp(1.5rem, 4vw, 3rem);
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
}

/* Scroll Parallax Layers */
.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    will-change: transform;
}

.parallax-content {
    position: relative;
    z-index: 1;
}

/* Depth layers for parallax effect */
[data-parallax-depth="far"] {
    will-change: transform;
    transform: translateZ(-200px) scale(1.2);
}

[data-parallax-depth="mid"] {
    will-change: transform;
    transform: translateZ(-100px) scale(1.1);
}

[data-parallax-depth="near"] {
    will-change: transform;
    transform: translateZ(0);
}

/* Smooth scrolling optimization */
.hero,
.about,
.categories,
.products {
    will-change: transform;
    transform: translateZ(0);
}

/* Image parallax container */
.about-image,
.category-image {
    overflow: hidden;
}

.about-image img,
.category-image img {
    will-change: transform;
    transform: scale(1.15);
    transition: transform 0.1s linear;
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Lenis Smooth Scroll Styles */
html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Custom Cursor */
.cursor,
.cursor-follower {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .cursor,
    .cursor-follower {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 10000;
        mix-blend-mode: difference;
    }
    
    .cursor {
        width: 8px;
        height: 8px;
        background-color: var(--color-white);
        border-radius: 50%;
        transform: translate(-50%, -50%);
    }
    
    .cursor-follower {
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.3s var(--ease-out-expo), 
                    height 0.3s var(--ease-out-expo),
                    border-color 0.3s;
    }
    
    .cursor-follower.hover {
        width: 60px;
        height: 60px;
        border-color: var(--color-white);
    }
    
}

/* =============================================
   Loader - Typography Impact (Enemy Warning)
   ============================================= */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s var(--ease-out-expo), 
                visibility 0.8s;
    overflow: hidden;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    width: 100%;
    gap: 2rem;
}

/* Enemy Words Row */
.loader-enemies {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    will-change: transform;
    transform: translateZ(0);
}

.enemy-word {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.02em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(15px);
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Staggered enemy word animations - GPU optimized (3 second total) */
.enemy-1 { animation: wordFadeUp 0.6s ease-out 0.2s forwards; }
.enemy-2 { animation: wordFadeUp 0.6s ease-out 0.5s forwards; }
.enemy-3 { animation: wordFadeUp 0.6s ease-out 0.8s forwards; }

@keyframes wordFadeUp {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Destroy Message */
.loader-destroy {
    opacity: 0;
    transform: translateY(10px);
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    animation: fadeUp 0.6s ease-out 1.2s forwards;
}

.destroy-text {
    font-family: var(--font-display);
    font-size: clamp(1rem, 4vw, 1.75rem);
    font-weight: 600;
    color: var(--color-gray-500);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.destroy-dot {
    font-family: var(--font-display);
    font-size: clamp(1rem, 4vw, 1.75rem);
    font-weight: 600;
    color: var(--color-gray-600);
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Brand Reveal */
.loader-brand {
    position: absolute;
    bottom: 12%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    opacity: 0;
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    animation: brandFadeUp 0.6s ease-out 1.8s forwards;
}

.brand-goat {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.brand-guard {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-gray-500);
    letter-spacing: -0.02em;
}

.brand-line {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 50px;
    height: 2px;
    background: var(--color-gray-700);
    animation: lineSmoothExpand 0.5s cubic-bezier(0.16, 1, 0.3, 1) 2.2s forwards;
}

@keyframes brandSmoothReveal {
    0% {
        opacity: 0;
        filter: blur(5px);
        transform: translateX(-50%) translateY(10px);
    }
    60% {
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes lineSmoothExpand {
    0% {
        transform: translateX(-50%) scaleX(0);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) scaleX(1);
        opacity: 1;
    }
}

@keyframes lineExpand {
    0% {
        transform: translateX(-50%) scaleX(0);
    }
    100% {
        transform: translateX(-50%) scaleX(1);
    }
}

@keyframes brandFadeUp {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Loader Exit Animation */
.loader.hidden .loader-content {
    animation: loaderExit 0.6s var(--ease-out-expo) forwards;
}

@keyframes loaderExit {
    0% { 
        opacity: 1; 
        transform: scale(1); 
    }
    100% { 
        opacity: 0; 
        transform: scale(0.9) translateY(-20px); 
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: background-color 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.header-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    z-index: 1001;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s var(--ease-out-expo), filter 0.3s;
    mix-blend-mode: multiply;
    background: transparent;
}

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

/* Text Logo Styles */
.logo.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none;
    transition: transform 0.3s var(--ease-out-expo);
}

.logo.logo-text:hover {
    transform: scale(1.02);
}

.logo-goat {
    color: var(--color-black);
    transition: color 0.3s;
}

.logo-guard {
    color: var(--color-gray-400);
    font-weight: 600;
    transition: color 0.3s;
}

.logo.logo-text:hover .logo-goat {
    color: var(--color-gray-700);
}

.logo.logo-text:hover .logo-guard {
    color: var(--color-gray-500);
}

/* Alternative: Add subtle separator */
.logo-goat::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 0.8em;
    background: var(--color-gray-300);
    margin: 0 0.15em;
    vertical-align: middle;
    opacity: 0;
    transition: opacity 0.3s;
}

.logo.logo-text:hover .logo-goat::after {
    opacity: 1;
}

/* Navigation */
.nav {
    display: none;
}

@media (min-width: 1024px) {
    .nav {
        display: block;
    }
}

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-600);
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-black);
}

.nav-link-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-black);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover .nav-link-line,
.nav-link.active .nav-link-line {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-btn {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    border-radius: var(--radius-full);
    transition: background-color 0.3s, color 0.3s;
}

.header-btn:hover {
    background-color: var(--color-gray-100);
}

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

.cart-count {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--color-white);
    background-color: var(--color-black);
    border-radius: var(--radius-full);
    transition: transform 0.3s var(--ease-out-expo);
}

.cart-count.bump {
    animation: bump 0.3s var(--ease-out-expo);
}

@keyframes bump {
    50% { transform: scale(1.3); }
}

/* Menu Toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 12px;
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }
}

.menu-line {
    width: 100%;
    height: 2px;
    background-color: var(--color-black);
    transform-origin: center;
    transition: transform 0.3s var(--ease-out-expo), opacity 0.3s;
}

.menu-toggle.active .menu-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    pointer-events: none;
}

.mobile-menu.active {
    pointer-events: auto;
}

.mobile-menu-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-black);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-expo);
}

.mobile-menu.active .mobile-menu-bg {
    opacity: 1;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 480px;
    height: 100%;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-3xl);
    transform: translateX(100%);
    transition: transform 0.6s var(--ease-out-expo);
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid var(--color-gray-200);
    overflow: hidden;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.4s, transform 0.4s var(--ease-out-expo);
}

.mobile-menu.active .mobile-nav-link {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu.active .mobile-nav-item:nth-child(1) .mobile-nav-link { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav-item:nth-child(2) .mobile-nav-link { transition-delay: 0.15s; }
.mobile-menu.active .mobile-nav-item:nth-child(3) .mobile-nav-link { transition-delay: 0.2s; }

.mobile-nav-index {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gray-400);
}

.mobile-nav-text {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 600;
    color: var(--color-black);
    transition: color 0.3s;
}

.mobile-nav-link:hover .mobile-nav-text {
    color: var(--color-gray-500);
}

.mobile-menu-footer {
    margin-top: auto;
    padding-top: var(--space-2xl);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s 0.3s, transform 0.4s 0.3s var(--ease-out-expo);
}

.mobile-menu.active .mobile-menu-footer {
    opacity: 1;
    transform: translateY(0);
}

.mobile-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mobile-email {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

/* Social Icons */
.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--color-gray-600);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}

.social-icon:hover {
    color: var(--color-black);
    border-color: var(--color-black);
    background-color: var(--color-gray-100);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-4xl);
    overflow: hidden;
    background: var(--color-white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* Animated Gradient Orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: orbFloat 20s ease-in-out infinite;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(100, 100, 100, 0.06) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: -7s;
}

.hero-orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(50, 50, 50, 0.05) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(-30px, -20px) scale(1.02);
    }
}

/* Floating Particles */
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: -2s; animation-duration: 14s; }
.particle:nth-child(3) { left: 30%; animation-delay: -4s; animation-duration: 11s; }
.particle:nth-child(4) { left: 40%; animation-delay: -6s; animation-duration: 16s; }
.particle:nth-child(5) { left: 50%; animation-delay: -8s; animation-duration: 13s; }
.particle:nth-child(6) { left: 60%; animation-delay: -10s; animation-duration: 15s; }
.particle:nth-child(7) { left: 70%; animation-delay: -12s; animation-duration: 12s; }
.particle:nth-child(8) { left: 80%; animation-delay: -14s; animation-duration: 17s; }
.particle:nth-child(9) { left: 90%; animation-delay: -1s; animation-duration: 14s; }
.particle:nth-child(10) { left: 15%; animation-delay: -3s; animation-duration: 13s; }
.particle:nth-child(11) { left: 25%; animation-delay: -5s; animation-duration: 16s; }
.particle:nth-child(12) { left: 35%; animation-delay: -7s; animation-duration: 11s; }
.particle:nth-child(13) { left: 55%; animation-delay: -9s; animation-duration: 15s; }
.particle:nth-child(14) { left: 75%; animation-delay: -11s; animation-duration: 12s; }
.particle:nth-child(15) { left: 85%; animation-delay: -13s; animation-duration: 14s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Animated Grid Lines */
.hero-grid-animated {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.grid-line {
    position: absolute;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.03) 50%, transparent 100%);
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
    animation: gridSlideHorizontal 8s linear infinite;
}

.grid-line.horizontal:nth-child(1) { top: 25%; animation-delay: 0s; }
.grid-line.horizontal:nth-child(2) { top: 50%; animation-delay: -2.5s; }
.grid-line.horizontal:nth-child(3) { top: 75%; animation-delay: -5s; }

.grid-line.vertical {
    height: 100%;
    width: 1px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.03) 50%, transparent 100%);
    animation: gridSlideVertical 10s linear infinite;
}

.grid-line.vertical:nth-child(4) { left: 25%; animation-delay: 0s; }
.grid-line.vertical:nth-child(5) { left: 50%; animation-delay: -3.3s; }
.grid-line.vertical:nth-child(6) { left: 75%; animation-delay: -6.6s; }

@keyframes gridSlideHorizontal {
    0% { transform: translateX(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

@keyframes gridSlideVertical {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

/* Noise Texture */
.hero-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Logo Background with Parallax */
.hero-logo-bg {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 65%;
    max-width: 800px;
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.hero-logo-img {
    width: 100%;
    height: auto;
    opacity: 0.12;
    filter: grayscale(100%) contrast(1.2) brightness(0.9);
    transition: transform 0.1s ease-out, opacity 0.3s ease;
    will-change: transform;
    transform-style: preserve-3d;
}

.hero-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.02) 40%,
        transparent 70%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-logo-bg:hover .hero-logo-glow,
.hero-logo-bg.active .hero-logo-glow {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1023px) {
    .hero-logo-bg {
        width: 90%;
        max-width: 500px;
        left: 50% !important;
        right: auto !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
    
    .hero-logo-img {
        opacity: 0.08;
    }
}

@media (max-width: 767px) {
    .hero-logo-bg {
        width: 100%;
        max-width: 380px;
        left: 50% !important;
        right: auto !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
    
    .hero-logo-img {
        opacity: 0.06 !important;
    }
    
    /* Text shadow for better readability */
    .hero-title,
    .title-line,
    .hero-description,
    .hero-badge,
    .badge-text {
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    }
}

/* Hero Container */
.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    background-color: var(--color-gray-100);
    border-radius: var(--radius-full);
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-gray-600);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    perspective: 1000px;
    /* White outline effect - slightly thicker for headline */
    text-shadow: 
        3px 0 0 #ffffff, 
        -3px 0 0 #ffffff, 
        0 3px 0 #ffffff, 
        0 -3px 0 #ffffff, 
        2px 2px 0 #ffffff, 
        -2px -2px 0 #ffffff, 
        2px -2px 0 #ffffff, 
        -2px 2px 0 #ffffff;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line.highlight {
    color: var(--color-gray-400);
}

/* Split Text Animation Styles */
.split-char {
    display: inline-block;
    transform-origin: center bottom;
    will-change: transform, opacity;
    transition: color 0.3s;
}

.split-char.highlight {
    color: var(--color-gray-400);
}

/* Hover effect on split characters */
.hero-title:hover .split-char {
    animation: charWave 0.5s ease forwards;
    animation-delay: calc(var(--char-index) * 0.02s);
}

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

/* Split word animation for section titles */
.split-word {
    display: inline-block;
    transform-origin: center bottom;
    will-change: transform, opacity;
}

.section-title {
    perspective: 800px;
}

.hero-description {
    max-width: 500px;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
    color: #000000; /* Pure Black */
    font-weight: 600; /* Bolder for better outline */
    margin-bottom: 2.5rem;
    /* White outline effect */
    text-shadow: 
        2px 0 0 #ffffff, 
        -2px 0 0 #ffffff, 
        0 2px 0 #ffffff, 
        0 -2px 0 #ffffff, 
        1px 1px 0 #ffffff, 
        -1px -1px 0 #ffffff, 
        1px -1px 0 #ffffff, 
        -1px 1px 0 #ffffff;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-scroll {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.scroll-text {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gray-500);
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-gray-300);
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background-color: var(--color-black);
    border-radius: var(--radius-full);
    animation: scrollBounce 1.5s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.3; }
}

/* Hero Visual - 3D Cards */
.hero-visual {
    display: none;
    position: relative;
    height: 500px;
    perspective: 1000px;
}

@media (min-width: 1024px) {
    .hero-visual {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.hero-cards-3d {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

/* 3D Card Base Styles */
.hero-card-3d {
    position: absolute;
    width: 180px;
    height: 250px;
    transform-style: preserve-3d;
    transition: transform 0.6s var(--ease-out-expo);
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.card-front {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 50%, #f0f0f0 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    overflow: hidden;
    backface-visibility: hidden;
}

/* Holographic Shine Effect */
.card-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 255, 255, 0.3) 35%,
        rgba(255, 255, 255, 0.5) 40%,
        rgba(255, 255, 255, 0.3) 45%,
        transparent 60%
    );
    transform: translateX(-100%);
    animation: cardShine 4s ease-in-out infinite;
}

@keyframes cardShine {
    0%, 100% { transform: translateX(-100%) rotate(25deg); }
    50% { transform: translateX(100%) rotate(25deg); }
}

/* Card Content */
.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    text-align: center;
}

.card-label {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.card-type {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    opacity: 0.7;
}

/* Main Card */
.card-main {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(-5deg) rotateX(5deg);
    z-index: 5;
    animation: cardMainFloat 6s ease-in-out infinite;
}

@keyframes cardMainFloat {
    0%, 100% {
        transform: translate(-50%, -50%) rotateY(-5deg) rotateX(5deg) translateZ(0);
    }
    50% {
        transform: translate(-50%, -52%) rotateY(-8deg) rotateX(8deg) translateZ(20px);
    }
}

.card-main:hover {
    transform: translate(-50%, -50%) rotateY(0deg) rotateX(0deg) scale(1.05);
}

/* Secondary Cards */
.card-secondary {
    width: 160px;
    height: 220px;
    opacity: 0.8;
}

.card-secondary .card-front {
    background: linear-gradient(145deg, #f5f5f5 0%, #e8e8e8 100%);
}

.card-left {
    top: 45%;
    left: 20%;
    transform: translate(-50%, -50%) rotateY(15deg) rotateX(-5deg);
    z-index: 3;
    animation: cardLeftFloat 7s ease-in-out infinite;
}

@keyframes cardLeftFloat {
    0%, 100% {
        transform: translate(-50%, -50%) rotateY(15deg) rotateX(-5deg);
    }
    50% {
        transform: translate(-52%, -48%) rotateY(20deg) rotateX(-8deg);
    }
}

.card-right {
    top: 55%;
    left: 80%;
    transform: translate(-50%, -50%) rotateY(-15deg) rotateX(5deg);
    z-index: 3;
    animation: cardRightFloat 8s ease-in-out infinite;
}

@keyframes cardRightFloat {
    0%, 100% {
        transform: translate(-50%, -50%) rotateY(-15deg) rotateX(5deg);
    }
    50% {
        transform: translate(-48%, -52%) rotateY(-20deg) rotateX(8deg);
    }
}

/* Tertiary Cards (Background) */
.card-tertiary {
    width: 140px;
    height: 190px;
    opacity: 0.5;
}

.card-tertiary .card-front {
    background: linear-gradient(145deg, #e8e8e8 0%, #d4d4d4 100%);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.15);
}

.card-back-left {
    top: 35%;
    left: 10%;
    transform: translate(-50%, -50%) rotateY(25deg) rotateX(-10deg);
    z-index: 1;
    animation: cardBackFloat 9s ease-in-out infinite;
}

.card-back-right {
    top: 65%;
    left: 90%;
    transform: translate(-50%, -50%) rotateY(-25deg) rotateX(10deg);
    z-index: 1;
    animation: cardBackFloat 10s ease-in-out infinite reverse;
}

@keyframes cardBackFloat {
    0%, 100% {
        transform: translate(-50%, -50%) rotateY(25deg) rotateX(-10deg);
    }
    50% {
        transform: translate(-50%, -55%) rotateY(30deg) rotateX(-15deg);
    }
}

/* Glow Effects */
.hero-glow-primary {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(40px);
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
}

.hero-glow-secondary {
    position: absolute;
    top: 40%;
    left: 60%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(100, 100, 100, 0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(30px);
    z-index: 0;
    animation: glowPulse 5s ease-in-out infinite reverse;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

/* =============================================
   Hero Showcase - Category Preview
   ============================================= */
.hero-showcase {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 1024px) {
    .hero-showcase {
        display: flex;
    }
}

/* Category Preview Cards */
.hero-categories {
    display: flex;
    gap: 1rem;
}

.hero-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all 0.4s var(--ease-out-expo);
    cursor: pointer;
}

.hero-category-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-black);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.hero-category-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
    font-size: 1.25rem;
    color: var(--color-gray-600);
    transition: all 0.4s var(--ease-out-expo);
}

.hero-category-card:hover .hero-category-icon {
    background: var(--color-black);
    color: var(--color-white);
    transform: scale(1.1);
}

.hero-category-name {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-black);
    letter-spacing: -0.01em;
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    overflow: hidden;
    z-index: 10;
    color: var(--color-white);
}

.hero-wave svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
}

/* Buttons */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--color-white);
    background-color: var(--color-black);
}

.btn-primary:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-gray-800);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out-expo);
}

.btn-primary:hover::before {
    transform: translateY(0);
}

.btn-text,
.btn-icon {
    position: relative;
    z-index: 1;
}

.btn-icon {
    display: flex;
    transition: transform 0.3s var(--ease-out-expo);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

.btn-ghost {
    color: var(--color-black);
    border: 1px solid var(--color-gray-300);
    background-color: transparent;
}

.btn-ghost:hover {
    border-color: var(--color-black);
    background-color: var(--color-gray-100);
}

.btn-outline {
    color: var(--color-black);
    border: 1px solid var(--color-black);
    background-color: transparent;
}

.btn-outline:hover {
    color: var(--color-white);
    background-color: var(--color-black);
}

.btn-block {
    width: 100%;
}

.btn-loading {
    display: none;
}

.btn.loading .btn-text,
.btn.loading .btn-icon {
    opacity: 0;
}

.btn.loading .btn-loading {
    display: flex;
    position: absolute;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Ripple Effect */
.btn,
.filter-btn,
.product-action-btn,
.newsletter-btn,
.category-card {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
    transform: scale(0);
    animation: rippleAnimation 0.6s ease-out forwards;
    pointer-events: none;
}

.btn-primary .ripple-effect {
    background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, transparent 70%);
}

.btn-ghost .ripple-effect,
.btn-outline .ripple-effect,
.filter-btn .ripple-effect {
    background: radial-gradient(circle, rgba(0,0,0,0.15) 0%, transparent 70%);
}

@keyframes rippleAnimation {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Icon Micro-animations */
@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes iconShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.header-btn:hover svg,
.modal-close:hover svg,
.cart-close:hover svg {
    animation: iconPulse 0.3s ease;
}

/* Category icon hover */
.category-card:hover .category-icon {
    animation: iconShake 0.4s ease;
}

.category-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}

.category-card:hover .category-icon svg {
    stroke-width: 2;
}

/* Payment icons animation */
.footer-payments i {
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.6;
}

.footer-payments i:hover {
    transform: translateY(-4px) scale(1.1);
    opacity: 1;
}

/* Scroll indicator bounce */
.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

/* Badge pulse */
.product-badge {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0.2); }
    50% { box-shadow: 0 0 0 6px rgba(0,0,0,0); }
}

/* Cart count bounce on update */
.cart-count.updated {
    animation: countBounce 0.4s ease;
}

@keyframes countBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Magnetic Button Effect */
.magnetic-element {
    will-change: transform;
    transition: box-shadow 0.3s var(--ease-out-expo);
}

.magnetic-element:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Magnetic glow effect for hero buttons */
.magnetic-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    background: radial-gradient(
        circle 80px at var(--glow-x, 50%) var(--glow-y, 50%),
        rgba(255, 255, 255, 0.4) 0%,
        transparent 70%
    );
    z-index: 1;
}

.btn-primary .magnetic-glow {
    background: radial-gradient(
        circle 80px at var(--glow-x, 50%) var(--glow-y, 50%),
        rgba(255, 255, 255, 0.3) 0%,
        transparent 70%
    );
}

/* Cursor changes for magnetic elements */
.magnetic-element {
    cursor: none;
}

/* Ripple effect on click */
.magnetic-element::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: none;
}

.magnetic-element:active::after {
    transform: translate(-50%, -50%) scale(40);
    opacity: 1;
    transition: transform 0.5s, opacity 0.3s;
}

.btn-primary.magnetic-element::after {
    background: rgba(255, 255, 255, 0.2);
}

/* Magnetic pull visual feedback */
@keyframes magneticPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.1);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* Marquee */
.marquee {
    padding: var(--space-xl) 0;
    background-color: var(--color-black);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding-right: 3rem;
    white-space: nowrap;
}

.marquee-item {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 500;
    color: var(--color-white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.marquee-divider {
    color: var(--color-gray-600);
}

/* Categories */
.categories {
    padding: var(--space-5xl) 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    background-color: var(--color-gray-50);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform 0.5s var(--ease-out-expo);
}

.category-card:hover {
    transform: translateY(-8px);
}

.category-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-black);
    transform: translateY(100%);
    transition: transform 0.5s var(--ease-out-expo);
}

.category-card:hover .category-bg {
    transform: translateY(0);
}

.category-icon {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
    color: var(--color-black);
    transition: color 0.4s;
}

.category-card:hover .category-icon {
    color: var(--color-white);
}

.category-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.category-count {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gray-500);
    margin-bottom: 0.5rem;
    transition: color 0.4s;
}

.category-card:hover .category-count {
    color: var(--color-gray-400);
}

.category-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.4s;
}

.category-card:hover .category-title {
    color: var(--color-white);
}

.category-desc {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin-bottom: 1.5rem;
    transition: color 0.4s;
}

.category-card:hover .category-desc {
    color: var(--color-gray-400);
}

.category-arrow {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--color-white);
    border-radius: var(--radius-full);
    color: var(--color-black);
    align-self: flex-start;
    transition: transform 0.4s var(--ease-out-expo);
}

.category-card:hover .category-arrow {
    transform: rotate(45deg);
}

/* Section Header */
.section-header {
    margin-bottom: var(--space-3xl);
}

.section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.label-line {
    width: 40px;
    height: 1px;
    background-color: var(--color-black);
}

.label-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gray-600);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    perspective: 800px;
}

.section-title .split-word {
    display: inline-block;
    transform-origin: center bottom;
    will-change: transform, opacity;
}

/* Products Section */
.products {
    padding: var(--space-5xl) 0;
    background-color: var(--color-white);
}

.products-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: var(--space-3xl);
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-gray-600);
    background-color: var(--color-gray-100);
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease-out-expo);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--color-white);
    background-color: var(--color-black);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.products-loading,
.products-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-4xl);
    gap: 1rem;
    color: var(--color-gray-500);
}

.products-loading svg {
    animation: spin 1s linear infinite;
}

.products-empty {
    display: none;
}

.products-empty.visible {
    display: flex;
}

/* Product Card */
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-xl);
    overflow: visible;
    transition: transform 0.4s cubic-bezier(0.03, 0.98, 0.52, 0.99),
                box-shadow 0.4s ease;
    transform-style: preserve-3d;
    will-change: transform;
}

/* 3D Card Tilt Effect */
.product-card.card-3d-tilt {
    cursor: pointer;
}

.product-card.card-3d-tilt:hover {
    z-index: 10;
}

/* Shine/Glare overlay effect */
.card-shine-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-xl);
    pointer-events: none;
    opacity: 0;
    z-index: 3;
    transition: opacity 0.4s ease;
    mix-blend-mode: overlay;
}

/* Glow/Shadow effect */
.card-glow-effect {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: calc(var(--radius-xl) + 10px);
    pointer-events: none;
    opacity: 0;
    z-index: -1;
    filter: blur(20px);
    transition: opacity 0.4s ease;
}

/* Enhanced hover shadow for 3D effect */
.product-card.card-3d-tilt:hover {
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 12px 24px -8px rgba(0, 0, 0, 0.1);
}

/* Card inner content lift effect */
.product-card.card-3d-tilt .product-image-wrapper {
    transform: translateZ(20px);
    transition: transform 0.4s ease;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.product-card.card-3d-tilt .product-info {
    transform: translateZ(30px);
    transition: transform 0.4s ease;
}

/* Disable default hover effect when using 3D tilt */
.product-card.card-3d-tilt:hover {
    /* Override the default translateY */
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    background-color: var(--color-gray-100);
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    background-color: var(--color-black);
    border-radius: var(--radius-sm);
}

.product-actions {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s var(--ease-out-expo);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-action-btn {
    flex: 1;
    padding: 0.875rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-black);
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    transition: all 0.3s;
}

.product-action-btn:hover {
    background-color: var(--color-gray-100);
}

.product-action-btn.primary {
    color: var(--color-white);
    background-color: var(--color-black);
}

.product-action-btn.primary:hover {
    background-color: var(--color-gray-800);
}

.product-info {
    padding: 1.5rem 0;
}

.product-category {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gray-500);
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
}

/* About Section */
.about {
    padding: var(--space-5xl) 0;
    background-color: var(--color-gray-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4xl);
}

@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-5xl);
    }
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-gray-600);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--color-gray-200);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gray-500);
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-gray-500);
    margin-top: 0.5rem;
}

/* Features */
.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}

.feature:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-black);
    color: var(--color-white);
    border-radius: var(--radius-md);
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-text {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: var(--space-5xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4xl);
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-5xl);
    }
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.contact-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-gray-600);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-gray-100);
    border-radius: var(--radius-md);
    color: var(--color-black);
}

.contact-item-content {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.contact-link,
.contact-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-black);
}

.contact-link {
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--color-gray-600);
}

.contact-social {
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-200);
}

.social-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--color-gray-600);
    background-color: var(--color-gray-100);
    border-radius: var(--radius-full);
    transition: all 0.3s;
}

.social-link:hover {
    color: var(--color-white);
    background-color: var(--color-black);
}

/* Contact Form */
.contact-form-wrapper {
    padding: 2.5rem;
    background-color: var(--color-gray-50);
    border-radius: var(--radius-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-gray-600);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem 0;
    font-size: 1rem;
    color: var(--color-black);
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--color-gray-300);
    outline: none;
    transition: border-color 0.3s;
}

.form-input::placeholder {
    color: var(--color-gray-400);
}

.form-input:focus {
    border-color: var(--color-black);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-black);
    transition: width 0.3s var(--ease-out-expo);
}

.form-input:focus ~ .form-line {
    width: 100%;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    margin-top: 1rem;
    align-self: flex-start;
}

/* Newsletter - Enhanced */
.newsletter {
    position: relative;
    padding: var(--space-5xl) 0;
    background-color: var(--color-black);
    overflow: hidden;
}

.newsletter-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.newsletter-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.02) 0%, transparent 50%);
    animation: patternPulse 8s ease-in-out infinite;
}

@keyframes patternPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.newsletter-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 50%;
    color: var(--color-white);
    animation: iconFloat 3s ease-in-out infinite;
}

.newsletter-icon svg {
    transition: transform 0.3s ease;
}

.newsletter-icon:hover svg {
    transform: scale(1.1) rotate(-5deg);
}

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

.newsletter-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.newsletter-desc {
    font-size: 1rem;
    color: var(--color-gray-400);
    max-width: 400px;
}

.newsletter-form {
    width: 100%;
    max-width: 480px;
}

.newsletter-input-wrapper {
    display: flex;
    background-color: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: all 0.3s ease;
}

.newsletter-input-wrapper:focus-within {
    background-color: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 0 0 4px rgba(255,255,255,0.05);
}

.newsletter-input {
    flex: 1;
    padding: 1.125rem 1.5rem;
    font-size: 1rem;
    color: var(--color-white);
    background-color: transparent;
    border: none;
    outline: none;
}

.newsletter-input::placeholder {
    color: var(--color-gray-500);
}

.newsletter-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-black);
    background-color: var(--color-white);
    border-radius: var(--radius-full);
    margin: 0.35rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.newsletter-btn .btn-text,
.newsletter-btn .btn-icon {
    transition: transform 0.3s ease;
}

.newsletter-btn .btn-loading {
    position: absolute;
    opacity: 0;
    animation: spin 1s linear infinite;
}

.newsletter-btn:hover {
    background-color: var(--color-gray-100);
    transform: scale(1.02);
}

.newsletter-btn:hover .btn-icon {
    transform: translateX(4px);
}

.newsletter-btn.loading .btn-text,
.newsletter-btn.loading .btn-icon {
    opacity: 0;
    transform: translateY(-10px);
}

.newsletter-btn.loading .btn-loading {
    opacity: 1;
}

.newsletter-privacy {
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--color-gray-600);
}

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

/* Footer */
.footer {
    padding: var(--space-4xl) 0 var(--space-2xl);
    background-color: var(--color-gray-900);
    color: var(--color-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr repeat(3, 1fr);
    }
}

.footer-logo {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    filter: invert(1) brightness(1.2);
    transition: transform 0.3s var(--ease-out-expo);
}

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

.footer-logo .logo-text {
    color: var(--color-white);
}

.footer-logo .logo-text.accent {
    color: var(--color-gray-500);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--color-gray-400);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-tagline strong {
    color: var(--color-white);
    font-weight: 600;
}

/* Store Info in Footer */
.footer-store-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--color-gray-900);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-gray-700);
}

.footer-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--color-gray-400);
}

.footer-info-item i {
    width: 16px;
    color: var(--color-gray-500);
    flex-shrink: 0;
}

.footer-info-item a {
    color: var(--color-gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-info-item a:hover {
    color: var(--color-white);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

/* Enhanced Social Links */
.social-link {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-gray-800);
    border-radius: 50%;
    color: var(--color-gray-400);
    font-size: 1.125rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link-bg {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Platform-specific colors */
.social-link[data-platform="instagram"] .social-link-bg {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link[data-platform="twitter"] .social-link-bg {
    background: #1da1f2;
}

.social-link[data-platform="youtube"] .social-link-bg {
    background: #ff0000;
}

.social-link[data-platform="tiktok"] .social-link-bg {
    background: linear-gradient(45deg, #00f2ea, #ff0050);
}

/* Hover effects */
.social-link:hover {
    color: var(--color-white);
    transform: translateY(-4px);
}

.social-link:hover .social-link-bg {
    transform: scale(1);
}

.social-link:hover i {
    transform: scale(1.15);
    animation: iconBounce 0.4s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1.15); }
    50% { transform: scale(1.25); }
}

/* Active state */
.social-link:active {
    transform: translateY(-2px) scale(0.95);
}

.footer-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gray-500);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--color-gray-400);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray-800);
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copy {
    font-size: 0.8125rem;
    color: var(--color-gray-500);
}

.footer-payments {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    color: var(--color-gray-600);
}

/* Cart Sidebar */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out-expo);
    visibility: hidden;
}

.cart-sidebar.active {
    transform: translateX(0);
    visibility: visible;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-gray-200);
}

.cart-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
}

.cart-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-600);
    border-radius: var(--radius-full);
    transition: all 0.3s;
}

.cart-close:hover {
    background-color: var(--color-gray-100);
    color: var(--color-black);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-gray-200);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background-color: var(--color-gray-100);
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-name {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    margin-bottom: 0.75rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    background-color: var(--color-gray-100);
    border-radius: var(--radius-md);
}

.cart-item-qty button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--color-gray-600);
    transition: color 0.3s;
}

.cart-item-qty button:hover {
    color: var(--color-black);
}

.cart-item-qty span {
    width: 32px;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.cart-item-remove {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    text-decoration: underline;
    transition: color 0.3s;
}

.cart-item-remove:hover {
    color: var(--color-error);
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.cart-empty svg {
    color: var(--color-gray-300);
    margin-bottom: 1.5rem;
}

.cart-empty p {
    font-size: 1rem;
    color: var(--color-gray-500);
    margin-bottom: 1.5rem;
}

.cart-footer {
    padding: 1.5rem;
    background-color: var(--color-gray-50);
    border-top: 1px solid var(--color-gray-200);
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cart-subtotal span:first-child {
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

.cart-subtotal span:last-child {
    font-size: 1.25rem;
    font-weight: 700;
}

.cart-note {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    margin-bottom: 1rem;
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.search-modal-content {
    position: relative;
    width: 100%;
    max-width: 600px;
    padding: 0 var(--container-padding);
    transform: translateY(20px);
    transition: transform 0.4s var(--ease-out-expo);
}

.search-modal.active .search-modal-content {
    transform: translateY(0);
}

.search-close {
    position: absolute;
    top: -60px;
    right: var(--container-padding);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: opacity 0.3s;
}

.search-close:hover {
    opacity: 0.7;
}

.search-form {
    margin-bottom: 2rem;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
}

.search-input-wrapper svg {
    flex-shrink: 0;
    color: var(--color-gray-400);
}

.search-input {
    flex: 1;
    font-size: 1.125rem;
    color: var(--color-black);
    background: transparent;
    border: none;
    outline: none;
}

.search-input::placeholder {
    color: var(--color-gray-400);
}

.search-suggestions {
    text-align: center;
}

.search-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gray-500);
    margin-bottom: 1rem;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.search-tag {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    color: var(--color-white);
    border: 1px solid var(--color-gray-600);
    border-radius: var(--radius-full);
    transition: all 0.3s;
}

.search-tag:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

/* Product Modal */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
}

.product-modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.product-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.4s var(--ease-out-expo);
}

.product-modal.active .product-modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    color: var(--color-black);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    z-index: 10;
    transition: all 0.3s;
}

.modal-close:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr 1fr;
    }
}

.modal-gallery {
    background-color: var(--color-gray-100);
}

.modal-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.modal-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--color-white);
    border-top: 1px solid var(--color-gray-200);
}

.modal-thumbnails::-webkit-scrollbar {
    display: none;
}

.modal-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0.6;
}

.modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-thumb:hover {
    opacity: 1;
}

.modal-thumb.active {
    border-color: var(--color-black);
    opacity: 1;
}

.modal-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    background-color: var(--color-black);
    border-radius: var(--radius-sm);
}

.modal-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .modal-info {
        padding: 2.5rem;
    }
}

.modal-category {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gray-500);
    margin-bottom: 0.5rem;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.modal-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.modal-description {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.modal-stock {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-success);
    margin-bottom: 1.5rem;
}

.stock-dot {
    width: 8px;
    height: 8px;
    background-color: currentColor;
    border-radius: 50%;
}

.modal-stock.out-of-stock {
    color: var(--color-error);
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 480px) {
    .modal-actions {
        flex-direction: row;
    }
}

.quantity-selector {
    display: flex;
    align-items: center;
    background-color: var(--color-gray-100);
    border-radius: var(--radius-md);
}

.qty-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-600);
    transition: color 0.3s;
}

.qty-btn:hover {
    color: var(--color-black);
}

.qty-input {
    width: 48px;
    height: 48px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    background: transparent;
    outline: none;
}

.btn-add-cart,
.btn-buy-now {
    flex: 1;
}

.btn-buy-now {
    text-decoration: none;
    justify-content: center;
}

/* Secure checkout note */
.modal-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--color-gray-500);
}

.modal-secure-note svg {
    color: var(--color-success);
}

/* Square checkout button style */
.square-checkout-btn {
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.square-checkout-btn:hover {
    background-color: var(--color-gray-800) !important;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background-color: var(--color-black);
    color: var(--color-white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-2xl);
    z-index: 4000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast-icon {
    display: flex;
    color: var(--color-success);
}

.toast-message {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Animations - Desktop only */
@media (min-width: 768px) {
    [data-animate] {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
    }
    
    [data-animate].animated {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Default state - hidden until animated (DESKTOP ONLY) */
/* モバイルではアニメーションをスキップし、最初から表示する */
@media (min-width: 768px) {
    [data-animate] {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
    }
    
    [data-animate].animated {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE: Always visible - no animation hiding */
@media (max-width: 767px) {
    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* =============================================
   MOBILE OPTIMIZATIONS
   ============================================= */

/* ===========================================
   TABLET (max-width: 1023px)
   =========================================== */
@media (max-width: 1023px) {
    :root {
        --header-height: 70px;
    }
    
    /* Hide desktop nav on tablet */
    .nav {
        display: none;
    }
    
    /* Show menu toggle */
    .menu-toggle {
        display: flex;
    }
}

/* ===========================================
   MOBILE (max-width: 767px)
   =========================================== */
@media (max-width: 767px) {
    :root {
        --header-height: 60px;
        --container-padding: 1rem;
    }
    
    /* ===== FORCE BODY SCROLLABLE ON MOBILE ===== */
    html, body {
        overflow: visible !important;
        overflow-x: hidden !important;
        height: auto !important;
        position: static !important;
    }
    
    body.no-scroll {
        overflow: visible !important;
        overflow-x: hidden !important;
        position: static !important;
        height: auto !important;
    }
    
    /* ===== LOADER MOBILE - COMPLETELY HIDDEN ===== */
    .loader,
    .loader.hidden,
    #loader {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        z-index: -1 !important;
        width: 0 !important;
        height: 0 !important;
        position: absolute !important;
        left: -9999px !important;
    }
    
    .loader-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        padding: 1.5rem;
        width: 100%;
        max-width: 100vw;
    }
    
    .loader-enemies {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .enemy-word {
        font-size: clamp(1.5rem, 10vw, 2.5rem);
        opacity: 0;
    }
    
    .destroy-text,
    .destroy-dot {
        font-size: clamp(0.75rem, 3.5vw, 1rem);
        letter-spacing: 0.1em;
    }
    
    .loader-destroy {
        opacity: 0;
    }
    
    .brand-goat,
    .brand-guard {
        font-size: 0.875rem;
    }
    
    .loader-brand {
        position: absolute;
        bottom: calc(8% + env(safe-area-inset-bottom));
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        opacity: 0;
    }
    
    .brand-line {
        width: 40px;
        transform: translateX(-50%) scaleX(0);
    }
    
    /* ===== HEADER MOBILE ===== */
    .header {
        padding: 0 1rem;
    }
    
    .header-inner {
        height: var(--header-height);
    }
    
    .logo-img {
        height: 32px;
    }
    
    /* Text Logo Mobile */
    .logo.logo-text {
        font-size: 1.125rem;
    }
    
    .logo-goat::after {
        display: none;
    }
    
    .header-btn {
        width: 40px;
        height: 40px;
    }
    
    .header-btn svg {
        width: 18px;
        height: 18px;
    }
    
    /* ===== HERO MOBILE ===== */
    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + 2rem) 0 3rem;
        background: #ffffff !important; /* Force white background on mobile */
        background-image: url('../images/hero-background-goat.jpg') !important;
        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
    
    .hero-container {
        gap: 2rem;
    }
    
    /* Mobile Hero - Force visibility and disable heavy animations */
    .hero-content,
    .hero-badge,
    .hero-title,
    .hero-description,
    .hero-actions,
    .hero-showcase,
    .hero-categories,
    .hero-category-card,
    .title-line,
    .split-char,
    .btn-text,
    .btn-icon {
        /* Force visibility */
        opacity: 1 !important;
        visibility: visible !important;
        /* Reset transforms */
        transform: none !important;
        /* GPU acceleration */
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        /* Disable complex transitions */
        transition: none !important;
        /* Disable animations */
        animation: none !important;
    }
    
    /* Ensure text colors are visible */
    .hero-title,
    .title-line {
        color: var(--color-black) !important;
    }
    
    .title-line.highlight {
        color: var(--color-gray-400) !important;
    }
    
    .hero-description {
        color: var(--color-gray-600) !important;
    }
    
    .badge-text {
        color: var(--color-gray-600) !important;
    }
    
    .hero-badge {
        margin-bottom: 1rem;
        padding: 0.375rem 0.75rem 0.375rem 0.375rem;
        background-color: var(--color-gray-100) !important;
    }
    
    .badge-text {
        font-size: 0.625rem;
    }
    
    .badge-dot {
        background-color: var(--color-success) !important;
    }
    
    .hero-title {
        font-size: clamp(2rem, 12vw, 3.5rem);
        margin-bottom: 1rem;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }
    
    .hero-description br {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    
    .hero-scroll {
        display: none;
    }
    
    /* Hero 3D Cards - Hide on mobile */
    .hero-visual,
    .hero-visuals,
    .hero-cards-3d {
        display: none !important;
    }
    
    /* Hero Showcase - Mobile: Show categories */
    .hero-showcase {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 2rem;
    }
    
    .hero-categories {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
        width: auto;
        max-width: 100%;
    }
    
    .hero-category-card {
        flex: 0 0 auto;
        min-width: 80px;
        padding: 0.875rem 1rem;
        border-radius: var(--radius-lg);
        /* GPU acceleration for smooth animations */
        transform: translateZ(0);
        backface-visibility: hidden;
    }
    
    .hero-category-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .hero-category-name {
        font-size: 0.6875rem;
    }
    
    /* Hide old logo background on mobile - use new background image instead */
    .hero-logo-bg,
    .hero-logo-img {
        display: none !important;
    }
    
    /* Add text shadow for better readability on mobile */
    .hero-title,
    .title-line,
    .hero-description,
    .hero-badge,
    .badge-text {
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    }
    
    /* ===== MARQUEE MOBILE ===== */
    .marquee {
        padding: 1rem 0;
    }
    
    .marquee-item {
        font-size: 0.75rem;
        padding: 0 1.5rem;
    }
    
    /* ===== CATEGORIES MOBILE ===== */
    .categories {
        padding: var(--space-3xl) 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-tag {
        font-size: 0.625rem;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }
    
    .section-subtitle {
        font-size: 0.875rem;
    }
    
    .categories-grid {
        gap: 1rem;
    }
    
    .category-card {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .category-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .category-title {
        font-size: 1.125rem;
    }
    
    .category-count {
        font-size: 0.75rem;
    }
    
    .category-description {
        font-size: 0.8125rem;
        display: none;
    }
    
    /* ===== PRODUCTS MOBILE ===== */
    .products {
        padding: var(--space-3xl) 0;
    }
    
    .products-header {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .products-filter {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .products-filter::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        flex-shrink: 0;
        padding: 0.625rem 1rem;
        font-size: 0.75rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    /* Product Card Mobile */
    .product-card {
        border-radius: var(--radius-lg);
    }
    
    .product-image-wrapper {
        padding: 0.75rem;
    }
    
    .product-badge {
        font-size: 0.5625rem;
        padding: 0.25rem 0.5rem;
        top: 0.5rem;
        left: 0.5rem;
    }
    
    .product-actions {
        gap: 0.375rem;
        bottom: 0.75rem;
        right: 0.75rem;
    }
    
    .product-action-btn {
        width: 32px;
        height: 32px;
    }
    
    .product-action-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .product-info {
        padding: 0.75rem;
    }
    
    .product-category {
        font-size: 0.5625rem;
    }
    
    .product-title {
        font-size: 0.8125rem;
        line-height: 1.3;
    }
    
    .product-price {
        font-size: 0.9375rem;
    }
    
    /* Disable 3D tilt on mobile */
    .product-card {
        transform: none !important;
    }
    
    .product-card:hover {
        transform: translateY(-4px) !important;
    }
    
    .product-shine,
    .product-glow {
        display: none;
    }
    
    /* ===== ABOUT MOBILE ===== */
    .about {
        padding: var(--space-3xl) 0;
    }
    
    .about-grid {
        gap: 2rem;
    }
    
    .about-text h2 {
        font-size: clamp(1.5rem, 7vw, 2rem);
        margin-bottom: 1rem;
    }
    
    .about-text p {
        font-size: 0.9375rem;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .stat {
        flex: 1 0 calc(50% - 0.75rem);
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .about-image-wrapper {
        height: 250px;
    }
    
    /* ===== NEWSLETTER MOBILE ===== */
    .newsletter {
        padding: var(--space-3xl) var(--container-padding);
    }
    
    .newsletter-content {
        text-align: center;
    }
    
    .newsletter-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
        margin: 0 auto 1rem;
    }
    
    .newsletter-title {
        font-size: 1.25rem;
    }
    
    .newsletter-description {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .newsletter-input {
        width: 100%;
        padding: 1rem;
        text-align: center;
    }
    
    .newsletter-btn {
        width: 100%;
        padding: 1rem;
        justify-content: center;
    }
    
    .newsletter-privacy {
        margin-top: 0.75rem;
    }
    
    /* ===== FOOTER MOBILE ===== */
    .footer {
        padding: var(--space-3xl) var(--container-padding) var(--space-xl);
    }
    
    .footer-grid {
        gap: 2rem;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-logo-img {
        height: 60px;
    }
    
    .footer-tagline {
        font-size: 0.875rem;
    }
    
    .footer-store-info {
        text-align: left;
        padding: 0.875rem;
    }
    
    .footer-info-item {
        font-size: 0.8125rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .social-icon {
        width: 44px;
        height: 44px;
    }
    
    .footer-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-title {
        font-size: 0.6875rem;
        margin-bottom: 1rem;
    }
    
    .footer-links {
        gap: 0.5rem;
    }
    
    .footer-links a {
        font-size: 0.8125rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding-top: 1.5rem;
    }
    
    .payment-methods {
        justify-content: center;
    }
    
    .payment-icon {
        font-size: 1.25rem;
    }
    
    /* ===== MODALS MOBILE ===== */
    .modal {
        align-items: flex-end;
        padding: 0;
    }
    
    .modal-content {
        width: 100%;
        max-width: none;
        max-height: 90vh;
        border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
        flex-direction: column;
    }
    
    .modal-image-section {
        flex: none;
        height: 40vh;
        max-height: 300px;
    }
    
    .modal-details {
        padding: 1.5rem;
        overflow-y: auto;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    .modal-price {
        font-size: 1.5rem;
    }
    
    .modal-description {
        font-size: 0.875rem;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .quantity-selector {
        width: 100%;
        justify-content: center;
    }
    
    .btn-add-cart {
        width: 100%;
    }
    
    .modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 36px;
        height: 36px;
    }
    
    /* ===== CART SIDEBAR MOBILE ===== */
    .cart-sidebar {
        width: 100%;
        max-width: none;
        transform: translateX(100%);
    }
    
    .cart-sidebar.active {
        transform: translateX(0);
    }
    
    .cart-header {
        padding: 1rem;
    }
    
    .cart-title {
        font-size: 1.125rem;
    }
    
    .cart-items {
        padding: 0 1rem;
    }
    
    .cart-footer {
        padding: 1rem;
    }
    
    /* ===== SEARCH MODAL MOBILE ===== */
    .search-modal-content {
        width: calc(100% - 2rem);
        margin: 0 1rem;
    }
    
    .search-input {
        font-size: 1rem;
        padding: 1rem;
    }
    
    /* ===== TOAST MOBILE ===== */
    .toast {
        left: 1rem;
        right: 1rem;
        transform: translateY(100px);
        width: auto;
    }
    
    .toast.active {
        transform: translateY(0);
    }
    
    /* ===== BUTTONS MOBILE ===== */
    .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.8125rem;
    }
    
    .btn-large {
        padding: 1rem 1.5rem;
    }
    
    /* ===== CONTACT MOBILE ===== */
    .contact {
        padding: var(--space-3xl) 0;
    }
    
    .contact-grid {
        gap: 2rem;
    }
    
    .contact-title {
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-input,
    .form-textarea {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }
    
    /* ===== ANIMATIONS MOBILE - PERFORMANCE OPTIMIZED ===== */
    
    /* GPU Acceleration for smooth animations */
    .header,
    .mobile-menu,
    .mobile-menu-content,
    .modal,
    .modal-content,
    .cart-sidebar,
    .product-card,
    .category-card,
    .btn,
    .hero-logo-img,
    .loader {
        transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
    
    /* Reduce will-change usage on mobile - except loader */
    *:not(.loader):not(.loader-content):not(.loader-enemies):not(.enemy-word):not(.loader-destroy):not(.loader-brand):not(.brand-line) {
        will-change: auto !important;
    }
    
    /* === LOADER - Keep animations working on mobile === */
    .loader,
    .loader-content,
    .loader-enemies,
    .enemy-word,
    .loader-destroy,
    .loader-brand,
    .brand-line {
        will-change: opacity, transform !important;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
    
    /* Loader elements need their animations */
    .enemy-word.enemy-1 { animation: wordFadeUp 0.6s ease-out 0.2s forwards !important; }
    .enemy-word.enemy-2 { animation: wordFadeUp 0.6s ease-out 0.5s forwards !important; }
    .enemy-word.enemy-3 { animation: wordFadeUp 0.6s ease-out 0.8s forwards !important; }
    .loader-destroy { animation: fadeUp 0.6s ease-out 1.2s forwards !important; }
    .loader-brand { animation: brandFadeUp 0.6s ease-out 1.8s forwards !important; }
    .brand-line { animation: lineSmoothExpand 0.5s cubic-bezier(0.16, 1, 0.3, 1) 2.2s forwards !important; }
    
    /* Simplify transitions - use only transform and opacity */
    .header,
    .btn,
    .product-card,
    .category-card,
    .social-icon,
    .filter-btn {
        transition: transform 0.2s ease-out, opacity 0.2s ease-out !important;
    }
    
    /* Disable complex shadows on mobile */
    .product-card,
    .category-card,
    .modal-content,
    .cart-sidebar {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    }
    
    /* Disable blur effects on mobile (very expensive) */
    .header.scrolled {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background-color: rgba(255, 255, 255, 0.98) !important;
    }
    
    /* Disable complex animations */
    .split-char {
        transform: none !important;
        opacity: 1 !important;
        animation: none !important;
    }
    
    /* Disable parallax on mobile */
    [data-parallax-depth] {
        transform: none !important;
    }
    
    /* Simplify scroll animations */
    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    /* Disable marquee animation - use static display */
    .marquee-track {
        animation: none !important;
        transform: none !important;
    }
    
    /* Disable glow effects */
    .hero-logo-glow,
    .card-glow-effect,
    .product-glow {
        display: none !important;
    }
    
    /* Simplify loader animation */
    .loader-logo-img {
        animation: none !important;
        opacity: 1 !important;
    }
    
    /* Disable ripple effect on mobile */
    .ripple {
        display: none !important;
    }
    
    /* Simplify button hover states */
    .btn:active {
        transform: scale(0.98) !important;
        transition: transform 0.1s ease-out !important;
    }
    
    /* Disable icon animations */
    .icon-animate,
    .icon-pulse,
    .icon-bounce {
        animation: none !important;
    }
    
    /* Hide toast notification on mobile by default */
    .toast {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(100%) !important;
        pointer-events: none !important;
    }
    
    /* Optimize images */
    img {
        content-visibility: auto;
    }
    
    /* Reduce paint areas */
    .hero-logo-bg {
        contain: layout style paint;
    }
}

/* ===========================================
   MOBILE PERFORMANCE - ADDITIONAL RULES
   =========================================== */
@media (max-width: 767px) {
    /* Reduce motion for users who prefer it */
    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
            scroll-behavior: auto !important;
        }
    }
}

/* ===========================================
   SMALL MOBILE (max-width: 374px)
   =========================================== */
@media (max-width: 374px) {
    :root {
        --container-padding: 0.75rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 0.875rem;
    }
    
    /* Hero Logo Background - Small Mobile */
    .hero-logo-bg {
        width: 90% !important;
        max-width: 320px !important;
        left: 50% !important;
        right: auto !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
    
    .hero-logo-img {
        opacity: 0.06 !important;
    }
    
    /* Hero Categories - Small Mobile */
    .hero-categories {
        gap: 0.5rem;
    }
    
    .hero-category-card {
        min-width: 70px;
        padding: 0.75rem 0.5rem;
    }
    
    .hero-category-icon {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
    
    .hero-category-name {
        font-size: 0.5625rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   TOUCH DEVICE OPTIMIZATIONS
   =========================================== */
@media (hover: none) and (pointer: coarse) {
    /* Hide 3D cards on touch devices */
    .hero-visual,
    .hero-visuals,
    .hero-cards-3d {
        display: none !important;
    }
    
    /* === HERO SECTION - Touch Optimizations === */
    .hero-content,
    .hero-showcase,
    .hero-categories {
        transform: translateZ(0);
        backface-visibility: hidden;
    }
    
    .hero-category-card {
        transition: none !important;
    }
    
    .hero-category-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .hero-category-icon {
        transition: none !important;
    }
    
    .hero-category-card:hover .hero-category-icon {
        transform: none !important;
        background: var(--color-gray-100) !important;
        color: var(--color-gray-600) !important;
    }
    
    /* Active state for touch feedback */
    .hero-category-card:active {
        opacity: 0.8;
    }
    
    /* Larger touch targets */
    .btn,
    .filter-btn,
    .product-action-btn,
    .social-icon,
    .header-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Disable hover-only effects */
    .product-card:hover {
        transform: none;
    }
    
    .product-actions {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Remove cursor styles */
    .cursor,
    .cursor-follower {
        display: none !important;
    }
    
    /* Disable magnetic effects */
    .magnetic-element {
        transform: none !important;
    }
    
    /* Better scrolling on touch */
    .products-filter,
    .cart-items,
    .modal-details {
        -webkit-overflow-scrolling: touch;
    }
}

/* ===========================================
   LANDSCAPE MOBILE
   =========================================== */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + 1rem) 0 2rem;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
    }
    
    .modal-content {
        flex-direction: row;
        max-height: 100vh;
        border-radius: var(--radius-2xl);
    }
    
    .modal-image-section {
        flex: 1;
        height: 100%;
        max-height: none;
    }
    
    .modal-details {
        flex: 1;
    }
}

/* ===========================================
   HIGH DPI / RETINA DISPLAYS
   =========================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .loader-logo-img,
    .logo-img,
    .footer-logo-img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* ===========================================
   SAFE AREA INSETS (for notched devices)
   =========================================== */
@supports (padding: env(safe-area-inset-bottom)) {
    .header {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    
    .footer {
        padding-bottom: calc(var(--space-xl) + env(safe-area-inset-bottom));
    }
    
    .mobile-menu-content {
        padding-left: max(var(--space-3xl), env(safe-area-inset-left));
        padding-right: max(var(--space-3xl), env(safe-area-inset-right));
        padding-bottom: max(var(--space-3xl), env(safe-area-inset-bottom));
    }
    
    .modal-content {
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .cart-footer {
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }
    
    .toast {
        bottom: calc(2rem + env(safe-area-inset-bottom));
    }
}

/* ===========================================
   MOBILE HERO FIX - FORCE VISIBILITY
   (Last rule to ensure highest priority)
   =========================================== */
@media (max-width: 767px) {
    /* === CART SIDEBAR - Must stay hidden by default === */
    .cart-sidebar {
        transform: translateX(100%) !important;
        visibility: hidden !important;
        opacity: 1;
    }
    
    .cart-sidebar.active {
        transform: translateX(0) !important;
        visibility: visible !important;
    }
    
    .cart-overlay {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    
    .cart-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    /* === HERO LOGO BACKGROUND - FORCE CENTER ON MOBILE === */
    .hero-logo-bg {
        position: absolute !important;
        left: 50% !important;
        right: auto !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 100% !important;
        max-width: 380px !important;
        margin: 0 auto !important;
    }
    
    .hero-logo-img {
        opacity: 0.08 !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }
    
    /* Cart elements should not be affected by hero fixes */
    .cart-sidebar *,
    .cart-empty,
    .cart-empty * {
        /* Reset - let cart control its own visibility */
    }
    
    /* === CRITICAL: Override ALL data-animate elements === */
    [data-animate],
    [data-animate="fade-up"],
    [data-animate="split-text"] {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
    
    /* === HERO SECTION - Force visibility === */
    .hero {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
    
    .hero-content {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
    
    /* Hero Badge */
    .hero-badge {
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-flex !important;
        background-color: #f5f5f5 !important;
    }
    
    .badge-dot {
        display: block !important;
        width: 8px !important;
        height: 8px !important;
        background-color: #10b981 !important;
        border-radius: 50% !important;
    }
    
    .badge-text {
        display: inline !important;
        color: #525252 !important;
        font-size: 0.625rem !important;
    }
    
    /* Hero Title - THE MOST IMPORTANT */
    .hero-title {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        color: #0a0a0a !important;
        font-size: clamp(2rem, 10vw, 3rem) !important;
        /* White outline effect for mobile title */
        text-shadow: 
            2px 0 0 #ffffff, 
            -2px 0 0 #ffffff, 
            0 2px 0 #ffffff, 
            0 -2px 0 #ffffff, 
            1px 1px 0 #ffffff, 
            -1px -1px 0 #ffffff, 
            1px -1px 0 #ffffff, 
            -1px 1px 0 #ffffff !important;
    }
    
    .title-line {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        color: #0a0a0a !important;
        overflow: visible !important;
        /* Inherit shadow */
        text-shadow: inherit !important;
    }
    
    .title-line.highlight {
        color: #a3a3a3 !important;
    }
    
    /* Split characters - ensure visible */
    .split-char {
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-block !important;
        transform: none !important;
    }
    
    /* Hero Description Mobile Override */
    .hero-description {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        color: #000000 !important; /* Force Pure Black */
        font-weight: 600 !important;
        /* White outline effect for mobile */
        text-shadow: 
            2px 0 0 #ffffff, 
            -2px 0 0 #ffffff, 
            0 2px 0 #ffffff, 
            0 -2px 0 #ffffff, 
            1px 1px 0 #ffffff, 
            -1px -1px 0 #ffffff, 
            1px -1px 0 #ffffff, 
            -1px 1px 0 #ffffff !important;
    }
    
    /* Hero Actions */
    .hero-actions {
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        gap: 1rem !important;
    }
    
    .hero-actions .btn {
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-flex !important;
    }
    
    .hero-actions .btn-text,
    .hero-actions .btn-icon {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Hero Buttons Styling */
    .hero-actions .btn-primary {
        background-color: #0a0a0a !important;
        color: #ffffff !important;
    }
    
    .hero-actions .btn-ghost {
        background-color: transparent !important;
        color: #0a0a0a !important;
        border: 1px solid #e5e5e5 !important;
    }
}
