/* Voxel styling */
.voxel-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.voxel-card:hover {
    transform: translateY(-5px);
}

.voxel-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 30px 30px 0;
    border-color: transparent #6366f1 transparent transparent;
}

.voxel-button {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: #6366f1;
    color: white;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.voxel-button:hover {
    background-color: #4f46e5;
    transform: translateY(-2px);
}

.voxel-button-white {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: white;
    color: #6366f1;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.voxel-button-white:hover {
    background-color: #f1f1f1;
    transform: translateY(-2px);
}

/* Pixel grid effect */
.voxel-grid::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
    opacity: 0.3;
}

/* Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.voxel-card:nth-child(1) {
    animation: float 6s ease-in-out infinite;
}

.voxel-card:nth-child(2) {
    animation: float 6s ease-in-out infinite 2s;
}

.voxel-card:nth-child(3) {
    animation: float 6s ease-in-out infinite 4s;
}