/* Elite Supplements - Ultra Glassmorphism & Custom Pharma Cursors Stylesheet */

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

html {
    scroll-behavior: smooth;
}

/* Custom Pharma Cursors */
/* Default Cursor: Glass Pharma Ampoule */
html, body {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none'%3E%3Cpath d='M14 2h4v3l-2 2v2h2l2 4v13a4 4 0 0 1-4 4h0a4 4 0 0 1-4-4V13l2-4h2V7l-2-2V2z' fill='rgba(168,85,247,0.45)' stroke='%23c084fc' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cline x1='13' y1='6' x2='19' y2='6' stroke='%23facc15' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M12 16h8v8a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-8z' fill='%239333ea'/%3E%3Cpath d='M13 14v10' stroke='rgba(255,255,255,0.7)' stroke-width='1' stroke-linecap='round'/%3E%3Ccircle cx='16' cy='3' r='1.5' fill='%23ffffff'/%3E%3C/svg%3E") 16 3, auto !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #080711;
    color: #ffffff;
    overflow-x: hidden;
}

/* Pointer / Link Hover Cursor: Pharma Injection / Syringe */
a, button, [role="button"], input[type="submit"], input[type="button"], input[type="reset"], select, label, .cursor-pointer, .clickable, input, textarea {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none'%3E%3Cline x1='2' y1='2' x2='10' y2='10' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M1 1l3 1-1 3-2-4z' fill='%2338bdf8'/%3E%3Crect x='9' y='7' width='14' height='7' rx='1.5' transform='rotate(45 9 7)' fill='rgba(168,85,247,0.6)' stroke='%23e9d5ff' stroke-width='1.5'/%3E%3Crect x='11' y='8' width='8' height='5' transform='rotate(45 9 7)' fill='%23a3e635'/%3E%3Cline x1='18' y1='18' x2='25' y2='25' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='22' y1='28' x2='28' y2='22' stroke='%23c084fc' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") 2 2, pointer !important;
}

/* Global Moving Stars Canvas */
#globalStarsCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #090814;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #7c3aed, #4c1d95);
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #9333ea;
}

/* Glassmorphism Classes */
.glass {
    background: rgba(18, 16, 38, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.glass-card {
    background: rgba(16, 14, 34, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(139, 92, 246, 0.18);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(124, 58, 237, 0.08);
}

.glass-card:hover {
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(124, 58, 237, 0.18);
}

/* Glows */
.glow {
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.3);
}
.glow-sm {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #c084fc 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animations */
.float {
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.pulse-glow {
    animation: pulseGlow 2.5s ease-in-out infinite;
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(139, 92, 246, 0.3); }
    50% { box-shadow: 0 0 35px rgba(139, 92, 246, 0.7); }
}

.slide-up {
    animation: slideUp 0.6s ease-out forwards;
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Background Mesh */
.bg-mesh {
    background-image: 
        radial-gradient(at 30% 20%, rgba(124, 58, 237, 0.16) 0, transparent 50%),
        radial-gradient(at 80% 10%, rgba(91, 33, 182, 0.18) 0, transparent 50%),
        radial-gradient(at 50% 60%, rgba(30, 27, 75, 0.25) 0, transparent 60%),
        radial-gradient(at 80% 85%, rgba(124, 58, 237, 0.12) 0, transparent 50%),
        radial-gradient(at 10% 90%, rgba(76, 29, 149, 0.16) 0, transparent 50%);
}

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

/* Product Card Hover */
.product-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(124, 58, 237, 0.15);
}
.product-card:hover .product-image img {
    transform: scale(1.08);
}
.product-image {
    overflow: hidden;
}
.product-image img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Loading Spinner */
.spinner {
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-top-color: #7c3aed;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
