/* Glass Effect and Digital Mosaic Styles */

/* Glass Container */
.glass-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: visible;
}

/* Digital Mosaic Elements */
.digital-mosaic {
    position: absolute;
    border-radius: 2px;
    background: linear-gradient(
        135deg, 
        rgba(94, 114, 228, 0.3) 0%, 
        rgba(130, 94, 228, 0.2) 100%
    );
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.5s ease;
    transform-origin: center center;
    z-index: 100;
}

/* Special style for hero section mosaic elements */
.digital-mosaic.hero-mosaic {
    background: linear-gradient(
        135deg, 
        rgba(255, 145, 77, 0.5) 0%, 
        rgba(255, 99, 71, 0.4) 50%,
        rgba(255, 145, 77, 0.3) 100%
    );
    box-shadow: 0 8px 32px rgba(255, 145, 77, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.4s ease, opacity 0.6s ease;
    animation: pulse 3s infinite alternate;
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 32px rgba(255, 145, 77, 0.35);
    }
    100% {
        box-shadow: 0 8px 36px rgba(255, 145, 77, 0.55);
    }
}

.digital-mosaic.size-1 {
    width: 80px;
    height: 80px;
}

.digital-mosaic.size-2 {
    width: 120px;
    height: 120px;
}

.digital-mosaic.size-3 {
    width: 60px;
    height: 60px;
}

.digital-mosaic.size-4 {
    width: 40px;
    height: 40px;
}

.digital-mosaic.size-5 {
    width: 100px;
    height: 100px;
}

/* Hero section specific mosaic elements */
.hero-mosaic {
    background: rgba(255, 145, 77, 0.2); /* Default orange tint */
    box-shadow: 0 0 15px rgba(255, 145, 77, 0.3);
}

/* Glass Effect Classes */
.glass-effect {
    background: rgba(30, 30, 47, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-card {
    background: rgba(30, 30, 47, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(35, 35, 55, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

/* Glass Navigation */
.glass-nav {
    background: rgba(30, 30, 47, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.2);
}
