/**
 * Custom Styles for Tag Solution Enterprises
 * Sleek modern tech aesthetics, glowing effects, and responsive utilities.
 */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #090d16;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #0284c7;
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(2, 132, 199, 0.25);
}

/* Tech Gradient Text */
.tech-gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 50%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Product Card Image Zoom */
.product-card-img-wrapper {
    overflow: hidden;
    position: relative;
}
.product-card-img-wrapper img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-card-img-wrapper img {
    transform: scale(1.08);
}

/* Gallery Photo Card */
.gallery-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.gallery-card img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.gallery-card:hover img {
    transform: scale(1.06);
}
.gallery-card-overlay {
    transition: all 0.3s ease;
    opacity: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.3) 60%, transparent 100%);
}
.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}

/* Category Filter Pills */
.filter-pill {
    transition: all 0.2s ease-in-out;
}
.filter-pill.active {
    background: linear-gradient(135deg, #0284c7 0%, #0891b2 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px -2px rgba(2, 132, 199, 0.45);
    border-color: transparent;
}

/* Glow Border Animation */
.glow-border {
    position: relative;
}
.glow-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(90deg, #0284c7, #06b6d4, #0284c7);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.glow-border:hover::before {
    opacity: 1;
}

/* Toast Message */
.toast-notification {
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Accordion Smooth Transition */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}
.accordion-content.expanded {
    max-height: 1000px;
    transition: max-height 0.5s ease-in-out;
}

/* Circuit Background Grid */
.bg-grid-pattern {
    background-size: 32px 32px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Hide product when filtered */
.product-card.hidden-product {
    display: none !important;
}

/* ==========================================================================
   Luxury Gaming Lounge Theme Styles
   ========================================================================== */

/* Dark Carbon / Obsidian Texture */
.bg-obsidian {
    background-color: #07090e;
}

.bg-gaming-mesh {
    background-color: #07090e;
    background-image: 
        radial-gradient(rgba(168, 85, 247, 0.08) 1px, transparent 0),
        linear-gradient(to bottom, rgba(10, 15, 29, 0.95), #07090e);
    background-size: 24px 24px, 100% 100%;
}

.gaming-aurora {
    background: radial-gradient(circle at 20% 15%, rgba(168, 85, 247, 0.18) 0%, transparent 45%),
                radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 45%),
                radial-gradient(circle at 50% 80%, rgba(244, 63, 94, 0.12) 0%, transparent 50%);
}

/* Luxury Card */
.gaming-luxury-card {
    background: linear-gradient(145deg, rgba(20, 24, 39, 0.85) 0%, rgba(10, 14, 26, 0.92) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 1.25rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gaming-luxury-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.8), rgba(6, 182, 212, 0.8), transparent);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.gaming-luxury-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(168, 85, 247, 0.55);
    box-shadow: 0 20px 45px -10px rgba(168, 85, 247, 0.25), 0 0 25px -5px rgba(6, 182, 212, 0.2);
}

.gaming-luxury-card:hover::before {
    opacity: 1;
}

/* Spec Badges */
.spec-pill {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

/* Glowing text gradients */
.text-luxury-purple {
    background: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-luxury-gold {
    background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #b45309 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-cyber-cyan {
    background: linear-gradient(135deg, #67e8f9 0%, #06b6d4 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Luxury RGB outline button */
.rgb-border-glow {
    position: relative;
    z-index: 1;
}

.rgb-border-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, #a855f7, #ec4899, #06b6d4, #a855f7);
    background-size: 300% 300%;
    border-radius: inherit;
    z-index: -1;
    animation: rgbShift 6s ease infinite;
    opacity: 0.75;
    transition: opacity 0.3s;
}

.rgb-border-glow:hover::before {
    opacity: 1;
}

@keyframes rgbShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Shimmer Light Reflection */
.luxury-shimmer {
    position: relative;
    overflow: hidden;
}

.luxury-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 30%,
        rgba(255, 255, 255, 0.08) 50%,
        transparent 70%
    );
    transform: rotate(30deg);
    animation: shimmerMove 8s infinite linear;
    pointer-events-none;
}

@keyframes shimmerMove {
    0% { transform: translateX(-100%) rotate(30deg); }
    100% { transform: translateX(100%) rotate(30deg); }
}
