/* ==========================================
   TAURUS SQUAD STORE - MAIN STYLESHEET
   Premium Streetwear E-commerce
   ========================================== */

/* ------------------------------------------
   1. CSS VARIABLES & DESIGN TOKENS
   ------------------------------------------ */
:root {
    /* Colors */
    --ts-black: #0a0a0a;
    --ts-dark: #1a1a1a;
    --ts-gray: #2a2a2a;
    --ts-gray-light: #3a3a3a;
    --ts-accent: #ff3e3e;
    --ts-accent-hover: #ff6b6b;
    --ts-white: #fafafa;
    --ts-white-dim: rgba(250, 250, 250, 0.7);
    
    /* Typography */
    --font-bebas: 'Bebas Neue', sans-serif;
    --font-inter: 'Inter', 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;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Z-index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    --z-cursor: 9999;
    --z-loader: 10000;
}

/* ------------------------------------------
   2. RESET & BASE STYLES
   ------------------------------------------ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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;
}

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

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

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

input, textarea {
    font-family: inherit;
}

/* ------------------------------------------
   3. CUSTOM CURSOR
   ------------------------------------------ */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: var(--z-cursor);
    pointer-events: none;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 5px;
    height: 5px;
    background-color: var(--ts-accent);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 62, 62, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-outline.hover {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 62, 62, 0.1);
    border-color: var(--ts-accent);
}

.cursor-outline.click {
    width: 20px;
    height: 20px;
    background-color: rgba(255, 62, 62, 0.3);
}

/* Hide default cursor on desktop */
@media (pointer: fine) {
    * {
        cursor: none !important;
    }
}

/* ------------------------------------------
   4. LOADING SCREEN
   ------------------------------------------ */
.loader {
    position: fixed;
    inset: 0;
    background: var(--ts-black);
    z-index: var(--z-loader);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-text {
    font-family: var(--font-bebas);
    font-size: clamp(3rem, 10vw, 8rem);
    color: var(--ts-white);
    overflow: hidden;
    line-height: 1;
}

.loader-text span {
    display: inline-block;
    transform: translateY(100%);
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: var(--ts-gray);
    margin-top: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: var(--ts-accent);
    animation: load 1.5s ease-in-out forwards;
}

@keyframes load {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ------------------------------------------
   5. OVERLAY EFFECTS
   ------------------------------------------ */
/* Film Grain */
.grain {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 9997;
    animation: grain 8s steps(10) infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, 5%); }
    30% { transform: translate(7%, -25%); }
    40% { transform: translate(-5%, 25%); }
    50% { transform: translate(-15%, 10%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 15%); }
    80% { transform: translate(3%, 35%); }
    90% { transform: translate(-10%, 10%); }
}

/* Noise Texture */
.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n2'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n2)'/%3E%3C/svg%3E");
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--ts-accent);
    z-index: 9999;
    transform-origin: left;
    transform: scaleX(0);
}

/* ------------------------------------------
   6. TYPOGRAPHY
   ------------------------------------------ */
.font-bebas {
    font-family: var(--font-bebas);
    letter-spacing: 0.02em;
    line-height: 0.9;
}

.text-stroke {
    -webkit-text-stroke: 1px var(--ts-white);
    color: transparent;
}

/* Glitch Effect */
.glitch {
    position: relative;
    display: inline-block;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ts-black);
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--ts-accent);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-1 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-1 {
    0% { clip: rect(20px, 9999px, 15px, 0); }
    20% { clip: rect(50px, 9999px, 80px, 0); }
    40% { clip: rect(10px, 9999px, 55px, 0); }
    60% { clip: rect(90px, 9999px, 100px, 0); }
    80% { clip: rect(30px, 9999px, 70px, 0); }
    100% { clip: rect(60px, 9999px, 40px, 0); }
}

@keyframes glitch-2 {
    0% { clip: rect(60px, 9999px, 10px, 0); }
    20% { clip: rect(20px, 9999px, 50px, 0); }
    40% { clip: rect(80px, 9999px, 20px, 0); }
    60% { clip: rect(10px, 9999px, 90px, 0); }
    80% { clip: rect(50px, 9999px, 30px, 0); }
    100% { clip: rect(30px, 9999px, 70px, 0); }
}

/* ------------------------------------------
   7. BUTTONS & INTERACTIVE ELEMENTS
   ------------------------------------------ */
.magnetic-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    background: transparent;
    border: 1px solid var(--ts-white);
    color: var(--ts-white);
    font-family: var(--font-inter);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    overflow: hidden;
    transition: color var(--transition-base);
    will-change: transform;
}

.magnetic-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ts-accent);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
    z-index: -1;
}

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

.magnetic-btn:hover {
    color: var(--ts-black);
    border-color: var(--ts-accent);
}

.magnetic-btn.bg-ts-accent::before {
    background: var(--ts-white);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Pulse Ring */
.pulse-ring {
    position: relative;
}

.pulse-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid var(--ts-accent);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ------------------------------------------
   8. NAVIGATION
   ------------------------------------------ */
.nav-hidden {
    transform: translateY(-100%);
}

.nav-visible {
    transform: translateY(0);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--ts-black);
    z-index: 9995;
    clip-path: circle(0% at calc(100% - 40px) 40px);
    transition: clip-path 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
}

.mobile-menu.open {
    clip-path: circle(150% at calc(100% - 40px) 40px);
}

.mobile-link {
    font-family: var(--font-bebas);
    font-size: 3rem;
    transition: color var(--transition-base);
}

.mobile-link:hover {
    color: var(--ts-accent);
}

/* ------------------------------------------
   9. CART SIDEBAR
   ------------------------------------------ */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 480px;
    height: 100vh;
    background: var(--ts-black);
    border-left: 1px solid var(--ts-gray);
    z-index: 9990;
    transform: translateX(100%);
    transition: transform var(--transition-smooth);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--ts-gray) var(--ts-black);
}

.cart-sidebar.open {
    transform: translateX(0);
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9989;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.cart-item {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ------------------------------------------
   10. PRODUCT CARDS
   ------------------------------------------ */
.product-card {
    position: relative;
    overflow: hidden;
    background: var(--ts-dark);
    transition: transform var(--transition-slow);
    will-change: transform;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card .product-image {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                filter var(--transition-base);
    will-change: transform;
}

.product-card:hover .product-image {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.product-card .product-info {
    transform: translateY(20px);
    opacity: 0;
    transition: all var(--transition-base);
}

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

/* Tilt Card Effect */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.tilt-card-inner {
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
}

/* ------------------------------------------
   11. MARQUEE & ANIMATIONS
   ------------------------------------------ */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 20s linear infinite;
    will-change: transform;
}

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

/* Float Animation */
.float {
    animation: float 6s ease-in-out infinite;
}

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

/* Section Reveal */
.section-reveal {
    opacity: 0;
    transform: translateY(60px);
}

/* Infinite Loop */
.infinite-loop {
    animation: loop 10s linear infinite;
}

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

/* Skew on Scroll */
.skew-scroll {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Mask Reveal */
.mask-reveal {
    position: relative;
    overflow: hidden;
}

.mask-reveal::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ts-black);
    transform: translateX(0);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.mask-reveal.revealed::after {
    transform: translateX(100%);
}

/* Image Reveal */
.img-reveal {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-reveal.loaded {
    clip-path: inset(0 0% 0 0);
}

/* Glow Effect */
.glow {
    box-shadow: 0 0 20px rgba(255, 62, 62, 0.3);
}

/* ------------------------------------------
   12. HERO SECTION
   ------------------------------------------ */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: var(--ts-black);
}

.hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.2);
    filter: brightness(0.7);
    will-change: transform;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5vw;
}

/* ------------------------------------------
   13. MODALS & OVERLAYS
   ------------------------------------------ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9996;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    transform: scale(0.9);
    opacity: 0;
    transition: all var(--transition-slow);
}

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

/* Search Modal */
.search-modal {
    background: rgba(10, 10, 10, 0.95);
}

/* Quick View Modal */
.quick-view-modal {
    background: rgba(0, 0, 0, 0.9);
}

/* ------------------------------------------
   14. FORMS & INPUTS
   ------------------------------------------ */
.form-input {
    width: 100%;
    background: var(--ts-dark);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: var(--space-md) var(--space-lg);
    color: var(--ts-white);
    outline: none;
    transition: border-color var(--transition-base);
}

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

.form-input::placeholder {
    color: rgba(250, 250, 250, 0.4);
}

/* Size Selector */
.size-btn {
    transition: all var(--transition-base);
}

.size-btn.active,
.size-btn:hover {
    border-color: var(--ts-accent);
    color: var(--ts-accent);
}

/* ------------------------------------------
   15. SCROLLBAR STYLING
   ------------------------------------------ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--ts-black);
}

::-webkit-scrollbar-thumb {
    background: var(--ts-gray);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ts-accent);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--ts-gray) var(--ts-black);
}

/* ------------------------------------------
   16. UTILITIES
   ------------------------------------------ */
/* Aspect Ratios */
.aspect-3-4 {
    aspect-ratio: 3 / 4;
}

.aspect-4-5 {
    aspect-ratio: 4 / 5;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

/* Line Clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Backdrop Blur */
.backdrop-blur-xl {
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

/* Transitions */
.transition-colors {
    transition: color var(--transition-base), 
                background-color var(--transition-base), 
                border-color var(--transition-base);
}

.transition-transform {
    transition: transform var(--transition-base);
}

.transition-opacity {
    transition: opacity var(--transition-base);
}

.transition-all {
    transition: all var(--transition-base);
}

/* ------------------------------------------
   17. RESPONSIVE BREAKPOINTS
   ------------------------------------------ */
/* Mobile First Approach */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .mobile-link {
        font-size: 4rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .cart-sidebar {
        width: 480px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-content {
        padding: 0 10vw;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    :root {
        --space-4xl: 8rem;
    }
}

/* Reduced Motion */
@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;
    }
    
    .grain,
    .noise {
        display: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --ts-accent: #ff0000;
    }
    
    .magnetic-btn {
        border-width: 2px;
    }
}

/* Print Styles */
@media print {
    .cursor-dot,
    .cursor-outline,
    .grain,
    .noise,
    .scroll-progress,
    .loader,
    nav,
    .cart-sidebar,
    .mobile-menu {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .product-card {
        break-inside: avoid;
    }
}

/* ------------------------------------------
   18. KEYFRAME ANIMATIONS LIBRARY
   ------------------------------------------ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

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

/* Animation Classes */
.animate-fade-in { animation: fadeIn 0.5s ease-out; }
.animate-fade-in-up { animation: fadeInUp 0.5s ease-out; }
.animate-fade-in-down { animation: fadeInDown 0.5s ease-out; }
.animate-slide-in-left { animation: slideInLeft 0.5s ease-out; }
.animate-slide-in-right { animation: slideInRight 0.5s ease-out; }
.animate-scale-in { animation: scaleIn 0.5s ease-out; }
.animate-spin { animation: spin 1s linear infinite; }
.animate-bounce { animation: bounce 1s ease-in-out infinite; }
.animate-shake { animation: shake 0.5s ease-in-out; }
.animate-flash { animation: flash 1s ease-in-out infinite; }

/* Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* ------------------------------------------
   19. COMPONENT SPECIFIC STYLES
   ------------------------------------------ */
/* Filter Buttons */
.filter-btn {
    transition: all var(--transition-base);
}

.filter-btn.active {
    border-color: var(--ts-accent);
    color: var(--ts-accent);
}

/* Instagram Grid */
.instagram-item {
    position: relative;
    overflow: hidden;
}

.instagram-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ts-accent);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 1;
}

.instagram-item:hover::before {
    opacity: 0.3;
}

.instagram-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'%3E%3C/rect%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'%3E%3C/path%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 2;
}

.instagram-item:hover::after {
    opacity: 1;
}

/* Testimonial Cards */
.testimonial-card {
    scroll-snap-align: center;
    transition: transform var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Video Section */
.video-overlay {
    background: linear-gradient(to top, var(--ts-black), transparent);
}

/* Collection Cards */
.collection-card {
    position: relative;
    overflow: hidden;
}

.collection-card img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-card:hover img {
    transform: scale(1.1);
}

/* ------------------------------------------
   20. ACCESSIBILITY
   ------------------------------------------ */
/* Focus Visible */
:focus-visible {
    outline: 2px solid var(--ts-accent);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--ts-accent);
    color: var(--ts-black);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ARIA States */
[aria-expanded="true"] .icon-chevron {
    transform: rotate(180deg);
}

[aria-current="page"] {
    color: var(--ts-accent);
}

/* ------------------------------------------
   21. LOADING STATES
   ------------------------------------------ */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--ts-dark) 25%,
        var(--ts-gray) 50%,
        var(--ts-dark) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Button Loading State */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Image Loading */
.img-loading {
    background: var(--ts-dark);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ------------------------------------------
   22. ERROR & EMPTY STATES
   ------------------------------------------ */
.empty-state {
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-xl);
    opacity: 0.2;
}

.error-state {
    border: 1px solid var(--ts-accent);
    background: rgba(255, 62, 62, 0.1);
    padding: var(--space-lg);
    border-radius: 4px;
}

/* ------------------------------------------
   23. TOOLTIPS
   ------------------------------------------ */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: var(--space-sm) var(--space-md);
    background: var(--ts-dark);
    border: 1px solid var(--ts-gray);
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

[data-tooltip]:hover::before {
    opacity: 1;
}

/* ------------------------------------------
   24. BADGES & LABELS
   ------------------------------------------ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-new {
    background: var(--ts-accent);
    color: var(--ts-black);
}

.badge-sale {
    background: #22c55e;
    color: white;
}

.badge-sold-out {
    background: var(--ts-gray);
    color: var(--ts-white-dim);
}

/* ------------------------------------------
   25. PRICE DISPLAY
   ------------------------------------------ */
.price {
    font-weight: 600;
    color: var(--ts-accent);
}

.price-original {
    text-decoration: line-through;
    color: var(--ts-white-dim);
    margin-right: var(--space-sm);
}

/* ------------------------------------------
   26. DIVIDERS
   ------------------------------------------ */
.divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--ts-gray) 20%,
        var(--ts-gray) 80%,
        transparent
    );
    border: none;
    margin: var(--space-xl) 0;
}

/* ------------------------------------------
   27. GRADIENTS
   ------------------------------------------ */
.gradient-overlay {
    background: linear-gradient(to top, var(--ts-black) 0%, transparent 100%);
}

.gradient-radial {
    background: radial-gradient(circle at center, var(--ts-gray) 0%, transparent 70%);
}

/* ------------------------------------------
   28. SHADOWS
   ------------------------------------------ */
.shadow-glow {
    box-shadow: 0 0 30px rgba(255, 62, 62, 0.2);
}

.shadow-elevated {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* ------------------------------------------
   29. Z-INDEX UTILITIES
   ------------------------------------------ */
.z-cursor { z-index: 9999; }
.z-loader { z-index: 10000; }
.z-modal { z-index: 9996; }
.z-overlay { z-index: 9989; }
.z-cart { z-index: 9990; }
.z-nav { z-index: 9990; }
.z-menu { z-index: 9995; }

/* ------------------------------------------
   30. DEBUG UTILITIES (Development Only)
   ------------------------------------------ */
.debug * {
    outline: 1px solid rgba(255, 62, 62, 0.3);
}

.debug-grid {
    background-image: 
        linear-gradient(rgba(255, 62, 62, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 62, 62, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}