/* Full-bleed cards for halos */
.halo-card {
    height: 70vh;
    background: black;
    position: relative;
    margin: 0;
    margin-bottom: var(--card-spacing);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Maintain consistent card spacing */
#content-container .column .halo-card:last-child {
    margin-bottom: var(--card-spacing);
}

/* Canvas fills entire card */
.halo-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.halo-canvas canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Title overlay */
.halo-title {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.15);
    z-index: 10;
    pointer-events: none;
}

.halo-card:hover .halo-title {
    color: rgba(255, 255, 255, 0.3);
}

/* Column-specific accent colors on interaction */
#column-1 .halo-card {
    background: radial-gradient(circle at center, rgba(255, 0, 68, 0.05), black);
}

#column-1 .halo-card:hover {
    box-shadow: inset 0 0 100px rgba(255, 0, 68, 0.1);
}

#column-2 .halo-card {
    background: radial-gradient(circle at center, rgba(255, 212, 0, 0.05), black);
}

#column-2 .halo-card:hover {
    box-shadow: inset 0 0 100px rgba(255, 212, 0, 0.1);
}

#column-3 .halo-card {
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.05), black);
}

#column-3 .halo-card:hover {
    box-shadow: inset 0 0 100px rgba(0, 255, 136, 0.1);
}

/* Loading state */
.halo-card[data-loading="true"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: halo-loading 0.8s linear infinite;
}

@keyframes halo-loading {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Performance optimization: disable pointer events on inactive canvases */
.halo-card[data-active="false"] .halo-canvas {
    pointer-events: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .halo-title {
        bottom: 1rem;
        left: 1rem;
        font-size: 0.75rem;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .halo-card,
    .halo-title {
        transition: none;
    }
    
    @keyframes halo-loading {
        to { transform: translate(-50%, -50%); }
    }
}