/* ============================================
   ADLUNA.CO - UI COMPONENTS
   Cards, gallery, and reusable elements
   ============================================ */

/* --- Holographic Cards --- */
.holo-card {
    background: rgba(10, 10, 12, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Cyberpunk Corner Accents */
.holo-card::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: 
        linear-gradient(90deg, var(--neon-blue) 2px, transparent 2px) top left,
        linear-gradient(0deg, var(--neon-blue) 2px, transparent 2px) top left,
        linear-gradient(90deg, var(--neon-blue) 2px, transparent 2px) bottom right,
        linear-gradient(0deg, var(--neon-blue) 2px, transparent 2px) bottom right;
    background-size: 10px 10px;
    background-repeat: no-repeat;
    opacity: 0.5;
    transition: opacity 0.3s;
    pointer-events: none;
}

.holo-card:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: var(--neon-blue);
    box-shadow: 0 10px 40px -10px rgba(0, 243, 255, 0.15);
}

.holo-card:hover::before { 
    opacity: 1; 
}

/* --- Interactive Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: 0.3s;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,243,255,0.3), transparent 50%);
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover { 
    transform: scale(1.05); 
    z-index: 10; 
    border-color: var(--neon-blue); 
}

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

.gallery-item img {
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    filter: grayscale(80%) contrast(1.2);
    transition: 0.3s;
}

.gallery-item:hover img { 
    filter: grayscale(0%) contrast(1.1); 
}
