/* Custom Glassmorphism Styles (White & Royal Blue Theme) for CROSSTIGER */

/* Material Symbols Explicit Font Rule */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

/* Marquee Moving Ticker Animation */
@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 22s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseBlueGlow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.3)); }
    50% { filter: drop-shadow(0 0 16px rgba(37, 99, 235, 0.6)); }
}

.animate-pulse-glow {
    animation: pulseBlueGlow 2.5s infinite ease-in-out;
}

/* Frosted Glassmorphism Containers */
.glass-overlay {
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 30px -5px rgba(37, 99, 235, 0.05);
}

.glass-card-hover {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-hover:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
}

.glass-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-modal {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(219, 234, 254, 0.9);
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
    background: #93C5FD;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2563EB;
}

/* Drawer Transitions */
.drawer-backdrop {
    transition: opacity 0.3s ease-in-out;
}
.drawer-content {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Toast System */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.95);
    color: #0F172A;
    border-left: 4px solid #2563EB;
    padding: 14px 20px;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    animation: fadeIn 0.3s ease-out;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    border-right: 1px solid rgba(226, 232, 240, 0.8);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.toast-success {
    border-left-color: #2563EB;
}

/* Uiverse.io Inspired Liquid Shimmer Button */
@keyframes uiverseShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.uiverse-shimmer-btn {
    background: linear-gradient(90deg, #059669 0%, #10B981 25%, #34D399 50%, #10B981 75%, #059669 100%);
    background-size: 200% 100%;
    animation: uiverseShimmer 3s infinite linear;
    box-shadow: 0 8px 25px -5px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
}

.uiverse-shimmer-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px -5px rgba(16, 185, 129, 0.6);
}

/* Uiverse.io Animated Share Button */
.uiverse-share-wrapper {
    display: inline-block;
}

.uiverse-share-btn {
    height: 3.2em;
    width: 12em;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 40px;
    background-color: #ffffff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.08);
    transition: all 0.4s ease;
}

.uiverse-share-btn > span,
.uiverse-share-btn .share-text-pill {
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: #2563eb;
    height: 2.6em;
    width: 9.5em;
    border-radius: 25px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.uiverse-share-btn .social-container {
    z-index: 1;
    width: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.uiverse-share-btn .social-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.uiverse-share-btn .social-icon-btn:hover {
    transform: scale(1.15);
}

.uiverse-share-btn:hover {
    border-color: #2563eb;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
}

.uiverse-share-btn:hover > span,
.uiverse-share-btn:hover .share-text-pill {
    width: 0;
    opacity: 0;
    transform: scale(0.8);
}

/* Uiverse.io Animated Login Modal */
.uiverse-login-container {
    max-width: 380px;
    width: 100%;
    background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
    border-radius: 32px;
    padding: 28px 32px;
    border: 4px solid #FFFFFF;
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.25);
}

.uiverse-login-container .heading {
    text-align: center;
    font-weight: 900;
    font-size: 26px;
    color: #2563eb;
    letter-spacing: -0.5px;
}

.uiverse-login-container .form .input {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    padding: 14px 18px;
    border-radius: 16px;
    margin-top: 12px;
    font-size: 13px;
    color: #0F172A;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.05);
    transition: all 0.3s ease;
}

.uiverse-login-container .form .input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.uiverse-login-container .login-button {
    width: 100%;
    font-weight: bold;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 14px;
    margin-top: 18px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    border: none;
    cursor: pointer;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.2s ease-in-out;
}

.uiverse-login-container .login-button:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

.uiverse-login-container .social-button {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border: 3px solid #FFFFFF;
    padding: 8px;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.15);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.uiverse-login-container .social-button:hover {
    transform: scale(1.15);
    border-color: #2563eb;
}

/* Size Selector Pills */
.size-pill.active {
    background-color: #2563EB !important;
    color: #FFFFFF !important;
    border-color: #2563EB !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Color Swatches */
.color-swatch.active {
    outline: 2px solid #2563EB;
    outline-offset: 2px;
}

/* Product Card Hover effects */
.product-card-img {
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}
.product-card:hover .product-card-img {
    transform: scale(1.06);
}

/* Badges & Shimmers */
.badge-blue {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
}

.bg-hero-glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 245, 249, 0.7) 100%);
    backdrop-filter: blur(12px);
}
