/* InfiniteMenu Styles */
#infinite-grid-menu-canvas {
    cursor: grab;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    outline: none;
}

#infinite-grid-menu-canvas:active {
    cursor: grabbing;
}

.infinite-menu-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 600px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 50%, #ffffff 100%);
    border-radius: 22px;
    overflow: hidden;
    margin: -30px auto 30px auto;
}

.infinite-menu-container::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #ffffff 0%, #ff6b35 50%, #ffffff 100%);
    border-radius: 22px;
    z-index: -1;
}

.infinite-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
}

.infinite-menu-info {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 11;
}

.face-title {
    user-select: none;
    position: relative;
    font-weight: 900;
    font-size: 2.5rem;
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    margin: 0 0 0.5rem 0;
    transition: 0.5s ease;
}

.face-title.active {
    opacity: 1;
    pointer-events: auto;
}

.face-title.inactive {
    pointer-events: none;
    opacity: 0;
    transition: 0.1s ease;
}

.face-project {
    user-select: none;
    position: relative;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    margin: 0;
    font-weight: 400;
    transition: 0.5s ease;
}

.face-project.active {
    opacity: 1;
    pointer-events: auto;
}

.face-project.inactive {
    pointer-events: none;
    opacity: 0;
    transition: 0.1s ease;
}

.action-button {
    position: absolute;
    left: 50%;
    bottom: 20%;
    transform: translateX(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    pointer-events: auto;
    transition: 0.5s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.action-button:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.action-button.active {
    opacity: 1;
    pointer-events: auto;
}

.action-button.inactive {
    opacity: 0;
    pointer-events: none;
    transition: 0.1s ease;
}

.action-button-icon {
    user-select: none;
    position: relative;
    color: #fff;
    top: 2px;
    font-size: 26px;
}

.action-button.active {
    bottom: 3.8em;
    transform: translateX(-50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.action-button.inactive {
    bottom: -80px;
    transform: translateX(-50%) scale(0);
    opacity: 0;
    pointer-events: none;
    transition: 0.1s ease;
}

@media (max-width: 1500px) {
    .face-title,
    .face-description {
        display: none;
    }
}

@media (max-width: 768px) {
    .infinite-menu-container {
        height: 400px;
    }
    
    .face-title {
        font-size: 2rem;
    }
    
    .face-description {
        font-size: 1rem;
    }
}

